1 2014-06-23 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
20 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
27 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
37 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
45 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
50 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
51 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
52 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
53 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
54 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
56 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
58 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
60 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
61 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
62 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
63 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
64 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
66 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
68 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
70 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
72 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
74 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
75 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
76 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
77 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
78 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
79 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
81 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
82 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
83 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
84 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
85 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
87 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
88 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
89 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
91 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
93 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
95 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
97 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
99 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
103 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
105 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
107 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
108 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
109 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
111 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
113 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
116 2014-06-23 Joseph Myers <joseph@codesourcery.com>
118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
119 (FALLOC_FL_COLLAPSE_RANGE): New macro.
120 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
121 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
122 (IPV6_PMTUDISC_INTERFACE): Likewise.
123 (IPV6_PMTUDISC_OMIT): Likewise.
125 2014-06-23 Andreas Schwab <schwab@suse.de>
127 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
128 Remove unused errout label.
130 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
132 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
133 macro: hardware supports Vector Crypto instructions.
135 2014-06-23 Will Newton <will.newton@linaro.org>
137 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
138 rather than __builtin_expect.
140 * elf/dl-lookup.c (undefined_msg): Remove variable.
141 (_dl_lookup_symbol_x): Replace undefined_msg with string
144 * elf/dl-lookup.c (do_lookup_unique): New function.
145 (do_lookup_x): Move STB_GNU_UNIQUE handling code
146 to a separate function.
148 2014-06-23 Andreas Schwab <schwab@suse.de>
151 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
152 before reading the next line.
154 2014-06-23 Will Newton <will.newton@linaro.org>
156 * test-skeleton.c (signal_handler): Use printf and %m
157 rather than perror. Use printf rather than fprintf to
158 stderr. Use puts rather than fputs to stderr.
161 2014-06-22 Ludovic Courtès <ludo@gnu.org>
163 * nscd/nscd.c (thread_info_t): Remove typedef.
164 (thread_info): Remove variable.
166 2014-06-21 Allan McRae <allan@archlinux.org>
168 * NEWS: Mention CVE-2014-4043.
170 2014-06-20 Roland McGrath <roland@hack.frob.com>
172 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
173 * nptl/smp.h: ... here.
175 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
177 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
178 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
179 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
180 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
182 * nptl/allocatestack.c: Include <stack-aliasing.h>.
183 * nptl/stack-aliasing.h: New file.
184 * sysdeps/i386/i686/stack-aliasing.h: New file.
185 * sysdeps/i386/i686/nptl/Makefile: File removed.
186 * sysdeps/x86_64/stack-aliasing.h: New file.
187 * sysdeps/x86_64/nptl/Makefile
188 (CFLAGS-pthread_create.c): Variable removed.
190 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
191 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
193 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
194 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
197 2014-06-21 Joseph Myers <joseph@codesourcery.com>
199 * sysdeps/unix/sysv/linux/arm/kernel-features.h
200 (__ASSUME_SIGFRAME_V2): Remove macro.
201 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
202 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
203 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
204 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
205 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
206 Declare as function. Remove conditional macro definitions.
207 (__default_rt_sa_restorer): Likewise.
208 (__default_sa_restorer_v1): Remove declaration.
209 (__default_sa_restorer_v2): Likewise.
210 (__default_rt_sa_restorer_v1): Likewise.
211 (__default_rt_sa_restorer_v2): Likewise.
212 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
213 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
214 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
216 2014-06-20 Roland McGrath <roland@hack.frob.com>
218 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
219 (libpthread-routines): Add sysdep.
220 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
221 * sysdeps/unix/sysv/linux/sparc/Versions
222 (libpthread: GLIBC_2.3.3): New version set.
223 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
224 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
225 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
226 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
227 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
228 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
230 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
231 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
232 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
233 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
234 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
235 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
236 * sysdeps/sparc/nptl/sem_init.c: ... here.
237 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
238 * sysdeps/sparc/nptl/sem_post.c: ... here.
239 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
240 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
241 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
242 * sysdeps/sparc/nptl/sem_wait.c: ... here.
243 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
244 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
245 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
246 (libpthread-routines): Add cpu_relax.
247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
249 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
250 (librt: GLIBC_2.3.3): New version set.
251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
252 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
253 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
254 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
257 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
260 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
262 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
264 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
266 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
268 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
271 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
275 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
279 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
283 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
287 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
294 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
300 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
302 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
305 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
307 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
309 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
311 2014-06-20 Joseph Myers <joseph@codesourcery.com>
313 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
314 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
315 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
316 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
317 * nscd/nscd.c: Likewise.
318 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
319 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
320 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
321 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
323 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
325 (init_mq_netlink): Remove conditional have_sock_cloexec
326 definitions. Remove code conditional on have_sock_cloexec < 0.
327 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
328 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
329 * sysdeps/unix/sysv/linux/opensock.c: Do not include
331 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
332 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
334 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
337 Add tests for memset_chk and memset.
339 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
342 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
345 * elf/tst-dl-iter-static.c: New file.
346 * elf/Makefile (tests-static): Add tst-dl-iter-static.
348 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
351 2014-06-20 Joseph Myers <joseph@codesourcery.com>
353 * sysdeps/unix/sysv/linux/kernel-features.h
354 (__ASSUME_F_GETOWN_EX): Remove macro.
355 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
357 (miss_F_GETOWN_EX): Remove variable or macro.
358 (do_fcntl): Do not check miss_F_GETOWN_EX.
359 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
361 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
364 [!__ASSUME_AT_RANDOM]: Remove conditional code.
365 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
367 * sysdeps/unix/sysv/linux/kernel-features.h
368 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
369 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
370 [ADJ_OFFSET_SS_READ]: Make code unconditional.
371 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
373 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
376 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
377 Fix calculation of the symbol's value.
378 * sysdeps/arm/tst-armtlsdescloc.c: New file.
379 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
380 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
381 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
382 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
383 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
384 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
385 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
386 (modules-names): Add `tst-armtlsdescmod',
387 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
388 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
389 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
390 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
391 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
392 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
393 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
394 ($(objpfx)tst-armtlsdescloc): New dependency.
395 ($(objpfx)tst-armtlsdescextnow): Likewise.
396 ($(objpfx)tst-armtlsdescextlazy): Likewise.
397 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
399 * sysdeps/arm/configure: Regenerate.
401 2014-06-20 Joseph Myers <joseph@codesourcery.com>
403 * include/fcntl.h (__atfct_seterrno): Remove prototype.
404 (__atfct_seterrno_2): Likewise.
405 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
407 (__ASSUME_ATFCTS): Do not undefine and redefine.
408 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
409 (__have_atfcts): Remove conditional definition.
410 (__fxstatat([__NR_fstatat64]: Make code unconditional.
411 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
412 unreachable if [__ASSUME_ATFCTS].
413 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
414 not undefine and redefine.
415 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
417 (faccessat) [__NR_faccessat]: Make code unconditional.
418 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
419 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
421 (fchmodat) [__NR_fchmodat]: Make code unconditional.
422 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
423 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
425 (fchownat) [__NR_fchownat]: Make code unconditional.
426 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
427 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
429 (futimesat) [__NR_futimesat]: Make code unconditional.
430 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
431 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
433 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
434 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
435 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
437 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
438 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
439 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
440 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
442 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
443 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/linkat.c: Do not include
446 (linkat) [__NR_linkat]: Make code unconditional.
447 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
448 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
449 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
451 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
452 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
453 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
455 (mkdirat) [__NR_mkdirat]: Make code unconditional.
456 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
457 * sysdeps/unix/sysv/linux/openat.c: Do not include
459 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
460 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
461 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
462 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
463 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
464 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
466 (readlinkat) [__NR_readlinkat]: Make code unconditional.
467 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
468 result of INLINE_SYSCALL directly, not via int variable.
469 * sysdeps/unix/sysv/linux/renameat.c: Do not include
471 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
472 (renameat) [__NR_renameat]: Make code unconditional.
473 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
474 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
475 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
476 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
477 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
478 (__ASSUME_ATFCTS): Do not undefine and redefine.
479 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
481 (symlinkat) [__NR_symlinkat]: Make code unconditional.
482 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
483 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
485 (unlinkat) [__NR_unlinkat]: Make code unconditional.
486 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
487 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
488 (__ASSUME_ATFCTS): Do not undefine and redefine.
489 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
491 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
492 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
493 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
495 (__xmknodat) [__NR_mknodat]: Make code unconditional.
496 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
498 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
500 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
502 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
505 * posix/regcomp.c (parse_reg_exp): Deallocate partially
506 constructed tree before returning error.
507 * posix/bug-regexp36.c: Expand test case.
509 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
512 * math/libm-test.inc (scalbln_test_date):
513 Add errno expectations.
514 * math/w_scalblnf.c: New File.
515 Add wrapper which checks for setting errno to ERANGE.
516 Add weak_alias for corresponding scalbln function.
517 * math/w_scalbln.c: Likewise.
518 * math/w_scalblnl.c: Likewise.
519 * math/Makefile (libm-calls): Add w_scalbln.
520 * sysdeps/ieee754/flt-32/s_scalblnf.c:
521 Remove weak_alias for corresponding scalbln function.
522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
524 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
526 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
527 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
528 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
529 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
530 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
531 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
532 Remove long_double_symbol for scalblnl function in libm, libc.
533 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
534 Add wrapper which checks for setting errno to ERANGE.
535 Add long_double_symbol for scalblnl function in libm, libc.
536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
537 Remove long_double_symbol for scalblnl in libm.
538 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
539 Add wrapper which checks for setting errno to ERANGE.
540 Add long_double_symbol for scalblnl function in libm.
541 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
542 Do not use wrapper because of own implementation.
544 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
546 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
547 3 bytes for __pad1 for x32.
548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
550 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
551 H.J. Lu <hongjiu.lu@intel.com>
553 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
554 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
555 * sysdeps/x86_64/multiarch/memset.S: Likewise.
556 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
557 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
559 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
562 * posix/regcomp.c (parse_expression): Deallocate partially
563 constructed tree before returning error.
564 * posix/Makefile.c (tests): Add bug-regex36.
565 (generated): Add bug-regex36.mtrace.
566 (tests-special): Add $(objpfx)bug-regex36-mem.out
567 (bug-regex36-ENV): New variable.
568 ($(objpfx)bug-regex36-mem.out): New rule.
569 * posix/bug-regex36.c: New file.
571 2014-06-19 Will Newton <will.newton@linaro.org>
573 * malloc/malloc.c (systrim): If extra is zero then return
576 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
578 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
580 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
582 * sysdeps/aarch64/strchr.S: New file.
584 2014-06-18 Joseph Myers <joseph@codesourcery.com>
587 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
588 from arguments -2 or below.
589 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
590 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
592 2014-06-18 Andreas Schwab <schwab@suse.de>
595 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
596 of a bracket expr not to run off the end of the string.
597 * posix/Makefile (tests): Add tst-fnmatch3.
598 * posix/tst-fnmatch3.c: New file.
600 2014-06-18 Joseph Myers <joseph@codesourcery.com>
602 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
603 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
604 [$(cross-compiling) = no]: Likewise.
605 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
606 [$(cross-compiling) = no]: Likewise.
608 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
611 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
612 double, adjusted for any remainder from the high double.
613 * math/libm-test.inc (nearbyint): Add tests.
616 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
618 * nptl/sysdeps/powerpc/Makefile: Moved ...
619 * sysdeps/powerpc/nptl/Makefile: ... here.
620 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
621 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
622 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
623 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
624 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
625 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
626 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
627 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
628 * nptl/sysdeps/powerpc/tls.h: Moved ...
629 * sysdeps/powerpc/nptl/tls.h: ... here.
631 2014-06-16 Joseph Myers <joseph@codesourcery.com>
634 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
635 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
636 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
637 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
638 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
639 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
640 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
641 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
642 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
644 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
646 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
648 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
650 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
653 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
656 2014-06-16 Florian Weimer <fweimer@redhat.com>
659 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
660 non-executed part of the test.
662 2014-06-16 Andreas Schwab <schwab@suse.de>
664 * string/bits/string2.h (strdup, strndup): Update feature guard.
666 2014-06-14 David S. Miller <davem@davemloft.net>
668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
670 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
672 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
673 that was previously under [RESET_PID].
674 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
676 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
677 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
678 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
679 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
680 (__libc_vfork): New strong alias.
681 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
683 2014-06-14 Andi Kleen <ak@linux.intel.com>
685 * sysdeps/generic/elide.h: New file.
687 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
689 * Makefile (installed-headers): Adjust path of pthread.h header.
691 2014-06-13 Roland McGrath <roland@hack.frob.com>
693 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
694 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
695 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
696 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
698 * nptl/sysdeps/s390/Makefile: Moved ...
699 * sysdeps/s390/nptl/Makefile: ... here.
700 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
701 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
702 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
703 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
704 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
705 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
706 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
707 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
708 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
709 * sysdeps/s390/nptl/pthreaddef.h: ... here.
710 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
711 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
712 * nptl/sysdeps/s390/tls.h: Moved ...
713 * sysdeps/s390/nptl/tls.h: ... here.
715 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
716 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
718 2014-06-13 David S. Miller <davem@davemloft.net>
720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
723 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
727 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
728 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
729 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
730 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
731 Remove RESET_PID cpp guards.
732 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
733 Remove RESET_PID cpp guards.
734 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
736 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
738 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
741 2014-06-13 Andi Kleen <ak@linux.intel.com>
743 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
744 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
745 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
746 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
747 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
748 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
749 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
750 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
751 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
752 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
753 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
754 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
755 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
756 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
757 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
758 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
759 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
760 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
761 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
762 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
764 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
765 (pthread_rwlock_rdlock): Add elision.
766 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
767 (pthread_rwlock_wrlock): Add elision.
768 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
769 (pthread_rwlock_trywrlock): Add elision.
770 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
771 (pthread_rwlock_tryrdlock): Add elision.
772 * nptl/pthread_rwlock_unlock.c: Include elide.h.
773 (pthread_rwlock_tryrdlock): Add elision unlock.
774 * nptl/sysdeps/pthread/pthread.h:
775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
776 (PTHREAD_RWLOCK_INITIALIZER,
777 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
778 Handle new elision field.
779 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
780 * sysdeps/arm/nptl/bits/pthreadtypes.h
781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
782 * sysdeps/sh/nptl/bits/pthreadtypes.h
783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
784 * sysdeps/tile/nptl/bits/pthreadtypes.h
785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
786 * sysdeps/a/nptl/bits/pthreadtypes.h
787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
788 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
790 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
792 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
794 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
796 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
798 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
800 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
802 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
803 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
804 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
805 (elision_init): Set try_xbegin to zero when no RTM.
806 * sysdeps/x86/nptl/bits/pthreadtypes.h
807 (pthread_rwlock_t): Change __pad1 to __rwelision.
808 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
810 2014-06-13 Andi Kleen <ak@linux.intel.com>
812 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
813 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
814 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
815 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
817 2014-06-13 Meador Inge <meadori@codesourcery.com>
820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
821 that the cached result has been set before returning it.
823 2014-06-12 Roland McGrath <roland@hack.frob.com>
825 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
826 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
827 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
828 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
829 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
830 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
832 * nptl/sysdeps/sparc/Makefile: Moved ...
833 * sysdeps/sparc/nptl/Makefile: ... here.
834 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
835 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
836 * nptl/sysdeps/sparc/tls.h: Moved ...
837 * sysdeps/sparc/nptl/tls.h: ... here.
838 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
839 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
840 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
841 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
842 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
843 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
844 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
845 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
846 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
847 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
848 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
849 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
850 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
851 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
852 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
853 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
854 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
857 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
860 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
861 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
863 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
864 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
867 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
869 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
870 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
872 * sysdeps/pthread/posix-timer.h: Include <list.h>.
873 (struct list_links): Type removed.
874 (struct thread_node, struct timer_node): Replace struct list_links
875 with struct list_head.
876 (list_unlink_ip): Likewise.
877 * sysdeps/pthread/timer_routines.c
878 (timer_free_list, thread_free_list, thread_active_list): Likewise.
879 (list_append, list_insbefore): Likewise.
880 (list_init): Function removed.
881 (thread_init, init_module): Use INIT_LIST_HEAD instead.
882 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
883 * sysdeps/pthread/Makefile: ... here, new file.
885 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
886 * sysdeps/nptl/Implies: ... here.
887 * sysdeps/unix/sysv/linux/Implies: Add nptl.
888 * nptl/sysdeps/pthread/list.h: Moved ...
889 * include/list.h: ... here.
890 * nptl/sysdeps/pthread/createthread.c: Moved ...
891 * nptl/createthread.c: ... here.
892 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
893 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
894 * nptl/pt-longjmp.c: ... here.
895 * nptl/sysdeps/pthread/Makefile: Moved ...
896 * sysdeps/nptl/Makefile: ... here.
897 * nptl/sysdeps/pthread/Subdirs: Moved ...
898 * sysdeps/nptl/Subdirs: ... here.
899 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
900 * sysdeps/nptl/aio_misc.h: ... here.
901 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
902 * sysdeps/nptl/bits/libc-lock.h: ... here.
903 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
904 * sysdeps/nptl/bits/libc-lockP.h: ... here.
905 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
906 * sysdeps/nptl/bits/stdio-lock.h: ... here.
907 * nptl/sysdeps/pthread/configure: Moved ...
908 * sysdeps/nptl/configure: ... here.
909 * nptl/sysdeps/pthread/configure.ac: Moved ...
910 * sysdeps/nptl/configure.ac: ... here.
911 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
912 * sysdeps/nptl/gai_misc.h: ... here.
913 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
914 * sysdeps/nptl/librt-cancellation.c: ... here.
915 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
916 * sysdeps/nptl/malloc-machine.h: ... here.
917 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
918 * sysdeps/nptl/pthread-functions.h: ... here.
919 * nptl/sysdeps/pthread/pthread.h: Moved ...
920 * sysdeps/nptl/pthread.h: ... here.
921 * nptl/sysdeps/pthread/setxid.h: Moved ...
922 * sysdeps/nptl/setxid.h: ... here.
923 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
924 * sysdeps/nptl/sigfillset.c: ... here.
925 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
926 * sysdeps/nptl/tcb-offsets.h: ... here.
927 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
928 * sysdeps/nptl/tst-mqueue8x.c: ... here.
929 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
930 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
931 * nptl/sysdeps/pthread/allocalim.h: Moved ...
932 * sysdeps/pthread/allocalim.h: ... here.
933 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
934 * sysdeps/pthread/bits/sigthread.h: ... here.
935 * nptl/sysdeps/pthread/flockfile.c: Moved ...
936 * sysdeps/pthread/flockfile.c: ... here.
937 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
938 * sysdeps/pthread/ftrylockfile.c: ... here.
939 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
940 * sysdeps/pthread/funlockfile.c: ... here.
941 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
942 * sysdeps/pthread/posix-timer.h: ... here.
943 * nptl/sysdeps/pthread/timer_create.c: Moved ...
944 * sysdeps/pthread/timer_create.c: ... here.
945 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
946 * sysdeps/pthread/timer_delete.c: ... here.
947 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
948 * sysdeps/pthread/timer_getoverr.c: ... here.
949 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
950 * sysdeps/pthread/timer_gettime.c: ... here.
951 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
952 * sysdeps/pthread/timer_routines.c: ... here.
953 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
954 * sysdeps/pthread/timer_settime.c: ... here.
955 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
956 * sysdeps/pthread/tst-timer.c: ... here.
957 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
958 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
960 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
961 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
963 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
964 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
965 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
966 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
967 Update #include target.
968 * nptl/sysdeps/i386/i686/Makefile: Moved ...
969 * sysdeps/i386/i686/nptl/Makefile: ... here.
970 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
971 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
972 Update #include target.
973 * nptl/sysdeps/i386/i686/tls.h: Moved ...
974 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
975 * nptl/sysdeps/i386/Makefile: Moved ...
976 * sysdeps/i386/nptl/Makefile: ... here.
977 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
978 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
979 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
980 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
981 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
982 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
983 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
984 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
985 * sysdeps/i386/nptl/pthreaddef.h: ... here.
986 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
987 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
988 * nptl/sysdeps/i386/tls.h: Moved ...
989 * sysdeps/i386/nptl/tls.h: ... here.
991 * sysdeps/sh/Makefile [$(subdir) = csu]
992 (gen-as-const-headers): Add tcb-offsets.sym.
993 * nptl/sysdeps/sh/Makefile: File removed.
994 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
995 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
996 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
997 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
998 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
999 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1000 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1001 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1002 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1003 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1004 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1005 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1006 * nptl/sysdeps/sh/tls.h: Moved ...
1007 * sysdeps/sh/nptl/tls.h: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1009 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1011 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1013 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1015 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1017 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1018 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1019 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1020 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1021 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1022 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1023 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1024 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1025 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1026 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1027 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1029 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1030 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1031 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1034 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1035 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1037 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1038 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1039 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1040 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1041 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1042 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1043 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1044 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1045 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1047 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1049 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1050 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1051 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1052 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1053 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1054 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1055 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1057 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1059 * posix/spawn_faction_addopen.c: Include string.h.
1061 2014-06-11 Roland McGrath <roland@hack.frob.com>
1063 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1064 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1065 * nptl/sysdeps/x86_64/Makefile: Moved ...
1066 * sysdeps/x86_64/nptl/Makefile: ... here.
1067 * nptl/sysdeps/x86_64/configure: Moved ...
1068 * sysdeps/x86_64/nptl/configure: ... here.
1069 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1070 * sysdeps/x86_64/nptl/configure.ac: ... here.
1071 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1072 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1073 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1074 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1075 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1076 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1077 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1078 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1079 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1080 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1081 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1082 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1083 * nptl/sysdeps/x86_64/tls.h: Moved ...
1084 * sysdeps/x86_64/nptl/tls.h: ... here.
1085 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1086 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1087 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1088 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1090 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1092 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1096 2014-06-11 Joseph Myers <joseph@codesourcery.com>
1098 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1100 [POSIX] (off_t): Likewise.
1101 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1102 [POSIX] (S_ISBLK): Require macro.
1103 [POSIX] (S_ISCHR): Likewise.
1104 [POSIX] (S_ISDIR): Likewise.
1105 [POSIX] (S_ISFIFO): Likewise.
1106 [POSIX] (S_ISREG): Likewise.
1107 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1109 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1111 [POSIX] (time_t): Likewise.
1112 [POSIX] (timer_t): Likewise.
1114 2014-06-11 Florian Weimer <fweimer@redhat.com>
1117 * posix/spawn_int.h (struct __spawn_action): Make the path string
1118 non-const to support deallocation.
1119 * posix/spawn_faction_addopen.c
1120 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1121 * posix/spawn_faction_destroy.c
1122 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1123 path in all spawn_do_open actions.
1124 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1125 posix_spawn_file_actions_addopen.
1127 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1129 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1130 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1131 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1132 conditional code always true.
1133 (__libc_vfork): New alias.
1135 2014-06-11 Roland McGrath <roland@hack.frob.com>
1137 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1138 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1140 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1142 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1143 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1145 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1146 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1148 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1149 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1151 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1153 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1154 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1155 multiarch strcmp for PPC64.
1156 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1157 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1159 multiarch optimizations.
1160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1161 (__libc_ifunc_impl_list): Likewise.
1163 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1165 * benchtests/scripts/validate_benchout.py: New script.
1166 * benchtests/Makefile (bench-func): Call it.
1167 * benchtests/scripts/benchout.schema.json: New file.
1169 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1171 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1172 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1173 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1174 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1175 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1176 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1177 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1178 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1179 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1180 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1181 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1182 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1183 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1184 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1185 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1186 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1291 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1292 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1296 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1298 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1299 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1301 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1303 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1304 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1305 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1307 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1309 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1312 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1313 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1315 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1316 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1317 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1318 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1320 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1321 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1322 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1323 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1324 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1325 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1326 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1328 2014-06-10 Wilco <wdijkstr@arm.com>
1330 * math/test-fenv-return.c: New file.
1331 * math/Makefile: Add new test test-fenv-return.
1333 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1336 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1338 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1339 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1340 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1341 0.0L for an argument of 1.0L.
1342 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1344 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1345 value when x - 1 is zero.
1346 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1347 * sysdeps/i386/fpu/libm-test-ulps: Update.
1348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1350 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1353 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1355 2014-06-09 Roland McGrath <roland@hack.frob.com>
1357 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1358 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1360 2014-06-09 Roland McGrath <roland@hack.frob.com>
1362 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1363 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1365 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1366 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1368 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1369 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1371 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1372 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1374 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1375 if not already defined.
1376 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1377 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1378 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1379 (TLS_INIT_TP): Use it.
1380 (TLS_DEFINE_INIT_TP): New macro.
1381 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1383 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1385 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1387 [POSIX] (IXANY): Likewise.
1388 [POSIX] (OLCUC): Likewise.
1389 [POSIX || POSIX2008] (CBAUD): Do not allow.
1390 [POSIX || POSIX2008] (DEFECHO): Likewise.
1391 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1392 [POSIX || POSIX2008] (ECHOKE): Likewise.
1393 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1394 [POSIX || POSIX2008] (EXTA): Likewise.
1395 [POSIX || POSIX2008] (EXTB): Likewise.
1396 [POSIX || POSIX2008] (FLUSHO): Likewise.
1397 [POSIX || POSIX2008] (LOBLK): Likewise.
1398 [POSIX || POSIX2008] (PENDIN): Likewise.
1399 [POSIX || POSIX2008] (SWTCH): Likewise.
1400 [POSIX || POSIX2008] (VDISCARD): Likewise.
1401 [POSIX || POSIX2008] (VDSUSP): Likewise.
1402 [POSIX || POSIX2008] (VLNEXT): Likewise.
1403 [POSIX || POSIX2008] (VREPRINT): Likewise.
1404 [POSIX || POSIX2008] (VSTATUS): Likewise.
1405 [POSIX || POSIX2008] (VWERASE): Likewise.
1406 (B*): Change to B[0123456789]*.
1407 * conform/data/time.h-data [POSIX || UNIX98]
1408 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1409 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1410 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1411 [POSIX] (tm_*): Do not allow.
1413 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1415 * Makefile (install): Don't set LANGUAGE.
1416 * Makefile.in (install): Likewise.
1417 * assert/Makefile (test-assert-ENV): Remove variable.
1418 (test-assert-perr-ENV): Likewise.
1419 * elf/Makefile (neededtest4-ENV): Likewise.
1420 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1421 [$(cross-compiling) = no]: Don't set LANGUAGE.
1422 * io/ftwtest-sh (LANG): Remove variable.
1423 * libio/Makefile (tst-widetext-ENV): Likewise.
1424 * manual/install.texi (Running make install): Don't refer to
1425 environment settings for make install.
1426 * INSTALL: Regenerated.
1427 * nptl/tst-tls6.sh: Don't set LANG.
1428 * posix/globtest.sh (LANG): Remove variable.
1429 * string/Makefile (tester-ENV): Likewise.
1430 (inl-tester-ENV): Likewise.
1431 (noinl-tester-ENV): Likewise.
1432 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1433 [$(cross-compiling) = no]: Don't set LANGUAGE.
1434 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1435 without explicit environment settings.
1437 2014-06-06 Roland McGrath <roland@hack.frob.com>
1439 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1440 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1441 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1442 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1444 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1446 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1447 other files in the crypt directory.
1448 * crypt/crypt.c: Remove duplicate includes.
1449 * crypt/crypt-entry.c: Likewise.
1450 * crypt/crypt_util.c: Likewise.
1452 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1454 * Makeconfig (run-program-env): New variable.
1455 (run-program-prefix-before-env): Likewise.
1456 (run-program-prefix-after-env): Likewise.
1457 (run-program-prefix): Define in terms of new variables.
1458 (built-program-cmd-before-env): New variable.
1459 (built-program-cmd-after-env): Likewise.
1460 (built-program-cmd): Define in terms of new variables.
1461 (test-program-prefix-before-env): New variable.
1462 (test-program-prefix-after-env): Likewise.
1463 (test-program-prefix): Define in terms of new variables.
1464 (test-program-cmd-before-env): New variable.
1465 (test-program-cmd-after-env): Likewise.
1466 (test-program-cmd): Define in terms of new variables.
1467 * Rules (make-test-out): Use $(run-program-env).
1468 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1469 (help): Do not mention environment variables. Mention
1470 --timeoutfactor option.
1471 (timeoutfactor): New variable.
1472 (blacklist_exports): Remove function.
1473 (exports): Remove variable.
1474 (command): Do not include ${exports}.
1475 * manual/install.texi (Configuring and compiling): Do not mention
1476 test wrappers preserving environment variables. Mention that last
1477 assignment to a variable must take precedence.
1478 * INSTALL: Regenerated.
1479 * benchtests/Makefile (run-bench): Use $(run-program-env).
1480 * catgets/Makefile ($(objpfx)test1.cat): Use
1481 $(built-program-cmd-before-env), $(run-program-env) and
1482 $(built-program-cmd-after-env).
1483 ($(objpfx)test2.cat): Do not specify environment variables
1485 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1486 $(run-program-env) and $(built-program-cmd-after-env).
1487 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1488 $(run-program-env) and $(test-program-cmd-after-env).
1489 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1491 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1492 run_program_env and test_program_cmd_after_env arguments.
1493 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1494 * elf/tst-pathopt.sh: Use run_program_env argument.
1495 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1496 $(test-wrapper-env) and $(run-program-env).
1497 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1498 run_program_env arguments.
1499 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1500 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1501 $(test-program-prefix-before-env), $(run-program-env) and
1502 $(test-program-prefix-after-env).
1503 ($(objpfx)tst-gettext2.out): Likewise.
1504 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1505 run_program_env and test_program_prefix_after_env arguments.
1506 * intl/tst-gettext2.sh: Likewise.
1507 * intl/tst-gettext4.sh: Do not set environment variables
1509 * intl/tst-gettext6.sh: Likewise.
1510 * intl/tst-translit.sh: Likewise.
1511 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1512 $(test-program-prefix-before-env), $(run-program-env) and
1513 $(test-program-prefix-after-env).
1514 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1515 run_program_env and test_program_prefix_after_env arguments.
1516 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1517 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1518 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1519 explicitly with each use of ${test_wrapper_env}.
1520 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1521 $(test-program-prefix-before-env), $(run-program-env) and
1522 $(test-program-prefix-after-env).
1523 * posix/tst-getconf.sh: Do not set environment variables
1525 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1526 run_program_env and test_program_prefix_after_env arguments.
1527 * stdio-common/tst-printf.sh: Do not set environment variables
1529 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1530 $(test-program-prefix-before-env), $(run-program-env) and
1531 $(test-program-prefix-after-env).
1532 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1533 run_program_env and test_program_prefix_after_env arguments.
1534 Split $test calls into $test_pre and $test.
1535 * timezone/Makefile (build-testdata): Use
1536 $(built-program-cmd-before-env), $(run-program-env) and
1537 $(built-program-cmd-after-env).
1539 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1542 strlen for non SHARED builds.
1544 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1546 * nptl/allocatestack.c (check_list): Inlined function...
1547 (__reclaim_stacks): ... here.
1549 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1552 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1555 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1557 * Rules (make-test-out): Include
1558 LOCPATH=$(common-objpfx)localedata in default environment.
1559 * debug/Makefile (tst-chk1-ENV): Remove variable.
1560 (tst-chk2-ENV): Likewise.
1561 (tst-chk3-ENV): Likewise.
1562 (tst-chk4-ENV): Likewise.
1563 (tst-chk5-ENV): Likewise.
1564 (tst-chk6-ENV): Likewise.
1565 (tst-lfschk1-ENV): Likewise.
1566 (tst-lfschk2-ENV): Likewise.
1567 (tst-lfschk3-ENV): Likewise.
1568 (tst-lfschk4-ENV): Likewise.
1569 (tst-lfschk5-ENV): Likewise.
1570 (tst-lfschk6-ENV): Likewise.
1571 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1572 (tst-iconv7-ENV): Likewise.
1573 * intl/Makefile (LOCPATH-ENV): Likewise.
1574 (tst-codeset-ENV): Likewise.
1575 (tst-gettext3-ENV): Likewise.
1576 (tst-gettext5-ENV): Likewise.
1577 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1578 (tst-fopenloc-ENV): Likewise.
1579 (tst-fgetws-ENV): Remove variable.
1580 (tst-ungetwc1-ENV): Likewise.
1581 (tst-ungetwc2-ENV): Likewise.
1582 (bug-ungetwc2-ENV): Likewise.
1583 (tst-swscanf-ENV): Likewise.
1584 (bug-ftell-ENV): Likewise.
1585 (tst-fgetwc-ENV): Likewise.
1586 (tst-fseek-ENV): Likewise.
1587 (tst-ftell-partial-wide-ENV): Likewise.
1588 (tst-ftell-active-handler-ENV): Likewise.
1589 (tst-ftell-append-ENV): Likewise.
1590 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1591 (tst-regexloc-ENV): Likewise.
1592 (bug-regex1-ENV): Likewise.
1593 (tst-regex-ENV): Likewise.
1594 (tst-regex2-ENV): Likewise.
1595 (bug-regex5-ENV): Likewise.
1596 (bug-regex6-ENV): Likewise.
1597 (bug-regex17-ENV): Likewise.
1598 (bug-regex18-ENV): Likewise.
1599 (bug-regex19-ENV): Likewise.
1600 (bug-regex20-ENV): Likewise.
1601 (bug-regex22-ENV): Likewise.
1602 (bug-regex23-ENV): Likewise.
1603 (bug-regex25-ENV): Likewise.
1604 (bug-regex26-ENV): Likewise.
1605 (bug-regex30-ENV): Likewise.
1606 (bug-regex32-ENV): Likewise.
1607 (bug-regex33-ENV): Likewise.
1608 (bug-regex34-ENV): Likewise.
1609 (bug-regex35-ENV): Likewise.
1610 (tst-rxspencer-ENV): Likewise.
1611 (tst-rxspencer-no-utf8-ENV): Likewise.
1612 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1613 (tst-sscanf-ENV): Likewise.
1614 (tst-swprintf-ENV): Likewise.
1615 (tst-swscanf-ENV): Likewise.
1616 (test-vfprintf-ENV): Likewise.
1617 (scanf13-ENV): Likewise.
1618 (bug14-ENV): Likewise.
1619 (tst-grouping-ENV): Likewise.
1620 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1621 (tst-strtod3-ENV): Likewise.
1622 (tst-strtod4-ENV): Likewise.
1623 (tst-strtod5-ENV): Likewise.
1624 (testmb2-ENV): Likewise./
1625 * string/Makefile (tst-strxfrm-ENV): Likewise.
1626 (tst-strxfrm2-ENV): Likewise.
1627 (bug-strcoll1-ENV): Likewise.
1628 (test-strcasecmp-ENV): Likewise.
1629 (test-strncasecmp-ENV): Likewise.
1630 * time/Makefile (tst-strptime-ENV): Likewise.
1631 (tst-ftime_l-ENV): Likewise.
1632 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1633 (tst-mbrtowc-ENV): Likewise.
1634 (tst-wcrtomb-ENV): Likewise.
1635 (tst-mbrtowc2-ENV): Likewise.
1636 (tst-c16c32-1-ENV): Likewise.
1637 (tst-mbsnrtowcs-ENV): Likewise.
1639 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1641 * manual/resource.texi (How to get information about the memory
1642 subsystem?): Fix typo.
1643 Reported by Peon de la Parra Ivan <peon@keba.com>
1645 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1648 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1649 (pthread_spin_lock): Branch out of spin loop to proper location.
1650 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1651 (pthread_spin_lock): Likewise.
1653 * nptl/tst-spin4.c: New test.
1654 * nptl/Makefile (tests): Add tst-spin4.
1656 2014-06-03 Andreas Schwab <schwab@suse.de>
1659 * resolv/res_send.c (send_dg): Reload file descriptor after
1662 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1666 2014-06-03 Richard Henderson <rth@redhat.com>
1668 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1669 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1670 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1671 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1672 in the SAVE_PID block.
1673 (__libc_vfork): New alias.
1674 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1676 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1677 child in registers, not on the stack. Remove RESET_PID conditionals.
1678 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1680 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1682 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1684 2014-06-03 Wilco <wdijkstr@arm.com>
1686 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1687 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1688 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1689 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1690 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1693 2014-06-03 Wilco <wdijkstr@arm.com>
1695 * sysdeps/aarch64/fpu/math_private.h
1696 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1697 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1698 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1699 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1702 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1704 * crypt/crypt-private.h: Include ufc-crypt.h.
1705 (__b64_from_24bit): Declare extern.
1706 * crypt/crypt_util.c(__b64_from_24bit): New function.
1707 (b64t): New static const variable.
1708 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1709 (b64t): Remove variable.
1710 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1711 * crypt/sha256-crypt.c: Include crypt-private.h.
1712 (b64t): Remove variable.
1713 (__sha256_crypt_r): Remove b64_from_24bit and replace
1714 with __b64_from_24bit.
1715 * crypt/sha512-crypt.c: Likewise.
1717 2014-06-02 Roland McGrath <roland@hack.frob.com>
1719 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1720 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1721 Label the code __libc_vfork rather than __vfork.
1722 [!NOT_IN_libc] (vfork): Define as weak alias.
1723 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1724 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1725 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1727 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1729 * malloc/malloc.c (malloc_info): Fix format specifier for
1732 2014-06-02 Wilco <wdijkstr@arm.com>
1734 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1737 2014-06-02 Wilco <wdijkstr@arm.com>
1740 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1741 Rewrite to reduce FPCR/FPSR accesses.
1743 2014-06-01 David S. Miller <davem@davemloft.net>
1745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1747 2014-05-31 David S. Miller <davem@davemloft.net>
1749 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1750 to occur in round to nearest mode when |x| >= 2.0
1752 2014-05-30 Richard Henderson <rth@twiddle.net>
1754 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1755 (PSEUDO_RET_NOERRNO): Remove.
1756 (ret): Don't redefine.
1757 (ret_NOERRNO): Define in terms of ret.
1758 (ret_ERRVAL): Likewise.
1760 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1761 use of PSEUDO_RET; perform the error check directly.
1763 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1765 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1768 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1770 * malloc/malloc (malloc_info): Fix formatting.
1772 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1773 Roland McGrath <roland@hack.frob.com>
1775 * malloc/malloc (malloc_info): Also print mmapped statistics.
1777 2014-05-30 Roland McGrath <roland@hack.frob.com>
1779 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1780 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1782 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1784 * malloc/malloc.c (malloc_info): Inline mi_arena.
1786 2014-05-29 Richard Henderson <rth@twiddle.net>
1788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1789 Remove comma before expanding ASM_ARGS_##nr.
1790 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1791 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1793 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1794 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1795 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1796 (ASM_ARGS_1): Add leading comma.
1798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1799 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1800 to __errno_location.
1801 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1802 Remove the expected plt for __errno_location.
1804 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1805 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1809 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1810 it and break it down.
1811 (DOCARGS_0, DOCARGS_1): Do nothing.
1812 (DOCARGS_2): Update to store into the new stack frame.
1813 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1814 (UNDOCARGS_1): Update to restore from the new stack frame.
1815 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1816 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1818 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1819 (SINGLE_THREAD_P): New parameter for result regno.
1820 (PSEUDO): Update to match; use cbz instead of beq.
1822 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1823 Use ENTRY to define the _nocancel entry point. Share the syscall
1824 and syscall error check paths with the cancel path.
1827 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1828 whitespace; tabs before and after asm mnemonics.
1830 2014-05-29 Eric Wong <normalperson@yhbt.net>
1833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1834 Call fstat64 or stat64 internally, depending on arguments passed.
1835 Replace stat buffer argument with file descriptor argument.
1836 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1837 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1838 Pass fd to __internal_statvfs instead of calling fstat64.
1839 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1840 Pass fd to __internal_statvfs64 instead of calling fstat64.
1841 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1842 Pass -1 to __internal_statvfs instead of calling stat64.
1843 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1844 Pass -1 to __internal_statvfs64 instead of calling stat64.
1846 2014-05-28 Roland McGrath <roland@hack.frob.com>
1848 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1849 that was previously under [RESET_PID].
1850 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1852 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1853 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1855 2014-05-27 Roland McGrath <roland@hack.frob.com>
1857 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1859 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1860 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1862 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1864 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1866 2014-05-27 Andreas Schwab <schwab@suse.de>
1868 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1870 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1871 * elf/rtld.c (init_tls, dl_main): Likewise.
1872 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1873 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1874 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1875 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1876 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1877 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1878 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1879 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1880 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1881 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1882 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1883 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1884 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1885 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1886 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1887 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1888 * sysdeps/generic/tls.h: Update description.
1890 2014-05-27 Will Newton <will.newton@linaro.org>
1893 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1894 and restore r2 rather than just restoring.
1896 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1899 * libio/tst-ftell-append.c: New test case.
1900 * libio/Makefile (tests): Add test case.
1901 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1903 * libio/wfileops.c (do_ftell_wide): Likewise.
1905 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1909 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1913 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1914 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1916 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1918 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1926 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1928 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1929 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1931 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1932 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1934 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1936 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1938 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1940 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1942 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1943 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1944 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1945 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1968 conditional [RESET_PID].
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1977 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1978 (__libc_vfork): New strong alias.
1979 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1981 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1986 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1987 (__libc_vfork): New strong alias.
1988 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1990 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1993 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1995 * malloc/malloc.c (mi_arena): New function.
1996 (malloc_info): Remove nested function mi_arena. Call non-nosted
1999 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2001 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2003 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2004 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2005 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2006 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2007 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2008 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2009 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2011 2014-05-26 Andreas Schwab <schwab@suse.de>
2014 * locale/programs/repertoire.c (repertoire_read): Add slash
2015 between I18NPATH element and file name.
2016 * locale/programs/locfile.c (locfile_read): Likewise.
2018 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2020 * nptl/pthread_mutexattr_settype.c
2021 (__pthread_mutexattr_settype):
2022 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2024 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2026 * nptl/tst-mutex5 (do_test):
2027 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2029 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2031 * benchtests/README: Document 'init' directive.
2032 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2034 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2035 (parse_file): Recognize 'init' directive.
2037 2014-05-26 Kyle McMartin <kyle@redhat.com>
2040 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2041 alignment of struct pthread.
2043 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2046 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2047 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2048 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2049 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2051 2014-05-25 Richard Henderson <rth@twiddle.net>
2053 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2054 (SINGLE_THREAD_P_PIC): Remove.
2055 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2056 (SINGLE_THREAD_P_PIC): Remove.
2058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2059 branch to syscall error ...
2061 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2062 from __local_syscall_error to .Lsyscall_error.
2063 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2064 (SYSCALL_ERROR): Update label name.
2066 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2067 Do not use DOARGS/UNDOARGS.
2068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2069 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2070 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2071 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2072 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2074 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2077 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2078 define if !NOT_IN_libc.
2079 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2080 define with non-default symbol versions.
2082 2014-05-23 Richard Henderson <rth@twiddle.net>
2084 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2085 (vfork, __vfork): Define via compat_symbol.
2087 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2088 [!HAVE_IFUNC] (vfork_compat): Remove.
2089 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2091 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2094 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2095 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2098 2014-05-23 Richard Henderson <rth@twiddle.net>
2100 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2101 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2102 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2103 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2105 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2106 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2107 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2108 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2109 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2110 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2111 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2112 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2113 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2114 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2115 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2116 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2117 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2118 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2119 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2120 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2122 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2123 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2124 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2125 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2126 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2127 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2128 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2129 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2130 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2131 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2132 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2134 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2135 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2136 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2138 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2139 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2140 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2141 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2142 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2143 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2144 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2145 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2146 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2147 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2148 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2149 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2150 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2151 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2152 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2154 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2156 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2157 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2158 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2159 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2160 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2162 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2163 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2164 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2165 before exiting on error.
2166 (__libc_vfork): New strong alias.
2167 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2168 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2170 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2171 that was previously under [RESET_PID].
2172 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2174 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2176 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2179 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2180 value when x - 1 is zero.
2181 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2182 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2183 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2184 0.0L for an argument of 1.0L.
2185 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2187 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2188 value when x - 1 is zero.
2189 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2193 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2195 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2196 alphasort and versionsort.
2198 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2202 [copysignf]: Likewise.
2204 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2206 * crypt/md5-crypt.c: Fix formatting.
2208 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2210 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2211 (b64_from_24bit): New function.
2213 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2216 libc_hidden_builtin_def to ifunc.
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2218 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2220 2014-05-21 Roland McGrath <roland@hack.frob.com>
2222 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2223 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2225 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2227 * nscd/Depend (linuxthreads): Remove.
2229 * resolv/Depend (linuxthreads): Remove.
2230 * rt/Depend (linuxthreads): Remove.
2232 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2233 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2234 $(common-objpfx)elf/.
2235 (link-libc-before-gnulib): Likewise.
2236 (elfobjdir): Remove variable.
2237 * Makefile (install): Use $(elf-objpfx) instead of
2238 $(common-objpfx)elf/.
2239 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2241 (link-libc-deps): Likewise.
2242 ($(common-objpfx)libc.so): Likewise.
2243 ($(common-objpfx)linkobj/libc.so): Likewise.
2244 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2245 instead of $(common-objpfx)elf/.
2246 (symbolic-link-list): Likewise.
2247 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2248 [$(cross-compiling) = no]: Likewise.
2249 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2251 (static-gnulib-arch): Likewise.
2252 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2253 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2254 $(common-objpfx)elf/.
2256 2014-05-21 Richard Henderson <rth@redhat.com>
2258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2259 (SINGLE_THREAD_P): Use the correct width load. Fold
2260 into the ldr offset.
2262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2263 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2265 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2267 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2268 (libgcc_s_resume): Use __attribute_used__.
2269 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2272 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2275 optimization when used with float constants.
2277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2279 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2282 * locale/nl_langinfo_l.c: Make direct reference to every
2283 _nl_current_CATEGORY symbol.
2284 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2285 (tests-static): Add tst-langinfo-static.
2286 (tests-special): Add tst-langinfo-static.out.
2287 ($(objpfx)tst-langinfo.out): Redirect output.
2288 ($(objpfx)tst-langinfo-static.out): New.
2289 * localedata/tst-langinfo.sh: Send output to stdout.
2290 * localedata/tst-langinfo-static.c: New file.
2293 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2294 when the shift amount is modulo the limb size.
2296 2014-05-20 Richard Henderson <rth@redhat.com>
2299 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2300 Change type of sa_flags from unsigned int to int.
2303 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2305 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2307 2014-05-20 Will Newton <will.newton@linaro.org>
2309 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2310 Test the return value of the system call in the nocancel case.
2312 2014-05-20 Will Newton <will.newton@linaro.org>
2313 Yvan Roux <yvan.roux@linaro.org>
2315 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2316 #include of asm/ptrace.h.
2317 (PTRACE_GET_THREAD_AREA): Remove #undef.
2318 (PTRACE_GETHBPREGS): Likewise.
2319 (PTRACE_SETHBPREGS): Likewise.
2320 (struct user_regs_struct): New structure.
2321 (struct user_fpsimd_struct): New structure.
2322 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2323 #include of asm/ptrace.h and second #include of sys/user.h.
2324 (PTRACE_GET_THREAD_AREA): Remove #undef.
2325 (PTRACE_GETHBPREGS): Likewise.
2326 (PTRACE_SETHBPREGS): Likewise.
2327 (ELF_NGREG): Use new struct user_regs_struct.
2328 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2330 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2335 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2339 membar to avoid block loads/stores to overlap previous stores.
2341 2014-05-17 Richard Henderson <rth@redhat.com>
2343 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2344 Create the __##syscall_name##_nocancel entry point.
2345 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2346 Remove; let the sysdep-cancel.h code create it.
2348 2014-05-17 David S. Miller <davem@davemloft.net>
2350 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2351 Protect with __USE_GNU.
2352 (TIOCSET_TEMPT): Likewise.
2353 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2354 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2355 these are already provided in bits/ioctl-types.h
2357 2014-05-16 Roland McGrath <roland@hack.frob.com>
2359 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2360 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2362 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2363 Use wait4 regardless of [__NR_waitpid].
2365 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2368 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2369 (_FP_NANSIGN_Q): Set the quiet bit.
2371 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2373 * benchtests/Makefile
2374 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2375 not $(common-objpfx)math/libm.so.
2376 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2377 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2378 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2379 $(common-objpfx)dlfcn/libdl.so.
2380 ($(objpfx)tst-audit8): Depend on $(libm), not
2381 $(common-objpfx)math/libm.so.
2382 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2383 not $(common-objpfx)dlfcn/libdl.so.
2385 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2386 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2387 [$(build-shared) = yes].
2388 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2389 $(common-objpfx)nptl/libpthread.so.
2390 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2391 $(common-objpfx)math/libm.so$(libm.so-version) or
2392 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2393 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2394 $(common-objpfx)dlfcn/libdl.so.
2395 * setjmp/Makefile (link-libm): Remove variable.
2396 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2397 * stdio-common/Makefile (link-libm): Remove variable.
2398 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2399 * stdlib/Makefile (link-libm): Remove variable.
2400 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2401 ($(objpfx)tst-strtod-round): Likewise.
2402 ($(objpfx)tst-tininess): Likewise.
2403 ($(objpfx)tst-strtod-underflow): Likewise.
2404 ($(objpfx)tst-strtod6): Likewise.
2405 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2406 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2407 $(common-objpfx)dlfcn/libdl.so.
2409 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2411 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2412 BSD terminal modes definitions.
2414 2014-05-16 Roland McGrath <roland@hack.frob.com>
2416 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2417 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2419 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2420 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2421 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2422 Don't do #include_next.
2423 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2424 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2425 Don't do #include_next.
2426 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2427 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2428 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2429 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2431 2014-05-16 Allan McRae <allan@archlinux.org>
2433 * po/sv.po: Update Swedish translation from translation project.
2435 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2438 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2441 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2442 errno if the TIOCGPTN ioctl fails with an error different than
2444 * login/tst-ptsname.c: New file.
2445 * login/Makefile (tests): Add tst-ptsname.
2448 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2451 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2455 herrno to return EAI_AGAIN.
2457 2014-05-14 Roland McGrath <roland@hack.frob.com>
2459 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2460 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2461 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2462 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2463 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2464 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2465 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2466 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2468 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2470 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2471 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2472 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2473 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2474 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2475 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2476 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2477 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2480 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2481 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2482 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2483 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2484 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2485 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2486 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2487 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2488 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2490 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2492 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2495 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2497 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2499 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2501 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2503 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2505 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2507 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2509 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2511 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2513 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2515 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2517 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2519 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2521 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2524 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2526 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2528 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2530 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2532 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2534 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2536 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2538 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2540 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2542 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2545 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2547 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2550 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2551 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2552 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2553 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2555 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2556 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2557 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2559 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2560 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2561 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2563 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2564 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2565 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2567 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2568 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2569 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2571 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2572 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2573 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2575 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2577 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2579 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2581 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2582 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2584 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2585 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2586 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2588 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2589 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2591 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2594 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2597 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2598 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2600 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2602 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2605 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2607 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2609 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2611 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2614 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2617 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2619 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2620 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2622 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2627 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2629 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2631 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2633 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2636 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2639 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2640 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2642 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2645 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2647 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2650 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2652 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2654 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2656 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2659 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2660 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2662 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2664 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2665 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2666 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2667 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2670 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2672 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2674 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2676 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2678 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2680 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2682 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2685 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2686 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2688 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2689 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2691 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2696 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2698 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2699 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2701 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2702 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2703 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2705 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2706 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2707 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2708 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2710 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2711 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2713 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2715 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2716 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2717 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2718 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2719 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2721 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2723 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2725 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2726 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2727 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2728 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2729 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2730 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2731 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2732 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2733 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2734 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2735 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2737 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2738 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2740 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2741 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2743 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2744 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2745 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2746 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2747 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2748 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2749 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2750 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2751 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2752 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2754 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2756 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2757 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2759 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2760 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2762 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2764 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2767 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2769 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2771 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2772 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2773 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2774 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2776 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2779 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2781 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2782 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2783 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2784 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2785 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2786 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2787 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2788 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2789 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2790 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2791 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2792 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2793 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2794 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2795 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2797 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2798 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2799 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2800 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2801 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2803 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2804 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2805 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2806 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2807 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2808 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2809 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2810 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2811 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2812 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2814 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2815 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2817 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2818 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2819 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2820 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2821 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2822 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2823 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2824 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2825 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2826 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2827 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2828 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2829 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2830 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2854 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2856 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2857 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2858 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2859 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2860 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2861 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2862 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2863 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2864 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2865 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2868 that was previously under [RESET_PID].
2869 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2870 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2871 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2873 * sysdeps/i386/nptl/Implies: New file.
2874 * sysdeps/x86_64/nptl/Implies: New file.
2875 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2876 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2877 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2878 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2880 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2881 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2882 (__libc_vfork): New strong alias.
2883 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2884 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2886 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2887 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2888 (__libc_vfork): New strong alias.
2889 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2890 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2892 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2893 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2894 (__libc_vfork): New strong alias.
2895 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2896 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2897 * nptl/pt-vfork.c: New file.
2898 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2899 (libpthread: GLIBC_2.20): New version set (empty).
2901 2014-05-14 Will Newton <will.newton@linaro.org>
2903 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2906 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2909 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2910 arguments with exponent 65 or above.
2911 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2912 arguments 0x1p113L or above.
2913 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2914 to arguments 0x1p107L or above.
2915 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2916 positive arguments with exponent 65 or above.
2917 * math/auto-libm-test-in: Add more tests of log1p.
2918 * math/auto-libm-test-out: Regenerated.
2921 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2922 non-finite arguments is +0.
2923 * math/s_cacosf.c (__cacosf): Likewise.
2924 * math/s_cacosl.c (__cacosl): Likewise.
2925 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2926 * sysdeps/i386/fpu/libm-test-ulps: Update.
2927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2930 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2932 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2933 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2934 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2935 for explicit high bit of mantissa when testing for argument equal
2937 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2938 * sysdeps/i386/fpu/libm-test-ulps: Update.
2939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2942 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2943 (__erf): Scale by 16 instead of 8 in potentially underflowing
2944 case. Ensure exception if result actually underflows.
2945 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2946 (__erff): Scale by 16 instead of 8 in potentially underflowing
2947 case. Ensure exception if result actually underflows.
2948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2949 (efx8): Remove variable.
2950 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2951 case. Ensure exception if result actually underflows.
2952 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2953 (efx8): Remove variable.
2954 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2955 case. Ensure exception if result actually underflows.
2956 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2957 (efx8): Remove variable.
2958 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2959 case. Ensure exception if result actually underflows.
2960 * math/auto-libm-test-in: Add more tests of erf.
2961 * math/auto-libm-test-out: Regenerated.
2963 2014-05-14 Andreas Schwab <schwab@suse.de>
2965 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2966 Remove code conditionalized on USE___THREAD.
2968 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2969 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2972 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2974 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2975 Define unconditionally.
2976 (__ASSUME_O_CLOEXEC): Likewise.
2977 (__ASSUME_SOCK_CLOEXEC): Likewise.
2978 (__ASSUME_IN_NONBLOCK): Likewise.
2979 (__ASSUME_PIPE2): Likewise.
2980 (__ASSUME_EVENTFD2): Likewise.
2981 (__ASSUME_SIGNALFD4): Likewise.
2982 (__ASSUME_DUP3): Likewise.
2983 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2984 (__ASSUME_DUP3): Do not define.
2985 (__ASSUME_EVENTFD2): Likewise.
2986 (__ASSUME_IN_NONBLOCK): Likewise.
2987 (__ASSUME_O_CLOEXEC): Likewise.
2988 (__ASSUME_PIPE2): Likewise.
2989 (__ASSUME_SIGNALFD4): Likewise.
2990 (__ASSUME_SOCK_CLOEXEC): Likewise.
2991 (__ASSUME_UTIMES): Undefine.
2992 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2993 (__ASSUME_UTIMES): Do not define.
2994 (__ASSUME_O_CLOEXEC): Likewise.
2995 (__ASSUME_SOCK_CLOEXEC): Likewise.
2996 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2997 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2999 (__ASSUME_PIPE2): Likewise.
3000 (__ASSUME_EVENTFD2): Likewise.
3001 (__ASSUME_SIGNALFD4): Likewise.
3002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3003 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3005 (__ASSUME_EVENTFD2): Likewise.
3006 (__ASSUME_SIGNALFD4): Likewise.
3007 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3008 (__ASSUME_32BITUIDS): Likewise.
3009 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3010 (__ASSUME_IPC64): Likewise.
3011 (__ASSUME_ST_INO_64_BIT): Likewise.
3012 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3013 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3014 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3015 (__ASSUME_UTIMES): Do not define.
3016 (__ASSUME_PSELECT): Likewise.
3017 (__ASSUME_PPOLL): Likewise.
3018 (__ASSUME_O_CLOEXEC): Likewise.
3019 (__ASSUME_SOCK_CLOEXEC): Likewise.
3020 (__ASSUME_IN_NONBLOCK): Likewise.
3021 (__ASSUME_PIPE2): Likewise.
3022 (__ASSUME_EVENTFD2): Likewise.
3023 (__ASSUME_SIGNALFD4): Likewise.
3024 (__ASSUME_DUP3): Likewise.
3025 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3026 (__ASSUME_UTIMES): Likewise.
3027 (__ASSUME_O_CLOEXEC): Likewise.
3028 (__ASSUME_SOCK_CLOEXEC): Likewise.
3029 (__ASSUME_IN_NONBLOCK): Likewise.
3030 (__ASSUME_PIPE2): Likewise.
3031 (__ASSUME_EVENTFD2): Likewise.
3032 (__ASSUME_SIGNALFD4): Likewise.
3033 (__ASSUME_DUP3): Likewise.
3034 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3035 (__ASSUME_UTIMES): Likewise.
3036 (__ASSUME_O_CLOEXEC): Likewise.
3037 (__ASSUME_SOCK_CLOEXEC): Likewise.
3038 (__ASSUME_IN_NONBLOCK): Likewise.
3039 (__ASSUME_PIPE2): Likewise.
3040 (__ASSUME_EVENTFD2): Likewise.
3041 (__ASSUME_SIGNALFD4): Likewise.
3042 (__ASSUME_DUP3): Likewise.
3043 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3045 (__ASSUME_UTIMES): Likewise.
3046 (__ASSUME_EVENTFD2): Likewise.
3047 (__ASSUME_SIGNALFD4): Likewise.
3048 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3049 (__ASSUME_O_CLOEXEC): Likewise.
3050 (__ASSUME_SOCK_CLOEXEC): Likewise.
3051 (__ASSUME_IN_NONBLOCK): Likewise.
3052 (__ASSUME_PIPE2): Likewise.
3053 (__ASSUME_EVENTFD2): Likewise.
3054 (__ASSUME_SIGNALFD4): Likewise.
3055 (__ASSUME_DUP3): Likewise.
3056 (__ASSUME_UTIMES): Undefine.
3058 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3059 feclearexcept. Remove symbol versioning code.
3060 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3061 symbol versioning code.
3062 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3063 symbol versioning code.
3064 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3065 feupdateenv. Remove symbol versioning code.
3066 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3067 fegetexceptflag. Remove symbol versioning code.
3068 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3069 fesetexceptflag. Remove symbol versioning code.
3070 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3071 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3072 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3073 (__posix_fadvise64_l32): Remove prototype.
3074 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3077 2014-05-13 Roland McGrath <roland@hack.frob.com>
3079 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3080 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3081 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3082 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3084 2014-05-13 Sami Kerola <kerolasa@iki.fi>
3086 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3087 current working directory
3089 2014-05-13 Roland McGrath <roland@hack.frob.com>
3091 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3092 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3093 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3094 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3095 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3096 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3097 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3098 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3099 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3100 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3101 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3102 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3103 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3104 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3105 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3106 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3107 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3108 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3109 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3110 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3111 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3112 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3113 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3114 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3115 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3116 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3117 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3118 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3119 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3120 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3121 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3122 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3123 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3124 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3125 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3126 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3127 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3128 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3129 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3130 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3131 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3132 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3134 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3135 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3137 * sysdeps/unix/sysv/linux/arm/Makefile
3138 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3139 Add rt-aeabi_unwind_cpp_pr1.
3140 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3141 Add nptl-aeabi_unwind_cpp_pr1.
3142 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3143 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3144 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3145 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3146 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3147 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3149 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3150 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3151 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3152 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3154 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3155 Deconditionalize the code that was previously under [RESET_PID].
3156 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3158 * sysdeps/generic/exit-thread.h: New file.
3159 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3160 * include/unistd.h (__exit_thread): Remove declaration.
3161 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3162 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3163 * csu/libc-start.c: Include <exit-thread.h>.
3164 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3165 * nptl/pthread_create.c: Include <exit-thread.h>.
3166 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3167 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3168 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3169 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3170 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3171 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3172 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3173 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3174 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3175 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3176 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3177 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3178 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3179 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3180 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3181 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3182 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3184 2014-05-13 Andreas Schwab <schwab@suse.de>
3186 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3188 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3190 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3191 (__ASSUME_UTIMES): Do not condition on kernel version.
3192 (__ASSUME_PSELECT): Define unconditionally.
3193 (__ASSUME_PPOLL): Likewise.
3194 (__ASSUME_ATFCTS): Likewise.
3195 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3196 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3197 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3198 (__ASSUME_UTIMENSAT): Define unconditionally.
3199 (__ASSUME_PRIVATE_FUTEX): Likewise.
3200 (__ASSUME_FALLOCATE): Likewise.
3201 (__ASSUME_O_CLOEXEC): Likewise.
3202 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3203 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3204 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3205 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3206 (__ASSUME_IN_NONBLOCK): Likewise.
3207 (__ASSUME_PIPE2): Likewise.
3208 (__ASSUME_EVENTFD2): Likewise.
3209 (__ASSUME_SIGNALFD4): Likewise.
3210 (__ASSUME_DUP3): Likewise.
3211 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3212 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3213 (__ASSUME_AT_RANDOM): Likewise.
3214 (__ASSUME_PREADV): Likewise.
3215 (__ASSUME_PWRITEV): Likewise.
3216 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3217 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3218 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3220 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3222 (__ASSUME_O_CLOEXEC): Define unconditionally.
3223 (__ASSUME_PSELECT): Do not undefine conditionally.
3224 (__ASSUME_PPOLL): Likewise.
3225 (__ASSUME_ATFCTS): Likewise.
3226 (__ASSUME_SET_ROBUST_LIST): Likewise.
3227 (__ASSUME_UTIMENSAT): Likewise.
3228 (__ASSUME_FDATASYNC): Define unconditionally.
3229 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3230 (__ASSUME_SIGFRAME_V2): Likewise.
3231 )__ASSUME_EVENTFD2): Likewise.
3232 (__ASSUME_SIGNALFD4): Likewise.
3233 (__ASSUME_PSELECT): Do not undefine conditionally.
3234 (__ASSUME_PPOLL): Likewise.
3235 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3236 (__ASSUME_PSELECT): Define unconditionally.
3237 (__ASSUME_PPOLL): Likewise.
3238 (__ASSUME_O_CLOEXEC): Likewise.
3239 (__ASSUME_SOCK_CLOEXEC): Likewise.
3240 (__ASSUME_IN_NONBLOCK): Likewise.
3241 (__ASSUME_PIPE2): Likewise.
3242 (__ASSUME_EVENTFD2): Likewise.
3243 (__ASSUME_SIGNALFD4): Likewise.
3244 (__ASSUME_DUP3): Likewise.
3245 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3246 (__ASSUME_O_CLOEXEC): Likewise.
3247 (__ASSUME_SOCK_CLOEXEC): Likewise.
3248 (__ASSUME_IN_NONBLOCK): Likewise.
3249 (__ASSUME_PIPE2): Likewise.
3250 (__ASSUME_EVENTFD2): Likewise.
3251 (__ASSUME_SIGNALFD4): Likewise.
3252 (__ASSUME_DUP3): Likewise.
3253 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3254 (__ASSUME_EVENTFD2): Likewise.
3255 (__ASSUME_SIGNALFD4): Likewise.
3256 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3258 2014-05-12 Andreas Schwab <schwab@suse.de>
3261 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3262 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3263 than maximum RPC packet size.
3264 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3265 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3266 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3267 (_nss_nis_getservbyport_r): Likewise.
3269 2014-05-12 Will Newton <will.newton@linaro.org>
3271 * malloc/Makefile (tests): Add tst-mallopt.
3272 * malloc/tst-mallopt.c: New file.
3274 2014-05-09 Roland McGrath <roland@hack.frob.com>
3276 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3277 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3279 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3281 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3282 (tst-tlsmod6.so): Likewise.
3284 2014-05-09 Roland McGrath <roland@hack.frob.com>
3286 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3288 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3291 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3292 and <dl-procinfo.h>.
3293 (__fegetenv): Save SSE state in envp->__eip if supported.
3294 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3295 envp->__eip if supported.
3296 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3297 and <dl-procinfo.h>.
3298 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3299 __data_offset and __data_selector in environment to 0. Set SSE
3301 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3303 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3305 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3307 2014-05-09 Will Newton <will.newton@linaro.org>
3309 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3310 and libc_relro_required for ARM.
3311 * sysdeps/arm/preconfigure: Regenerate.
3313 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3314 Stefan Liebler <stli@linux.vnet.ibm.com>
3316 * config.make.in (enable-lock-elision): New Makefile variable.
3317 * configure.ac: Likewise.
3318 * configure: Regenerate.
3319 * sysdeps/s390/configure.ac:
3320 Add check for gcc transactions support.
3321 * sysdeps/s390/configure: Regenerate.
3322 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3323 Build elision files if enabled.
3324 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3325 Add lock elision support for s390.
3326 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3327 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3328 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3329 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3330 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3331 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3332 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3334 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3336 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3338 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3340 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3341 (__lll_timedlock_elision, __lll_lock_elision)
3342 (__lll_unlock_elision, __lll_trylock_elision)
3343 (lll_timedlock_elision, lll_lock_elision)
3344 (lll_unlock_elision, lll_trylock_elision): Add.
3345 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3346 (pthread_mutex_t): Add lock elision support for s390.
3348 2014-05-14 Wilco <wdijkstr@arm.com>
3350 * sysdeps/arm/fclrexcpt.c: Cleanup.
3351 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3352 * sysdeps/arm/feenablxcpt.c: Cleanup.
3353 * sysdeps/arm/fegetenv.c: Cleanup.
3354 * sysdeps/arm/fegetexcept.c: Cleanup.
3355 * sysdeps/arm/fegetround.c: Cleanup.
3356 * sysdeps/arm/feholdexcpt.c: Cleanup.
3357 * sysdeps/arm/fesetenv.c: Cleanup.
3358 * sysdeps/arm/fesetround.c: Cleanup.
3359 * sysdeps/arm/feupdateenv.c: Cleanup.
3360 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3361 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3362 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3363 * sysdeps/arm/ftestexcept.c: Cleanup.
3364 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3365 * sysdeps/arm/setfpucw.c: Cleanup.
3367 2014-05-09 Will Newton <will.newton@linaro.org>
3369 * sysdeps/arm/armv7/strcmp.S: New file.
3370 * NEWS: Mention addition of ARMv7 optimized strcmp.
3372 2014-05-08 Roland McGrath <roland@hack.frob.com>
3374 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3375 look for %.ac rather than %.in.
3377 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3378 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3379 * sysdeps/mach/hurd/configure: Regenerated.
3380 * sysdeps/unix/sysv/linux/configure: Regenerated.
3382 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3384 2014-05-07 Steve Ellcey <sellcey@mips.com>
3387 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3391 2014-05-07 Andreas Schwab <schwab@suse.de>
3393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3394 when skipping over non-matching result from nscd.
3396 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3399 * nptl/sockperf.c (client): Check socket return value.
3402 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3403 nscd security class.
3405 2014-05-06 Roland McGrath <roland@hack.frob.com>
3407 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3408 * sysdeps/arm/unwind.h: ... here.
3410 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3413 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3416 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3418 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3419 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3420 multiarch strncpy for PPC64.
3421 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3422 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3424 multiarch optimizations.
3425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3426 (__libc_ifunc_impl_list): Likewise.
3427 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3428 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3429 multiarch stpncpy for PPC64.
3430 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3431 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3433 2014-05-06 Andreas Schwab <schwab@suse.de>
3436 * gmon/mcount.c (_MCOUNT_DECL): Use
3437 atomic_compare_and_exchange_bool_acq instead of
3438 catomic_compare_and_exchange_bool_acq.
3440 2014-05-05 Roland McGrath <roland@hack.frob.com>
3442 * elf/Makefile (others, install-bin): Remove pldd.
3443 (pldd-modules): Variable removed.
3444 ($(objpfx)pldd): Target removed.
3445 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3446 (others, install-bin): Append pldd here.
3447 ($(objpfx)pldd): New target.
3449 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3450 to 0, so the first #if test emitted later doesn't see it undefined.
3451 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3452 * sysdeps/gnu/errlist.c: Regenerated.
3454 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3456 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3457 [libc_hidden_builtin_def]: Define to empty value.
3458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3459 [libc_hidden_builtin_def]: Likewise.
3460 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3461 [libc_hidden_builtin_def]: Likewise.
3462 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3463 [libc_hidden_builtin_def]: Likewise.
3464 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3465 __redirect_memcpy and define ifunc as default hidden symbol.
3466 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3467 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3469 2014-05-04 Adam Conrad <adconrad@0c3.net>
3471 * locale/iso-4217.def: Reintroduce XDR currency.
3473 2014-05-04 Allan McRae <allan@archlinux.org>
3475 * po/eo.po: Update Esperanto translation from translation project.
3477 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3479 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3480 and FEATURE_INDEX_MAX to 1.
3481 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3483 2014-05-01 Steve Ellcey <sellcey@mips.com>
3485 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3486 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3487 * iconvdata/big5.c (ONE_DIRECTION): Define.
3488 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3489 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3490 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3491 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3492 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3493 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3494 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3495 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3496 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3497 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3498 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3499 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3500 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3501 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3502 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3503 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3504 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3505 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3506 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3507 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3508 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3509 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3510 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3511 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3512 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3513 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3514 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3515 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3516 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3517 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3518 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3519 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3520 * iconvdata/johab.c (ONE_DIRECTION): Define.
3521 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3522 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3523 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3524 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3525 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3526 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3527 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3528 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3529 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3530 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3532 2014-05-01 Roland McGrath <roland@hack.frob.com>
3534 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3535 (_IO_JUMPS_OFFSET): Define to 0.
3537 * nptl/sysdeps/pthread/bits/libc-lock.h
3538 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3539 (__libc_lock_define_initialized_recursive): Always define using
3540 initializer. Modern compilers treat uninitialized (implicit zero) and
3541 explicit zero initializers the same (i.e. put the datum in bss).
3543 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3545 * nscd/nscd-client.h: Include <string.h>.
3547 2014-05-01 David S. Miller <davem@davemloft.net>
3550 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3551 multiple zero bytes exist at the end of a string.
3552 Reported by Aurelien Jarno <aurelien@aurel32.net>
3554 * string/test-strcmp.c (check): Add explicit test for situations where
3555 there are multiple zero bytes after the first.
3557 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3560 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3561 when compiling wprintf.
3562 * stdio-common/tstdiomisc.c (t3): New function.
3565 2014-05-01 Steve Ellcey <sellcey@mips.com>
3567 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3568 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3569 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3570 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3572 2014-05-01 Steve Ellcey <sellcey@mips.com>
3574 * stdlib/longlong.h: Updated from GCC.
3576 2014-05-01 Will Newton <will.newton@linaro.org>
3577 Bernard Ogden <bernie.ogden@linaro.org>
3579 * NEWS: Update fixed bug list.
3582 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3584 2014-04-30 David S. Miller <davem@davemloft.net>
3586 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3587 (libc_feholdexcept_setround_sparc_ctx): New function.
3588 (libc_fesetenv_sparc_ctx): Likewise.
3589 (libc_feupdateenv_sparc_ctx): Likewise.
3590 (libc_feholdsetround_sparc_ctx): Likewise.
3591 (libc_feholdexcept_setround_ctx): Define.
3592 (libc_feholdexcept_setroundf_ctx): Likewise.
3593 (libc_feholdexcept_setroundl_ctx): Likewise.
3594 (libc_fesetenv_ctx): Likewise.
3595 (libc_fesetenvf_ctx): Likewise.
3596 (libc_fesetenvl_ctx): Likewise.
3597 (libc_feupdateenv_ctx): Likewise.
3598 (libc_feupdateenvf_ctx): Likewise.
3599 (libc_feupdateenvl_ctx): Likewise.
3600 (libc_feresetround_ctx): Likewise.
3601 (libc_feresetroundf_ctx): Likewise.
3602 (libc_feresetroundl_ctx): Likewise.
3603 (libc_feholdsetround_ctx): Likewise.
3604 (libc_feholdsetroundf_ctx): Likewise.
3605 (libc_feholdsetroundl_ctx): Likewise.
3607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3608 with __USE_GNU instead of XOPEN cpp guards.
3610 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3614 with XOPEN cpp guards.
3616 2014-04-30 Julian Brown <julian@codesourcery.com>
3619 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3622 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3625 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3627 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3628 * sysdeps/unix/sysv/linux/configure: Regenerated.
3629 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3630 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3631 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3632 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3633 * README: Update reference to required Linux kernel version.
3634 * manual/install.texi (Linux): Update reference to required Linux
3635 kernel headers version.
3636 * INSTALL: Regenerated.
3638 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3640 [POSIX] (limits.h): Likewise.
3641 [POSIX] (math.h): Likewise.
3642 [POSIX] (sys/wait.h): Likewise.
3643 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3645 [POSIX] (stddef.h): Do not allow header inclusion.
3647 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3649 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3651 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3653 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3654 Return immediately after lll_futex_wake.
3656 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3659 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3661 (datahead_init_pos): Call datahead_init_common early.
3662 (datahead_init_neg): Likewise.
3664 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3665 datahead_init_neg): New functions.
3666 * nscd/aicache.c (addhstaiX): Use them.
3667 * nscd/grpcache.c (cache_addgr): Likewise.
3668 * nscd/hstcache.c (cache_addhst): Likewise.
3669 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3670 * nscd/netgroupcache.c (do_notfound): Likewise.
3671 (addgetnetgrentX): Likewise.
3672 (addinnetgrX): Likewise.
3673 * nscd/pwdcache.c (cache_addpw): Likewise.
3674 * nscd/servicescache.c (cache_addserv): Likewise.
3676 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3677 Atsushi Onoe <atsushi@onoe.org>
3682 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3683 one response is valid.
3684 * resolv/res_send.c (send_dg): Check for validity of other
3685 response if the current response is a referral.
3687 2014-04-29 Steve Ellcey <sellcey@mips.com>
3689 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3691 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3694 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3695 Always divide by positive zero when computing -Inf result.
3696 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3697 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3699 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3701 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3702 FPSCR if value do not change.
3703 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3704 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3705 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3706 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3707 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3708 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3711 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3713 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3714 * sysdeps/unix/sysv/linux/hppa: Move directory from
3715 ports/systeps/unix/sysv/linux/hppa.
3716 * README: Update listing for hppa-*-linux-gnu.
3718 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3721 * manual/stdio.texi (Hook functions): Fix types of stream hook
3724 * socket/sys/socket.h: Fix typo in comment.
3726 2014-04-28 Wilco <wdijkstr@arm.com>
3728 * sysdeps/arm/fenv_private.h: New file.
3729 * sysdeps/arm/math_private.h: New file.
3730 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3732 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3734 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3736 (La_x86_64_retval): Likewise.
3738 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3740 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3741 fpsr if value didn't change.
3742 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3743 to fpcr if value didn't change.
3744 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3745 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3746 fpsr or fpcr if value didn't change.
3747 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3748 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3749 fpcr if value didn't change.
3750 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3751 to fpsr if value didn't change.
3753 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3755 * nptl/tst-sem3.c: Use test-skeleton.c
3756 (main): Rename to do_test. Use return instead of
3758 * nptl/tst-sem4.c: Use test-skeleton.c
3759 (main): Rename to do_test.
3761 2014-04-22 David S. Miller <davem@davemloft.net>
3763 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3764 (struct sigaction): New struct member __glibc_reserved0, change
3765 type of sa_flags to int.
3767 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3769 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3770 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3772 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3774 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3775 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3777 2014-04-22 Will Newton <will.newton@linaro.org>
3778 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3780 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3781 (__longjmp): Add longjmp and longjmp_target SystemTap
3783 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3784 (__sigsetjmp): Add setjmp SystemTap probe.
3786 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3788 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3791 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3795 * sysdeps/powerpc/fpu/fenv_private.h
3796 (libc_feholdexcept_setroundl_ctx): Define to
3797 libc_feholdexcept_setround_ppc_ctx.
3798 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3799 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3800 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3801 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3803 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3805 * sysdeps/aarch64/math-tests.h: New file.
3807 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3809 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3812 Check and set bit_AVX2_Usable.
3813 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3815 (bit_AVX2): Likewise.
3816 (index_AVX2_Usable): Likewise.
3817 (CPUID_AVX2): Likewise.
3818 (HAS_AVX2): Likewise.
3820 2014-04-17 Will Newton <will.newton@linaro.org>
3822 * manual/setjmp.texi (System V contexts): Add note that
3823 calling setcontext on a context created by a call to a
3824 signal handler is undefined. Update text to note that
3825 setcontext from a signal handler is possible but not
3829 * stdlib/tst-setcontext.c: Include signal.h.
3830 (main): Check that the signal stack before and
3831 after swapcontext is the same.
3833 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3834 Re-implement to restore registers in user code and avoid
3835 rt_sigreturn system call.
3837 2014-04-17 Wilco <wdijkstr@arm.com>
3839 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3840 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3841 * math/test-fenv.c: Skip exception trap tests on targets which only
3842 support non-stop mode.
3844 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3845 Wilco Dijkstra <wilco.dijkstra@arm.com>
3847 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3848 (libc_feholdsetround_aarch64_ctx)
3849 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3850 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3851 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3852 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3853 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3854 (libc_feresetround_noexl_ctx): Define.
3856 2014-04-16 Richard Henderson <rth@redhat.com>
3858 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3860 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3863 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3864 const from the non-libc, non-ldso copy.
3866 * sysdeps/alpha/libm-test-ulps: Regenerate.
3868 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3869 Wilco Dijkstra <wilco.dijkstra@arm.com>
3871 * sysdeps/aarch64/fpu/math_private.h: New file.
3873 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3875 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3877 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3879 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3880 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3881 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3882 Intel MPX bound registers before _dl_profile_fixup.
3883 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3884 registers after _dl_profile_fixup. Save and restore bound
3885 registers bnd0/bnd1 when calling _dl_call_pltexit.
3886 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3887 (LR_BND_OFFSET): Likewise.
3888 (LRV_BND0_OFFSET): Likewise.
3889 (LRV_BND1_OFFSET): Likewise.
3891 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3893 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3895 * sysdeps/mach/hurd/i386/tls.h: ... here.
3896 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3897 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3900 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3902 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3904 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3906 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3908 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3911 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3912 * sysdeps/s390/configure: Regenerate.
3915 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3916 Set round-to-nearest internally to reduce error accumulation.
3918 2014-04-16 Alan Modra <amodra@gmail.com>
3922 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3923 * math/libm-test.inc (frexp_test_data): Add tests.
3924 * NEWS: Update fixed bug list.
3926 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3928 * benchtests/Makefile: Depend on libraries in build directory.
3929 (bench-math): Separate out math tests.
3930 (bench-pthread): Separate out pthread tests.
3931 (bench): Include math and pthread tests.
3933 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3936 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3937 _dl_debug_initialize.
3939 * configure.ac: Remove SELinux header check.
3940 * configure: Regenerate.
3941 * nscd/selinux.c (perms): Array of const char* to permission names.
3942 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3943 default policy. Call string_to_security_class and string_to_av_perm to
3944 translate strings. Enforce default policy and call avs_has_perm with
3945 results of translated strings.
3947 2014-04-13 David S. Miller <davem@davemloft.net>
3949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3951 2014-04-12 Allan McRae <allan@archlinux.org>
3954 * manual/string.texi (Collation Functions): Fix qsort argument
3956 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3958 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3960 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3961 Make the test a no-op if there are no exceptions defined.
3963 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3965 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3966 enable-hardcoded-path-in-tests
3968 2014-04-11 Will Newton <will.newton@linaro.org>
3970 * benchtests/Makefile (extra-objs): Add json-lib.o.
3971 (bench-func): Tidy up JSON output.
3972 * benchtests/bench-skeleton.c: Include json-lib.h.
3973 (main): Use JSON library functions to do output of
3975 * benchtests/bench-timing-type.c (main): Output the
3976 timing type simply, leaving formatting to the user.
3977 * benchtests/json-lib.c: New file.
3978 * benchtests/json-lib.h: Likewise.
3980 2014-04-11 Torvald Riegel <triegel@redhat.com>
3983 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3984 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3985 memory barriers. Add comments.
3986 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3987 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3988 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3989 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3990 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3991 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3993 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3995 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3996 * sysdeps/s390/s390-64/configure.ac: ... this ...
3997 * sysdeps/s390/configure.ac: ... to here.
3998 * sysdeps/s390/s390-32/configure: Delete file.
3999 * sysdeps/s390/s390-64/configure: Delete file.
4000 * sysdeps/s390/configure: Regenerate.
4002 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4004 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4006 2014-04-11 Will Newton <will.newton@linaro.org>
4008 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4009 to zero if it is not defined elsewhere. (mtrim): Test
4010 the value of MALLOC_DEBUG with #if rather than #ifdef.
4012 2014-04-10 Torvald Riegel <triegel@redhat.com>
4014 * benchtests/pthread_once-inputs: New file.
4015 * benchtests/pthread_once-source.c: New file.
4016 * benchtests/README: Update documentation.
4018 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4019 H.J. Lu <hongjiu.lu@intel.com>
4021 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4022 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4023 * sysdeps/x86_64/configure: Regenerated.
4024 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4026 (REGISTER_SAVE_RAX): Likewise.
4027 (REGISTER_SAVE_RCX): Likewise.
4028 (REGISTER_SAVE_RDX): Likewise.
4029 (REGISTER_SAVE_RSI): Likewise.
4030 (REGISTER_SAVE_RDI): Likewise.
4031 (REGISTER_SAVE_R8): Likewise.
4032 (REGISTER_SAVE_R9): Likewise.
4033 (REGISTER_SAVE_BND0): Likewise.
4034 (REGISTER_SAVE_BND1): Likewise.
4035 (REGISTER_SAVE_BND2): Likewise.
4036 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4037 bound registers when calling _dl_fixup.
4039 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4041 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4042 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4044 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4045 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4046 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4047 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4048 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4049 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4050 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4052 2014-04-09 Peter Brett <peter@peter-b.co.uk>
4055 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4056 pathconf(_PC_NAME_MAX).
4058 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4060 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4062 (__PTHREAD_SPINS): Move definition to ...
4063 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4064 (__PTHREAD_SPINS): ... here.
4065 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4066 (__PTHREAD_SPIN): Likewise.
4067 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4068 (__PTHREAD_SPIN): Likewise.
4069 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4070 (__PTHREAD_SPIN): Likewise.
4071 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4072 (__PTHREAD_SPIN): Likewise.
4073 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4074 (__PTHREAD_SPIN): Likewise.
4075 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4076 (__PTHREAD_SPIN): Likewise.
4077 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4078 (__PTHREAD_SPIN): Likewise.
4079 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4080 (__PTHREAD_SPIN): Likewise.
4081 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4082 (__PTHREAD_SPIN): Likewise.
4083 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4084 (__PTHREAD_SPIN): Likewise.
4085 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4086 (__PTHREAD_SPIN): Likewise.
4087 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4088 (__PTHREAD_SPIN): Likewise.
4090 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4091 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4092 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4093 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4095 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4096 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4097 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4098 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4100 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4101 strlen symbol for non multi-arch builds.
4102 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4103 missing hidden_def and weak_alias.
4105 2014-04-08 Carlos O'Donell <carlos@redhat.com>
4107 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4109 2014-04-07 Will Newton <will.newton@linaro.org>
4111 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4112 and contents. [!_LIBC] Remove #ifndef and contents.
4113 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4114 * string/memccpy.c (__memccpy): Use ANSI prototype.
4115 * string/memfrob.c (memfrob): Likewise.
4116 * string/strcoll.c (STRCOLL): Likewise.
4117 * string/strlen.c (strlen): Likewise.
4118 * string/strtok.c (STRTOK): Likewise.
4119 * string/strcat.c: Remove unused #include of memcopy.h.
4120 (strcat): Use ANSI prototype.
4121 * string/strchr.c: Remove unused #include of memcopy.h.
4122 (strchr): Use ANSI prototype.
4123 * string/strcmp.c: Remove unused #include of memcopy.h.
4124 (strcmp): Use ANSI prototype.
4125 * string/strcpy.c: Remove unused #include of memcopy.h.
4126 (strcpy): Use ANSI prototype.
4128 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4130 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4131 * config.make.in (config-extra-cppflags): Set it from
4132 libc_extra_cppflags.
4133 * configure.ac (libc_extra_cflags): Make it accumulate over
4134 configure fragments.
4135 (libc_extra_cppflags): New flag.
4136 * configure. Regenerate.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4138 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4139 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4144 result for FE_DOWNWARD rounding mode.
4145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4149 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4151 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4152 in function argument name.
4154 2014-04-03 David Svoboda <svoboda@cert.org>
4157 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4160 2014-04-03 Roland McGrath <roland@hack.frob.com>
4162 * elf/dl-unmap-segments.h: New file.
4163 * sysdeps/generic/ldsodefs.h
4164 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4165 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4166 * elf/dl-fptr.c: Likewise.
4167 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4168 * sysdeps/aarch64/tlsdesc.c: Likewise.
4169 * sysdeps/arm/tlsdesc.c: Likewise.
4170 * sysdeps/i386/tlsdesc.c: Likewise.
4171 * sysdeps/tile/dl-runtime.c: Likewise.
4172 * sysdeps/x86_64/tlsdesc.c: Likewise.
4173 * elf/dl-load.h: New file.
4174 * elf/dl-load.c: Include it.
4175 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4176 Macros moved to dl-load.h.
4177 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4178 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4179 Use _dl_unmap_segments in place of __munmap.
4180 Break out segment-mapping loop into ...
4181 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4183 2014-04-03 Will Newton <will.newton@linaro.org>
4185 * elf/dl-lookup.c (do_lookup_x): Remove comment
4186 referring to nested function and move variable
4187 declarations down to before first use.
4189 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4193 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4195 * math/s_catanf.c (__catanf): Likewise.
4196 * math/s_catanh.c (__catanh): Likewise.
4197 * math/s_catanhf.c (__catanhf): Likewise.
4198 * math/s_catanhl.c (__catanhl): Likewise.
4199 * math/s_catanl.c (__catanl): Likewise.
4200 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4201 by positive zero when computing -Inf result.
4202 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4203 (catanh_test): Likewise.
4204 * sysdeps/i386/fpu/libm-test-ulps: Update.
4205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4208 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4209 instead of using underflowing value in computing result.
4210 * math/s_clog10.c (__clog10): Likewise.
4211 * math/s_clog10f.c (__clog10f): Likewise.
4212 * math/s_clog10l.c (__clog10l): Likewise.
4213 * math/s_clogf.c (__clogf): Likewise.
4214 * math/s_clogl.c (__clogl): Likewise.
4215 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4216 (clog10_test): Likewise.
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220 2014-04-02 Alan Modra <amodra@gmail.com>
4223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4224 output when value is near a power of two. Use int64_t for lx and
4225 remove casts. Use decimal rather than hex exponent constants.
4226 Don't use long double multiplication when double will suffice.
4227 * math/libm-test.inc (nextafter_test_data): Add tests.
4228 * NEWS: Add 16739 and 16786 to bug list.
4230 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4232 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4234 2014-04-01 Will Newton <will.newton@linaro.org>
4236 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4237 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4239 2014-04-01 Florian Weimer <fweimer@redhat.com>
4242 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4243 * nptl/tst-setuid2.c: New file.
4244 * nptl/Makefile (xtests): Add tst-setuid2.
4246 2014-04-01 Alan Modra <amodra@gmail.com>
4249 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4251 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4255 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4256 set errno as appropriate.
4257 * math/w_scalbf.c (__scalbf): Likewise.
4258 * math/w_scalbl.c (__scalbl): Likewise.
4259 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4260 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4261 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4265 * math/w_atan2.c: Include <errno.h>.
4266 (__atan2): Set errno for result underflowing to zero.
4267 * math/w_atan2f.c: Include <errno.h>.
4268 (__atan2f): Set errno for result underflowing to zero.
4269 * math/w_atan2l.c: Include <errno.h>.
4270 (__atan2l): Set errno for result underflowing to zero.
4271 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4273 * math/auto-libm-test-out: Regenerated.
4275 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4277 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4278 Encode instruction correctly in little endian.
4279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4281 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4283 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4288 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4291 * sysdeps/unix/sysv/linux/kernel-features.h
4292 [__sparc__ && !__arch64__ && !__sparc_v9__]
4293 (__ASSUME_SET_ROBUST_LIST): Do not define.
4294 [__sparc__ && !__arch64__ && !__sparc_v9__]
4295 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4296 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4298 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4299 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4300 (__ASSUME_REQUEUE_PI): Likewise.
4301 (__ASSUME_SET_ROBUST_LIST): Likewise.
4302 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4303 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4306 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4308 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4310 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4312 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4313 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4315 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4316 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4322 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4324 2014-03-31 Will Newton <will.newton@linaro.org>
4326 * benchtests/Makefile (bench): Add ffs and ffsll to list
4328 * benchtests/ffs-inputs: New file.
4329 * benchtests/ffsll-inputs: Likewise.
4331 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4334 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4335 too large before casting to int.
4336 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4337 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4338 * math/libm-test.inc (scalb_test_data): Add more tests.
4340 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4342 * benchtests/Makefile (DETAILED_OPT): New make option.
4343 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4345 * benchtests/bench-skeleton.c: Include stdbool.h.
4346 (main): Store and print timings per input.
4347 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4348 member to each argument value.
4349 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4350 (_print_arg_data): Initialize per-input timing to 0.
4352 * benchtests/Makefile (timing-type): New binary.
4353 (bench-clean): Also remove bench-timing-type.
4354 (bench): New target for timing-type.
4355 (bench-func): Print output in JSON format.
4356 * benchtests/bench-skeleton.c (main): Print output in JSON
4358 * benchtests/bench-timing-type.c: New file.
4359 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4360 (TIMING_PRINT_STATS): Remove.
4361 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4364 * benchtests/bench-modf.c: Remove.
4365 * benchtests/modf-inputs: New inputs file.
4367 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4370 * math/s_clog10.c (M_PI_LOG10E): New macro.
4371 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4372 imaginary parts are 0.
4373 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4374 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4375 imaginary parts are 0.
4376 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4377 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4378 imaginary parts are 0.
4379 * math/libm-test.inc (clog10_test_data): Update expected results
4380 for when real and imaginary parts are 0.
4382 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4384 * elf/dl-load.c: Finish conversion of __builtin_expect into
4387 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4390 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4391 1+x for argument with exponent below -67.
4392 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4394 * math/auto-libm-test-in: Add more tests of exp.
4395 * math/auto-libm-test-out: Regenerated.
4397 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4400 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4401 (nscd_getnetgrent): Use it.
4404 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4407 2014-03-27 Andi Kleen <ak@linux.intel.com>
4409 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4410 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4411 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4412 (lll_robust_unlock): Remove out of line section. Use cfi
4414 (LLL_STUB_UNWIND_INFO*): Remove.
4415 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4416 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4417 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4418 (lll_robust_unlock): Remove out of line section. Use cfi
4420 (LLL_STUB_UNWIND_INFO*): Remove.
4422 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4425 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4428 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4430 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4432 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4435 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4437 * math/test-fenv-preserve.c: New file.
4438 * math/Makefile (tests): Add test-fenv-preserve.
4440 2014-03-26 Will Newton <will.newton@linaro.org>
4442 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4444 2014-03-25 Roland McGrath <roland@hack.frob.com>
4446 * scripts/versionlist.awk: Partition the version sets and emit all
4447 GLIBC_* (sorted) before all others (sorted).
4449 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4451 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4452 GLIBC_2.2.5 version.
4454 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4456 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4459 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4464 2014-03-25 Andreas Schwab <schwab@suse.de>
4466 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4467 label to be used after in6ailist is initialized.
4469 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4471 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4472 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4474 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4478 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4480 (fp_formats): Update initializers.
4481 (init_fp_formats): Initialize new field.
4482 (output_for_one_input_case): Allow underflow for results up to
4484 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4485 * math/auto-libm-test-in: Don't mark some underflows from asin and
4487 * math/auto-libm-test-out: Regenerated.
4488 * sysdeps/i386/fpu/libm-test-ulps: Update.
4489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4491 2014-03-25 Andreas Schwab <schwab@suse.de>
4493 * libio/Makefile (tst-ftell-partial-wide-ENV)
4494 (tst-ftell-active-handler-ENV): Define.
4496 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4498 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4500 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4502 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4504 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4506 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4507 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4508 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4510 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4513 * elf/dl-load.c (open_verify): Add mode parameter.
4514 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4515 (open_path): Change from boolean 'secure' to complete flag 'mode'
4516 (_dl_map_object): Adjust.
4517 * elf/Makefile (tests): Add tst-dlopen-aout.
4518 * elf/tst-dlopen-aout.c: New test.
4520 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4523 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4524 (struct stat): Rename member pad0 to __glibc_reserved0.
4527 * sysdeps/s390/s390-32/bits/wordsize.h
4528 (__WORDSIZE32_SIZE_ULONG): New define.
4529 * sysdeps/s390/s390-64/bits/wordsize.h
4530 (__WORDSIZE32_SIZE_ULONG): Likewise.
4531 * sysdeps/generic/stdint.h (SIZE_MAX):
4532 Define as UL if __WORDSIZE32_SIZE_ULONG.
4535 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4536 (__glibc_reserved0): New variable.
4537 (sa_flags): Change type to int.
4539 * posix/Makefile (before-compile): Use += before-compile instead
4542 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4543 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4545 2014-03-20 Andreas Schwab <schwab@suse.de>
4548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4549 non-matching result from nscd.
4551 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4553 * scripts/bench.py: Moved to ...
4554 * benchtests/scripts/bench.py: ... here.
4555 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4557 2014-03-24 Andreas Schwab <schwab@suse.de>
4560 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4561 alloca_account and account alloca use for struct in6ailist.
4563 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4566 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4567 rounding mode to recompute results that overflow to infinity or
4569 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4571 * math/auto-libm-test-out: Regenerated.
4572 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4573 (ccosh_test): Likewise.
4574 (csin_test_data): Use plus_oflow.
4575 (csin_test): Use ALL_RM_TEST.
4576 (csinh_test_data): Use plus_oflow.
4577 (csinh_test): Use ALL_RM_TEST.
4578 * sysdeps/i386/fpu/libm-test-ulps: Update.
4579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4583 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4584 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4585 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4588 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4590 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4591 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4592 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4593 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4595 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4596 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4598 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4599 * sysdeps/i386/fpu/libm-test-ulps: Update.
4600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4602 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4604 * scripts/bench.pl: Remove file.
4605 * scripts/bench.py: New benchmark script.
4606 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4607 * benchtests/README: Mention python dependency.
4608 * scripts/pylintrc: New file.
4609 * scripts/pylint: New file.
4611 * bits/mathdef.h: Use #ifdef instead of #if.
4612 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4613 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4614 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4615 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4616 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4617 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4619 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4620 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4622 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4624 and strpbrk-ppc64 objects.
4625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4626 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4627 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4628 multiarch strpbrk for POWER7.
4629 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4630 multiarch strpbrk for PPC64.
4631 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4633 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4636 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4638 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4639 (atan_test): Likewise.
4640 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4641 (atanh_test): Use ALL_RM_TEST.
4642 (atan2_test_data): Likewise.
4643 (cabs_test): Likewise.
4644 (cacosh_test): Likewise.
4645 (carg_test): Likewise.
4646 (casin_test): Likewise.
4647 (casinh_test): Likewise.
4648 (cbrt_test): Likewise.
4649 (csqrt_test): Likewise.
4650 (erf_test): Likewise.
4651 (erfc_test): Likewise.
4652 (pow10_test): Likewise.
4653 (exp2_test): Likewise.
4654 (hypot_test): Likewise.
4655 (j0_test): Likewise.
4656 (j1_test): Likewise.
4657 (lgamma_test): Likewise.
4658 (gamma_test): Likewise.
4659 (sincos_test): Likewise.
4660 (tanh_test): Likewise.
4661 (y0_test): Likewise.
4662 (y1_test): Likewise.
4663 * sysdeps/i386/fpu/libm-test-ulps: Update.
4664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4668 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4670 and strcspn-ppc64 objects.
4671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4672 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4673 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4674 multiarch strcspn for POWER7.
4675 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4676 multiarch strcspn for PPC64.
4677 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4679 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4682 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4684 * math/gen-libm-test.pl (generate_testfile): Expect only function
4685 name as argument to AUTO_TESTS_* and pass results for all rounding
4686 modes to parse_args.
4687 (parse_auto_input): Separate inputs of automatic tests from
4688 outputs before storing in %auto_tests.
4689 * math/libm-test.inc (acos_test_data): Update call to
4691 (acos_test): Use ALL_RM_TEST.
4692 (acos_tonearest_test_data): Remove.
4693 (acos_test_tonearest): Likewise.
4694 (acos_towardzero_test_data): Likewise.
4695 (acos_test_towardzero): Likewise.
4696 (acos_downward_test_data): Likewise.
4697 (acos_test_downward): Likewise.
4698 (acos_upward_test_data): Likewise.
4699 (acos_test_upward): Likewise.
4700 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4701 (asin_test_data): Likewise.
4702 (asin_test): Use ALL_RM_TEST.
4703 (asin_tonearest_test_data): Remove.
4704 (asin_test_tonearest): Likewise.
4705 (asin_towardzero_test_data): Likewise.
4706 (asin_test_towardzero): Likewise.
4707 (asin_downward_test_data): Likewise.
4708 (asin_test_downward): Likewise.
4709 (asin_upward_test_data): Likewise.
4710 (asin_test_upward): Likewise.
4711 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4712 (atan_test_data): Likewise.
4713 (atanh_test_data): Likewise.
4714 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4715 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4716 (carg_test_data): Likewise.
4717 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4718 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4719 (ccosh_test_data): Likewise.
4720 (cexp_test_data): Likewise.
4721 (clog_test_data): Likewise.
4722 (clog10_test_data): Likewise.
4723 (cos_test_data): Update call to AUTO_TESTS_f_f.
4724 (cos_test): Use ALL_RM_TEST.
4725 (cos_tonearest_test_data): Remove.
4726 (cos_test_tonearest): Likewise.
4727 (cos_towardzero_test_data): Likewise.
4728 (cos_test_towardzero): Likewise.
4729 (cos_downward_test_data): Likewise.
4730 (cos_test_downward): Likewise.
4731 (cos_upward_test_data): Likewise.
4732 (cos_test_upward): Likewise.
4733 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4734 (cosh_test): Use ALL_RM_TEST.
4735 (cosh_tonearest_test_data): Remove.
4736 (cosh_test_tonearest): Likewise.
4737 (cosh_towardzero_test_data): Likewise.
4738 (cosh_test_towardzero): Likewise.
4739 (cosh_downward_test_data): Likewise.
4740 (cosh_test_downward): Likewise.
4741 (cosh_upward_test_data): Likewise.
4742 (cosh_test_upward): Likewise.
4743 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4744 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4745 (ctan_test_data): Likewise.
4746 (ctan_test): Use ALL_RM_TEST.
4747 (ctan_tonearest_test_data): Remove.
4748 (ctan_test_tonearest): Likewise.
4749 (ctan_towardzero_test_data): Likewise.
4750 (ctan_test_towardzero): Likewise.
4751 (ctan_downward_test_data): Likewise.
4752 (ctan_test_downward): Likewise.
4753 (ctan_upward_test_data): Likewise.
4754 (ctan_test_upward): Likewise.
4755 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4756 (ctanh_test): Use ALL_RM_TEST.
4757 (ctanh_tonearest_test_data): Remove.
4758 (ctanh_test_tonearest): Likewise.
4759 (ctanh_towardzero_test_data): Likewise.
4760 (ctanh_test_towardzero): Likewise.
4761 (ctanh_downward_test_data): Likewise.
4762 (ctanh_test_downward): Likewise.
4763 (ctanh_upward_test_data): Likewise.
4764 (ctanh_test_upward): Likewise.
4765 (erf_test_data): Update call to AUTO_TESTS_f_f.
4766 (erfc_test_data): Likewise.
4767 (exp_test_data): Likewise.
4768 (exp_test): Use ALL_RM_TEST.
4769 (exp_tonearest_test_data): Remove.
4770 (exp_test_tonearest): Likewise.
4771 (exp_towardzero_test_data): Likewise.
4772 (exp_test_towardzero): Likewise.
4773 (exp_downward_test_data): Likewise.
4774 (exp_test_downward): Likewise.
4775 (exp_upward_test_data): Likewise.
4776 (exp_test_upward): Likewise.
4777 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4778 (exp10_test): Use ALL_RM_TEST.
4779 (exp10_tonearest_test_data): Remove.
4780 (exp10_test_tonearest): Likewise.
4781 (exp10_towardzero_test_data): Likewise.
4782 (exp10_test_towardzero): Likewise.
4783 (exp10_downward_test_data): Likewise.
4784 (exp10_test_downward): Likewise.
4785 (exp10_upward_test_data): Likewise.
4786 (exp10_test_upward): Likewise.
4787 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4788 (expm1_test_data): Likewise.
4789 (expm1_test): Use ALL_RM_TEST.
4790 (expm1_tonearest_test_data): Remove.
4791 (expm1_test_tonearest): Likewise.
4792 (expm1_towardzero_test_data): Likewise.
4793 (expm1_test_towardzero): Likewise.
4794 (expm1_downward_test_data): Likewise.
4795 (expm1_test_downward): Likewise.
4796 (expm1_upward_test_data): Likewise.
4797 (expm1_test_upward): Likewise.
4798 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4799 (fma_test): Use ALL_RM_TEST.
4800 (fma_towardzero_test_data): Remove.
4801 (fma_test_towardzero): Likewise.
4802 (fma_downward_test_data): Likewise.
4803 (fma_test_downward): Likewise.
4804 (fma_upward_test_data): Likewise.
4805 (fma_test_upward): Likewise.
4806 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4807 (j0_test_data): Update call to AUTO_TESTS_f_f.
4808 (j1_test_data): Likewise.
4809 (jn_test_data): Update call to AUTO_TESTS_if_f.
4810 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4811 (log_test_data): Update call to AUTO_TESTS_f_f.
4812 (log10_test_data): Likewise.
4813 (log1p_test_data): Likewise.
4814 (log2_test_data): Likewise.
4815 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4816 (pow_tonearest_test_data): Likewise.
4817 (sin_test_data): Update call to AUTO_TESTS_f_f.
4818 (sin_test): Use ALL_RM_TEST.
4819 (sin_tonearest_test_data): Remove.
4820 (sin_test_tonearest): Likewise.
4821 (sin_towardzero_test_data): Likewise.
4822 (sin_test_towardzero): Likewise.
4823 (sin_downward_test_data): Likewise.
4824 (sin_test_downward): Likewise.
4825 (sin_upward_test_data): Likewise.
4826 (sin_test_upward): Likewise.
4827 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4828 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4829 (sinh_test): Use ALL_RM_TEST.
4830 (sinh_tonearest_test_data): Remove.
4831 (sinh_test_tonearest): Likewise.
4832 (sinh_towardzero_test_data): Likewise.
4833 (sinh_test_towardzero): Likewise.
4834 (sinh_downward_test_data): Likewise.
4835 (sinh_test_downward): Likewise.
4836 (sinh_upward_test_data): Likewise.
4837 (sinh_test_upward): Likewise.
4838 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4839 (sqrt_test): Use ALL_RM_TEST.
4840 (sqrt_tonearest_test_data): Remove.
4841 (sqrt_test_tonearest): Likewise.
4842 (sqrt_towardzero_test_data): Likewise.
4843 (sqrt_test_towardzero): Likewise.
4844 (sqrt_downward_test_data): Likewise.
4845 (sqrt_test_downward): Likewise.
4846 (sqrt_upward_test_data): Likewise.
4847 (sqrt_test_upward): Likewise.
4848 (tan_test_data): Update call to AUTO_TESTS_f_f.
4849 (tan_test): Use ALL_RM_TEST.
4850 (tan_tonearest_test_data): Remove.
4851 (tan_test_tonearest): Likewise.
4852 (tan_towardzero_test_data): Likewise.
4853 (tan_test_towardzero): Likewise.
4854 (tan_downward_test_data): Likewise.
4855 (tan_test_downward): Likewise.
4856 (tan_upward_test_data): Likewise.
4857 (tan_test_upward): Likewise.
4858 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4859 (tgamma_test_data): Likewise.
4860 (y0_test_data): Likewise.
4861 (y1_test_data): Likewise.
4862 (yn_test_data): Update call to AUTO_TESTS_if_f.
4863 (main): Do not call removed functions.
4865 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4867 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4868 (ldexp_test_data): Remove.
4869 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4871 (scalb_test): Use ALL_RM_TEST.
4873 2014-03-19 Andreas Schwab <schwab@suse.de>
4875 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4877 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4880 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4881 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4882 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4884 (__ASSUME_PREADV): Undefine.
4885 (__ASSUME_PWRITEV): Likewise.
4887 2014-03-18 Roland McGrath <roland@hack.frob.com>
4889 * bits/mman-linux.h: Add comment about non-Linux use.
4890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4891 bits/mman-linux.h resting place.
4893 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4894 * bits/mman-linux.h: ... here.
4896 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898 * conform/conformtest.pl: Add standard definition when calling C
4899 preprocessor on data files.
4900 (checknamespace): Remove unused variable.
4902 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4904 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4905 minus_oflow, plus_uflow and minus_uflow in expected results.
4906 * math/libm-test.inc (scalbn_test_data): Add more tests of
4907 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4909 (scalbn_test): Use ALL_RM_TEST.
4910 (scalbln_test_data): Add more tests of negative arguments. Use
4911 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4912 (scalbln_test): Use ALL_RM_TEST.
4914 2014-03-18 Roland McGrath <roland@hack.frob.com>
4916 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4918 2014-03-18 Will Newton <will.newton@linaro.org>
4920 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4923 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4925 * Makerules [!subdir] (check-abi): Exit with error status if a
4928 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4930 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4931 for rint. Include results for all rounding modes.
4932 (nearbyint_test): Use ALL_RM_TEST.
4933 (rint_test_data): Include all tests used for nearbyint.
4935 2014-03-17 Will Newton <will.newton@linaro.org>
4937 * nptl/sysdeps/pthread/pthread.h: Revert previous
4940 * sysdeps/generic/ldsodefs.h: Revert previous
4943 * libio/genops.c: Revert previous change.
4944 * libio/libioP.h: Likewise.
4945 * stdio-common/vfprintf.c: Likewise.
4947 * sysdeps/generic/math_private.h: Revert previous
4950 * sysdeps/generic/math_private.h: Check whether
4951 HAVE_RM_CTX is defined with #ifdef rather
4954 * argp/argp-fmtstream.h: Check whether
4955 __STRICT_ANSI__ is defined with #ifdef rather
4957 * argp/argp.h: Likewise.
4959 * libio/genops.c: Check whether
4960 _IO_JUMPS_OFFSET is defined with #ifdef rather
4962 * libio/libioP.h: Likewise.
4963 * stdio-common/vfprintf.c: Likewise.
4965 * sysdeps/generic/ldsodefs.h: Check whether
4966 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4969 * nptl/sysdeps/pthread/pthread.h: Check
4970 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4973 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4975 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4977 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4981 * libio/fileops.c (_IO_file_open): Seek to end of file but
4982 don't cache the offset.
4983 (get_file_offset): Remove function.
4984 (do_ftell): Use cached offset when available.
4985 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4986 don't cache the offset.
4987 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4989 (do_one_test): Call it.
4990 (do_ftell_test): Fix up expected old offset for a+ mode.
4991 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4994 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4995 up test status with function return status.
4996 (do_write_test): Likewise.
4997 (do_append_test): Likewise.
4999 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5000 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5003 2014-03-17 Joseph Myers <joseph@codesourcery.com>
5005 * math/gen-libm-test.pl (parse_args): Handle results specified for
5006 each rounding mode separately.
5007 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5008 tests and results from lrint_tonearest_test_data,
5009 lrint_towardzero_test_data, lrint_downward_test_data and
5010 lrint_upward_test_data.
5011 (lrint_test): Use ALL_RM_TEST.
5012 (lrint_tonearest_test_data): Remove.
5013 (lrint_test_tonearest): Likewise.
5014 (lrint_towardzero_test_data): Likewise.
5015 (lrint_test_towardzero): Likewise.
5016 (lrint_downward_test_data): Likewise.
5017 (lrint_test_downward): Likewise.
5018 (lrint_upward_test_data): Likewise.
5019 (lrint_test_upward): Likewise.
5020 (llrint_test_data): Merge in per-rounding-mode tests and results
5021 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5022 llrint_downward_test_data and llrint_upward_test_data.
5023 (llrint_test): Use ALL_RM_TEST.
5024 (llrint_tonearest_test_data): Remove.
5025 (llrint_test_tonearest): Likewise.
5026 (llrint_towardzero_test_data): Likewise.
5027 (llrint_test_towardzero): Likewise.
5028 (llrint_downward_test_data): Likewise.
5029 (llrint_test_downward): Likewise.
5030 (llrint_upward_test_data): Likewise.
5031 (llrint_test_upward): Likewise.
5032 (rint_test_data): Merge in per-rounding-mode tests and results
5033 from rint_tonearest_test_data, rint_towardzero_test_data,
5034 rint_downward_test_data and rint_upward_test_data. Add
5035 per-rounding-mode results for tests not in those arrays.
5036 (rint_test): Use ALL_RM_TEST.
5037 (rint_tonearest_test_data): Remove.
5038 (rint_test_tonearest): Likewise.
5039 (rint_towardzero_test_data): Likewise.
5040 (rint_test_towardzero): Likewise.
5041 (rint_downward_test_data): Likewise.
5042 (rint_test_downward): Likewise.
5043 (rint_upward_test_data): Likewise.
5044 (rint_test_upward): Likewise.
5045 (main): Don't call removed functions.
5047 2014-03-14 Roland McGrath <roland@hack.frob.com>
5049 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5050 "Compiled on ..." crapola. It is anti-useful.
5052 2014-03-14 Joseph Myers <joseph@codesourcery.com>
5054 * scripts/evaluate-test.sh: Handle fourth argument to determine
5055 whether test run should stop on failure.
5056 * Makeconfig (stop-on-test-failure): New variable.
5057 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5058 $(stop-on-test-failure).
5059 * Makefile (tests): Give a summary of results from testing and
5060 exit with failure status if they include an ERROR or FAIL.
5062 * manual/install.texi (Configuring and compiling): Mention
5063 stop-on-test-failure=y.
5064 * INSTALL: Regenerated.
5066 2014-03-14 Roland McGrath <roland@hack.frob.com>
5068 * scripts/versionlist.awk: New file.
5069 * Makerules [$(build-shared) = yes]
5070 (postclean-generated): Add Versions.def, not Versions.def.v and
5072 ($(common-objpfx)Versions.def.v.i): Target removed.
5073 ($(common-objpfx)Versions.def): New target.
5074 ($(common-objpfx)Versions.all): Depend on that rather that
5075 $(common-objpfx)Versions.def.v.
5076 * Versions.def: File removed.
5078 * Makeconfig (+gccwarn): Add -Wundef.
5079 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5080 a dl-sysdep.h breaking its contract.
5081 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5082 * include/stackinfo.h: New file.
5083 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5084 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5085 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5086 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5087 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5088 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5089 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5090 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5091 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5092 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5093 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5094 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5095 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5096 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5097 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5099 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5102 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5104 * math/libm-test.inc (round_test_data): Add more tests.
5107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5109 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5112 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5114 * math/libm-test.inc (ceil_test_data): Add more tests.
5116 * math/libm-test.inc (trunc_test_data): Add more tests related to
5119 2014-03-14 Roland McGrath <roland@hack.frob.com>
5121 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5122 with #if rather than #ifdef.
5123 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5125 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5127 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5128 first. Disable AVX-512 GCC support if assembler doesn't support
5130 * sysdeps/x86_64/configure: Regenerated.
5132 2014-03-13 Carlos O'Donell <carlos@redhat.com>
5134 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5135 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5136 (__old_pthread_attr_setstack): Likewise.
5137 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5138 [!_STACK_GROWS_DOWN]: Likewise.
5140 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5142 * config.make.in (have-bash2): Delete.
5143 * configure.ac (libc_cv_have_bash2): Delete.
5144 * configure: Regenerate.
5145 * elf/Makefile (common-ldd-rewrite): Rename to ...
5146 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5147 (sh-ldd-rewrite): Delete.
5148 (bash-ldd-rewrite): Delete.
5149 (have-bash2): Delete checks.
5150 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5153 * config.make.in (have-ksh): Delete.
5155 * configure.ac (libc_cv_have_ksh): Delete.
5156 * configure: Regenerate.
5158 * elf/Makefile: Delete $(have-ksh) check.
5159 ($(objpfx)sotruss): Change KSH to BASH.
5160 * elf/sotruss.ksh: Rename to ...
5161 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5162 function style to match POSIX. Drop ksh vim mode setting.
5164 * manual/time.texi (Specifying the Time Zone with TZ): Change
5165 Tuesday to Thursday.
5167 * debug/tst-longjmp_chk2.c: Update header comment.
5168 (stackoverflow_handler): Add comment. Call assert on pass value.
5170 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5172 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5173 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5174 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5175 (La_x86_64_vector): Add zmm.
5176 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5177 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5178 ($(objpfx)tst-audit10): New target.
5179 ($(objpfx)tst-audit10.out): Likewise.
5180 (tst-audit10-ENV): New.
5181 (AVX512-CFLAGS): Likewise.
5182 (CFLAGS-tst-audit10.c): Likewise.
5183 (CFLAGS-tst-auditmod10a.c): Likewise.
5184 (CFLAGS-tst-auditmod10b.c): Likewise.
5185 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5186 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5187 * sysdeps/x86_64/configure: Regenerated.
5188 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5189 AVX-512 zmm register support.
5190 (_dl_x86_64_save_sse): Likewise.
5191 (_dl_x86_64_restore_sse): Likewise.
5192 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5193 size vector registers.
5194 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5195 (ZMM_SIZE): Likewise.
5196 * sysdeps/x86_64/tst-audit10.c: New file.
5197 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5198 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5200 2014-03-13 Roland McGrath <roland@hack.frob.com>
5202 * configure.ac (HAVE_EHDR_START): New check.
5203 * configure: Regenerated.
5204 * config.h.in (HAVE_EHDR_START): New #undef.
5205 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5206 assuming the lowest-addressed segment maps the start of the file.
5208 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5210 * INSTALL: Regenerated.
5212 2014-03-13 Will Newton <will.newton@linaro.org>
5214 * manual/setjmp.texi (System V contexts): Improve
5215 clarity and grammar of documentation.
5217 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5220 * elf/Makefile (tests): Add tst-pie2.
5221 (tests-pie): Add tst-pie2.
5222 * elf/tst-pie2.c: New file.
5223 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5225 * elf/rtld.c (map_doit): Load executable as lt_executable.
5226 (dl_main): Likewise.
5228 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5231 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5232 (__ASSUME_PSELECT): Undefine.
5234 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5238 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5240 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5241 selector for static builds.
5243 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5246 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5249 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5251 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5252 IFUNC selector for static builds.
5254 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5256 * sysdeps/mips/math_private.h [__mips_hard_float]
5257 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5258 libc_feresetround_mips_ctx.
5259 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5260 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5261 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5264 * math/s_nextafter.c (__nextafter): Do not return value from
5265 overflowing computation.
5266 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5267 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5268 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5270 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5272 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5273 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5275 2014-03-11 Roland McGrath <roland@hack.frob.com>
5277 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5278 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5279 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5280 the new mov targetting sp.
5282 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5285 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5286 Define it for static builds as well.
5287 (NO_BZERO_IMPL): Likewise.
5289 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5291 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5292 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5293 multiarch strspn for PPC64.
5294 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5295 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5297 (__libc_ifunc_impl_list): Likewise.
5298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5299 multiarch optimizations
5300 * string/strspn.c (strspn): Using macro to redefine symbol name.
5302 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5303 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5305 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5306 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5307 multiarch strncat for PPC64.
5308 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5309 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5311 (__libc_ifunc_impl_list): Likewise.
5312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5313 multiarch optimizations
5315 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5318 * nscd/nscd.service: Make service type forking.
5320 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5322 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5323 sign in non default rounding modes.
5324 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5326 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5328 * math/libm-test.inc (ALL_RM_TEST): New macro.
5329 (ceil_test): Use ALL_RM_TEST.
5330 (cimag_test): Likewise.
5331 (conj_test): Likewise.
5332 (copysign_test): Likewise.
5333 (cproj_test): Likewise.
5334 (creal_test): Likewise.
5335 (fabs_test): Likewise.
5336 (floor_test): Likewise.
5337 (fmax_test): Likewise.
5338 (fmin_test): Likewise.
5339 (fmod_test): Likewise.
5340 (fpclassify_test): Likewise.
5341 (frexp_test): Likewise.
5342 (ilogb_test): Likewise.
5343 (isfinite_test): Likewise.
5344 (finite_test): Likewise.
5345 (isgreater_test): Likewise.
5346 (isgreaterequal_test): Likewise.
5347 (isinf_test): Likewise.
5348 (isless_test): Likewise.
5349 (islessequal_test): Likewise.
5350 (islessgreater_test): Likewise.
5351 (isnan_test): Likewise.
5352 (isnormal_test): Likewise.
5353 (issignaling_test): Likewise.
5354 (isunordered_test): Likewise.
5355 (logb_test): Likewise.
5356 (logb_downward_test_data): Remove.
5357 (logb_test_downward): Likewise.
5358 (lround_test): Use ALL_RM_TEST.
5359 (llround_test): Likewise.
5360 (modf_test): Likewise.
5361 (nexttoward_test): Likewise.
5362 (remainder_test): Likewise.
5363 (drem_test): Likewise.
5364 (remainder_tonearest_test_data): Likewise.
5365 (remainder_test_tonearest): Likewise.
5366 (drem_test_tonearest): Likewise.
5367 (remainder_towardzero_test_data): Likewise.
5368 (remainder_test_towardzero): Likewise.
5369 (drem_test_towardzero): Likewise.
5370 (remainder_downward_test_data): Likewise.
5371 (remainder_test_downward): Likewise.
5372 (drem_test_downward): Likewise.
5373 (remainder_upward_test_data): Likewise.
5374 (remainder_test_upward): Likewise.
5375 (drem_test_upward): Likewise.
5376 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5377 (round_test): Use ALL_RM_TEST.
5378 (signbit_test): Likewise.
5379 (trunc_test): Likewise.
5380 (significand_test): Likewise.
5381 (main): Don't call removed functions.
5383 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5386 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5388 (ILL_ILLOPN): Likewise.
5389 (ILL_ILLADR): Likewise.
5390 (ILL_ILLTRP): Likewise.
5391 (ILL_PRVOPC): Likewise.
5392 (ILL_PRVREG): Likewise.
5393 (ILL_COPROC): Likewise.
5394 (ILL_BADSTK): Likewise.
5395 (FPE_INTDIV): Likewise.
5396 (FPE_INTOVF): Likewise.
5397 (FPE_FLTDIV): Likewise.
5398 (FPE_FLTOVF): Likewise.
5399 (FPE_FLTUND): Likewise.
5400 (FPE_FLTRES): Likewise.
5401 (FPE_FLTINV): Likewise.
5402 (FPE_FLTSUB): Likewise.
5403 (SEGV_MAPERR): Likewise.
5404 (SEGV_ACCERR): Likewise.
5405 (BUS_ADRALN): Likewise.
5406 (BUS_ADRERR): Likewise.
5407 (BUS_OBJERR): Likewise.
5408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5409 (TRAP_TRACE): Likewise.
5410 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5412 (CLD_KILLED): Likewise.
5413 (CLD_DUMPED): Likewise.
5414 (CLD_TRAPPED): Likewise.
5415 (CLD_STOPPED): Likewise.
5416 (CLD_CONTINUED): Likewise.
5417 (POLL_IN): Likewise.
5418 (POLL_OUT): Likewise.
5419 (POLL_MSG): Likewise.
5420 (POLL_ERR): Likewise.
5421 (POLL_PRI): Likewise.
5422 (POLL_HUP): Likewise.
5423 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5425 (ILL_ILLOPN): Likewise.
5426 (ILL_ILLADR): Likewise.
5427 (ILL_ILLTRP): Likewise.
5428 (ILL_PRVOPC): Likewise.
5429 (ILL_PRVREG): Likewise.
5430 (ILL_COPROC): Likewise.
5431 (ILL_BADSTK): Likewise.
5432 (FPE_INTDIV): Likewise.
5433 (FPE_INTOVF): Likewise.
5434 (FPE_FLTDIV): Likewise.
5435 (FPE_FLTOVF): Likewise.
5436 (FPE_FLTUND): Likewise.
5437 (FPE_FLTRES): Likewise.
5438 (FPE_FLTINV): Likewise.
5439 (FPE_FLTSUB): Likewise.
5440 (SEGV_MAPERR): Likewise.
5441 (SEGV_ACCERR): Likewise.
5442 (BUS_ADRALN): Likewise.
5443 (BUS_ADRERR): Likewise.
5444 (BUS_OBJERR): Likewise.
5445 (BUS_MCEERR_AR): Likewise.
5446 (BUS_MCEERR_AO): Likewise.
5447 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5448 (TRAP_TRACE): Likewise.
5449 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5451 (CLD_KILLED): Likewise.
5452 (CLD_DUMPED): Likewise.
5453 (CLD_TRAPPED): Likewise.
5454 (CLD_STOPPED): Likewise.
5455 (CLD_CONTINUED): Likewise.
5456 (POLL_IN): Likewise.
5457 (POLL_OUT): Likewise.
5458 (POLL_MSG): Likewise.
5459 (POLL_ERR): Likewise.
5460 (POLL_PRI): Likewise.
5461 (POLL_HUP): Likewise.
5462 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5463 (ILL_ILLOPN): Likewise.
5464 (ILL_ILLADR): Likewise.
5465 (ILL_ILLTRP): Likewise.
5466 (ILL_PRVOPC): Likewise.
5467 (ILL_PRVREG): Likewise.
5468 (ILL_COPROC): Likewise.
5469 (ILL_BADSTK): Likewise.
5470 (FPE_INTDIV): Likewise.
5471 (FPE_INTOVF): Likewise.
5472 (FPE_FLTDIV): Likewise.
5473 (FPE_FLTOVF): Likewise.
5474 (FPE_FLTUND): Likewise.
5475 (FPE_FLTRES): Likewise.
5476 (FPE_FLTINV): Likewise.
5477 (FPE_FLTSUB): Likewise.
5478 (SEGV_MAPERR): Likewise.
5479 (SEGV_ACCERR): Likewise.
5480 (BUS_ADRALN): Likewise.
5481 (BUS_ADRERR): Likewise.
5482 (BUS_OBJERR): Likewise.
5483 (BUS_MCEERR_AR): Likewise.
5484 (BUS_MCEERR_AO): Likewise.
5485 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5486 (TRAP_TRACE): Likewise.
5487 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5489 (CLD_KILLED): Likewise.
5490 (CLD_DUMPED): Likewise.
5491 (CLD_TRAPPED): Likewise.
5492 (CLD_STOPPED): Likewise.
5493 (CLD_CONTINUED): Likewise.
5494 (POLL_IN): Likewise.
5495 (POLL_OUT): Likewise.
5496 (POLL_MSG): Likewise.
5497 (POLL_ERR): Likewise.
5498 (POLL_PRI): Likewise.
5499 (POLL_HUP): Likewise.
5500 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5502 (ILL_ILLOPN): Likewise.
5503 (ILL_ILLADR): Likewise.
5504 (ILL_ILLTRP): Likewise.
5505 (ILL_PRVOPC): Likewise.
5506 (ILL_PRVREG): Likewise.
5507 (ILL_COPROC): Likewise.
5508 (ILL_BADSTK): Likewise.
5509 (ILL_BADIADDR): Likewise.
5510 (ILL_BREAK): Likewise.
5511 (FPE_INTDIV): Likewise.
5512 (FPE_INTOVF): Likewise.
5513 (FPE_FLTDIV): Likewise.
5514 (FPE_FLTOVF): Likewise.
5515 (FPE_FLTUND): Likewise.
5516 (FPE_FLTRES): Likewise.
5517 (FPE_FLTINV): Likewise.
5518 (FPE_FLTSUB): Likewise.
5519 (FPE_DECOVF): Likewise.
5520 (FPE_DECDIV): Likewise.
5521 (FPE_DECERR): Likewise.
5522 (FPE_INVASC): Likewise.
5523 (FPE_INVDEC): Likewise.
5524 (SEGV_MAPERR): Likewise.
5525 (SEGV_ACCERR): Likewise.
5526 (SEGV_PSTKOVF): Likewise.
5527 (BUS_ADRALN): Likewise.
5528 (BUS_ADRERR): Likewise.
5529 (BUS_OBJERR): Likewise.
5530 (BUS_MCEERR_AR): Likewise.
5531 (BUS_MCEERR_AO): Likewise.
5532 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5533 (TRAP_TRACE): Likewise.
5534 (TRAP_BRANCH): Likewise.
5535 (TRAP_HWBKPT): Likewise.
5536 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5538 (CLD_KILLED): Likewise.
5539 (CLD_DUMPED): Likewise.
5540 (CLD_TRAPPED): Likewise.
5541 (CLD_STOPPED): Likewise.
5542 (CLD_CONTINUED): Likewise.
5543 (POLL_IN): Likewise.
5544 (POLL_OUT): Likewise.
5545 (POLL_MSG): Likewise.
5546 (POLL_ERR): Likewise.
5547 (POLL_PRI): Likewise.
5548 (POLL_HUP): Likewise.
5549 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5550 (ILL_ILLOPN): Likewise.
5551 (ILL_ILLADR): Likewise.
5552 (ILL_ILLTRP): Likewise.
5553 (ILL_PRVOPC): Likewise.
5554 (ILL_PRVREG): Likewise.
5555 (ILL_COPROC): Likewise.
5556 (ILL_BADSTK): Likewise.
5557 (FPE_INTDIV): Likewise.
5558 (FPE_INTOVF): Likewise.
5559 (FPE_FLTDIV): Likewise.
5560 (FPE_FLTOVF): Likewise.
5561 (FPE_FLTUND): Likewise.
5562 (FPE_FLTRES): Likewise.
5563 (FPE_FLTINV): Likewise.
5564 (FPE_FLTSUB): Likewise.
5565 (SEGV_MAPERR): Likewise.
5566 (SEGV_ACCERR): Likewise.
5567 (BUS_ADRALN): Likewise.
5568 (BUS_ADRERR): Likewise.
5569 (BUS_OBJERR): Likewise.
5570 (BUS_MCEERR_AR): Likewise.
5571 (BUS_MCEERR_AO): Likewise.
5572 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5573 (TRAP_TRACE): Likewise.
5574 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5576 (CLD_KILLED): Likewise.
5577 (CLD_DUMPED): Likewise.
5578 (CLD_TRAPPED): Likewise.
5579 (CLD_STOPPED): Likewise.
5580 (CLD_CONTINUED): Likewise.
5581 (POLL_IN): Likewise.
5582 (POLL_OUT): Likewise.
5583 (POLL_MSG): Likewise.
5584 (POLL_ERR): Likewise.
5585 (POLL_PRI): Likewise.
5586 (POLL_HUP): Likewise.
5587 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5588 (ILL_ILLOPN): Likewise.
5589 (ILL_ILLADR): Likewise.
5590 (ILL_ILLTRP): Likewise.
5591 (ILL_PRVOPC): Likewise.
5592 (ILL_PRVREG): Likewise.
5593 (ILL_COPROC): Likewise.
5594 (ILL_BADSTK): Likewise.
5595 (FPE_INTDIV): Likewise.
5596 (FPE_INTOVF): Likewise.
5597 (FPE_FLTDIV): Likewise.
5598 (FPE_FLTOVF): Likewise.
5599 (FPE_FLTUND): Likewise.
5600 (FPE_FLTRES): Likewise.
5601 (FPE_FLTINV): Likewise.
5602 (FPE_FLTSUB): Likewise.
5603 (SEGV_MAPERR): Likewise.
5604 (SEGV_ACCERR): Likewise.
5605 (BUS_ADRALN): Likewise.
5606 (BUS_ADRERR): Likewise.
5607 (BUS_OBJERR): Likewise.
5608 (BUS_MCEERR_AR): Likewise.
5609 (BUS_MCEERR_AO): Likewise.
5610 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5611 (TRAP_TRACE): Likewise.
5612 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5614 (CLD_KILLED): Likewise.
5615 (CLD_DUMPED): Likewise.
5616 (CLD_TRAPPED): Likewise.
5617 (CLD_STOPPED): Likewise.
5618 (CLD_CONTINUED): Likewise.
5619 (POLL_IN): Likewise.
5620 (POLL_OUT): Likewise.
5621 (POLL_MSG): Likewise.
5622 (POLL_ERR): Likewise.
5623 (POLL_PRI): Likewise.
5624 (POLL_HUP): Likewise.
5625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5626 (ILL_ILLOPN): Likewise.
5627 (ILL_ILLADR): Likewise.
5628 (ILL_ILLTRP): Likewise.
5629 (ILL_PRVOPC): Likewise.
5630 (ILL_PRVREG): Likewise.
5631 (ILL_COPROC): Likewise.
5632 (ILL_BADSTK): Likewise.
5633 (FPE_INTDIV): Likewise.
5634 (FPE_INTOVF): Likewise.
5635 (FPE_FLTDIV): Likewise.
5636 (FPE_FLTOVF): Likewise.
5637 (FPE_FLTUND): Likewise.
5638 (FPE_FLTRES): Likewise.
5639 (FPE_FLTINV): Likewise.
5640 (FPE_FLTSUB): Likewise.
5641 (SEGV_MAPERR): Likewise.
5642 (SEGV_ACCERR): Likewise.
5643 (BUS_ADRALN): Likewise.
5644 (BUS_ADRERR): Likewise.
5645 (BUS_OBJERR): Likewise.
5646 (BUS_MCEERR_AR): Likewise.
5647 (BUS_MCEERR_AO): Likewise.
5648 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5649 (TRAP_TRACE): Likewise.
5650 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5652 (CLD_KILLED): Likewise.
5653 (CLD_DUMPED): Likewise.
5654 (CLD_TRAPPED): Likewise.
5655 (CLD_STOPPED): Likewise.
5656 (CLD_CONTINUED): Likewise.
5657 (POLL_IN): Likewise.
5658 (POLL_OUT): Likewise.
5659 (POLL_MSG): Likewise.
5660 (POLL_ERR): Likewise.
5661 (POLL_PRI): Likewise.
5662 (POLL_HUP): Likewise.
5663 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5664 (ILL_ILLOPN): Likewise.
5665 (ILL_ILLADR): Likewise.
5666 (ILL_ILLTRP): Likewise.
5667 (ILL_PRVOPC): Likewise.
5668 (ILL_PRVREG): Likewise.
5669 (ILL_COPROC): Likewise.
5670 (ILL_BADSTK): Likewise.
5671 (ILL_DBLFLT): Likewise.
5672 (ILL_HARDWALL): Likewise.
5673 (FPE_INTDIV): Likewise.
5674 (FPE_INTOVF): Likewise.
5675 (FPE_FLTDIV): Likewise.
5676 (FPE_FLTOVF): Likewise.
5677 (FPE_FLTUND): Likewise.
5678 (FPE_FLTRES): Likewise.
5679 (FPE_FLTINV): Likewise.
5680 (FPE_FLTSUB): Likewise.
5681 (SEGV_MAPERR): Likewise.
5682 (SEGV_ACCERR): Likewise.
5683 (BUS_ADRALN): Likewise.
5684 (BUS_ADRERR): Likewise.
5685 (BUS_OBJERR): Likewise.
5686 (BUS_MCEERR_AR): Likewise.
5687 (BUS_MCEERR_AO): Likewise.
5688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5689 (TRAP_TRACE): Likewise.
5690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5692 (CLD_KILLED): Likewise.
5693 (CLD_DUMPED): Likewise.
5694 (CLD_TRAPPED): Likewise.
5695 (CLD_STOPPED): Likewise.
5696 (CLD_CONTINUED): Likewise.
5697 (POLL_IN): Likewise.
5698 (POLL_OUT): Likewise.
5699 (POLL_MSG): Likewise.
5700 (POLL_ERR): Likewise.
5701 (POLL_PRI): Likewise.
5702 (POLL_HUP): Likewise.
5703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5704 (ILL_ILLOPN): Likewise.
5705 (ILL_ILLADR): Likewise.
5706 (ILL_ILLTRP): Likewise.
5707 (ILL_PRVOPC): Likewise.
5708 (ILL_PRVREG): Likewise.
5709 (ILL_COPROC): Likewise.
5710 (ILL_BADSTK): Likewise.
5711 (FPE_INTDIV): Likewise.
5712 (FPE_INTOVF): Likewise.
5713 (FPE_FLTDIV): Likewise.
5714 (FPE_FLTOVF): Likewise.
5715 (FPE_FLTUND): Likewise.
5716 (FPE_FLTRES): Likewise.
5717 (FPE_FLTINV): Likewise.
5718 (FPE_FLTSUB): Likewise.
5719 (SEGV_MAPERR): Likewise.
5720 (SEGV_ACCERR): Likewise.
5721 (BUS_ADRALN): Likewise.
5722 (BUS_ADRERR): Likewise.
5723 (BUS_OBJERR): Likewise.
5724 (BUS_MCEERR_AR): Likewise.
5725 (BUS_MCEERR_AO): Likewise.
5726 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5727 (TRAP_TRACE): Likewise.
5728 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5730 (CLD_KILLED): Likewise.
5731 (CLD_DUMPED): Likewise.
5732 (CLD_TRAPPED): Likewise.
5733 (CLD_STOPPED): Likewise.
5734 (CLD_CONTINUED): Likewise.
5735 (POLL_IN): Likewise.
5736 (POLL_OUT): Likewise.
5737 (POLL_MSG): Likewise.
5738 (POLL_ERR): Likewise.
5739 (POLL_PRI): Likewise.
5740 (POLL_HUP): Likewise.
5741 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5742 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5745 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5746 before #include of <time.h>.
5747 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5748 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5749 (test-xfail-UNIX98/sched.h/conform): Likewise.
5751 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5753 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5754 error absence of trapping exception support.
5755 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5757 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5759 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5760 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5761 * timezone/Makefile (testdata): Move definition above include of
5763 (test-zones): New variable.
5764 (tests-special): Add zone files.
5765 (build-testdata): Use $(evaluate-test).
5767 * elf/Makefile (tests-special): Rename tests to end with .out.
5768 ($(objpfx)noload-mem): Likewise.
5769 ($(objpfx)tst-leaks1-mem): Likewise.
5770 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5771 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5772 $(objpfx)test-iconvconfig.out.
5773 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5774 set -e inside subshell and redirect output to file.
5775 * iconvdata/Makefile (generated): Rename tests to end with .out.
5777 (tests-special): Rename tests to end with .out.
5778 ($(objpfx)mtrace-tst-loading): Likewise.
5779 * intl/Makefile (generated): Likewise.
5780 (tests-special): Likewise.
5781 ($(objpfx)mtrace-tst-gettext): Likewise.
5782 * misc/Makefile (generated): Likewise.
5783 (tests-special): Likewise.
5784 ($(objpfx)tst-error1-mem): Likewise.
5785 * nptl/Makefile (tests-special): Likewise.
5786 ($(objpfx)tst-stack3-mem): Likewise.
5787 (generated): Likewise.
5788 * posix/Makefile (generated): Likewise.
5789 (tests-special): Likewise.
5790 (xtests-special): Likewise.
5791 ($(objpfx)tst-fnmatch-mem): Likewise.
5792 ($(objpfx)bug-regex2-mem): Likewise.
5793 ($(objpfx)bug-regex14-mem): Likewise.
5794 ($(objpfx)bug-regex21-mem): Likewise.
5795 ($(objpfx)bug-regex31-mem): Likewise.
5796 ($(objpfx)tst-vfork3-mem): Likewise.
5797 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5798 ($(objpfx)tst-pcre-mem): Likewise.
5799 ($(objpfx)tst-boost-mem): Likewise.
5800 ($(objpfx)bug-ga2-mem): Likewise.
5801 ($(objpfx)bug-glob2-mem): Likewise.
5802 * resolv/Makefile (generate): Likewise.
5803 (tests-special): Likewise.
5804 (xtests-special): Likewise.
5805 (generated): Likewise.
5806 ($(objpfx)mtrace-tst-leaks): Likewise.
5807 ($(objpfx)mtrace-tst-leaks2): Likewise.
5809 * scripts/merge-test-results.sh: New file.
5810 * Makefile (tests-special-notdir): New variable.
5811 (tests): Run merge-test-results.sh.
5813 * Rules (tests-special-notdir): New variable.
5814 (xtests-special-notdir): Likewise.
5815 (tests): Run merge-test-results.sh
5818 * Makeconfig (test-xfail-name): New variable.
5819 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5820 compute variable name for expected failures.
5821 * conform/Makefile (conformtest-headers-data): New variable.
5822 (conformtest-standards): Likewise.
5823 (conformtest-headers-ISO): Likewise.
5824 (conformtest-headers-ISO99): Likewise.
5825 (conformtest-headers-ISO11): Likewise.
5826 (conformtest-headers-POSIX): Likewise.
5827 (conformtest-headers-XPG3): Likewise.
5828 (conformtest-headers-XPG4): Likewise.
5829 (conformtest-headers-UNIX98): Likewise.
5830 (conformtest-headers-XOPEN2K): Likewise.
5831 (conformtest-headers-POSIX2008): Likewise.
5832 (conformtest-headers-XOPEN2K8): Likewise.
5833 (conformtest-header-list-base): Likewise.
5834 (conformtest-header-list-tests): Likewise.
5835 (conformtest-header-base): Likewise.
5836 (conformtest-header-tests): Likewise.
5837 (tests-special): Add $(conformtest-header-list-tests). If
5838 [$(fast-check) && !$(cross-compiling)], add
5839 $(conformtest-header-tests) instead of
5840 $(objpfx)run-conformtest.out.
5841 (generated): Add $(conformtest-header-list-base). If
5842 [$(fast-check) && !$(cross-compiling)], add
5843 $(conformtest-header-base). Remove previous setting.
5844 ($(conformtest-header-list-tests)): New target.
5845 (test-xfail-run-conformtest): Remove variable.
5846 ($(objpfx)run-conformtest.out): Remove target.
5847 (test-xfail-ISO11/complex.h/conform): New variable.
5848 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5849 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5850 (test-xfail-XPG3/varargs.h/conform): Likewise.
5851 (test-xfail-XPG4/varargs.h/conform): Likewise.
5852 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5853 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5854 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5855 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5856 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5857 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5858 (test-xfail-XPG3/ftw.h/conform): Likewise.
5859 (test-xfail-XPG3/grp.h/conform): Likewise.
5860 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5861 (test-xfail-XPG3/limits.h/conform): Likewise.
5862 (test-xfail-XPG3/pwd.h/conform): Likewise.
5863 (test-xfail-XPG3/search.h/conform): Likewise.
5864 (test-xfail-XPG3/signal.h/conform): Likewise.
5865 (test-xfail-XPG3/stdio.h/conform): Likewise.
5866 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5867 (test-xfail-XPG3/string.h/conform): Likewise.
5868 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5869 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5870 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5871 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5872 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5873 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5874 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5875 (test-xfail-XPG3/termios.h/conform): Likewise.
5876 (test-xfail-XPG3/time.h/conform): Likewise.
5877 (test-xfail-XPG3/unistd.h/conform): Likewise.
5878 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5879 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5880 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5881 (test-xfail-XPG4/netdb.h/conform): Likewise.
5882 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5883 (test-xfail-XPG4/signal.h/conform): Likewise.
5884 (test-xfail-XPG4/stdio.h/conform): Likewise.
5885 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5886 (test-xfail-XPG4/stropts.h/conform): Likewise.
5887 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5888 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5889 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5890 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5891 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5892 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5893 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5894 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5895 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5896 (test-xfail-XPG4/termios.h/conform): Likewise.
5897 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5898 (test-xfail-XPG4/unistd.h/conform): Likewise.
5899 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5900 (test-xfail-POSIX/sched.h/conform): Likewise.
5901 (test-xfail-POSIX/signal.h/conform): Likewise.
5902 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5903 (test-xfail-POSIX/tar.h/conform): Likewise.
5904 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5905 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5906 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5907 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5908 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5909 (test-xfail-UNIX98/sched.h/conform): Likewise.
5910 (test-xfail-UNIX98/signal.h/conform): Likewise.
5911 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5912 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5913 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5914 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5915 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5916 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5917 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5918 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5919 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5920 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5921 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5922 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5923 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5924 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5925 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5926 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5927 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5928 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5929 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5930 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5931 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5932 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5933 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5934 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5935 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5936 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5937 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5938 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5939 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5940 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5941 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5942 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5943 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5944 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5945 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5946 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5947 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5948 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5949 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5950 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5951 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5952 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5953 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5954 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5955 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5956 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5957 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5958 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5959 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5960 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5961 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5962 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5963 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5964 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5965 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5966 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5967 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5968 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5969 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5970 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5971 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5972 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5973 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5974 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5975 (conformtest-cc-flags): Likewise.
5976 ($(conformtest-header-tests): New target.
5977 * conform/check-header-lists.sh: New file.
5978 * conform/run-conformtest.sh: Remove.
5980 * conform/conformtest.pl: Allow ' and \ in values given for
5982 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5984 [POSIX] (sys/types.h): Likewise.
5985 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5987 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5989 * conform/data/signal.h-data (SIGIO): Remove expectation.
5990 [XPG3] (SIGBUS): Do not expect.
5991 [POSIX || XPG3] (SIGPOLL): Likewise.
5992 [POSIX || XPG3] (SIGPROF): Likewise.
5993 [POSIX || XPG3] (SIGSYS): Likewise.
5994 [XPG3] (SIGTRAP): Likewise.
5995 [POSIX || XPG3] (SIGURG): Likewise.
5996 [POSIX || XPG3] (SIGVTALRM): Likewise.
5997 [POSIX || XPG3] (SIGXCPU): Likewise.
5998 [POSIX || XPG3] (SIGXFSZ): Likewise.
5999 [POSIX] (SA_SIGINFO): Expect.
6000 [XPG3] (siginfo_t): Do not expect type or contents.
6001 [POSIX] (si_pid): Do not expect element.
6002 [POSIX] (si_uid): Likewise.
6003 [POSIX] (si_addr): Likewise.
6004 [POSIX] (si_status): Likewise.
6005 [POSIX] (si_band): Likewise.
6006 [XPG4] (si_value): Likewise.
6007 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6008 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6009 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6010 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6011 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6012 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6013 [POSIX || XPG3] (ILL_COPROC): Likewise.
6014 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6015 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6016 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6017 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6018 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6019 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6020 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6021 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6022 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6023 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6024 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6025 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6026 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6027 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6028 [POSIX || XPG3] (CLD_EXITED): Likewise.
6029 [POSIX || XPG3] (CLD_KILLED): Likewise.
6030 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6031 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6032 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6033 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6034 [POSIX || XPG3] (POLL_IN): Likewise.
6035 [POSIX || XPG3] (POLL_OUT): Likewise.
6036 [POSIX || XPG3] (POLL_MSG): Likewise.
6037 [POSIX || XPG3] (POLL_ERR): Likewise.
6038 [POSIX || XPG3] (POLL_PRI): Likewise.
6039 [POSIX || XPG3] (POLL_HUP): Likewise.
6040 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6041 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6042 (SIG*): Do not allow.
6043 [XPG3] (si_*): Likewise.
6044 [XPG3] (SI_*): Likewise.
6045 [XPG3 || XPG4] (sigev_*): Likewise.
6046 [XPG3 || XPG4] (SIGEV_*): Likewise.
6047 [XPG3 || XPG4] (sival_*): Likewise.
6048 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6049 [POSIX || XPG3] (BUS_*): Likewise.
6050 [POSIX || XPG3] (CLD_*): Likewise.
6051 [POSIX || XPG3] (FPE_*): Likewise.
6052 [POSIX || XPG3] (ILL_*): Likewise.
6053 [POSIX || XPG3] (POLL_*): Likewise.
6054 [POSIX || XPG3] (SEGV_*): Likewise.
6055 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6056 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6057 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6058 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6059 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6060 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6061 Specify type and value.
6062 (TVERSLEN): Likewise.
6063 (REGTYPE): Likewise.
6064 (AREGTYPE): Likewise.
6065 (LNKTYPE): Likewise.
6066 (SYMTYPE): Likewise.
6067 (CHRTYPE): Likewise.
6068 (BLKTYPE): Likewise.
6069 (DIRTYPE): Likewise.
6070 (FIFOTYPE): Likewise.
6071 (CONTTYPE): Likewise.
6076 (TUWRITE): Likewise.
6079 (TGWRITE): Likewise.
6082 (TOWRITE): Likewise.
6084 [POSIX] (TSVTX): Expect constant.
6086 2014-03-06 Joseph Myers <joseph@codesourcery.com>
6088 * Makefile (tests): Change dependencies to ....
6089 (tests-special): ... additions to this variable.
6090 (tests): Depend on $(tests-special).
6091 * Makerules (check-abi-list): New variable.
6092 (check-abi): Depend on $(check-abi-list).
6093 [$(subdir) = elf] (tests-special): Add
6094 $(objpfx)check-abi-libc.out.
6095 [$(build-shared) = yes && subdir] (tests-special): Add
6097 [$(build-shared) = yes && subdir] (tests): Do not depend on
6099 * Rules (tests): Depend on $(tests-special).
6100 (xtests): Depend on $(xtests-special).
6101 * catgets/Makefile (tests): Change dependencies to ....
6102 (tests-special): ... additions to this variable.
6103 * conform/Makefile (tests): Change dependencies to ....
6104 (tests-special): ... additions to this variable.
6105 * elf/Makefile (tests): Change dependencies to ....
6106 (tests-special): ... additions to this variable.
6107 * grp/Makefile (tests): Change dependencies to ....
6108 (tests-special): ... additions to this variable.
6109 * iconv/Makefile (xtests): Change dependencies to ....
6110 (xtests-special): ... additions to this variable.
6111 * iconvdata/Makefile (tests): Change dependencies to ....
6112 (tests-special): ... additions to this variable.
6113 * intl/Makefile (tests): Change dependencies to ....
6114 (tests-special): ... additions to this variable. Also add
6115 $(objpfx)tst-gettext.out.
6116 * io/Makefile (tests): Change dependencies to ....
6117 (tests-special): ... additions to this variable.
6118 * libio/Makefile (tests): Change dependencies to ....
6119 (tests-special): ... additions to this variable.
6120 * malloc/Makefile (tests): Change dependencies to ....
6121 (tests-special): ... additions to this variable.
6122 * misc/Makefile (tests): Change dependencies to ....
6123 (tests-special): ... additions to this variable.
6124 * nptl/Makefile (tests): Change dependencies to ....
6125 (tests-special): ... additions to this variable.
6126 * nptl_db/Makefile (tests): Change dependencies to ....
6127 (tests-special): ... additions to this variable.
6128 * posix/Makefile (tests): Change dependencies to ....
6129 (tests-special): ... additions to this variable.
6130 (xtests): Change dependencies to ....
6131 (xtests-special): ... additions to this variable.
6132 * resolv/Makefile (tests): Change dependencies to ....
6133 (tests-special): ... additions to this variable.
6134 (xtests): Change dependencies to ....
6135 (xtests-special): ... additions to this variable.
6136 * stdio-common/Makefile (tests): Change dependencies to ....
6137 (tests-special): ... additions to this variable.
6138 (do-tst-unbputc): Remove target.
6139 (do-tst-printf): Likewise.
6140 * stdlib/Makefile (tests): Change dependencies to ....
6141 (tests-special): ... additions to this variable.
6142 * string/Makefile (tests): Change dependencies to ....
6143 (tests-special): ... additions to this variable.
6144 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6145 (tests-special): ... additions to this variable.
6147 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6149 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6151 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6152 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6154 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6155 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6156 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6157 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6158 * conform/data/libgen.h-data [XPG3]: Likewise.
6159 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6160 * conform/data/ndbm.h-data [XPG3]: Likewise.
6161 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6162 * conform/data/netdb.h-data [XPG3]: Likewise.
6163 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6164 * conform/data/poll.h-data [XPG3]: Likewise.
6165 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6166 * conform/data/strings.h-data [XPG3]: Likewise.
6167 * conform/data/stropts.h-data [XPG3]: Likewise.
6168 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6169 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6170 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6172 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6173 * conform/data/sys/time.h-data [XPG3]: Likewise.
6174 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6175 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6176 * conform/data/sys/un.h-data [XPG3]: Likewise.
6177 * conform/data/syslog.h-data [XPG3]: Likewise.
6178 * conform/data/ucontext.h-data [XPG3]: Likewise.
6179 * conform/data/utmpx.h-data [XPG3]: Likewise.
6180 * conform/data/varargs.h-data [UNIX98]: Enable file.
6182 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6184 * math/libm-test.inc (struct test_f_f_data): Move expected results
6185 into structure for each rounding mode.
6186 (struct test_ff_f_data): Likewise.
6187 (struct test_ff_f_data_nexttoward): Likewise.
6188 (struct test_fi_f_data): Likewise.
6189 (struct test_fl_f_data): Likewise.
6190 (struct test_if_f_data): Likewise.
6191 (struct test_fff_f_data): Likewise.
6192 (struct test_c_f_data): Likewise.
6193 (struct test_f_f1_data): Likewise.
6194 (struct test_fF_f1_data): Likewise.
6195 (struct test_ffI_f1_data): Likewise.
6196 (struct test_c_c_data): Likewise.
6197 (struct test_cc_c_data): Likewise.
6198 (struct test_f_i_data): Likewise.
6199 (struct test_ff_i_data): Likewise.
6200 (struct test_f_l_data): Likewise.
6201 (struct test_f_L_data): Likewise.
6202 (struct test_fFF_11_data): Likewise.
6204 (RM_FE_DOWNWARD): Likewise.
6205 (RM_FE_TONEAREST): Likewise.
6206 (RM_FE_TOWARDZERO): Likewise.
6207 (RM_FE_UPWARD): Likewise.
6208 (RUN_TEST_LOOP_f_f): Update references to expected results.
6209 (RUN_TEST_LOOP_2_f): Likewise.
6210 (RUN_TEST_LOOP_fff_f): Likewise.
6211 (RUN_TEST_LOOP_c_f): Likewise.
6212 (RUN_TEST_LOOP_f_f1): Likewise.
6213 (RUN_TEST_LOOP_fF_f1): Likewise.
6214 (RUN_TEST_LOOP_fI_f1): Likewise.
6215 (RUN_TEST_LOOP_ffI_f1): Likewise.
6216 (RUN_TEST_LOOP_c_c): Likewise.
6217 (RUN_TEST_LOOP_cc_c): Likewise.
6218 (RUN_TEST_LOOP_f_i): Likewise.
6219 (RUN_TEST_LOOP_f_i_tg): Likewise.
6220 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6221 (RUN_TEST_LOOP_f_b): Likewise.
6222 (RUN_TEST_LOOP_f_b_tg): Likewise.
6223 (RUN_TEST_LOOP_f_l): Likewise.
6224 (RUN_TEST_LOOP_f_L): Likewise.
6225 (RUN_TEST_LOOP_fFF_11): Likewise.
6226 * math/gen-libm-test.pl (parse_args): Output four copies of
6227 expected results for each test.
6229 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6230 (__ASSUME_UTIMES): Remove.
6231 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6232 (__ASSUME_UTIMES): Likewise.
6234 * math/gen-auto-libm-tests.c: Update comment on output format.
6235 (output_for_one_input_case): Generate before-rounding and
6236 after-rounding information as conditions on output flags not
6237 floating-point format.
6238 * math/auto-libm-test-out: Regenerated.
6239 * math/gen-libm-test.pl (cond_value): New function.
6240 (or_cond_value): Use cond_value.
6241 (generate_testfile): Handle conditional exceptions.
6243 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6245 * math/libm-test.inc (max_valid_error): New variable.
6246 (init_max_error): Take new argument specifying whether function
6247 results are exactly determined. Set max_valid_error and bound
6248 other variables for errors based on this argument.
6249 (set_max_error): Do not record results above max_valid_error.
6250 (check_float_internal): Only accept errors of up to 0.5ulps if
6251 also at most max_valid_error.
6252 (START): Take new argument EXACT and pass it to init_max_error.
6253 (acos_test): Update call to START.
6254 (acos_test_tonearest): Likewise.
6255 (acos_test_towardzero): Likewise.
6256 (acos_test_downward): Likewise.
6257 (acos_test_upward): Likewise.
6258 (acosh_test): Likewise.
6259 (asin_test): Likewise.
6260 (asin_test_tonearest): Likewise.
6261 (asin_test_towardzero): Likewise.
6262 (asin_test_downward): Likewise.
6263 (asin_test_upward): Likewise.
6264 (asinh_test): Likewise.
6265 (atan_test): Likewise.
6266 (atanh_test): Likewise.
6267 (atan2_test): Likewise.
6268 (cabs_test): Likewise.
6269 (cacos_test): Likewise.
6270 (cacosh_test): Likewise.
6271 (carg_test): Likewise.
6272 (casin_test): Likewise.
6273 (casinh_test): Likewise.
6274 (catan_test): Likewise.
6275 (catanh_test): Likewise.
6276 (cbrt_test): Likewise.
6277 (ccos_test): Likewise.
6278 (ccosh_test): Likewise.
6279 (ceil_test): Likewise.
6280 (cexp_test): Likewise.
6281 (cimag_test): Likewise.
6282 (clog_test): Likewise.
6283 (clog10_test): Likewise.
6284 (conj_test): Likewise.
6285 (copysign_test): Likewise.
6286 (cos_test): Likewise.
6287 (cos_test_tonearest): Likewise.
6288 (cos_test_towardzero): Likewise.
6289 (cos_test_downward): Likewise.
6290 (cos_test_upward): Likewise.
6291 (cosh_test): Likewise.
6292 (cosh_test_tonearest): Likewise.
6293 (cosh_test_towardzero): Likewise.
6294 (cosh_test_downward): Likewise.
6295 (cosh_test_upward): Likewise.
6296 (cpow_test): Likewise.
6297 (cproj_test): Likewise.
6298 (creal_test): Likewise.
6299 (csin_test): Likewise.
6300 (csinh_test): Likewise.
6301 (csqrt_test): Likewise.
6302 (ctan_test): Likewise.
6303 (ctan_test_tonearest): Likewise.
6304 (ctan_test_towardzero): Likewise.
6305 (ctan_test_downward): Likewise.
6306 (ctan_test_upward): Likewise.
6307 (ctanh_test): Likewise.
6308 (ctanh_test_tonearest): Likewise.
6309 (ctanh_test_towardzero): Likewise.
6310 (ctanh_test_downward): Likewise.
6311 (ctanh_test_upward): Likewise.
6312 (erf_test): Likewise.
6313 (erfc_test): Likewise.
6314 (exp_test): Likewise.
6315 (exp_test_tonearest): Likewise.
6316 (exp_test_towardzero): Likewise.
6317 (exp_test_downward): Likewise.
6318 (exp_test_upward): Likewise.
6319 (exp10_test): Likewise.
6320 (exp10_test_tonearest): Likewise.
6321 (exp10_test_towardzero): Likewise.
6322 (exp10_test_downward): Likewise.
6323 (exp10_test_upward): Likewise.
6324 (pow10_test): Likewise.
6325 (exp2_test): Likewise.
6326 (expm1_test): Likewise.
6327 (expm1_test_tonearest): Likewise.
6328 (expm1_test_towardzero): Likewise.
6329 (expm1_test_downward): Likewise.
6330 (expm1_test_upward): Likewise.
6331 (fabs_test): Likewise.
6332 (fdim_test): Likewise.
6333 (floor_test): Likewise.
6334 (fma_test): Likewise.
6335 (fma_test_towardzero): Likewise.
6336 (fma_test_downward): Likewise.
6337 (fma_test_upward): Likewise.
6338 (fmax_test): Likewise.
6339 (fmin_test): Likewise.
6340 (fmod_test): Likewise.
6341 (fpclassify_test): Likewise.
6342 (frexp_test): Likewise.
6343 (hypot_test): Likewise.
6344 (ilogb_test): Likewise.
6345 (isfinite_test): Likewise.
6346 (finite_test): Likewise.
6347 (isgreater_test): Likewise.
6348 (isgreaterequal_test): Likewise.
6349 (isinf_test): Likewise.
6350 (isless_test): Likewise.
6351 (islessequal_test): Likewise.
6352 (islessgreater_test): Likewise.
6353 (isnan_test): Likewise.
6354 (isnormal_test): Likewise.
6355 (issignaling_test): Likewise.
6356 (isunordered_test): Likewise.
6357 (j0_test): Likewise.
6358 (j1_test): Likewise.
6359 (jn_test): Likewise.
6360 (ldexp_test): Likewise.
6361 (lgamma_test): Likewise.
6362 (gamma_test): Likewise.
6363 (lrint_test): Likewise.
6364 (lrint_test_tonearest): Likewise.
6365 (lrint_test_towardzero): Likewise.
6366 (lrint_test_downward): Likewise.
6367 (lrint_test_upward): Likewise.
6368 (llrint_test): Likewise.
6369 (llrint_test_tonearest): Likewise.
6370 (llrint_test_towardzero): Likewise.
6371 (llrint_test_downward): Likewise.
6372 (llrint_test_upward): Likewise.
6373 (log_test): Likewise.
6374 (log10_test): Likewise.
6375 (log1p_test): Likewise.
6376 (log2_test): Likewise.
6377 (logb_test): Likewise.
6378 (logb_test_downward): Likewise.
6379 (lround_test): Likewise.
6380 (llround_test): Likewise.
6381 (modf_test): Likewise.
6382 (nearbyint_test): Likewise.
6383 (nextafter_test): Likewise.
6384 (nexttoward_test): Likewise.
6385 (pow_test): Likewise.
6386 (pow_test_tonearest): Likewise.
6387 (pow_test_towardzero): Likewise.
6388 (pow_test_downward): Likewise.
6389 (pow_test_upward): Likewise.
6390 (remainder_test): Likewise.
6391 (drem_test): Likewise.
6392 (remainder_test_tonearest): Likewise.
6393 (drem_test_tonearest): Likewise.
6394 (remainder_test_towardzero): Likewise.
6395 (drem_test_towardzero): Likewise.
6396 (remainder_test_downward): Likewise.
6397 (drem_test_downward): Likewise.
6398 (remainder_test_upward): Likewise.
6399 (drem_test_upward): Likewise.
6400 (remquo_test): Likewise.
6401 (rint_test): Likewise.
6402 (rint_test_tonearest): Likewise.
6403 (rint_test_towardzero): Likewise.
6404 (rint_test_downward): Likewise.
6405 (rint_test_upward): Likewise.
6406 (round_test): Likewise.
6407 (scalb_test): Likewise.
6408 (scalbn_test): Likewise.
6409 (scalbln_test): Likewise.
6410 (signbit_test): Likewise.
6411 (sin_test): Likewise.
6412 (sin_test_tonearest): Likewise.
6413 (sin_test_towardzero): Likewise.
6414 (sin_test_downward): Likewise.
6415 (sin_test_upward): Likewise.
6416 (sincos_test): Likewise.
6417 (sinh_test): Likewise.
6418 (sinh_test_tonearest): Likewise.
6419 (sinh_test_towardzero): Likewise.
6420 (sinh_test_downward): Likewise.
6421 (sinh_test_upward): Likewise.
6422 (sqrt_test): Likewise.
6423 (sqrt_test_tonearest): Likewise.
6424 (sqrt_test_towardzero): Likewise.
6425 (sqrt_test_downward): Likewise.
6426 (sqrt_test_upward): Likewise.
6427 (tan_test): Likewise.
6428 (tan_test_tonearest): Likewise.
6429 (tan_test_towardzero): Likewise.
6430 (tan_test_downward): Likewise.
6431 (tan_test_upward): Likewise.
6432 (tanh_test): Likewise.
6433 (tgamma_test): Likewise.
6434 (trunc_test): Likewise.
6435 (y0_test): Likewise.
6436 (y1_test): Likewise.
6437 (yn_test): Likewise.
6438 (significand_test): Likewise.
6440 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6441 individual tests in comment.
6442 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6443 (prev_max_error): New variable.
6444 (prev_real_max_error): Likewise.
6445 (prev_imag_max_error): Likewise.
6446 (compare_ulp_data): Don't refer to test names in comment.
6447 (find_test_ulps): Remove function.
6448 (find_function_ulps): Likewise.
6449 (find_complex_function_ulps): Likewise.
6450 (init_max_error): Take function name as argument. Look up ulps
6452 (print_ulps): Remove function.
6453 (print_max_error): Use prev_max_error instead of calling
6455 (print_complex_max_error): Use prev_real_max_error and
6456 prev_imag_max_error instead of calling find_complex_function_ulps.
6457 (check_float_internal): Take max_ulp parameter instead of calling
6458 find_test_ulps. Don't call print_ulps.
6459 (check_float): Update call to check_float_internal.
6460 (check_complex): Update calls to check_float_internal.
6461 (START): Pass argument to init_max_error.
6462 * math/gen-libm-test.pl (%results): Don't include "kind"
6464 (parse_ulps): Don't handle ulps of individual tests.
6465 (print_ulps_file): Likewise.
6466 (output_ulps): Likewise.
6467 * math/README.libm-test: Update.
6468 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6470 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6471 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6472 * sysdeps/arm/libm-test-ulps: Likewise.
6473 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6474 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6475 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6476 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6477 * sysdeps/microblaze/libm-test-ulps: Likewise.
6478 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6479 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6481 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6482 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6483 * sysdeps/sh/libm-test-ulps: Likewise.
6484 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6485 * sysdeps/tile/libm-test-ulps: Likewise.
6486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6488 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6490 * math/libm-test.inc (print_complex_max_error): Check separately
6491 whether real and imaginary errors are within allowed range and
6492 pass 0 to print_complex_function_ulps instead of value within
6495 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6497 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6499 (get_handles_fopen): Likewise.
6500 (do_write_test): Likewise.
6502 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6504 * libio/fileops.c (do_ftell): Use cached offset when
6506 * libio/iofwide.c (do_ftell_wide): Likewise.
6507 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6509 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6512 * libio/libioP.h (get_file_offset): New function.
6513 * libio/fileops.c (get_file_offset): Likewise.
6514 (do_ftell): Likewise.
6515 (_IO_new_file_seekoff): Split out ftell logic.
6516 * libio/wfileops.c (do_ftell_wide): Likewise.
6517 (_IO_wfile_seekoff): Split out ftell logic.
6518 * libio/tst-ftell-active-handler.c: New test case.
6519 * libio/Makefile (tests): Add it.
6521 2014-03-03 Roland McGrath <roland@hack.frob.com>
6523 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6524 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6526 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6529 * nscd/connections.c (nscd_init): Call do_exit.
6530 (start_threads): Call do_exit and notify_parent.
6531 (begin_drop_privileges): Call do_exit.
6532 (finish_drop_privileges): Likewise.
6533 * nscd/selinux.c (preserve_capabilities): Likewise.
6534 (install_real_capabilities): Likewise.
6535 (nscd_selinux_enabled): Likewise.
6536 (avc_create_thread): Likewise.
6537 (avc_alloc_lock): Likewise.
6538 (nscd_avc_init): Likewise.
6539 * nscd/nscd.c (parent_fd): New static variable.
6540 (main): Create a pipe between parent and child processes.
6541 Skip closing parent_fd.
6542 (monitor_child): New function.
6543 (do_exit): Likewise.
6544 (notify_parent): Likewise.
6545 * nscd/nscd.h (notify_parent): Likewise.
6546 (do_exit): Likewise.
6548 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6550 * malloc/malloc.c (__libc_calloc): Revert last change.
6552 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6556 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6558 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6562 (__libc_ifunc_impl_list): Likewise.
6563 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6564 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6565 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6566 * string/strrchr.c: Define STRRCHR.
6568 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6570 * benchtest/bench-strtok.c (simple_strtok): Delete.
6571 (strtok_string): Use as benchmark.
6572 * string/strtok (STRTOK): New macro.
6574 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6576 * manual/threads.texi: Add header and standard comments to all
6579 * elf/dl-lookup.c (check_match): New function.
6580 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6581 (do_lookup_x): Remove nested function check_match. Use non-nested
6582 function check_match.
6584 2014-02-28 Roland McGrath <roland@hack.frob.com>
6586 * csu/Makefile (generated, before-compile): Use += rather than =.
6587 * catgets/Makefile (generated, generated-dirs): Likewise.
6588 * debug/Makefile (generated): Likewise.
6589 * dlfcn/Makefile (generated): Likewise.
6590 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6591 * iconvdata/Makefile (before-compile, generated): Likewise.
6592 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6593 * libio/Makefile (generated): Likewise.
6594 * malloc/Makefile (generated): Likewise.
6595 * manual/Makefile (generated, generated-dirs): Likewise.
6596 * misc/Makefile (generated): Likewise.
6597 * posix/Makefile (generated): Likewise.
6598 * resolv/Makefile (generated): Likewise.
6599 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6600 * timezone/Makefile (generated, generated-dirs): Likewise.
6602 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6604 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6607 power8 implementation.
6608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6609 file: POWER8 llround ifunc implementation.
6610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6611 (__lllround): Add POWER8 implementation.
6612 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6613 POWER8 llround implementation.
6615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6616 power8 implementation.
6617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6618 file: POWER8 llrint ifunc implementation.
6619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6620 Add POWER8 implementation.
6621 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6622 POWER8 llrint implementation.
6624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6625 power8 implementation.
6626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6627 file: POWER8 finite ifunc implementation.
6628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6629 Add POWER8 implementation.
6630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6632 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6633 POWER8 finite implementation.
6634 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6637 power8 implementation.
6638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6639 file: POWER8 isinf ifunc implementation.
6640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6641 POWER8 implementation.
6642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6644 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6645 isinf implementation.
6646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6648 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6649 (INIT_ARCH): Add hwcap2 initialization.
6650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6651 power8 implementation.
6652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6653 file: POWER8 isnan ifunc implementation.
6654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6655 POWER8 implementation.
6656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6658 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6659 isnan implementation.
6660 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6662 2014-02-27 Joey Ye <joey.ye@arm.com>
6664 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6665 (_FP_NANFRAC_Q): Set to zero.
6667 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6670 * math/auto-libm-test-in: New test inputs.
6671 * math/auto-libm-test-out: Regenerate.
6672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6675 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6677 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6679 * scripts/evaluate-test.sh: Take new argument indicating whether
6680 failure is expected.
6681 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6682 indicating whether failure is expected.
6683 * conform/Makefile (test-xfail-run-conformtest): New variable.
6684 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6686 * posix/Makefile (test-xfail-annexc): New variable.
6687 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6689 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6691 * argp/Makefile: Include Makeconfig immediately after defining
6693 * assert/Makefile: Likewise.
6694 * benchtests/Makefile: Likewise.
6695 * catgets/Makefile: Likewise.
6696 * conform/Makefile: Likewise.
6697 * crypt/Makefile: Likewise.
6698 * csu/Makefile: Likewise.
6699 (all): Remove target.
6700 * ctype/Makefile: Include Makeconfig immediately after defining
6702 * debug/Makefile: Likewise.
6703 * dirent/Makefile: Likewise.
6704 * dlfcn/Makefile: Likewise.
6705 * gmon/Makefile: Likewise.
6706 * gnulib/Makefile: Likewise.
6707 * grp/Makefile: Likewise.
6708 * gshadow/Makefile: Likewise.
6709 * hesiod/Makefile: Likewise.
6710 * hurd/Makefile: Likewise.
6711 (all): Remove target.
6712 * iconvdata/Makefile: Include Makeconfig immediately after
6714 * inet/Makefile: Likewise.
6715 * intl/Makefile: Likewise.
6716 * io/Makefile: Likewise.
6717 * libio/Makefile: Likewise.
6718 (all): Remove target.
6719 * locale/Makefile: Include Makeconfig immediately after defining
6721 * login/Makefile: Likewise.
6722 * mach/Makefile: Likewise.
6723 (all): Remove target.
6724 * malloc/Makefile: Include Makeconfig immediately after defining
6726 (all): Remove target.
6727 * manual/Makefile: Include Makeconfig immediately after defining
6729 * math/Makefile: Likewise.
6730 * misc/Makefile: Likewise.
6731 * nis/Makefile: Likewise.
6732 * nss/Makefile: Likewise.
6733 * po/Makefile: Likewise.
6734 (all): Remove target.
6735 * posix/Makefile: Include Makeconfig immediately after defining
6737 * pwd/Makefile: Likewise.
6738 * resolv/Makefile: Likewise.
6739 * resource/Makefile: Likewise.
6740 * rt/Makefile: Likewise.
6741 * setjmp/Makefile: Likewise.
6742 * shadow/Makefile: Likewise.
6743 * signal/Makefile: Likewise.
6744 * socket/Makefile: Likewise.
6745 * soft-fp/Makefile: Likewise.
6746 * stdio-common/Makefile: Likewise.
6747 * stdlib/Makefile: Likewise.
6748 * streams/Makefile: Likewise.
6749 * string/Makefile: Likewise.
6750 * sunrpc/Makefile: Likewise.
6751 (all): Remove target.
6752 * sysvipc/Makefile: Include Makeconfig immediately after defining
6754 * termios/Makefile: Likewise.
6755 * time/Makefile: Likewise.
6756 * timezone/Makefile: Likewise.
6757 (all): Remove target.
6758 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6760 * wctype/Makefile: Likewise.
6762 2014-02-26 Steve Ellcey <sellcey@mips.com>
6764 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6765 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6766 (libc_feholdexcept_setround_mips): Ditto.
6767 (libc_feholdsetround): New.
6768 (libc_feholdsetroundf): New.
6769 (libc_feholdsetroundl): New.
6770 (libc_feupdateenv_test_mips): New.
6771 (libc_feupdateenv_test): New.
6772 (libc_feupdateenv_testf): New.
6773 (libc_feupdateenv_testl): New.
6774 (libc_feresetround): New.
6775 (libc_feresetroundf): New.
6776 (libc_feresetroundl): New.
6777 (libc_fetestexcept_mips): New.
6778 (libc_fetestexcept): New.
6779 (libc_fetestexceptf): New.
6780 (libc_fetestexceptl): New.
6782 (libc_feholdexcept_setround_mips_ctx): New.
6783 (libc_feholdexcept_setround_ctx): New.
6784 (libc_feholdexcept_setroundf_ctx): New.
6785 (libc_feholdexcept_setroundl_ctx): New.
6786 (libc_fesetenv_mips_ctx): New.
6787 (libc_fesetenv_ctx): New.
6788 (libc_fesetenv_ctxf): New.
6789 (libc_fesetenv_ctxl): New.
6790 (libc_feupdateenv_mips_ctx): New.
6791 (libc_feupdateenv_ctx): New.
6792 (libc_feupdateenvf_ctx): New.
6793 (libc_feupdateenvl_ctx): New.
6794 (libc_feholdsetround_mips_ctx): New.
6795 (libc_feholdsetround_ctx): New.
6796 (libc_feholdsetroundf_ctx): New.
6797 (libc_feholdsetroundl_ctx): New.
6798 (libc_feresetround_mips_ctx): New.
6799 (libc_feresetround_ctx): New.
6800 (libc_feresetroundf_ctx): New.
6801 (libc_feresetroundl_ctx): New.
6803 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6805 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6807 * manual/ipc.texi: New file.
6808 * manual/Makefile (chapters): Add ipc.
6809 * manual/job.texi: Add "Inter-Process Communication" to next.
6810 * manual/process.texi: Add "Inter-Process Communication" to prev.
6812 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6816 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6818 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6820 * manual/arith.texi: Fix spaces after sentences.
6821 * manual/charset.texi: Likewise.
6822 * manual/errno.texi: Likewise.
6823 * manual/install.texi: Likewise.
6824 * manual/llio.texi: Likewise.
6825 * manual/locale.texi: Likewise.
6826 * manual/maint.texi: Likewise.
6827 * manual/math.texi: Likewise.
6828 * manual/memory.texi: Likewise.
6829 * manual/message.texi: Likewise.
6830 * manual/probes.texi: Likewise.
6831 * manual/resource.texi: Likewise.
6832 * manual/signal.texi: Likewise.
6833 * manual/socket.texi: Likewise.
6834 * manual/stdio.texi: Likewise.
6835 * manual/string.texi: Likewise.
6836 * manual/time.texi: Likewise.
6837 * manual/users.texi: Likewise.
6839 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6842 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6843 _DEFAULT_SOURCE is defined.
6845 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6846 Carlos O'Donell <carlos@redhat.com>
6849 * elf/dl-tls.c (_dl_count_modids): New function.
6850 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6851 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6852 audit library and increment generation counter.
6853 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6854 * elf/tst-audit9.c: New file.
6855 * elf/tst-auditmod9a.c: New file.
6856 * elf/tst-auditmod9b.c: New file.
6857 * elf/Makefile: Add rules to build and run tst-audit9.
6859 2014-02-25 Florian Weimer <fweimer@redhat.com>
6862 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6864 2014-02-25 Will Newton <will.newton@linaro.org>
6866 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6867 (__longjmp): Restore sp and lr before restoring callee
6868 saved registers. Add longjmp and longjmp_target
6869 SystemTap probe point.
6870 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6871 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6872 Define to zero to match jmpbuf layout.
6873 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6874 (__sigsetjmp): Save sp and lr before saving callee
6875 saved registers. Add setjmp SystemTap probe point.
6877 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6879 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6881 2014-02-24 Andreas Schwab <schwab@suse.de>
6884 * elf/pldd.c (wait_for_ptrace_stop): New function.
6885 (main): Call it after attaching.
6887 2014-02-22 Roland McGrath <roland@hack.frob.com>
6889 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6890 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6891 Versions files is now verboten.
6892 * hurd/Versions (libc: GLIBC_2.0):
6893 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6894 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6895 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6896 * mach/Versions: Likewise.
6898 * csu/Versions: Remove unused %include.
6899 * resolv/Versions: Likewise.
6901 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6903 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6904 ($(objpfx)check-local-headers.out): Likewise.
6905 ($(objpfx)begin-end-check.out): Likewise.
6906 * Makerules (check-abi-%.out): Likewise.
6907 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6908 ($(objpfx)test2.cat): Likewise.
6909 ($(objpfx)de/libc.cat): Likewise.
6910 ($(objpfx)test-gencat.out): Likewise.
6911 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6912 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6913 ($(objpfx)noload-mem): Likewise.
6914 ($(objpfx)tst-pathopt.out): Likewise.
6915 ($(objpfx)tst-rtld-load-self.out): Likewise.
6916 ($(objpfx)tst-array1-cmp.out): Likewise.
6917 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6918 ($(objpfx)tst-array2-cmp.out): Likewise.
6919 ($(objpfx)tst-array3-cmp.out): Likewise.
6920 ($(objpfx)tst-array4-cmp.out): Likewise.
6921 ($(objpfx)tst-array5-cmp.out): Likewise.
6922 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6923 ($(objpfx)check-textrel.out): Likewise.
6924 ($(objpfx)check-execstack.out): Likewise.
6925 ($(objpfx)check-localplt.out): Likewise.
6926 ($(objpfx)order2-cmp.out): Likewise.
6927 ($(objpfx)tst-leaks1-mem): Likewise.
6928 ($(objpfx)tst-leaks1-static-mem): Likewise.
6929 ($(objpfx)tst-initorder-cmp.out): Likewise.
6930 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6931 ($(objpfx)tst-unused-dep.out): Likewise.
6932 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6933 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6934 * iconv/Makefile (test-iconvconfig): Likewise.
6935 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6936 ($(objpfx)iconv-test.out): Likewise.
6937 ($(objpfx)tst-tables.out): Likewise.
6938 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6939 ($(objpfx)tst-gettext.out): Likewise.
6940 ($(objpfx)tst-translit.out): Likewise.
6941 ($(objpfx)tst-gettext2.out): Likewise.
6942 ($(objpfx)tst-gettext4.out): Likewise.
6943 ($(objpfx)tst-gettext6.out): Likewise.
6944 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6945 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6946 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6947 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6948 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6949 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6950 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6951 ($(objpfx)wordexp-tst.out): Likewise.
6952 ($(objpfx)annexc.out): Likewise.
6953 ($(objpfx)tst-fnmatch-mem): Likewise.
6954 ($(objpfx)bug-regex2-mem): Likewise.
6955 ($(objpfx)bug-regex14-mem): Likewise.
6956 ($(objpfx)bug-regex21-mem): Likewise.
6957 ($(objpfx)bug-regex31-mem): Likewise.
6958 ($(objpfx)tst-vfork3-mem): Likewise.
6959 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6960 ($(objpfx)tst-pcre-mem): Likewise.
6961 ($(objpfx)tst-boost-mem): Likewise.
6962 ($(objpfx)tst-getconf.out): Likewise.
6963 ($(objpfx)bug-ga2-mem): Likewise.
6964 ($(objpfx)bug-glob2-mem): Likewise.
6965 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6966 ($(objpfx)mtrace-tst-leaks2): Likewise.
6967 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6968 ($(objpfx)tst-printf.out): Likewise.
6969 ($(objpfx)tst-setvbuf1.out): Likewise.
6970 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6971 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6972 ($(objpfx)tst-fmtmsg.out): Likewise.
6973 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6974 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6976 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6977 * bits/sigaction.h [__USE_MISC]: Likewise.
6978 * bits/waitstatus.h: Update #endif comments.
6979 * ctype/ctype.h: Likewise.
6980 * dirent/dirent.h: Likewise.
6981 [__USE_MISC]: Remove redundant conditionals.
6982 * grp/grp.h: Update #endif comments.
6983 [__USE_GNU]: Remove redundant conditionals.
6984 [__USE_MISC]: Likewise.
6985 * inet/netinet/in.h [__USE_GNU]: Likewise.
6986 * io/sys/stat.h [__USE_MISC]: Likewise.
6987 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6988 * libio/bits/stdio.h: Update #endif comments.
6989 [__USE_MISC]: Remove redundant conditionals.
6990 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6991 * libio/stdio.h: Update #endif comments.
6992 [__USE_MISC]: Remove redundant conditionals.
6993 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6994 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6995 * math/math.h: Update #else and #endif comments.
6996 [__USE_MISC]: Remove redundant conditionals.
6997 * misc/sys/uio.h: Update #endif comments.
6998 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6999 * posix/glob.h [__USE_MISC]: Likewise.
7000 * posix/sys/types.h: Update #endif comments.
7001 [__USE_MISC]: Remove redundant conditionals.
7002 * posix/sys/wait.h: Update #endif comments.
7003 [__USE_MISC]: Remove redundant conditionals.
7004 * posix/unistd.h: Update #endif comments.
7005 [__USE_MISC]: Remove redundant conditionals.
7006 * pwd/pwd.h [__USE_GNU]: Likewise.
7007 [__USE_MISC]: Likewise.
7008 * resolv/netdb.h [__USE_GNU]: Likewise.
7009 * signal/signal.h: Update #endif comments.
7010 [__USE_MISC]: Remove redundant conditionals.
7011 * stdlib/stdlib.h: Update #else and #endif comments.
7012 [__USE_MISC]: Remove redundant conditionals.
7013 [__USE_GNU]: Likewise.
7014 * string/bits/string2.h [__USE_MISC]: Likewise.
7015 * string/string.h: Update #endif comments.
7016 [__USE_MISC]: Remove redundant conditionals.
7017 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7019 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7020 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7021 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7023 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7025 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7027 [__USE_MISC]: Remove redundant conditionals.
7028 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7029 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7030 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7031 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7032 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7034 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7035 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7037 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7038 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7040 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7042 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7043 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7045 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7047 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7048 * sysdeps/x86/bits/string.h: Update #endif comments.
7049 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7051 * time/sys/time.h: Update #endif comments.
7052 * time/time.h: Likewise.
7053 [__USE_MISC]: Remove redundant conditionals.
7055 2014-02-21 Yury Gribov <y.gribov@samsung.com>
7058 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7060 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7062 * Versions.def (librt): Add GLIBC_2.17.
7064 2014-02-21 Adam Conrad <adconrad@0c3.net>
7066 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7067 synonym for _SYS_AUXV_H to allow direct inclusion.
7068 * sysdeps/sparc/bits/hwcap.h: Likewise.
7069 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7070 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7071 * sysdeps/sparc/sysdep.h: Likewise.
7073 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7075 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7077 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7079 * benchtests/bench-strrchr.c: Print length instead of position.
7081 2014-02-20 Joseph Myers <joseph@codesourcery.com>
7084 * sysdeps/unix/sysv/linux/kernel-features.h
7085 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7086 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7087 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7088 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7090 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7091 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7092 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7093 (__ASSUME_SENDMMSG): Define instead of using previous
7094 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7095 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7096 (__ASSUME_SENDMMSG_SYSCALL): Define.
7097 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7098 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7100 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7101 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7103 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7104 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7106 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7107 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7108 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7109 [__ASSUME_SENDMMSG]: Change conditionals to
7110 [__ASSUME_SENDMMSG_SOCKETCALL].
7111 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7112 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7114 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7115 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7117 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7118 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7119 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7120 [!__ASSUME_SENDMMSG]: Change conditional to
7121 [!__ASSUME_SENDMMSG_SOCKETCALL].
7122 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7123 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7127 * sysdeps/unix/sysv/linux/kernel-features.h
7128 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7129 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7130 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7131 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7132 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7133 [__i386__ || __sparc__]
7134 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7135 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7136 (__ASSUME_RECVMMSG): Define instead of using previous
7137 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7138 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7139 (__ASSUME_RECVMMSG_SYSCALL): Define.
7140 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7141 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7143 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7144 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7146 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7147 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7149 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7150 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7151 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7152 [__ASSUME_RECVMMSG]: Change condition to
7153 [__ASSUME_RECVMMSG_SOCKETCALL].
7154 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7155 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7157 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7158 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7159 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7161 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7162 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7163 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7164 [!__ASSUME_RECVMMSG]: Change condition to
7165 [!__ASSUME_RECVMMSG_SOCKETCALL].
7166 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7167 (__ASSUME_RECVMMSG_SYSCALL): Define.
7170 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7171 __powerpc__ || __s390__ || __sh__ || __sparc__]
7172 (__ASSUME_SOCKETCALL): Define.
7173 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7174 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7175 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7176 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7177 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7178 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7179 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7180 (__ASSUME_ACCEPT4): Define instead of using previous
7181 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7182 __powerpc__ || __sparc__ || __s390__)] condition.
7183 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7184 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7185 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7186 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7187 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7188 [!__ASSUME_ACCEPT4]: Change condition to
7189 [!__ASSUME_ACCEPT4_SOCKETCALL].
7190 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7191 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7192 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7193 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7194 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7195 __ASSUME_ACCEPT4_SYSCALL.
7196 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7197 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7198 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7199 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7200 __ASSUME_ACCEPT4_SYSCALL.
7201 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7202 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7203 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7204 [__ASSUME_ACCEPT4]: Change condition to
7205 [__ASSUME_ACCEPT4_SOCKETCALL].
7206 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7207 (__ASSUME_SOCKETCALL): Define.
7208 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7209 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7210 (__ASSUME_SOCKETCALL): Define.
7211 (__ASSUME_ACCEPT4): Remove.
7212 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7214 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7215 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7217 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7218 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7220 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7222 (HWCAP_ARM_LPAE): Likewise.
7223 (HWCAP_ARM_EVTSTRM): Likewise.
7224 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7225 Add vpfd32, lpae and evtstrm.
7226 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7229 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7231 * math/auto-libm-test-in: Add tests of clog10.
7232 * math/auto-libm-test-out: Regenerated.
7233 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7234 * sysdeps/i386/fpu/libm-test-ulps: Update.
7235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7237 2014-02-18 Andreas Schwab <schwab@suse.de>
7240 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7241 Store non-zero if the second buffer was newly allocated.
7242 (send_dg): Likewise.
7243 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7244 to send_vc and send_dg.
7245 (res_nsend): Pass NULL for ansp2_malloced.
7246 * resolv/res_query.c (__libc_res_nquery): Add parameter
7247 answerp2_malloced and pass it down to __libc_res_nsend.
7248 (res_nquery): Pass additional NULL to __libc_res_nquery.
7249 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7250 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7251 second answer buffer if answerp2_malloced was set.
7252 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7253 (__libc_res_nquerydomain): Add parameter
7254 answerp2_malloced and pass it down to __libc_res_nquery.
7255 (res_nquerydomain): Pass additional NULL to
7256 __libc_res_nquerydomain.
7257 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7258 additional NULL to __libc_res_nsend and __libc_res_nquery.
7259 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7260 additional NULL to __libc_res_nsearch.
7261 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7262 parameter of __libc_res_nsearch to check for separately allocated
7264 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7266 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7267 additional NULL to __libc_res_nquery.
7268 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7270 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7271 * include/resolv.h: Update prototypes of __libc_res_nquery,
7272 __libc_res_nsearch, __libc_res_nsend.
7274 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7276 * math/auto-libm-test-in: Add tests of fma.
7277 * math/auto-libm-test-out: Regenerated.
7278 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7279 (fma_towardzero_test_data): Likewise.
7280 (fma_downward_test_data): Likewise.
7281 (fma_upward_test_data): Likewise.
7282 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7284 (rounding_modes): Add values for new field.
7285 (func_calc_method): Add value mpfr_fff_f.
7286 (func_calc_desc): Add mpfr_fff_f union field.
7287 (test_function): Add field exact_args.
7288 (FUNC): Add macro argument EXACT_ARGS.
7289 (FUNC_mpfr_f_f): Update call to FUNC.
7290 (FUNC_mpfr_f_f): Likewise.
7291 (FUNC_mpfr_ff_f): Likewise.
7292 (FUNC_mpfr_if_f): Likewise.
7293 (FUNC_mpc_c_f): Likewise.
7294 (FUNC_mpc_c_c): Likewise.
7295 (test_functions): Add fma. Update calls to FUNC.
7296 (handle_input_arg): Add argument exact_args.
7297 (add_test): Update call to handle_input_arg.
7298 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7299 (output_for_one_input_case): Update call to calc_generic_results.
7300 Recalculate exact zero results in each rounding mode.
7302 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7303 non-negative before setting low bit.
7304 * math/auto-libm-test-in: Mark one asin test possibly having
7306 * math/auto-libm-test-out: Regenerated.
7307 * sysdeps/i386/fpu/libm-test-ulps: Update.
7308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7310 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7312 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7313 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7314 ports/sysdeps/unix/sysv/linux/microblaze.
7315 * README: Add missing listing for microblaze*-*-linux-gnu.
7317 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7319 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7320 * sysdeps/unix/sysv/linux/ia64: Move directory from
7321 ports/sysdeps/unix/sysv/linux/ia64.
7322 * README: Update listing for ia64-*-linux-gnu.
7324 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7325 Joseph Myers <joseph@codesourcery.com>
7327 * Makeconfig (test-name): New variable.
7328 (evaluate-test): Likewise.
7329 * Makerules (do-test-clean): Remove .test-result files.
7330 (common-mostlyclean): Likewise.
7331 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7332 * scripts/evaluate-test.sh: New file.
7334 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7336 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7337 separate $(objpfx)tst-fopenloc-cmp.out and
7338 $(objpfx)tst-fopenloc-mem.out targets.
7339 (tests): Update dependencies.
7340 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7341 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7342 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7343 (tst-rxspencer-no-utf8-ARGS): New variable.
7344 (tst-rxspencer-no-utf8-ENV): Likewise.
7345 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7346 instead of $(objpfx)tst-rxspencer-mem.
7347 ($(objpfx)tst-rxspencer-mem): Change target to
7348 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7349 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7350 * posix/tst-rxspencer-no-utf8.c: New file.
7352 * elf/Makefile ($(objpfx)order.out): Remove rule.
7353 [$(run-built-tests) = yes] (tests): Depend on
7354 $(objpfx)order-cmp.out.
7355 ($(objpfx)order-cmp.out): New rule.
7356 [$(run-built-tests) = yes] (tests): Depend on
7357 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7358 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7359 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7360 $(objpfx)tst-array5-static-cmp.out.
7361 ($(objpfx)tst-array1.out): Remove rule.
7362 ($(objpfx)tst-array1-cmp.out): New rule.
7363 ($(objpfx)tst-array1-static.out): Remove rule.
7364 ($(objpfx)tst-array1-static-cmp.out): New rule.
7365 ($(objpfx)tst-array2.out): Remove rule.
7366 ($(objpfx)tst-array2-cmp.out): New rule.
7367 ($(objpfx)tst-array3.out): Remove rule.
7368 ($(objpfx)tst-array3-cmp.out): New rule.
7369 ($(objpfx)tst-array4.out): Remove rule.
7370 ($(objpfx)tst-array4-cmp.out): New rule.
7371 ($(objpfx)tst-array5.out): Remove rule.
7372 ($(objpfx)tst-array5-cmp.out): New rule.
7373 ($(objpfx)tst-array5-static.out): Remove rule.
7374 ($(objpfx)tst-array5-static-cmp.out): New rule.
7375 [$(run-built-tests) = yes] (tests): Depend on
7376 $(objpfx)order2-cmp.out.
7377 ($(objpfx)order2.out): Remove rule.
7378 ($(objpfx)order2-cmp.out): New rule.
7379 ($(objpfx)tst-initorder.out): Remove rule.
7380 [$(run-built-tests) = yes] (tests): Depend on
7381 $(objpfx)tst-initorder-cmp.out.
7382 ($(objpfx)tst-initorder-cmp.out): New rule.
7383 ($(objpfx)tst-initorder2.out): Remove rule.
7384 [$(run-built-tests) = yes] (tests): Depend on
7385 $(objpfx)tst-initorder2-cmp.out.
7386 ($(objpfx)tst-initorder2-cmp.out): New rule.
7387 [$(run-built-tests) = yes] (tests): Depend on
7388 $(objpfx)tst-unused-dep-cmp.out.
7389 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7390 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7391 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7392 on $(objpfx)tst-setvbuf1-cmp.out.
7393 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7394 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7395 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7396 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7397 ($(objpfx)tst-svc.out): Remove rule.
7398 ($(objpfx)tst-svc-cmp.out): New rule.
7400 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7402 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7403 * ctype/ctype.h [__USE_MISC]: Likewise.
7404 * dirent/dirent.h [__USE_MISC]: Likewise.
7405 * grp/grp.h [__USE_MISC]: Likewise.
7406 * io/fcntl.h [__USE_MISC]: Likewise.
7407 * io/sys/stat.h [__USE_MISC]: Likewise.
7408 * libio/stdio.h [__USE_MISC]: Likewise.
7409 * posix/unistd.h [__USE_MISC]: Likewise.
7410 * pwd/pwd.h [__USE_MISC]: Likewise.
7411 * stdlib.h [__USE_MISC]: Likewise.
7412 * string/bits/string2.h [__USE_MISC]: Likewise.
7413 * string/string.h [__USE_MISC]: Likewise.
7414 * time/time.h [__USE_MISC]: Likewise.
7416 2014-02-13 Andreas Schwab <schwab@suse.de>
7419 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7420 second answer buffer if it was separately allocated.
7422 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7424 * sysdeps/mips/math-tests.h: Include <features.h>.
7425 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7426 (ROUNDING_TESTS_long_double): Do not define.
7427 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7428 (EXCEPTION_TESTS_long_double): Likewise.
7429 * sysdeps/mips/mips64/libm-test-ulps: Update.
7431 * include/features.h (__USE_BSD): Remove macro definitions.
7432 (__USE_SVID): Likewise.
7433 (_BSD_SOURCE): Likewise.
7434 (_SVID_SOURCE): Likewise.
7435 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7436 from definition of _DEFAULT_SOURCE.
7437 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7439 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7440 * bits/mman.h [__USE_BSD]: Likewise.
7441 * bits/termios.h [__USE_BSD]: Likewise.
7442 * bits/waitstatus.h [__USE_BSD]: Likewise.
7443 * ctype/ctype.h [__USE_SVID]: Likewise.
7444 * dirent/dirent.h [__USE_BSD]: Likewise.
7445 * grp/grp.h [__USE_SVID]: Likewise.
7446 [__USE_BSD]: Likewise.
7447 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7448 * io/fcntl.h [__USE_BSD]: Likewise.
7449 * io/ftw.h [__USE_BSD]: Likewise.
7450 * io/sys/stat.h [__USE_BSD]: Likewise.
7451 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7452 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7453 * libio/stdio.h [__USE_SVID]: Likewise.
7454 [__USE_BSD]: Likewise.
7455 * math/math.h [__USE_SVID]: Likewise.
7456 [__USE_BSD]: Likewise.
7457 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7458 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7459 * misc/search.h [__USE_SVID]: Likewise.
7460 * misc/sys/mman.h [__USE_BSD]: Likewise.
7461 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7462 * misc/sys/uio.h [__USE_BSD]: Likewise.
7463 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7464 * posix/glob.h [__USE_BSD]: Likewise.
7465 * posix/regex.h [__USE_BSD]: Likewise.
7466 * posix/sys/types.h [__USE_BSD]: Likewise.
7467 [__USE_SVID]: Likewise.
7468 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7469 * posix/sys/wait.h [__USE_BSD]: Likewise.
7470 [__USE_SVID]: Likewise.
7471 * posix/unistd.h [__USE_BSD]: Likewise.
7472 [__USE_SVID]: Likewise.
7473 * pwd/pwd.h [__USE_SVID]: Likewise.
7474 * resolv/netdb.h [__USE_BSD]: Likewise.
7475 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7476 * signal/signal.h [__USE_BSD]: Likewise.
7477 [__USE_SVID]: Likewise.
7478 * socket/sys/socket.h [__USE_BSD]: Likewise.
7479 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7480 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7481 [__USE_SVID]: Likewise.
7482 * string/bits/string2.h [__USE_BSD]: Likewise.
7483 [__USE_SVID]: Likewise.
7484 * string/bits/string3.h [__USE_BSD]: Likewise.
7485 * string/endian.h [__USE_BSD]: Likewise.
7486 * string/string.h [__USE_SVID]: Likewise.
7487 [__USE_BSD]: Likewise.
7488 * string/strings.h [__USE_BSD]: Likewise.
7489 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7490 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7491 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7492 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7493 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7494 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7498 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7499 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7501 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7502 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7504 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7506 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7507 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7508 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7510 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7512 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7513 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7514 * termios/termios.h [__USE_BSD]: Likewise.
7515 * time/sys/time.h [__USE_BSD]: Likewise.
7516 * time/time.h [__USE_BSD]: Likewise.
7517 [__USE_SVID]: Likewise.
7519 * Makefile (subdir_targets): Remove subdir_lint.out.
7521 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7522 (do-tst-printf): Likewise.
7523 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7524 $(objpfx)tst-printf.out.
7526 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7528 * Makerules (check-abi-%): Change target to
7529 $(objpfx)check-abi-%.out.
7530 (check-abi target): Update dependencies.
7531 (check-abi-pattern variable): Redirect output of diff to $@.
7532 (check-abi variable): Likewise.
7533 * elf/Makefile (check-abi): Update dependencies.
7535 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7537 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7538 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7540 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7541 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7542 value has largest subnormal exponent.
7543 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7544 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7545 * sysdeps/aarch64/soft-fp/sfp-machine.h
7546 (_FP_TININESS_AFTER_ROUNDING): New macro.
7547 * sysdeps/alpha/soft-fp/sfp-machine.h
7548 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7549 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7551 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7552 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7553 * sysdeps/mips/soft-fp/sfp-machine.h
7554 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7555 * sysdeps/powerpc/soft-fp/sfp-machine.h
7556 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7557 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7559 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7560 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7561 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7562 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7563 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7566 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7569 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7572 2014-02-12 Richard Henderson <rth@redhat.com>
7574 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7575 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7576 * sysdeps/unix/sysv/linux/alpha: Move directory from
7577 ports/sysdeps/unix/sysv/linux/alpha.
7578 * README: Update listing for alpha-*-linux-gnu.
7580 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7582 * include/features.h: Update comment documenting feature test
7584 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7586 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7587 (_SVID_SOURCE): Likewise.
7588 (_DEFAULT_SOURCE): Update description of default features.
7589 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7591 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7592 (S_ISVTX): Likewise.
7593 * manual/math.texi (Mathematical Constants): Likewise.
7594 * manual/signal.texi (Interrupted Primitives): Likewise.
7595 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7596 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7597 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7598 Don't refer to _SVID_SOURCE in warning text.
7600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7602 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7604 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7605 * sysdeps/mips/dl-lookup.c: Remove.
7606 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7608 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7611 * math/auto-libm-test-in: Add testcase for expl.
7612 * math/auto-libm-test-out: Regenerate.
7613 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7614 calculation of unsafe.
7615 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7617 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7619 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7620 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7621 ports/sysdeps/unix/sysv/linux/aarch64.
7622 * README: Update listing for aarch64*-*-linux-gnu.
7624 2014-02-11 Will Newton <will.newton@linaro.org>
7626 * manual/probes.texi (Mathematical Function Probes): Use
7627 "triggered" instead of "hit".
7629 * manual/probes.texi (Internal Probes): Add documentation
7630 of setjmp, longjmp and longjmp_target probes.
7632 * include/stap-probe.h: Add comment about probe argument
7635 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7636 definition. (tr_where, tr_freehook, tr_mallochook,
7637 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7639 2014-02-11 David S. Miller <davem@davemloft.net>
7641 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7642 processing int_tests.
7644 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7646 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7647 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7648 * sysdeps/unix/sysv/linux/mips: Move directory from
7649 ports/sysdeps/unix/sysv/linux/mips.
7650 * README: Update listing for mips-*-linux-gnu and
7653 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7655 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7656 * sysdeps/unix/sysv/linux/m68k: Move directory from
7657 ports/sysdeps/unix/sysv/linux/m68k.
7658 * README: Update listing for m68k-*-linux-gnu.
7660 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7662 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7663 * sysdeps/unix/sysv/linux/generic: Move directory from
7664 ports/sysdeps/unix/sysv/linux/generic.
7665 * sysdeps/unix/sysv/linux/tile: Move directory from
7666 ports/sysdeps/unix/sysv/linux/tile.
7667 * README: Update listing for tile*-*-linux-gnu.
7669 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7671 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7673 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7674 * catgets/open_catalog.c (__open_catalog): Likewise.
7675 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7676 * debug/confstr_chk.c: Likewise.
7677 * debug/fread_chk.c (__fread_chk): Likewise.
7678 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7679 * debug/getgroups_chk.c: Likewise.
7680 * debug/mbsnrtowcs_chk.c: Likewise.
7681 * debug/mbsrtowcs_chk.c: Likewise.
7682 * debug/mbstowcs_chk.c: Likewise.
7683 * debug/memcpy_chk.c: Likewise.
7684 * debug/memmove_chk.c: Likewise.
7685 * debug/mempcpy_chk.c: Likewise.
7686 * debug/memset_chk.c: Likewise.
7687 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7688 * debug/strcat_chk.c (__strcat_chk): Likewise.
7689 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7690 * debug/strncat_chk.c (__strncat_chk): Likewise.
7691 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7692 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7693 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7694 * debug/wcpncpy_chk.c: Likewise.
7695 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7696 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7697 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7698 * debug/wcsncpy_chk.c: Likewise.
7699 * debug/wcsnrtombs_chk.c: Likewise.
7700 * debug/wcsrtombs_chk.c: Likewise.
7701 * debug/wcstombs_chk.c: Likewise.
7702 * debug/wmemcpy_chk.c: Likewise.
7703 * debug/wmemmove_chk.c: Likewise.
7704 * debug/wmempcpy_chk.c: Likewise.
7705 * debug/wmemset_chk.c: Likewise.
7706 * dirent/scandirat.c (SCANDIRAT): Likewise.
7707 * dlfcn/dladdr1.c (dladdr1): Likewise.
7708 * dlfcn/dladdr.c (dladdr): Likewise.
7709 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7710 * dlfcn/dlerror.c (__dlerror): Likewise.
7711 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7712 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7713 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7714 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7715 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7716 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7717 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7718 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7720 * elf/dl-conflict.c: Likewise.
7721 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7722 * elf/dl-dst.h: Likewise.
7723 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7724 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7725 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7726 * elf/dl-init.c (call_init, _dl_init): Likewise.
7727 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7728 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7729 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7731 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7733 * elf/dl-minimal.c (__libc_memalign): Likewise.
7734 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7735 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7736 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7737 * elf/dl-sym.c (do_sym): Likewise.
7738 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7739 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7740 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7741 * elf/dl-writev.h (_dl_writev): Likewise.
7742 * elf/ldconfig.c (search_dir): Likewise.
7743 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7744 (dl_main): Likewise.
7745 * elf/setup-vdso.h (setup_vdso): Likewise.
7746 * grp/compat-initgroups.c (compat_call): Likewise.
7747 * grp/fgetgrent.c (fgetgrent): Likewise.
7748 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7749 * grp/putgrent.c (putgrent): Likewise.
7750 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7752 * hurd/hurdinit.c: Likewise.
7753 * iconvdata/8bit-gap.c (struct): Likewise.
7754 * iconvdata/ansi_x3.110.c : Likewise.
7755 * iconvdata/big5.c : Likewise.
7756 * iconvdata/big5hkscs.c : Likewise.
7757 * iconvdata/cp1255.c: Likewise.
7758 * iconvdata/cp1258.c : Likewise.
7759 * iconvdata/cp932.c : Likewise.
7760 * iconvdata/euc-cn.c: Likewise.
7761 * iconvdata/euc-jisx0213.c : Likewise.
7762 * iconvdata/euc-jp.c: Likewise.
7763 * iconvdata/euc-jp-ms.c : Likewise.
7764 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7765 * iconvdata/gb18030.c : Likewise.
7766 * iconvdata/gbbig5.c (const): Likewise.
7767 * iconvdata/gbgbk.c: Likewise.
7768 * iconvdata/gbk.c : Likewise.
7769 * iconvdata/ibm1364.c : Likewise.
7770 * iconvdata/ibm930.c : Likewise.
7771 * iconvdata/ibm932.c: Likewise.
7772 * iconvdata/ibm933.c : Likewise.
7773 * iconvdata/ibm935.c : Likewise.
7774 * iconvdata/ibm937.c : Likewise.
7775 * iconvdata/ibm939.c : Likewise.
7776 * iconvdata/ibm943.c: Likewise.
7777 * iconvdata/iso_11548-1.c: Likewise.
7778 * iconvdata/iso-2022-cn.c : Likewise.
7779 * iconvdata/iso-2022-cn-ext.c : Likewise.
7780 * iconvdata/iso-2022-jp-3.c: Likewise.
7781 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7782 * iconvdata/iso-2022-kr.c : Likewise.
7783 * iconvdata/iso646.c (gconv_end): Likewise.
7784 * iconvdata/iso_6937-2.c : Likewise.
7785 * iconvdata/iso_6937.c : Likewise.
7786 * iconvdata/iso8859-1.c: Likewise.
7787 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7788 * iconvdata/shift_jisx0213.c : Likewise.
7789 * iconvdata/sjis.c : Likewise.
7790 * iconvdata/t.61.c : Likewise.
7791 * iconvdata/tcvn5712-1.c : Likewise.
7792 * iconvdata/tscii.c: Likewise.
7793 * iconvdata/uhc.c : Likewise.
7794 * iconvdata/unicode.c (gconv_end): Likewise.
7795 * iconvdata/utf-16.c (gconv_end): Likewise.
7796 * iconvdata/utf-32.c (gconv_end): Likewise.
7797 * iconvdata/utf-7.c (base64): Likewise.
7798 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7799 * iconv/gconv_close.c (__gconv_close): Likewise.
7800 * iconv/gconv_open.c (__gconv_open): Likewise.
7801 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7802 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7803 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7804 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7805 (ucs4le_internal_loop_single): Likewise.
7806 * iconv/iconv.c (iconv): Likewise.
7807 * iconv/iconv_close.c: Likewise.
7808 * iconv/loop.c (SINGLE): Likewise.
7809 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7810 * include/atomic.h: Likewise.
7811 * inet/inet6_option.c (option_alloc): Likewise.
7812 * intl/bindtextdom.c (set_binding_values): Likewise.
7813 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7814 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7815 * intl/localealias.c (read_alias_file): Likewise.
7816 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7817 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7818 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7819 * libio/fmemopen.c (fmemopen): Likewise.
7820 * libio/iofgets.c (_IO_fgets): Likewise.
7821 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7822 * libio/iofgetws.c (fgetws): Likewise.
7823 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7824 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7825 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7826 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7827 * locale/findlocale.c (_nl_find_locale): Likewise.
7828 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7829 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7831 * locale/setlocale.c (setlocale): Likewise.
7832 * login/programs/pt_chown.c (main): Likewise.
7833 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7834 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7835 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7836 (mmap, mmap64, mremap, munmap): Likewise.
7837 * math/e_exp2l.c: Likewise.
7838 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7839 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7840 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7841 * math/s_catan.c (__catan): Likewise.
7842 * math/s_catanf.c (__catanf): Likewise.
7843 * math/s_catanh.c (__catanh): Likewise.
7844 * math/s_catanhf.c (__catanhf): Likewise.
7845 * math/s_catanhl.c (__catanhl): Likewise.
7846 * math/s_catanl.c (__catanl): Likewise.
7847 * math/s_ccosh.c (__ccosh): Likewise.
7848 * math/s_ccoshf.c (__ccoshf): Likewise.
7849 * math/s_ccoshl.c (__ccoshl): Likewise.
7850 * math/s_cexp.c (__cexp): Likewise.
7851 * math/s_cexpf.c (__cexpf): Likewise.
7852 * math/s_cexpl.c (__cexpl): Likewise.
7853 * math/s_clog10.c (__clog10): Likewise.
7854 * math/s_clog10f.c (__clog10f): Likewise.
7855 * math/s_clog10l.c (__clog10l): Likewise.
7856 * math/s_clog.c (__clog): Likewise.
7857 * math/s_clogf.c (__clogf): Likewise.
7858 * math/s_clogl.c (__clogl): Likewise.
7859 * math/s_csin.c (__csin): Likewise.
7860 * math/s_csinf.c (__csinf): Likewise.
7861 * math/s_csinh.c (__csinh): Likewise.
7862 * math/s_csinhf.c (__csinhf): Likewise.
7863 * math/s_csinhl.c (__csinhl): Likewise.
7864 * math/s_csinl.c (__csinl): Likewise.
7865 * math/s_csqrt.c (__csqrt): Likewise.
7866 * math/s_csqrtf.c (__csqrtf): Likewise.
7867 * math/s_csqrtl.c (__csqrtl): Likewise.
7868 * math/s_ctan.c (__ctan): Likewise.
7869 * math/s_ctanf.c (__ctanf): Likewise.
7870 * math/s_ctanh.c (__ctanh): Likewise.
7871 * math/s_ctanhf.c (__ctanhf): Likewise.
7872 * math/s_ctanhl.c (__ctanhl): Likewise.
7873 * math/s_ctanl.c (__ctanl): Likewise.
7874 * math/w_pow.c: Likewise.
7875 * math/w_powf.c: Likewise.
7876 * math/w_powl.c: Likewise.
7877 * math/w_scalb.c (sysv_scalb): Likewise.
7878 * math/w_scalbf.c (sysv_scalbf): Likewise.
7879 * math/w_scalbl.c (sysv_scalbl): Likewise.
7880 * misc/error.c (error_tail): Likewise.
7881 * misc/pselect.c (__pselect): Likewise.
7882 * nis/nis_callback.c (__nis_create_callback): Likewise.
7883 * nis/nis_call.c (__nisfind_server): Likewise.
7884 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7885 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7886 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7887 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7888 * nis/nis_lookup.c (nis_lookup): Likewise.
7889 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7890 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7891 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7892 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7893 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7894 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7895 * nis/nss_compat/compat-initgroups.c (add_group)
7896 (internal_getgrent_r): Likewise.
7897 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7898 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7899 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7900 (internal_getspnam_r): Likewise.
7901 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7902 (_nss_nis_getaliasbyname_r): Likewise.
7903 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7904 (_nss_nis_getntohost_r): Likewise.
7905 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7906 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7907 (_nss_nis_getgrgid_r): Likewise.
7908 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7909 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7910 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7911 (_nss_nis_gethostbyname4_r): Likewise.
7912 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7913 (initgroups_netid): Likewise.
7914 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7915 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7916 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7917 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7918 (_nss_nis_getprotobynumber_r): Likewise.
7919 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7920 (_nss_nis_getsecretkey): Likewise.
7921 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7922 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7923 (_nss_nis_getpwuid_r): Likewise.
7924 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7925 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7926 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7927 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7928 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7929 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7930 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7932 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7933 (_nss_nisplus_getntohost_r): Likewise.
7934 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7935 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7936 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7937 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7939 * nis/nss_nisplus/nisplus-initgroups.c
7940 (_nss_nisplus_initgroups_dyn): Likewise.
7941 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7942 (_nss_nisplus_getnetbyaddr_r): Likewise.
7943 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7944 (_nss_nisplus_getprotobynumber_r): Likewise.
7945 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7946 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7947 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7949 * nis/nss_nisplus/nisplus-service.c
7950 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7951 (_nss_nisplus_getservbyport_r): Likewise.
7952 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7953 (_nss_nisplus_getspnam_r): Likewise.
7954 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7956 * nscd/aicache.c (addhstaiX): Likewise.
7957 * nscd/cache.c (cache_search, prune_cache): Likewise.
7958 * nscd/connections.c (register_traced_file, send_ro_fd)
7959 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7960 (main_loop_epoll): Likewise.
7961 * nscd/grpcache.c (addgrbyX): Likewise.
7962 * nscd/hstcache.c (addhstbyX): Likewise.
7963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7964 * nscd/mem.c (gc, mempool_alloc): Likewise.
7965 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7966 (addinnetgrX): Likewise.
7967 * nscd/nscd-client.h (__nscd_acquire_maplock)
7968 (__nscd_drop_map_ref): Likewise.
7969 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7970 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7971 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7973 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7975 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7976 (__nscd_get_map_ref): Likewise.
7977 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7978 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7980 * nscd/pwdcache.c (addpwbyX): Likewise.
7981 * nscd/selinux.c (preserve_capabilities): Likewise.
7982 * nscd/servicescache.c (addservbyX): Likewise.
7983 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7984 * posix/fnmatch.c (fnmatch): Likewise.
7985 * posix/getopt.c (_getopt_internal_r): Likewise.
7986 * posix/glob.c (glob, glob_in_dir): Likewise.
7987 * posix/wordexp.c (exec_comm_child): Likewise.
7988 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7989 (getanswer_r, gaih_getanswer_slice): Likewise.
7990 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7991 * resolv/res_init.c: Likewise.
7992 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7993 * resolv/res_query.c (__libc_res_nquery): Likewise.
7994 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7996 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7997 * stdio-common/perror.c (perror): Likewise.
7998 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7999 * stdio-common/tmpnam.c (tmpnam): Likewise.
8000 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8001 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8002 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8004 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8005 * stdlib/putenv.c (putenv): Likewise.
8006 * stdlib/setenv.c (__add_to_environ): Likewise.
8007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8008 * stdlib/strtol_l.c (INTERNAL): Likewise.
8009 * string/memmem.c (memmem): Likewise.
8010 * string/strerror.c (strerror): Likewise.
8011 * string/strnlen.c (__strnlen): Likewise.
8012 * string/test-memmem.c (simple_memmem): Likewise.
8013 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8014 * sunrpc/pm_getport.c (__get_socket): Likewise.
8015 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8016 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8017 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8018 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8020 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8021 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8022 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8023 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8024 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8025 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8029 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8030 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8031 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8032 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8033 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8035 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8036 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8037 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8038 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8039 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8040 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8042 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8046 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8047 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8050 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8051 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8052 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8055 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8056 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8058 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8061 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8063 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8067 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8069 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8070 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8071 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8073 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8074 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8075 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8076 * sysdeps/posix/sleep.c: Likewise.
8077 * sysdeps/posix/tempname.c: Likewise.
8078 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8079 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8081 * sysdeps/powerpc/powerpc32/dl-machine.h
8082 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8085 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8086 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8088 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8089 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8090 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8091 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8092 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8093 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8094 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8095 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8096 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8097 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8098 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8099 (elf_machine_lazy_rel): Likewise.
8100 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8101 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8102 (elf_machine_lazy_rel): Likewise.
8103 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8104 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8105 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8106 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8107 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8108 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8109 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8112 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8113 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8114 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8115 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8116 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8117 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8118 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8119 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8120 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8121 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8122 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8124 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8125 (__posix_fallocate64_l64): Likewise.
8126 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8127 (posix_fallocate): Likewise.
8128 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8131 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8132 (getifaddrs_internal): Likewise.
8133 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8134 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8135 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8136 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8137 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8138 (__posix_fallocate64_l64): Likewise.
8139 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8141 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8143 (__get_clockfreq): Likewise.
8144 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8145 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8146 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8147 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8149 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8150 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8151 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8153 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8154 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8155 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8156 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8157 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8158 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8159 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8161 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8162 (posix_fallocate): Likewise.
8163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8164 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8165 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8166 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8167 (elf_machine_rela, elf_machine_rela_relative)
8168 (elf_machine_lazy_rel): Likewise.
8169 * time/asctime.c (asctime_internal): Likewise.
8170 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8171 * time/tzset.c (__tzset_parse_tz): Likewise.
8172 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8173 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8174 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8175 * wcsmbs/wcsmbsload.h: Likewise.
8178 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8180 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8181 (arena_get2): Remove THREAD_STATS conditionals.
8182 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8183 (__malloc_stats, int): Likewise.
8185 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8187 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8188 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8190 * manual/setjmp.texi: Fix typos/grammar errors.
8192 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8193 Only return early when n is <= 0. Delete unused return statement.
8195 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8196 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8197 * debug/tst-longjmp_chk3.c: New file.
8199 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8200 (test_main): Replace code with set_fortify_handler call.
8201 * debug/test-strcpy_chk.c: Likewise.
8202 * debug/tst-chk1.c: Likewise.
8203 * debug/tst-longjmp_chk.c: Likewise.
8204 * test-skeleton.c: Include fcntl.h & paths.h
8205 (set_fortify_handler): Define.
8207 * debug/tst-longjmp_chk.c: Add header comment and include
8209 (do_test): Mark static.
8210 (TEST_FUNCTION): Define.
8212 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8213 (IP_PMTUDISC_INTERFACE): Likewise.
8214 (IP_MULTICAST_IF): Likewise.
8215 (IP_MULTICAST_TTL): Likewise.
8216 (IP_MULTICAST_LOOP): Likewise.
8217 (IP_ADD_MEMBERSHIP): Likewise.
8218 (IP_DROP_MEMBERSHIP): Likewise.
8219 (IP_UNBLOCK_SOURCE): Likewise.
8220 (IP_BLOCK_SOURCE): Likewise.
8221 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8222 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8223 (IP_MSFILTER): Likewise.
8224 (MCAST_JOIN_GROUP): Likewise.
8225 (MCAST_BLOCK_SOURCE): Likewise.
8226 (MCAST_UNBLOCK_SOURCE): Likewise.
8227 (MCAST_LEAVE_GROUP): Likewise.
8228 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8229 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8230 (MCAST_MSFILTER): Likewise.
8231 (IP_MULTICAST_ALL): Likewise.
8232 (IP_UNICAST_IF): Likewise.
8234 * timezone/Makefile: Delete $(have-ksh) check.
8235 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8236 * timezone/tzselect.ksh: Add +x mode bits.
8238 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8239 (ANON_INODE_FS_MAGIC): Likewise.
8240 (BDEVFS_MAGIC): Likewise.
8241 (BINFMTFS_MAGIC): Likewise.
8242 (BTRFS_TEST_MAGIC): Likewise.
8243 (CRAMFS_MAGIC_WEND): Likewise.
8244 (DEBUGFS_MAGIC): Likewise.
8245 (ECRYPTFS_SUPER_MAGIC): Likewise.
8246 (EXT3_SUPER_MAGIC): Likewise.
8247 (EXT4_SUPER_MAGIC): Likewise.
8248 (FUTEXFS_SUPER_MAGIC): Likewise.
8249 (HOSTFS_SUPER_MAGIC): Likewise.
8250 (HUGETLBFS_MAGIC): Likewise.
8251 (MINIX3_SUPER_MAGIC): Likewise.
8252 (MTD_INODE_FS_MAGIC): Likewise.
8253 (NILFS_SUPER_MAGIC): Likewise.
8254 (OPENPROM_SUPER_MAGIC): Likewise.
8255 (PIPEFS_MAGIC): Likewise.
8256 (PSTOREFS_MAGIC): Likewise.
8257 (QNX6_SUPER_MAGIC): Likewise.
8258 (RAMFS_MAGIC): Likewise.
8259 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8260 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8261 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8262 (SECURITYFS_MAGIC): Likewise.
8263 (SELINUX_MAGIC): Likewise.
8264 (SMACK_MAGIC): Likewise.
8265 (SOCKFS_MAGIC): Likewise.
8266 (SQUASHFS_MAGIC): Likewise.
8267 (STACK_END_MAGIC): Likewise.
8268 (TMPFS_MAGIC): Likewise.
8269 (USBDEVICE_SUPER_MAGIC): Likewise.
8270 (V9FS_MAGIC): Likewise.
8271 (XENFS_SUPER_MAGIC): Likewise.
8272 (CRAMFS_MAGIC): Fix typo in comment.
8273 (EXT2_SUPER_MAGIC): Update comment.
8274 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8276 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8278 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8279 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8280 * sysdeps/unix/sysv/linux/arm: Move directory from
8281 ports/sysdeps/unix/sysv/linux/arm.
8282 * README: Update listing for arm-*-linux-gnueabi.
8284 * README: Remove mention of am33.
8286 2014-02-07 Roland McGrath <roland@hack.frob.com>
8288 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8289 than the comma operator, to avoid "rhs of comma has no effect"
8291 (__sigfillset, __sigandset, __sigorset): Likewise.
8292 * include/signal.h (__sigemptyset): Likewise.
8293 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8295 2014-02-07 Allan McRae <allan@archlinux.org>
8297 * version.h (RELEASE): Set to "development".
8298 (VERSION): Set to "2.19.90"
8299 * NEWS: Add 2.20 section.
8301 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8304 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8306 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8308 * manual/contrib.texi: Update entry for Carlos O'Donell,
8309 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8311 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8313 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8315 * sysdeps/unix/sysv/linux/kernel-features.h
8316 [__LINUX_KERNEL_VERSION >= 0x020621]
8317 (__ASSUME_PROC_PID_TASK_COMM): Define.
8319 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8322 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8323 conversion when destination buffer does not have enough space.
8324 * libio/tst-ftell-partial-wide.c: New test case.
8325 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8327 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8328 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8329 Leonard and Allan McRae.
8331 2014-02-04 David S. Miller <davem@davemloft.net>
8333 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8336 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8365 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8367 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8368 * shlib-versions: Likewise.
8370 2014-02-04 Roland McGrath <roland@hack.frob.com>
8371 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8373 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8374 (abilist-pattern): New variable, set to %-le.abilist.
8376 * Makerules (abilist-pattern): New variable.
8377 (vpath): Use $(abilist-pattern) in place of %.abilist.
8378 (check-abi-% pattern rule): Likewise.
8379 (check-abi, update-abi): Likewise.
8381 2014-02-04 Eric Wong <normalperson@yhbt.net>
8383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8385 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8387 * manual/startup.texi: Add next, previous, and top entries for
8388 the `Program Arguments' and `Environment Variables' nodes.
8390 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8392 * manual/macros.texi: Add comments before MTASC-safety macros.
8394 * manual/users.texi: Document MTASC-safety properties.
8396 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8397 (pthread_getspecific, pthread_setspecific): Format with
8398 @deftypefun, and add @safety note.
8399 * manual/signal.texi: Move comments that analyze the above
8400 functions to their home place.
8402 2014-02-03 Allan McRae <allan@archlinux.org>
8404 * po/sl.po: Update Slovenian translation from translation project.
8406 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8408 * manual/time.texi (timegm): Add missing blank after @c.
8409 Reported by Joseph Myers <joseph@codesourcery.com>.
8411 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8413 * manual/check-safety.sh: New.
8414 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8416 * manual/terminal.texi: Document MTASC-safety properties.
8418 * manual/filesys.texi: Document MTASC-safety properties.
8420 * manual/errno.texi: Document MTASC-safety properties.
8422 * manual/intro.texi: Document safety identifiers and
8425 * manual/string.texi (wcstok): Fix prototype.
8426 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8428 * manual/time.texi: Document MTASC-safety properties.
8430 * manual/string.texi: Document MTASC-safety properties.
8432 * manual/threads.texi: Document MTASC-safety properties.
8434 * manual/stdio.texi: Document MTASC-safety properties.
8436 * manual/syslog.texi: Document MTASC-safety properties.
8438 * manual/sysinfo.texi: Document MTASC-safety properties.
8440 * manual/startup.texi: Document MTASC-safety properties.
8442 * manual/socket.texi: Document MTASC-safety properties.
8444 * manual/signal.texi: Document MTASC-safety properties.
8446 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8448 * manual/setjmp.texi: Document MTASC-safety properties.
8450 * manual/search.texi: Document MTASC-safety properties.
8452 * manual/resource.texi: Document MTASC-safety properties.
8454 * manual/process.texi: Document MTASC-safety properties.
8456 * manual/platform.texi: Document MTASC-safety properties.
8458 * manual/pipe.texi: Document MTASC-safety properties.
8460 * manual/pattern.texi: Document MTASC-safety properties.
8462 * manual/message.texi: Document MTASC-safety properties.
8465 * manual/memory.texi: Document MTASC-safety properties.
8467 * manual/math.texi: Document MTASC-safety properties.
8469 * manual/locale.texi: Document MTASC-safety properties.
8471 * manual/llio.texi: Document MTASC-safety properties.
8473 * manual/libdl.texi: New.
8475 * manual/lang.texi: Document MTASC-safety properties.
8477 * manual/job.texi: Document MTASC-safety properties.
8479 * manual/getopt.texi: Document MTASC-safety properties.
8481 * manual/ctype.texi: Document MTASC-safety properties.
8483 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8486 * csu/libc-tls.c (static_map): Remove variable.
8487 (__libc_setup_tls): Use main executable's link map for TLS data.
8488 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8489 casing for LM_ID_BASE and GL(dl_nns).
8490 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8491 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8492 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8493 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8494 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8496 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8499 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8501 * manual/debug.texi: Document MTASC-safety properties.
8503 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8506 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8507 of __x86_64__ when disabling x87 inline functions.
8509 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8511 * manual/charset.texi: Document MTASC-safety properties.
8513 * manual/crypt.texi: Document MTASC-safety properties.
8515 * manual/conf.texi: Document MTASC-safety properties.
8517 * manual/arith.texi: Document MTASC-safety properties.
8519 * manual/argp.texi: Document MTASC-safety properties.
8521 * manual/macros.texi: Introduce macros to document multi
8522 thread, asynchronous signal and asynchronous cancellation
8524 * manual/intro.texi: Introduce the properties themselves.
8526 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8528 * sysdeps/sh/sh4/Makefile: New file.
8530 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8532 * math/gen-libm-test.pl ($srcdir): New variable.
8533 ($auto_input): Use it.
8535 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8538 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8539 access beyond array bounds when parsing netgroups file.
8541 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8542 the old buffer before realloc.
8544 2014-01-27 Allan McRae <allan@archlinux.org>
8546 * po/fr.po: Update French translation from translation project.
8548 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8550 * sysdeps/sh/libm-test-ulps: Regenerate.
8552 2014-01-24 David S. Miller <davem@davemloft.net>
8554 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8556 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8559 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8561 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8564 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8565 string pointers after reallocation.
8567 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8569 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8570 __SH4A__ instead of __SH_FPU_ANY__.
8572 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8574 * sysdeps/sh/fpu_control.h: New file.
8575 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8576 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8577 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8578 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8579 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8580 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8581 * sysdeps/sh/sys/ucontext.h: Remove.
8582 * sysdeps/sh/sys: Remove directory.
8584 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8586 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8587 s390/sys/ucontext.h.
8588 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8589 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8591 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8594 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8596 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8600 Adjust the vDSO correctly for internal calls.
8601 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8603 2014-01-20 Allan McRae <allan@archlinux.org>
8605 * po/ca.po: Update Catalan translation from translation project.
8607 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8609 * sysdeps/s390/sotruss-lib.c: New file.
8611 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8615 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8616 local calls issues by not having a PLT stub required for IFUNC calls.
8617 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8619 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8621 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8622 * math/test-fpucw-static.c: Likewise.
8624 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8627 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8629 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8631 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8632 implementation for powerpc.
8634 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8637 * sysdeps/posix/system.c (__libc_system): Do not enable
8638 asynchronous cancellation.
8640 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8643 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8644 handling only for numbers special also in the IEEE case.
8646 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8648 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8650 2014-01-11 Allan McRae <allan@archlinux.org>
8652 * po/bg.po: Update Bulgarian translation from translation project.
8654 * po/de.po: Update German translation from translation project.
8656 2014-01-10 Roland McGrath <roland@hack.frob.com>
8658 * sysdeps/generic/gcc-compat.h: New file.
8660 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8662 * benchtests/asin-inputs: Correct slow inputs.
8663 * benchtests/acos-inputs: Likewise.
8665 2014-01-10 Allan McRae <allan@archlinux.org>
8667 * po:sv.po: Update Swedish translation from translation project.
8669 * po/vi.po: Update Vietnamese translation from translation project.
8671 * po/eo.po: Update Esperanto translation from translation project.
8673 * po/cs.po: Update Czech translation from translation project.
8675 * po/nl.po: Update Dutch translation from translation project.
8677 * po/pl.po: Update Polish translation from translation project.
8679 * po/ru.po: Update Russian translation from translation project.
8681 * po/uk.po: Update Ukrainian translation from translation project.
8683 2014-01-08 Brooks Moses <bmoses@google.com>
8685 * elf/dl-load.c: Fix comment typo.
8687 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8689 * po/header.pot: Rename to...
8690 * po/pot.header: ... this.
8691 * po/Makefile: Use pot.header.
8693 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8694 Maxim Kuvyrkov <maxim@kugelworks.com>
8697 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8698 SRC and DEST against LEN.
8700 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8703 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8705 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8707 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8711 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8714 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8715 for large positive arguments.
8717 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8719 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8721 * math/auto-libm-test-in: Mark various tests with
8722 xfail-rounding:ldbl-128ibm.
8723 * math/auto-libm-test-out: Regenerated.
8726 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8727 Increase overflow threshold.
8729 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8732 * stdio-common/vfprintf.c: Check for integer overflow.
8734 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8736 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8737 the first argument and return value of __tls_get_addr_internal.
8739 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8741 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8742 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8744 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8746 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8747 * sysdeps/s390/rtld-global-offsets.sym: New file.
8748 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8750 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8751 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8752 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8754 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8755 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8761 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8762 halfs of GPRs for high_gprs contexts.
8763 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8764 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8766 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8768 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8770 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8771 for high GPRs (uc_high_gprs) and for future extensions
8773 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8774 for future extensions (__reserved).
8775 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8777 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8778 SC_HIGHGPRS offset definition.
8779 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8780 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8782 * Versions.def: Add GLIBC_2.19 for libpthread.
8783 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8784 siglongjmp for libpthread with GLIBC_2.19 symver.
8785 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8786 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8787 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8788 * sysdeps/s390/__longjmp.c: New file.
8789 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8790 * sysdeps/s390/longjmp.c: New file.
8791 * sysdeps/s390/setjmp.S: New file.
8792 * sysdeps/s390/sigjmp.S: New file.
8793 * sysdeps/s390/v1-longjmp.c: New file.
8794 * sysdeps/s390/v1-setjmp.h: New file.
8795 * sysdeps/s390/v1-sigjmp.c: New file.
8796 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8797 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8799 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8801 versioned symbols for ____longjmp_chk.
8802 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8812 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8813 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8814 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8815 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8816 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8817 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8818 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8819 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8820 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8821 * sysdeps/s390/rtld-__longjmp.c: New file.
8822 * sysdeps/s390/rtld-setjmp.S: New file.
8824 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8828 Return -__logl (x) for small positive arguments without evaluating
8831 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8833 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8835 (__ptrace_peeksiginfo_args): ... this.
8836 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8837 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8840 2014-01-06 Allan McRae <allan@archlinux.org>
8842 * inet/netinet/in.h: Fix typo in comment.
8844 2014-01-05 Andreas Jaeger <aj@suse.de>
8846 * sysdeps/i386/fpu/libm-test-ulps: Update.
8848 2014-01-05 Allan McRae <allan@archlinux.org>
8850 * po/libc.pot: Regenerated.
8852 * malloc/memusagestat.c: Fix gettext call formatting.
8854 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8856 * nscd/nscd.c: Improve usage() output.
8858 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8860 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8861 * sysdeps/unix/sysv/linux/configure: Regenerated.
8862 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8863 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8865 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8868 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8869 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8871 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8874 extra tokens at end of #undef directive.
8875 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8876 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8877 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8879 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8881 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8883 * math/auto-libm-test-in: Mark various tests with
8884 xfail-rounding:ldbl-128ibm.
8885 * math/auto-libm-test-out: Regenerated.
8887 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8890 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8891 numbers with subnormal high part when calculating exponent.
8894 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8898 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8900 (__ieee754_acoshl): Use __log1pl not __log1p.
8902 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8904 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8905 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8906 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8907 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8908 (reused_arena, arena_get2): Convert to GNU style.
8909 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8910 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8911 (memalign_check, __malloc_set_state): Likewise.
8912 * malloc/mallocbug.c (main): Likewise.
8913 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8914 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8915 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8916 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8917 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8918 (__posix_memalign, malloc_info): Likewise.
8919 * malloc/malloc.h: Likewise.
8920 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8921 (mallochook, memalignhook, reallochook, mabort): Likewise.
8922 * malloc/mcheck.h: Likewise.
8923 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8924 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8925 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8926 * malloc/morecore.c (__default_morecore): Likewise.
8927 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8928 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8929 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8930 (print_and_abort): Likewise.
8931 * malloc/obstack.h: Likewise.
8932 * malloc/set-freeres.c (__libc_freeres): Likewise.
8933 * malloc/tst-mallocstate.c (main): Likewise.
8934 * malloc/tst-mtrace.c (main): Likewise.
8935 * malloc/tst-realloc.c (do_test): Likewise.
8937 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8940 * nscd/netgroupcache.c (do_notfound): New function.
8941 (addgetnetgrentX): Use it.
8944 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8945 NSS_STATUS_NOTFOUND.
8947 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8949 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8952 2014-01-01 Allan McRae <allan@archlinux.org>
8954 * scripts/update-copyrights: Update configure input file suffix.
8956 * NEWS: Update copyright year.
8957 * catgets/gencat.c: Likewise.
8958 * csu/version.c: Likewise.
8959 * debug/catchsegv.sh: Likewise.
8960 * debug/pcprofiledump.c: Likewise.
8961 * debug/xtrace.sh: Likewise.
8962 * elf/ldconfig.c: Likewise.
8963 * elf/ldd.bash.in: Likewise.
8964 * elf/pldd.c: Likewise.
8965 * elf/sotruss.ksh: Likewise.
8966 * elf/sprof.c: Likewise.
8967 * iconv/iconv_prog.c: Likewise.
8968 * iconv/iconvconfig.c: Likewise.
8969 * locale/programs/locale.c: Likewise.
8970 * locale/programs/localedef.c: Likewise.
8971 * login/programs/pt_chown.c: Likewise.
8972 * malloc/memusage.sh: Likewise.
8973 * malloc/memusagestat.c: Likewise.
8974 * malloc/mtrace.pl: Likewise.
8975 * manual/libc.texinfo: Likewise.
8976 * nscd/nscd.c: Likewise.
8977 * nss/getent.c: Likewise.
8978 * nss/makedb.c: Likewise.
8979 * posix/getconf.c: Likewise.
8980 * scripts/test-installation.pl: Likewise.
8982 * All files with FSF copyright notices: Update copyright dates
8983 using scripts/update-copyrights.
8984 * intl/plural.c: Regenerated.
8985 * locale/programs/charmap-kw.h: Likewise.
8986 * locale/programs/locfile-kw.h: Likewise.
8988 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8990 * sysdeps/unix/sysv/linux/configure: Regenerated.
8991 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8992 the linux/fanotify.h header.
8993 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8994 HAVE_LINUX_FANOTIFY_H is defined.
8996 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8998 * benchtests/cos-inputs: New inputs.
8999 * benchtests/sin-inputs: Likewise.
9001 * benchtests/atan-inputs: New inputs. Fix name of multiple
9002 precision fallback inputs.
9004 * benchtests/atanh-inputs: New inputs.
9005 * benchtests/tanh-inputs: Likewise.
9007 * benchtests/acosh-inputs: New inputs.
9008 * benchtests/asinh-inputs: Likewise.
9010 * benchtests/cosh-inputs: New inputs.
9011 * benchtests/sinh-inputs: Likewise.
9013 * benchtests/acos-inputs: Add more inputs.
9014 * benchtests/asin-inputs: Likewise.
9016 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
9019 * manual/arith.texi: Fix spelling.
9020 * manual/charset.texi: Likewise.
9021 * manual/errno.texi: Likewise.
9022 * manual/filesys.texi: Likewise.
9023 * manual/lang.texi: Likewise.
9024 * manual/llio.texi: Likewise.
9025 * manual/locale.texi: Likewise.
9026 * manual/message.texi: Likewise.
9027 * manual/resource.texi: Likewise.
9028 * manual/search.texi: Likewise.
9029 * manual/setjmp.texi: Likewise.
9030 * manual/stdio.texi: Likewise.
9031 * manual/string.texi: Likewise.
9032 * manual/sysinfo.texi: Likewise.
9033 * manual/time.texi: Likewise.
9035 2013-12-27 Carlos O'Donell <carlos@redhat.com>
9037 * po/sl.po: New file.
9039 2013-12-27 Mike Frysinger <vapier@gentoo.org>
9041 * .gitignore: Add core/.gdbinit/.gdb_history.
9043 2013-12-27 Allan McRae <allan@archlinux.org>
9046 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9047 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9049 2013-12-24 Brooks Moses <bmoses@google.com>
9051 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9052 all compilers that claim C++98 compliance, not just GCC.
9053 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9056 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9058 * NEWS: Restore accidentally deleted bug-fix entries.
9060 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9061 Ondřej Bílka <neleai@seznam.cz>
9064 * malloc/malloc.c (_int_free): Perform sanity check only if we
9067 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
9070 * manual/stdio.texi (String Input Conversions): Clarify that character
9071 classes are not supported.
9073 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9077 2013-12-22 Joseph Myers <joseph@codesourcery.com>
9080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9081 Calculate results for small negative arguments directly rather
9082 than using reflection formula with special underflow handling.
9084 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9085 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9086 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9087 (fchflags): Likewise.
9089 (setlogin): Likewise.
9090 (sigaltstack): Likewise.
9093 (sigsetmask): Likewise.
9095 (waitpid): Likewise.
9096 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9097 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9099 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9100 * sysdeps/unix/bsd/Makefile: ... here.
9101 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9102 * sysdeps/unix/bsd/Versions: ... here.
9103 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9104 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9105 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9106 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9107 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9108 * sysdeps/unix/bsd/sigblock.c: ... here.
9109 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9110 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9111 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9112 * sysdeps/unix/bsd/sigvec.c: ... here.
9113 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9114 * sysdeps/unix/bsd/tcdrain.c: ... here.
9115 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9116 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9117 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9118 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9119 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9120 * sysdeps/unix/bsd/wait.c: ... here.
9121 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9122 * sysdeps/unix/bsd/wait3.c: ... here.
9123 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9124 * sysdeps/unix/bsd/waitpid.c: ... here.
9126 2013-12-21 Joseph Myers <joseph@codesourcery.com>
9129 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9130 round-to-nearest for [!USE_AS_EXPM1L].
9131 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9132 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9133 more tests of exp and exp10. Expect some exp10 tests to miss
9134 exceptions or fail in directed rounding modes.
9135 * math/auto-libm-test-out: Regenerated.
9136 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9137 (exp10_test_tonearest): New function.
9138 (exp10_towardzero_test_data): New array.
9139 (exp10_test_towardzero): New function.
9140 (exp10_downward_test_data): New array.
9141 (exp10_test_downward): New function.
9142 (exp10_upward_test_data): New array.
9143 (exp10_test_upward): New function.
9144 (main): Call the new functions.
9145 * sysdeps/i386/fpu/libm-test-ulps: Update.
9146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9148 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9150 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9151 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9152 * math/auto-libm-test-out: Regenerated.
9153 * math/libm-test.inc (acosh_test_data): Add more tests.
9154 (atanh_test_data): Likewise.
9155 (ceil_test_data): Likewise.
9156 (copysign_test_data): Likewise.
9157 * sysdeps/i386/fpu/libm-test-ulps: Update.
9158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9160 * timezone/checktab.awk: Update from tzcode 2013i.
9161 * timezone/private.h: Likewise.
9162 * timezone/scheck.c: Likewise.
9163 * timezone/tzfile.h: Likewise.
9164 * timezone/tzselect.ksh: Likewise.
9165 * timezone/zdump.c: Likewise.
9166 * timezone/zic.c: Likewise.
9168 * math/auto-libm-test-in: Add tests of cpow.
9169 * math/auto-libm-test-out: Regenerated.
9170 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9171 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9173 (func_calc_desc): Add mpc_cc_c union field.
9174 (test_functions): Add cpow.
9175 (special_fill_2pi): New function.
9176 (special_real_inputs): Add 2pi.
9177 (calc_generic_results): Handle mpc_cc_c.
9178 * sysdeps/i386/fpu/libm-test-ulps: Update.
9179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9181 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9182 csqrt, ctan and ctanh.
9183 * math/auto-libm-test-out: Regenerated.
9184 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9185 (TEST_COND_x86): Likewise.
9186 (ccos_test_data): Use AUTO_TESTS_c_c.
9187 (ccosh_test_data): Likewise.
9188 (cexp_test_data): Likewise.
9189 (clog_test_data): Likewise.
9190 (csqrt_test_data): Likewise.
9191 (ctan_test_data): Likewise.
9192 (ctan_tonearest_test_data): Likewise.
9193 (ctan_towardzero_test_data): Likewise.
9194 (ctan_downward_test_data): Likewise.
9195 (ctan_upward_test_data): Likewise.
9196 (ctanh_test_data): Likewise.
9197 (ctanh_tonearest_test_data): Likewise.
9198 (ctanh_towardzero_test_data): Likewise.
9199 (ctanh_downward_test_data): Likewise.
9200 (ctanh_upward_test_data): Likewise.
9201 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9203 (func_calc_desc): Add mpc_c_c union field.
9204 (FUNC_mpc_c_c): New macro.
9205 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9206 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9208 (special_fill_min_subnorm_p120): New function.
9209 (special_real_inputs): Add min_subnorm_p120.
9210 (calc_generic_results): Handle mpc_c_c.
9211 * sysdeps/i386/fpu/libm-test-ulps: Update.
9212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9214 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9216 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9217 (do_sin_slow): New functions.
9218 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9219 (cslow2, csloww1, csloww2): Use the new functions.
9221 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9222 Use M to change sign of result instead of X. Assume X is
9224 (csloww1): Likewise.
9228 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9235 (sloww1): Don't adjust sign of DX.
9236 (csloww1): Likewise.
9237 (sloww2): Use X directly and don't adjust sign of DX.
9238 (csloww2): Likewise.
9240 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9242 * math/auto-libm-test-in: Add tests of cabs and carg.
9243 * math/auto-libm-test-out: Regenerated.
9244 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9245 (carg_test_data): Likewise.
9246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9248 (func_calc_desc): Add mpc_c_f union field.
9249 (test_functions): Add cabs and carg.
9250 (calc_generic_results): Handle mpc_c_f.
9252 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9253 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9254 as a macro and a compat symbol.
9255 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9256 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9257 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9258 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9259 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9260 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9262 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9264 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9266 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9268 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9270 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9272 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9273 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9276 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9280 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9282 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9283 trailing whitespace removed.
9284 * scripts/config.guess: Update to version 2013-11-29.
9285 * scripts/config.sub: Update to version 2013-10-01.
9287 * math/auto-libm-test-in: Add tests of sincos.
9288 * math/auto-libm-test-out: Regenerated.
9289 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9290 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9292 (func_calc_desc): Add mpfr_f_11 union field.
9293 (test_functions): Add sincos.
9294 (calc_generic_results): Handle mpfr_f_11.
9295 * sysdeps/i386/fpu/libm-test-ulps: Update.
9296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9298 2013-12-19 Andreas Schwab <schwab@suse.de>
9300 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9302 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9303 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9304 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9306 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9308 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9309 * sysdeps/i386/fpu/libm-test-ulps: Update.
9310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9313 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9314 round-to-nearest mode when using frndint.
9315 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9316 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9317 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9319 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9321 * math/auto-libm-test-out: Regenerated.
9322 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9323 (TEST_COND_x86): Likewise.
9324 (expm1_tonearest_test_data): New array.
9325 (expm1_test_tonearest): New function.
9326 (expm1_towardzero_test_data): New array.
9327 (expm1_test_towardzero): New function.
9328 (expm1_downward_test_data): New array.
9329 (expm1_test_downward): New function.
9330 (expm1_upward_test_data): New array.
9331 (expm1_test_upward): New function.
9332 (main): Run the new test functions.
9333 * sysdeps/i386/fpu/libm-test-ulps: Update.
9334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9336 * include/features.h: Update comment documenting feature test
9337 macros. Mention _DEFAULT_SOURCE in comment.
9338 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9339 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9340 _BSD_SOURCE and _SVID_SOURCE.
9341 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9342 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9343 !_SVID_SOURCE]: Likewise.
9344 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9345 (__USE_POSIX_IMPLICITLY): Define.
9346 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9347 (_POSIX_SOURCE): Undefine and redefine.
9348 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9349 (_POSIX_C_SOURCE): Likewise.
9350 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9351 (Feature Test Macros): Update documentation of default features.
9353 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9355 * benchtests/Makefile: Add bench-strtok.
9356 * benchtests/bench-strtok.c: New file: strtok benchtest.
9358 2013-12-19 Allan McRae <allan@archlinux.org>
9360 * manual/install.texi: Suppress menu for plain text output.
9361 * INSTALL: Regenerated.
9363 2013-12-18 Brooks Moses <bmoses@google.com>
9366 * misc/getauxval.c: Include errno.h.
9367 (__getauxval): Set errno to ENOENT if the requested type is not
9369 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9370 don't declare with __attribute_const__.
9371 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9372 * manual/startup.texi: Document that getauxval sets errno.
9374 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9376 * math/auto-libm-test-in: Add tests of jn and yn.
9377 * math/auto-libm-test-out: Regenerated.
9378 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9379 (yn_test_data): Likewise.
9380 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9382 (func_calc_desc): Add mpfr_if_f union field.
9383 (FUNC_mpfr_if_f): New macro.
9384 (test_functions): Add jn and yn.
9385 (calc_generic_results): Assert type of second input for
9386 mpfr_ff_f. Handle mpfr_if_f.
9387 (output_for_one_input_case): Disable all checking for arguments
9388 fitting floating-point types in case of an integer argument.
9389 * sysdeps/i386/fpu/libm-test-ulps: Update.
9390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9393 Don't expect fegetround reference in libm.so.
9395 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9397 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9398 $(config-cflags-nofma).
9400 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9402 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9403 * math/auto-libm-test-out: Regenerated.
9406 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9407 to determine exponent and adjust argument to have exponent of -1.
9408 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9410 * math/auto-libm-test-out: Regenerated.
9411 * sysdeps/i386/fpu/libm-test-ulps: Update.
9412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9414 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9416 * manual/probes.texi: Remove cases when per-thread arenas are
9419 2013-12-18 Andreas Schwab <schwab@suse.de>
9421 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9422 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9423 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9424 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9425 * sysdeps/i386/i686/multiarch/Makefile: Update.
9426 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9428 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9430 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9431 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9433 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9436 Support TZ transition times < 00:00:00.
9437 This is needed for version-3 tz-format files; it supports time
9438 stamps past 2037 for America/Godthab (the only entry in the tz
9439 database for which this change is relevant).
9440 * manual/time.texi (TZ Variable): Document transition times
9441 from -167:59:59 through -00:00:01.
9442 * time/tzset.c (tz_rule): Time of day is now signed.
9443 (__tzset_parse_tz): Parse negative time of day.
9445 Document TZ transition times >= 25:00:00.
9446 * manual/time.texi (TZ Variable): Document transition times from
9447 25:00:00 through 167:59:59. These are already supported, and this
9448 support will help with version-3 tz-format files.
9450 * manual/time.texi (TZ Variable): Modernize North America example
9451 to reflect current (i.e., 2007-and-later) daylight saving rules.
9453 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9455 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9457 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9458 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9461 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9462 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9463 * sysdeps/unix/bsd/clock.c: Likewise.
9464 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9465 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9466 * sysdeps/unix/bsd/init-posix.c: Likewise.
9467 * sysdeps/unix/bsd/poll.c: Likewise.
9468 * sysdeps/unix/bsd/ptsname.c: Likewise.
9469 * sysdeps/unix/bsd/seekdir.c: Likewise.
9470 * sysdeps/unix/bsd/setegid.c: Likewise.
9471 * sysdeps/unix/bsd/seteuid.c: Likewise.
9472 * sysdeps/unix/bsd/setgid.c: Likewise.
9473 * sysdeps/unix/bsd/setrgid.c: Likewise.
9474 * sysdeps/unix/bsd/setruid.c: Likewise.
9475 * sysdeps/unix/bsd/setsid.c: Likewise.
9476 * sysdeps/unix/bsd/setuid.c: Likewise.
9477 * sysdeps/unix/bsd/sigaction.c: Likewise.
9478 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9479 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9480 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9481 * sysdeps/unix/bsd/telldir.c: Likewise.
9482 * sysdeps/unix/bsd/times.c: Likewise.
9483 * sysdeps/unix/bsd/usleep.c: Likewise.
9485 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9486 ($(objpfx)libbsd-compat.a): Remove rule.
9488 * include/features.h (__FAVOR_BSD): Do not define.
9489 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9490 features conflicting with POSIX.
9491 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9492 (_BSD_SOURCE): Remove description of not being a subset of other
9493 feature test macros.
9494 * manual/job.texi (getpgrp): Do not document BSD version.
9495 (getpgid): Do not document by reference to BSD getpgrp.
9496 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9497 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9498 * signal/signal.h [__FAVOR_BSD]: Likewise.
9499 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9500 instead of making contents conditional on [__FAVOR_BSD].
9501 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9503 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9507 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9510 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9511 values below 2**-450, not 2**-500.
9512 * math/auto-libm-test-in: Don't allow spurious underflow from
9514 * math/auto-libm-test-out: Regenerated.
9518 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9519 values of ha and hb and sort them after adjusting subnormal
9521 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9523 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9524 values of ea and eb and sort them after adjusting subnormal
9526 * math/auto-libm-test-in: Do not expect some hypot tests of
9527 subnormals to fail. Add more hypot tests.
9528 * math/auto-libm-test-out: Regenerated.
9530 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9533 * sysdeps/sh/s_fma.c: New file.
9534 * sysdeps/sh/s_fmaf.c: New file.
9535 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9537 * sysdeps/sh/Implies: Add sh/soft-fp.
9539 2013-12-16 Roland McGrath <roland@hack.frob.com>
9541 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9542 level of indirection to members `objname', `errstring', `malloced'.
9543 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9544 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9545 it as the __longjmp argument (just pass 1 instead).
9546 (_dl_catch_error): Initialize C with argument pointers and address of
9547 volatile local ERRCODE rather than copying values out of C at return.
9549 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9551 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9552 * math/auto-libm-test-out: Regenerated.
9553 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9554 (hypot_test_data): Likewise.
9555 (pow_test_data): Likewise.
9556 (pow_tonearest_test_data): Likewise.
9557 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9559 (func_calc_desc): Add mpfr_ff_f union field.
9560 (FUNC_mpfr_ff_f): New macro.
9561 (test_functions): Add atan2, hypot and pow.
9562 (special_fill_min): New function.
9563 (special_fill_minus_min): Likewise.
9564 (special_fill_min_subnorm): Likewise.
9565 (special_fill_minus_min_subnorm): Likewise.
9566 (special_real_inputs): Add min, -min, min_subnorm and
9568 (calc_generic_results): Handle mpfr_ff_f.
9569 * sysdeps/i386/fpu/libm-test-ulps: Update.
9570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9572 2013-12-16 Will Newton <will.newton@linaro.org>
9574 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9575 (Aligned Memory Blocks): Add documentation for aligned_alloc
9576 and suggest it as an alternative to posix_memalign.
9577 (Hooks for Malloc): Document __memalign_hook is also called
9578 for aligned_alloc. (Summary of Malloc): Add summary for
9579 aligned alloc. Document __memalign_hook is also called
9582 2013-12-16 Will Newton <will.newton@linaro.org>
9584 * manual/memory.texi (Malloc Examples): Clarify default
9585 alignment documentation. Suggest posix_memalign rather
9586 than memalign or valloc.
9587 (Aligned Memory Blocks): Remove suggestion to use memalign
9588 or valloc. Remove obsolete comment about BSD.
9589 Document memalign errno values and mark the function obsolete.
9590 Document posix_memalign returned error codes. Mark valloc
9591 as obsolete. (Hooks for Malloc): __memalign_hook is also
9592 called for posix_memalign and valloc.
9593 (Summary of Malloc): Add posix_memalign to function summary.
9594 __memalign_hook is also called for posix_memalign and valloc.
9596 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9598 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9602 (sloww): Use mynumber union. Expand ternary operator into
9604 (cslow): use mynumber union.
9606 2013-12-16 Allan McRae <allan@archlinux.org>
9608 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9609 * configure: Regenerated.
9611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9614 * configure.ac: Added --enable-maintainer-mode. Check for
9615 autoconf when enabled.
9616 * configure: Regenerated.
9618 * nscd/nscd.service: New file.
9619 * nscd/nscd.tmpfiles: New file.
9621 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9624 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9625 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9626 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9627 (strstr): Add __strstr_sse2_unaligned ifunc.
9628 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9629 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9630 (strcasestr): Remove __strcasestr_sse42 ifunc.
9631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9635 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9637 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9638 * sysdeps/sh/bits/fenv.h: ... here.
9639 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9641 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9643 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9646 hypotf multiarch implementations.
9647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9649 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9650 multiarch hypot for PPC64.
9651 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9654 multiarch hypotf for PPC64.
9656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9657 modff multiarch implementations.
9658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9661 multiarch modf for PPC64.
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9665 multiarch modff for PPC64.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9668 and logl multiarch implementations.
9669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9672 multiarch logb for PPC64.
9673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9676 multiarch logb for PPC64.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9680 multiarch logb for PPC64.
9682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9683 isinff multiarch implementation.
9684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9688 multiarch isinf for PPC64.
9689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9692 multiarch isinff for PPC64.
9694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9695 finitef multiarch implementation.
9696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9700 multiarch finite for PPC64.
9701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9704 multiarch finitef for PPC64.
9706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9707 lrint multiarch implementation.
9708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9712 multiarch llrint for PPC64.
9713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9714 multiarch lrint for PPC64.
9716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9717 copysignf multiarch implementation.
9718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9723 multiarch copysign for PPC64.
9724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9725 multiarch copysignf for PPC64.
9727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9728 multiarch implementation.
9729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9737 multiarch llround for PPC64.
9738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9739 multiarch trunc for PPC64.
9740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9741 multiarch truncf for PPC64.
9743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9744 multiarch implementation.
9745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9753 multiarch llround for PPC64.
9754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9755 multiarch round for PPC64.
9756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9757 multiarch roundf for PPC64.
9759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9760 multiarch implementation.
9761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9769 multiarch llround for PPC64.
9770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9771 multiarch floor for PPC64.
9772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9773 multiarch floorf for PPC64.
9775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9776 multiarch implementation.
9777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9785 multiarch llround for PPC64.
9786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9787 multiarch ceil for PPC64.
9788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9789 multiarch ceilf for PPC64.
9791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9792 multiarch implementation.
9793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9800 multiarch llround for PPC64.
9801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9802 multiarch lround for PPC64.
9804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9805 multiarch implementation.
9806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9813 multiarch isnan for PPC64.
9814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9815 multiarch isnanf for PPC64.
9817 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9818 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9819 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9820 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9821 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9824 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9825 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9830 multiarch implementations.
9831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9832 (__libc_ifunc_impl_list): Likewise.
9833 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9834 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9835 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9836 multiarch stpcpy for PPC64.
9838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9839 multiarch implementations.
9840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9841 (__libc_ifunc_impl_list): Likewise.
9842 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9843 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9844 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9845 multiarch strcpy for PPC64.
9847 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9848 redefine function name.
9849 (_wordcopy_fwd_dest_aligned): Likewise.
9850 (_wordcopy_bwd_aligned): Likewise.
9851 (_wordcopy_bwd_dest_aligned): Likewise.
9852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9853 multiarch implementations.
9854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9855 (__libc_ifunc_impl_list): Likewise.
9856 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9857 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9858 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9859 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9860 multiarch wcscpy for PPC64.
9862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9863 multiarch implementations.
9864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9865 (__libc_ifunc_impl_list): Likewise.
9866 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9867 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9868 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9869 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9870 multiarch wcscpy for PPC64.
9872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9873 multiarch implementations.
9874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9875 (__libc_ifunc_impl_list): Likewise.
9876 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9877 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9878 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9879 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9880 multiarch wcsrchr for PPC64.
9882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9883 multiarch implementations.
9884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9885 (__libc_ifunc_impl_list): Likewise.
9886 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9887 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9888 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9889 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9890 multiarch wcschr for PPC64.
9892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9893 multiarch implementations.
9894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9895 (__libc_ifunc_impl_list): Likewise.
9896 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9897 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9898 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9899 multiarch strchrnul for PPC64.
9901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9904 (__libc_ifunc_impl_list): Likewise.
9905 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9906 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9907 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9908 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9914 (__libc_ifunc_impl_list): Likewise.
9915 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9916 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9917 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9918 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9922 multiarch implementations.
9923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9924 (__libc_ifunc_impl_list): Likewise.
9925 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9926 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9927 strncasecmp for PPC64.
9928 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9929 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9930 multiarch strncasecmp_l for PPC64.
9932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9933 multiarch implementations.
9934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9935 (__libc_ifunc_impl_list): Likewise.
9936 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9937 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9938 multiarch strcasecmp for PPC64.
9939 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9941 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9942 multiarch strcasecmp_l for PPC64.
9944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9947 (__libc_ifunc_impl_list): Likewise.
9948 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9949 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9950 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9956 (__libc_ifunc_impl_list): Likewise.
9957 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9958 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9959 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9965 (__libc_ifunc_impl_list): Likewise.
9966 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9967 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9968 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9969 rawmemrchr for PPC64.
9971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9974 (__libc_ifunc_impl_list): Likewise.
9975 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9976 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9977 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9983 (__libc_ifunc_impl_list): Likewise.
9984 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9985 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9986 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9992 (__libc_ifunc_impl_list): Likewise.
9993 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9994 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9995 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9998 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9999 avoid cretion of __bzero symbol.
10000 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10002 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10004 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10007 multiarch implementations.
10008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10009 (__libc_ifunc_impl_list): Likewise.
10010 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10011 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10012 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10013 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10015 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10016 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10017 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10018 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10019 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10021 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10023 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10027 (__libc_ifunc_impl_list): Likewise.
10028 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10029 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10030 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10031 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10035 multiarch for POWER/PPC64.
10036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10037 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10038 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10039 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10040 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10041 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10042 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10043 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10044 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10047 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10048 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10049 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10050 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10051 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10052 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10054 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10055 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10056 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10057 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10058 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10059 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10060 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10061 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10070 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10072 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10074 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10076 * benchtests/Makefile (bench): Add exp2 and log2.
10077 (LDLIBS-bench-exp2): Add -lm.
10078 (LDLIBS-bench-log2): Likewise.
10079 * benchtests/exp2-inputs: New inputs file.
10080 * benchtests/log2-inputs: New inputs file.
10081 * benchtests/log-inputs: Add new inputs.
10082 * benchtests/tan-inputs: Likewise.
10084 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10086 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10088 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10089 (csloww2): ... from here.
10091 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10092 instead of structures.
10093 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10094 (POLYNOMIAL): Likewise.
10095 (TAYLOR_SLOW): Likewise.
10101 (sloww1); Likewise.
10102 (sloww2): Likewise.
10103 (bsloww1): Likewise.
10104 (bsloww2): Likewise.
10105 (cslow2): Likewise.
10106 (csloww): Likewise.
10107 (csloww1): Likewise.
10108 (csloww2): Likewise.
10110 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
10112 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10113 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10114 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10115 * malloc/hooks.c (realloc_check): Likewise.
10117 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10118 * malloc/arena.c: Remove PER_THREAD conditional.
10119 [!PER_THREAD]: Remove code.
10120 (ptmalloc_unlock_all2): Likewise.
10121 (ptmalloc_init): Likewise.
10122 (_int_new_arena): Likewise.
10123 (arena_get2): Likewise.
10124 * malloc/hooks.c (__malloc_get_state): Likewise.
10125 (__malloc_set_state): Likewise.
10126 * malloc/malloc.c: Likewise.
10127 (struct malloc_state): Likewise.
10128 (struct malloc_par): Likewise.
10129 (__libc_realloc): Likewise.
10130 (__libc_mallopt): Likewise.
10132 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10134 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10136 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10138 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10139 macro to a function. Check for zero perturb_byte.
10140 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10142 * malloc/malloc.c: (force_reg): Remove.
10143 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10144 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10145 force_reg by atomic_forced_read.
10146 * malloc/arena.c (ptmalloc_init): Likewise.
10147 * malloc/hooks.c (top_check): Likewise.
10149 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10153 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10157 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10159 * math/auto-libm-test-in: Add tests of lgamma.
10160 * math/auto-libm-test-out: Regenerated.
10161 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10162 (M_LOG_2_SQRT_PIl): Likewise.
10163 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10164 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10166 (func_calc_desc): Add mpfr_f_f1 union field.
10167 (ARGS1): New macro.
10175 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10176 (test_functions): Add lgamma.
10177 (calc_generic_results): Handle mpfr_f_f1.
10178 * sysdeps/i386/fpu/libm-test-ulps: Update.
10179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10181 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10183 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10184 __mpn_add_n for PowerPC64/POWER7.
10185 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10186 __mpn_sub_n for PowerPC64/POWER7.
10188 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10189 __mpn_addmul_1 for PowerPC64.
10190 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10191 __mpn_submul_1 for PowerPC64.
10192 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10194 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10197 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10200 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10202 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10204 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10206 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10207 add multiarch folders.
10208 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10209 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10210 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10211 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10212 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10213 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10214 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10215 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10216 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10217 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10218 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10227 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10233 multiarch __ieee754_hypot for PowerPC32.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10239 multiarch __ieee754_hypotf for PowerPC32.
10241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10242 long_double_symbol only if __logbl is defined.
10243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10244 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10246 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10248 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10250 path for implementation.
10251 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10252 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10254 logb, and logbl multiarch implementations for PowerPC32.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10260 multiarch logb for PowerPC32.
10261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10266 multiarch logbf for PowerPC32.
10267 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10271 multiarch logbl implementation for PowerPC32.
10273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10274 and modff multiarch implementations.
10275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10280 multiarch modf for PowerPC32.
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10286 multiarch modff for PowerPC32.
10288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10289 and lrintf multiarch implementations.
10290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10295 multiarch lrint for PowerPC32.
10296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10297 file: multiarch lrintf for PowerPC32.
10299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10300 and lroundf multiarch implementations.
10301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10308 multiarch lround for PowerPC32.
10309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10310 file: multiarch lroundf for PowerPC32.
10312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10313 copysign and copysignf multiarch implementations.
10314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10319 file: multiarch copysign for PowerPC32.
10320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10321 file: multiarch copysignf for PowerPC32.
10323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10324 and truncf multiarch implementations.
10325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10330 multiarch trunc for PowerPC32.
10331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10336 multiarch truncf for PowerPC32.
10338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10339 and roundf multiarch implementations.
10340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10345 multiarch round for PowerPC32.
10346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10351 multiarch roundf for PowerPC32.
10353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10354 and floorf multiarch implementations.
10355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10360 multiarch floor for PowerPC32.
10361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10366 multiarch floorf for PowerPC32.
10368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10369 and ceilf multiarch implementations.
10370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10375 multiarch ceil for PowerPC32.
10376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10381 multiarch ceilf for PowerPC32.
10383 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10385 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10386 FINITEF is defined.
10387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10388 and finitef multiarch implementations.
10389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10394 multiarch finite for PowerPC32.
10395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10398 file: multiarch finitef for PowerPC32.
10400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10401 and isinff multiarch implementations.
10402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10407 multiarch isinf for PowerPC32.
10408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10411 multiarch isinff for PowerPC32.
10413 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10414 alias when __isnan is defined.
10415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10416 and isnanf multiarch implementations.
10417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10426 multiarch isnan for PowerPC32.
10427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10432 multiarch isnanf for PowerPC32.
10434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10435 and sqrtf multiarch implementations.
10436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10441 multiarch sqrt for PowerPC32.
10442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10447 multiarch sqrtf for PowerPC32.
10449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10450 and llroundf multiarch implementations.
10451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10458 file: multiarch llround for PowerPC32.
10459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10460 file: multiarch llroundf for PowerPC32.
10462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10463 multiarch PowerPC32 fpu implementations.
10464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10469 multiarch llrint for PowerPC32.
10470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10483 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10486 multiarch wordcopy for PPC32.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10490 (__libc_ifunc_impl_list): Likewise.
10491 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10492 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10493 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10494 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10495 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10496 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10498 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10506 multiarch wcscpy for PPC32.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10510 (__libc_ifunc_impl_list): Likewise.
10511 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10512 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10513 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10514 sysdeps/powerpc/power6/wcscpy.c.
10516 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10524 multiarch wcsrchr for PPC32.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10528 (__libc_ifunc_impl_list): Likewise.
10529 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10530 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10531 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10532 sysdeps/powerpc/power6/wcsrchr.c.
10534 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10540 multiarch wcschr for PPc32.
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10544 (__libc_ifunc_impl_list): Likewise.
10545 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10546 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10547 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10548 sysdeps/powerpc/power6/wcschr.c.
10550 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10551 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10553 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10554 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10555 file: multiarch strchr for PPC32.
10556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10559 (__libc_ifunc_impl_list): Likewise.
10561 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10563 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10567 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10568 multiarch strchrnul for PPC32.
10569 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10571 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10572 (__libc_ifunc_impl_list): Likewise.
10574 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10576 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10577 multiarch strncasecmp for PPC32.
10578 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10580 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10581 multiarch strncasecmp_l for PPC32.
10582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10583 strncasecmp multiarch objects.
10584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10585 (__libc_ifunc_impl_list): Likewise.
10587 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10589 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10590 multiarch strncasecmp for PPC32.
10591 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10593 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10594 multiarch strcasecmp_l for PPC32.
10595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10598 (__libc_ifunc_impl_list): Likewise.
10600 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10602 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10604 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10605 multiarch strncmp for PPC32.
10606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10609 (__libc_ifunc_impl_list): Likewise.
10611 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10612 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10614 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10615 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10619 (__libc_ifunc_impl_list): Likewise.
10621 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10623 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10625 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10629 (__libc_ifunc_impl_list): Likewise.
10631 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10633 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10635 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10636 multiarch rawmemchr for PPC32.
10637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10640 (__libc_ifunc_impl_list): Likewise.
10642 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10644 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10646 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10647 file: memrchr multiarch for PPC32.
10648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10651 (__libc_ifunc_impl_list): Likewise.
10653 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10654 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10656 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10657 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10658 multiarch memchr for PPC32.
10659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10662 (__libc_ifunc_impl_list): Likewise.
10664 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10665 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10667 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10669 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10670 file: multiarch mempcpy for PPC32.
10671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10674 (__libc_ifunc_impl_list): Likewise.
10676 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10677 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10678 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10679 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10680 multiarch bzero for PPC32.
10681 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10683 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10685 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10686 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10687 file: multiarch memset for PPC32.
10688 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10690 memset multiarch objects.
10691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10692 (__libc_ifunc_impl_list): Likewise.
10694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10696 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10699 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10703 (__libc_ifunc_impl_list): Likewise.
10705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10707 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10709 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10711 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10714 multiarch memcpy for PPC32.
10715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10717 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10718 (__libc_ifunc_impl_list): Likewise.
10720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10721 support multiarch for POWER/PPC32.
10722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10724 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10726 Implies file to make multiarch folder appers before the fpu and
10727 default folder for power4 configuration.
10729 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10731 * scripts/bench.pl: Append volatile keyword to type.
10733 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10735 * sysdeps/sh/sotruss-lib.c: New file.
10736 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10738 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10742 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10745 * math/w_tgamma.c: Include <errno.h>.
10746 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10747 * math/w_tgammaf.c: Include <errno.h>.
10748 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10749 * math/w_tgammal.c: Include <errno.h>.
10750 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10751 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10752 underflow. Add more tgamma tests.
10753 * math/auto-libm-test-out: Regenerated.
10754 * sysdeps/i386/fpu/libm-test-ulps: Update.
10755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10758 sin, sinh, tan, tanh, tgamma, y0 and y1.
10759 * math/auto-libm-test-out: Regenerated.
10760 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10761 (TEST_COND_x86): Likewise.
10762 (M_E2l): Remove macro.
10764 (M_2_SQRT_PIl): Likewise.
10765 (M_SQRT_PIl): Likewise.
10766 (M_1_DIV_El): Likewise.
10767 (log_test_data): Use AUTO_TESTS_f_f.
10768 (log10_test_data): Likewise.
10769 (log1p_test_data): Likewise.
10770 (log2_test_data): Likewise.
10771 (sin_test_data): Likewise.
10772 (sin_tonearest_test_data): Likewise.
10773 (sin_towardzero_test_data): Likewise.
10774 (sin_downward_test_data): Likewise.
10775 (sin_upward_test_data): Likewise.
10776 (sinh_test_data): Likewise.
10777 (sinh_tonearest_test_data): Likewise.
10778 (sinh_towardzero_test_data): Likewise.
10779 (sinh_downward_test_data): Likewise.
10780 (sinh_upward_test_data): Likewise.
10781 (tan_test_data): Likewise.
10782 (tan_tonearest_test_data): Likewise.
10783 (tan_towardzero_test_data): Likewise.
10784 (tan_downward_test_data): Likewise.
10785 (tan_upward_test_data): Likewise.
10786 (tanh_test_data): Likewise.
10787 (tgamma_test_data): Likewise.
10788 (y0_test_data): Likewise.
10789 (y1_test_data): Likewise.
10790 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10791 (special_real_inputs): Add pi/4.
10792 * sysdeps/i386/fpu/libm-test-ulps: Update.
10793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10795 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10798 "longjmp_target" static probes.
10799 (__longjmp): Rename to __longjmp_symbol.
10800 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10801 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10802 on which longjmp to generate.
10803 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10804 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10806 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10807 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10808 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10809 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10810 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10811 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10813 __longjmp_symbol based on which __longjmp to generate.
10814 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10816 (setjmp): Rename to setjmp_symbol.
10817 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10818 (_setjmp): Rename to _setjmp_symbol.
10819 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10820 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10821 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10822 which setjmp to generate.
10823 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10824 "longjmp_target" static probes.
10826 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10828 * benchtests/README: Add note about output arguments.
10829 * benchtests/bench-sincos.c: Remove file.
10830 * benchtests/sincos-inputs: New file.
10831 * scripts/bench.pl: Identify output arguments and define
10832 static variables for them.
10834 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10837 * Makefile (INSTALL): Add install-plain.texi as the primary
10839 * manual/install-plain.texi: New file.
10840 * manual/install.texi: Include node directive only for
10841 non-plaintext output.
10843 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10845 * stdlib/longlong.h: Update from GCC.
10849 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10850 * math/w_j0f.c (y0f): Likewise.
10851 * math/w_j0l.c (__y0l): Likewise.
10852 * math/w_j1.c (y1): Likewise.
10853 * math/w_j1f.c (y1f): Likewise.
10854 * math/w_j1l.c (__y1l): Likewise
10855 * math/w_jn.c (yn): Likewise.
10856 * math/w_jnf.c (ynf): Likewise.
10857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10858 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10859 value for Bessel function domain errors outside _SVID_ mode.
10860 Adjust sign of return value for yn (negative integer, 0).
10861 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10862 by zero in return for negative x and set sign appropriately for
10864 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10865 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10866 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10867 expectations in error cases.
10868 (y1_test_data): Likewise.
10869 (yn_test_data): Likewise.
10870 * sysdeps/i386/fpu/libm-test-ulps: Update.
10871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10873 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10875 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10876 "64" to "64-v1". Add "64-v2".
10877 (abi-64-options): Rename to ...
10878 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10879 (abi-64-condition): Rename to ...
10880 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10881 (abi-64-ld-soname): Rename to ...
10882 (abi-64-v1-ld-soname): ... this.
10883 (abi-64-v2-options): Define.
10884 (abi-64-v2-condition): Likewise.
10885 (abi-64-v2-ld-soname): Likewise.
10886 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10887 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10892 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10893 Alan Modra <amodra@gmail.com>
10895 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10896 New versions for use with the ELFv2 ABI.
10897 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10898 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10900 (struct La_ppc64v2_retval): Likewise.
10901 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10902 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10903 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10904 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10905 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10906 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10907 Do not save or restore CR.
10908 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10909 (_dl_profile_resolve): Do no save or restore CR. Support extended
10910 return values for ELFv2 ABI. Fix location of FPR return registers.
10911 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10912 updated values for _CALL_ELF == 2.
10913 (La_regs, La_retval, int_retval): Likewise.
10915 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10917 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10918 (FRAME_MIN_SIZE_PARM): Likewise.
10919 (FRAME_BACKCHAIN): Likewise.
10920 (FRAME_CR_SAVE): Likewise.
10921 (FRAME_LR_SAVE): Likewise.
10922 (FRAME_TOC_SAVE): Likewise.
10923 (FRAME_PARM_SAVE): Likewise.
10924 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10925 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10926 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10927 (call_mcount_parm_offset): New macro.
10928 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10929 (PROF): Use symbolic stack frame offsets.
10930 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10931 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10932 Redefine in terms of FRAME_MIN_SIZE.
10933 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10934 (_dl_profile_resolve): Likewise. Update comment.
10935 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10936 symbols stack frame offsets.
10937 (__sigsetjmp): Likewise.
10938 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10939 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10940 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10941 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10944 (FRAME_BACKCHAIN): Remove.
10945 (FRAME_CR_SAVE): Likewise.
10946 (FRAME_LR_SAVE): Likewise.
10947 (FRAME_COMPILER_DW): Likewise.
10948 (FRAME_LINKER_DW): Likewise.
10949 (FRAME_TOC_SAVE): Likewise.
10950 (FRAME_PARM_SAVE): Likewise.
10951 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10952 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10953 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10955 (CHECK_SP): Use symbolic stack frame offsets.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10957 zone" instead of caller's parameter save area for temp storage.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10959 Likewise. Also, use symbolic stack frame offsets.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10961 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10962 our own stack frame instead of the caller's.
10963 (__socket): Use symbolic stack frame offsets.
10965 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10966 Alan Modra <amodra@gmail.com>
10968 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10970 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10971 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10972 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10974 (elf_machine_fixup_plt): Call it.
10975 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10977 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10978 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10979 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10980 r2 before calling target.
10982 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10983 Alan Modra <amodra@gmail.com>
10985 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10986 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10987 versions of macros to support ELFv2 ABI.
10988 (LOCALENTRY): New macro.
10989 (ENTRY, EALIGN): Use it.
10990 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10991 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10992 fall through into ENTRY entry point.
10993 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10994 Only define if _CALL_ELF != 2.
10996 (elf_machine_matches_host): Verify ABI version matches.
10997 (RTLD_START): Use LOCALENTRY.
10998 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10999 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11000 (PLT_ENTRY_WORDS): New macro.
11001 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11002 (elf_machine_runtime_setup): Support ELFv2 ABI.
11003 (elf_machine_fixup_plt): Likewise.
11004 (elf_machine_plt_conflict): Likewise.
11005 (resolve_ifunc): Likewise.
11006 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11010 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11012 (makecontext): Support ELFv2 ABI.
11013 * elf/elf.h (EF_PPC64_ABI): Define.
11015 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11017 * sysdeps/powerpc/powerpc64/sysdep.h
11018 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11019 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11020 (ENTRY) [ASSEMBLER]: ... but instead here ...
11021 (EALIGN) [ASSEMBLER]: ... and here.
11022 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11023 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11024 (ENTRY_2) [!ASSEMBLER]: Use it.
11025 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11026 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
11027 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11028 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11029 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11031 Use PPC64_LOAD_FUNCPTR.
11033 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11035 2013-12-04 Alan Modra <amodra@gmail.com>
11037 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11038 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11039 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11040 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11043 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11044 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11045 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11046 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11047 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11049 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11052 (__makecontext): Fix incorrect CFI when backtracing out of
11053 context created via makecontext.
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11055 (__setcontext): Fix incorrect CFI during switch to new context.
11056 (__novec_setcontext): Likewise.
11058 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11061 * time/strptime_l.c (__strptime_internal): Allow modifiers
11063 * time/tst-strptime.c (day_tests): Add testcase.
11065 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11067 * scripts/bench.pl: Skip over blank lines.
11069 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11072 * manual/time.texi (Calendar Time): Clarify what timezone functions
11075 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11079 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
11081 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11083 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11084 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11085 * debug/memset_chk.c (__memset_chk): Likewise.
11086 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11087 * debug/strncpy_chk.c: Likewise.
11089 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11093 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11094 (__ieee754_exp): For possibly underflowing results, check size of
11095 result and force underflow exception if required.
11096 * math/auto-libm-test-in: Add more tests of exp.
11097 * math/auto-libm-test-out: Regenerated.
11098 * sysdeps/i386/fpu/libm-test-ulps: Update.
11099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11102 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11103 * math/w_exp2f.c (__exp2f): Likewise.
11104 * math/w_exp2l.c (__exp2l): Likewise.
11105 * math/auto-libm-test-in: Do not allow missing errno on exp2
11107 * math/auto-libm-test-out: Regenerated.
11109 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
11112 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11113 handle filename validation.
11114 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11117 2013-12-03 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11121 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11122 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11124 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11125 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11126 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11128 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11129 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11130 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11131 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11132 Add more erfc tests.
11133 * math/auto-libm-test-out: Regenerated.
11134 * sysdeps/i386/fpu/libm-test-ulps: Update.
11135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11137 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11138 exp2, expm1, j0 and j1.
11139 * math/auto-libm-test-out: Regenerated.
11140 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11141 (erfc_test_data): Likewise.
11142 (exp_test_data): Likewise.
11143 (exp_tonearest_test_data): Likewise.
11144 (exp_towardzero_test_data): Likewise.
11145 (exp_downward_test_data): Likewise.
11146 (exp_upward_test_data): Likewise.
11147 (exp10_test_data): Likewise.
11148 (exp2_test_data): Likewise.
11149 (expm1_test_data): Likewise.
11150 (j0_test_data): Likewise.
11151 (j1_test_data): Likewise.
11152 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11153 (input_flag_type): Add flag_xfail_rounding.
11154 (input_flags): Add xfail-rounding.
11155 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11156 (output_for_one_input_case): Handle flag_xfail_rounding.
11157 * sysdeps/i386/fpu/libm-test-ulps: Update.
11158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11160 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11163 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11166 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11169 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11170 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11171 (STAP_PROBE0): New macro.
11172 (STAP_PROBE1): Likewise.
11173 (STAP_PROBE2): Likewise.
11174 (STAP_PROBE3): Likewise.
11175 (STAP_PROBE4): Likewise.
11177 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11179 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11181 2013-12-02 Steve Ellcey <sellcey@mips.com>
11183 * benchtests/Makefile (bench): Add sqrt.
11184 (LDLIBS-bench-sqrt): New.
11185 * benchtests/sqrt-input: New.
11187 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11189 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11190 (GAIH_EAI): Likewise.
11191 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11192 (gaih_inet): Likewise.
11193 (getaddrinfo): Don't use GAIH_EAI.
11195 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11196 (struct gaih): Remove definition.
11198 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11200 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11201 Use HERRNOP directly.
11203 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11207 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11209 * math/gen-auto-libm-tests.c (test_functions): Add more
11210 single-argument functions.
11211 (special_fill_pi_2): New function.
11212 (special_fill_minus_pi_2): Likewise.
11213 (special_fill_pi_6): Likewise.
11214 (special_fill_minus_pi_6): Likewise.
11215 (special_fill_pi_3): Likewise.
11216 (special_fill_2pi_3): Likewise.
11217 (special_fill_e): Likewise.
11218 (special_fill_1_e): Likewise.
11219 (special_fill_e_minus_1): Likewise.
11220 (special_real_inputs): Add more special inputs.
11221 (output_for_one_input_case): Do not require ERANGE on underflow to
11222 zero if round-to-nearest result does not underflow to zero, unless
11223 exact results required.
11224 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11225 atan, atanh, cbrt, cos and cosh.
11226 * math/auto-libm-test-out: Regenerated.
11227 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11228 (acos_tonearest_test_data): Likewise.
11229 (acos_towardzero_test_data): Likewise.
11230 (acos_downward_test_data): Likewise.
11231 (acos_upward_test_data): Likewise.
11232 (acosh_test_data): Likewise.
11233 (asin_test_data): Likewise.
11234 (asin_tonearest_test_data): Likewise.
11235 (asin_towardzero_test_data): Likewise.
11236 (asin_upward_test_data): Likewise.
11237 (asinh_test_data): Likewise.
11238 (atan_test_data): Likewise.
11239 (atanh_test_data): Likewise.
11240 (cbrt_test_data): Likewise.
11241 (cos_test_data): Likewise.
11242 (cos_tonearest_test_data): Likewise.
11243 (cos_towardzero_test_data): Likewise.
11244 (cos_downward_test_data): Likewise.
11245 (cos_upward_test_data): Likewise.
11246 (cosh_test_data): Likewise.
11247 (cosh_tonearest_test_data): Likewise.
11248 (cosh_towardzero_test_data): Likewise.
11249 (cosh_downward_test_data): Likewise.
11250 (cosh_upward_test_data): Likewise.
11251 * sysdeps/i386/fpu/libm-test-ulps: Update.
11252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11254 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11257 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11258 * math/w_exp10f.c (__exp10f): Likewise.
11259 * math/w_exp10l.c (__exp10l): Likewise.
11260 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11261 errno settings in existing tests.
11264 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11265 precision control set to double precision.
11266 * sysdeps/i386/fpu/w_sqrt.c: New file.
11267 * math/auto-libm-test-in: Add more tests.
11268 * math/auto-libm-test-out: Update.
11270 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11271 (sqrt_test_tonearest): New function.
11272 (sqrt_towardzero_test_data): New variable.
11273 (sqrt_test_towardzero): New function.
11274 (sqrt_downward_test_data): New variable.
11275 (sqrt_test_downward): New function.
11276 (sqrt_upward_test_data): New variable.
11277 (sqrt_test_upward): New function.
11278 (main): Call the new functions.
11280 * math/gen-auto-libm-tests.c: New file.
11281 * math/auto-libm-test-in: Likewise.
11282 * math/auto-libm-test-out: New generated file.
11283 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11285 (%beautify): Add generated representations of zero.
11286 (top level): Set $auto_input and call parse_auto_input.
11287 (beautify): Remove trailing "f" from hex float constants.
11288 (parse_args): Handle XFAIL_TEST.
11289 (convert_condition): New function.
11290 (or_value): Likewise.
11291 (or_cond_value): Likewise.
11292 (generate_testfile): Handle AUTO_TESTS_* lines.
11293 (parse_auto_input): New function.
11294 * math/libm-test.inc (XFAIL_TEST): New macro.
11295 (ERRNO_UNCHANGED): Update value.
11296 (ERRNO_EDOM): Likewise.
11297 (ERRNO_ERANGE): Likewise.
11298 (IGNORE_RESULT): Likewise.
11299 (TEST_COND_flt_32): New macro.
11300 (TEST_COND_dbl_64): Likewise.
11301 (TEST_COND_ldbl_96_intel): Likewise.
11302 (TEST_COND_ldbl_96_m68k): Likewise.
11303 (TEST_COND_ldbl_128): Likewise.
11304 (TEST_COND_ldbl_128ibm): Likewise.
11305 (TEST_COND_long32): Likewise.
11306 (TEST_COND_long64): Likewise.
11307 (TEST_COND_before_rounding): Likewise.
11308 (TEST_COND_after_rounding): Likewise.
11309 (enable_test): Handle XFAIL_TEST flag.
11310 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11311 with finite results.
11312 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11313 auto-libm-test-out.
11315 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11316 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11319 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11320 __tls_get_addr_internal instead of __tls_get_offset in order to
11321 avoid GOT pointer dependency. Make rtld export
11322 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11323 __tls_get_addr since we are a __tls_get_offset platform.
11324 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11325 GOT pointer being set up before.
11326 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11328 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11330 * manual/math.texi (Errors in Math Functions): Document accuracy
11334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11335 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11336 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11337 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11338 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11339 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11340 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11341 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11342 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11343 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11344 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11351 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11352 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11353 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11354 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11355 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11357 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11359 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11361 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11362 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11363 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11364 atomic-feupdateenv and flt-rounds.
11365 * sysdeps/powerpc/nofpu/Versions (libc): Add
11366 __atomic_feholdexcept, __atomic_feclearexcept,
11367 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11368 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11369 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11370 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11371 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11376 * manual/arith.texi (FP Exceptions): Document that exceptions may
11377 not be raised when matherr is used.
11378 (Math Error Reporting): Document overflow in directed rounding
11379 modes. Document that errno may not be set when finite values are
11380 returned on overflow. Document intent to set errno on underflow
11381 only for underflow to zero.
11384 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11385 round-to-nearest then adjust result for other rounding modes.
11386 * include/fenv.h (fegetround): Use libm_hidden_proto.
11387 * math/fegetround.c (fegetround): Use libm_hidden_def.
11388 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11389 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11390 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11391 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11393 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11394 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11395 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11396 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11398 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11401 * nss/Versions (libnss_files): Add
11402 _nss_files_gethostbyname3_r.
11403 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11405 (HOST_DB_LOOKUP): Remove macro.
11406 (_nss_files_gethostbyname_r): Implement function without the
11407 HOST_DB_LOOKUP macro.
11408 (_nss_files_gethostbyname2_r): Likewise.
11410 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11412 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11414 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11416 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11417 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11420 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11422 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11423 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11424 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11425 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11426 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11427 __fe_nomask_env_priv and attribute_hidden.
11428 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11429 (libc_feupdateenv_test_ppc): Likewise.
11430 (libc_feresetround_ppc): Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11432 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11433 compat_symbol macro.
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11435 (__fe_nomask_env): Likewise.
11436 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11438 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11440 * string/Makefile: Remove ifunc tests.
11441 * string/test-string.h: Define TEST_IFUNC.
11442 * string/test-bcopy-ifunc.c: Remove.
11443 * string/test-bzero-ifunc.c: Likewise.
11444 * string/test-memccpy-ifunc.c: Likewise.
11445 * string/test-memchr-ifunc.c: Likewise.
11446 * string/test-memcmp-ifunc.c: Likewise.
11447 * string/test-memcpy-ifunc.c: Likewise.
11448 * string/test-memmem-ifunc.c: Likewise.
11449 * string/test-memmove-ifunc.c: Likewise.
11450 * string/test-mempcpy-ifunc.c: Likewise.
11451 * string/test-memrchr-ifunc.c: Likewise.
11452 * string/test-memset-ifunc.c: Likewise.
11453 * string/test-rawmemchr-ifunc.c: Likewise.
11454 * string/test-stpcpy-ifunc.c: Likewise.
11455 * string/test-stpncpy-ifunc.c: Likewise.
11456 * string/test-strcasecmp-ifunc.c: Likewise.
11457 * string/test-strcasestr-ifunc.c: Likewise.
11458 * string/test-strcat-ifunc.c: Likewise.
11459 * string/test-strchr-ifunc.c: Likewise.
11460 * string/test-strchrnul-ifunc.c: Likewise.
11461 * string/test-strcmp-ifunc.c: Likewise.
11462 * string/test-strcpy-ifunc.c: Likewise.
11463 * string/test-strcspn-ifunc.c: Likewise.
11464 * string/test-strlen-ifunc.c: Likewise.
11465 * string/test-strncasecmp-ifunc.c: Likewise.
11466 * string/test-strncat-ifunc.c: Likewise.
11467 * string/test-strncmp-ifunc.c: Likewise.
11468 * string/test-strncpy-ifunc.c: Likewise.
11469 * string/test-strnlen-ifunc.c: Likewise.
11470 * string/test-strpbrk-ifunc.c: Likewise.
11471 * string/test-strrchr-ifunc.c: Likewise.
11472 * string/test-strspn-ifunc.c: Likewise.
11473 * string/test-strstr-ifunc.c: Likewise.
11475 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11477 * benchtests/Makefile: Remove ifunc tests.
11478 * benchtests/bench-string.h: Define TEST_IFUNC.
11479 * benchtests/bench-bcopy-ifunc.c: Remove.
11480 * benchtests/bench-bzero-ifunc.c: Likewise.
11481 * benchtests/bench-memccpy-ifunc.c: Likewise.
11482 * benchtests/bench-memchr-ifunc.c: Likewise.
11483 * benchtests/bench-memcmp-ifunc.c: Likewise.
11484 * benchtests/bench-memcpy-ifunc.c: Likewise.
11485 * benchtests/bench-memmem-ifunc.c: Likewise.
11486 * benchtests/bench-memmove-ifunc.c: Likewise.
11487 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11488 * benchtests/bench-memrchr-ifunc.c: Likewise.
11489 * benchtests/bench-memset-ifunc.c: Likewise.
11490 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11491 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11492 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11493 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11494 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11495 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11496 * benchtests/bench-strcat-ifunc.c: Likewise.
11497 * benchtests/bench-strchr-ifunc.c: Likewise.
11498 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11499 * benchtests/bench-strcmp-ifunc.c: Likewise.
11500 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11501 * benchtests/bench-strcpy-ifunc.c: Likewise.
11502 * benchtests/bench-strcspn-ifunc.c: Likewise.
11503 * benchtests/bench-strlen-ifunc.c: Likewise.
11504 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11505 * benchtests/bench-strncat-ifunc.c: Likewise.
11506 * benchtests/bench-strncmp-ifunc.c: Likewise.
11507 * benchtests/bench-strncpy-ifunc.c: Likewise.
11508 * benchtests/bench-strnlen-ifunc.c: Likewise.
11509 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11510 * benchtests/bench-strrchr-ifunc.c: Likewise.
11511 * benchtests/bench-strsep-ifunc.c: Likewise.
11512 * benchtests/bench-strspn-ifunc.c: Likewise.
11513 * benchtests/bench-strstr-ifunc.c: Likewise.
11515 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11517 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11519 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11521 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11522 * rt/aio.h: Likewise.
11523 * sysdeps/gnu/bits/utmp.h: Likewise.
11524 * sysdeps/gnu/bits/utmpx.h: Likewise.
11525 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11526 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11527 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11528 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11529 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11530 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11531 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11532 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11533 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11534 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11535 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11536 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11539 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11540 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11541 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11542 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11543 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11544 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11545 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11546 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11547 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11548 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11549 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11551 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11552 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11553 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11554 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11555 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11556 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11557 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11558 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11559 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11561 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11562 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11563 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11564 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11565 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11566 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11568 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11571 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11572 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11574 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11576 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11577 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11580 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11582 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11583 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11584 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11585 (__fesetround): Remove define.
11586 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11587 rounding and exceptions handling.
11588 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11589 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11590 (__fe_nomask_env): Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11592 __fegetround instead of fegetround.
11593 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11594 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11596 2013-11-21 Roland McGrath <roland@hack.frob.com>
11598 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11601 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11603 2013-11-21 Meador Inge <meadori@codesourcery.com>
11606 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11607 (encrypt_r): Likewise.
11608 * malloc/obstack.h (obstack_free): Likewise.
11609 * posix/unistd.h (encrypt): Likewise.
11611 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11613 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11614 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11615 DL_CALL_DT_FINI() that call the functions directly.
11616 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11617 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11618 * elf/dl-fini.c: Likewise.
11620 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11622 * malloc/hooks.c (memalign_check): Add alignment rounding.
11623 * malloc/malloc.c (_mid_memalign): New function.
11624 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11625 Implement by calling _mid_memalign.
11626 * manual/probes.texi (Memory Allocation Probes): Remove
11627 memory_valloc_retry and memory_pvalloc_retry.
11629 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11631 * locale/programs/locarchive.c (open_archive): Add const
11632 qualifier to ARCHIVEFNAME and copy default fname to
11636 * libio/tst-widetext.input: Rename Oriya to Odia.
11637 * locale/iso-639.def: Likewise.
11639 * manual/probes.texi (Mathematical Function Probes): Add
11640 documentation for sin, cos, asin and acos probes.
11641 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11642 (__sin32): Add slowasin probe.
11643 (__cos32): Add slowacos probe.
11644 (__mpsin): Add slowsin probe.
11645 (__mpcos): Add slowcos probe.
11647 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11650 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11651 thread-local __sim_exceptions_thread and global
11652 __sim_exceptions_global.
11653 (__sim_disabled_exceptions): Change to thread-local
11654 __sim_disabled_exceptions_thread and global
11655 __sim_disabled_exceptions_global.
11656 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11657 and global __sim_round_mode_global.
11658 (__simulate_exceptions): Use thread-local floating-point state and
11659 set global state from it as needed.
11660 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11661 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11662 __sim_round_mode_thread.
11663 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11664 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11665 and global __sim_exceptions_global.
11666 (__sim_disabled_exceptions): Change to thread-local
11667 __sim_disabled_exceptions_thread and global
11668 __sim_disabled_exceptions_global.
11669 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11670 and global __sim_round_mode_global.
11671 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11672 (SIM_SET_GLOBAL): Likewise.
11673 * sysdeps/powerpc/soft-fp/sfp-machine.h
11674 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11675 __sim_round_mode_thread.
11676 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11677 __sim_disabled_exceptions_thread.
11678 (__sim_exceptions): Change to __sim_exceptions_thread.
11679 (__sim_disabled_exceptions): Change to
11680 __sim_disabled_exceptions_thread.
11681 (__sim_round_mode): Change to __sim_round_mode_thread.
11682 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11683 thread-local floating-point state and set global state from it as
11685 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11686 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11687 (__sim_disabled_exceptions): Remove extern declaration.
11688 (feenableexcept): Use thread-local floating-point state and set
11689 global state from it as needed.
11690 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11691 extern declaration.
11692 (__sim_disabled_exceptions): Likewise.
11693 (__sim_round_mode): Likewise.
11694 (__fegetenv): Use thread-local floating-point state.
11695 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11696 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11697 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11698 floating-point state and set global state from it as needed.
11699 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11700 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11701 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11703 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11704 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11706 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11707 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11708 Use __sim_round_mode_thread.
11709 * math/test-fenv-tls.c: New file.
11710 * math/Makefile (tests): Add test-fenv-tls.
11711 ($(objpfx)test-fenv-tls): Depend on
11712 $(common-objpfx)nptl/libpthread.so.
11714 2013-11-19 Andreas Schwab <schwab@suse.de>
11716 * locale/programs/locale.c (show_info): Decode wordarray elements.
11717 * locale/categories.def (LC_MONETARY): Add element for
11718 _NL_MONETARY_CRNCYSTR.
11719 * locale/C-monetary.c (conversion_rate): New variable.
11720 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11723 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11725 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11726 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11728 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11730 * elf/Makefile (tst-auxv): New test.
11731 * elf/tst-auxv.c: New
11732 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11734 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11736 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11737 (hidden_proto): Caller changed.
11738 (hidden_tls_proto): New macro.
11739 (libc_hidden_tls_proto): Likewise.
11740 (rtld_hidden_tls_proto): Likewise.
11741 (libm_hidden_tls_proto): Likewise.
11742 (libresolv_hidden_tls_proto): Likewise.
11743 (librt_hidden_tls_proto): Likewise.
11744 (libdl_hidden_tls_proto): Likewise.
11745 (libnss_files_hidden_tls_proto): Likewise.
11746 (libnsl_hidden_tls_proto): Likewise.
11747 (libnss_nisplus_hidden_tls_proto): Likewise.
11748 (libutil_hidden_tls_proto): Likewise.
11750 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11753 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11754 (decompose_rpath): Defer expansion to fillin_rpath.
11755 (_dl_init_paths): Pass linkmap to fillin_rpath.
11757 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11759 * benchtests/Makefile: Add strsep.
11760 * benchtests/bench-strsep.c: New file: strsep benchtest.
11761 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11763 2013-11-18 Andreas Schwab <schwab@suse.de>
11765 * locale/programs/locale.c (show_info) [case byte]: Check for
11766 '\377' instead of '\177'.
11767 * locale/C-monetary.c (not_available): Always use "\377".
11768 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11769 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11770 detect unavailable sign_posn locale elements.
11771 * locale/localeconv.c (__localeconv): For grouping and
11772 mon_grouping handle "\177" and "\377" like no grouping.
11773 (INT_ELEM): New macro. Use it to set all numeric members.
11774 * locale/programs/ld-monetary.c (monetary_read)
11775 <tok_mon_grouping>: Normalize single -1 to the empty string.
11776 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11779 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11783 when we match (nil).
11784 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11786 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11788 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11789 (NO_TEST_INLINE): Update value.
11790 (ERRNO_UNCHANGED): Likewise.
11791 (ERRNO_EDOM): Likewise.
11792 (ERRNO_ERANGE): Likewise.
11793 (IGNORE_RESULT): Likewise.
11794 (check_float_internal): Check signs of NaN results if
11795 TEST_NAN_SIGN used.
11796 (check_complex): Pass TEST_NAN_SIGN flag through to second
11797 check_float_internal call.
11798 (copysign_test_data): Add tests with quiet NaNs as second
11799 argument. Use TEST_NAN_SIGN.
11800 (fabs_test_data): Add test of negative quiet NaN argument. Use
11802 (signbit_test_data): Add tests of quiet NaN argument.
11803 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11805 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11807 (parse_args): Handle function results specified as IGNORE.
11808 * math/libm-test.inc (IGNORE_RESULT): New macro.
11809 (check_float_internal): Do not check numerical result if flag
11811 (check_complex): Pass through IGNORE_RESULT to second
11812 check_float_internal call.
11813 (check_int): Do not check numerical result if flag IGNORE_RESULT
11815 (check_long): Likewise.
11816 (check_bool): Likewise.
11817 (check_longlong): Likewise.
11818 (lrint_test_data): Add tests of infinite and NaN arguments.
11819 (lrint_tonearest_test_data): Likewise.
11820 (lrint_towardzero_test_data): Likewise.
11821 (lrint_downward_test_data): Likewise.
11822 (lrint_upward_test_data): Likewise.
11823 (llrint_test_data): Likewise.
11824 (llrint_tonearest_test_data): Likewise.
11825 (llrint_towardzero_test_data): Likewise.
11826 (llrint_downward_test_data): Likewise.
11827 (llrint_upward_test_data): Likewise.
11828 (lround_test_data): Likewise.
11829 (llround_test_data): Likewise.
11831 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11832 (ERRNO_UNCHANGED): Update value.
11833 (ERRNO_EDOM): Likewise.
11834 (ERRNO_ERANGE): Likewise.
11835 (NO_TEST_INLINE_FLOAT): New macro.
11836 (NO_TEST_INLINE_DOUBLE): Likewise.
11837 (enable_test): New function.
11838 (RUN_TEST_f_f): Check enable_test before running test.
11839 (RUN_TEST_2_f): Likewise.
11840 (RUN_TEST_fff_f): Likewise.
11841 (RUN_TEST_c_f): Likewise.
11842 (RUN_TEST_f_f1): Likewise.
11843 (RUN_TEST_fF_f1): Likewise.
11844 (RUN_TEST_fI_f1): Likewise.
11845 (RUN_TEST_ffI_f1): Likewise.
11846 (RUN_TEST_c_c): Likewise.
11847 (RUN_TEST_cc_c): Likewise.
11848 (RUN_TEST_f_i): Likewise.
11849 (RUN_TEST_f_i_tg): Likewise.
11850 (RUN_TEST_ff_i_tg): Likewise.
11851 (RUN_TEST_f_b): Likewise.
11852 (RUN_TEST_f_b_tg): Likewise.
11853 (RUN_TEST_f_l): Likewise.
11854 (RUN_TEST_f_L): Likewise.
11855 (RUN_TEST_fFF_11): Likewise.
11856 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11858 (cosh_test_data): Likewise.
11859 (exp_test_data): Likewise.
11860 (expm1_test_data): Likewise.
11861 (hypot_test_data): Likewise.
11862 (pow_test_data): Likewise.
11863 (sinh_test_data): Likewise.
11864 (tanh_test_data): Likewise.
11865 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11868 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11869 tests with quiet NaN input and output.
11870 (acosh_test_data): Likewise.
11871 (asin_test_data): Likewise.
11872 (asinh_test_data): Likewise.
11873 (atan_test_data): Likewise.
11874 (atanh_test_data): Likewise.
11875 (atan2_test_data): Likewise.
11876 (cbrt_test_data): Likewise.
11877 (cos_test_data): Likewise.
11878 (cosh_test_data): Likewise.
11879 (erf_test_data): Likewise.
11880 (erfc_test_data): Likewise.
11881 (exp_test_data): Likewise.
11882 (exp10_test_data): Likewise.
11883 (exp2_test_data): Likewise.
11884 (expm1_test_data): Likewise.
11885 (hypot_test_data): Likewise.
11886 (j0_test_data): Likewise.
11887 (j1_test_data): Likewise.
11888 (jn_test_data): Likewise.
11889 (lgamma_test_data): Likewise.
11890 (log_test_data): Likewise.
11891 (log10_test_data): Likewise.
11892 (log1p_test_data): Likewise.
11893 (log2_test_data): Likewise.
11894 (pow_test_data): Likewise.
11895 (scalb_test_data): Likewise.
11896 (sin_test_data): Likewise.
11897 (sincos_test_data): Likewise.
11898 (sinh_test_data): Likewise.
11899 (tan_test_data): Likewise.
11900 (tanh_test_data): Likewise.
11901 (tgamma_test_data): Likewise.
11902 (y0_test_data): Likewise.
11903 (y1_test_data): Likewise.
11904 (yn_test_data): Likewise.
11907 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11908 argument being NaN and avoid computations with second argument in
11910 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11911 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11912 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11914 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11916 * locale/iso-639.def: Add Chitwani Tharu (the).
11918 2013-11-14 Andreas Schwab <schwab@suse.de>
11920 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11921 word instead of empty string.
11923 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11926 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11928 (__fe_nomask_env): Likewise.
11930 2013-11-13 Steve Ellcey <sellcey@mips.com>
11932 * benchtests/bench-timing.h: Include time.h.
11934 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11937 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11939 * sysdeps/unix/sysv/linux/configure: Regenerated.
11941 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11944 * stdlib/strtod_l.c (round_and_return): Do not consider
11945 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11946 exponent one less than half the least subnormal exponent.
11947 * stdlib/test-strtod-round-data: Add more tests.
11948 * stdlib/tst-strtod-round.c (tests): Regenerated.
11950 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11953 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11954 (__fe_mask_env): Likewise.
11955 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11956 libm_hidden_proto and add function prototype.
11957 (__fe_mask_env): Add function prototype.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11959 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11961 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11963 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11965 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11967 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11968 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11970 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11972 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11973 of htab_find_slot().
11975 2013-11-11 David S. Miller <davem@davemloft.net>
11978 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11979 symbol in the non-vis3 case in static builds.
11980 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11981 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11982 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11983 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11985 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11988 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11991 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11993 * benchtests/Makefile: Add bench-strtod.
11994 * benchtests/bench-strtod.c: New file: strtod benchtest
11996 2013-11-11 Andreas Schwab <schwab@suse.de>
11999 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12000 terminating NUL in key length.
12002 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12004 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12005 Add artificial ODP entry for vDSO symbol for PPC64.
12006 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12007 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12009 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12012 * nss/getent.c (services_keys): Recognize services starting with digit.
12014 2013-11-06 David S. Miller <davem@davemloft.net>
12017 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12018 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12020 2013-11-06 Will Newton <will.newton@linaro.org>
12022 * manual/memory.texi (Malloc Examples): Remove register
12023 keyword from examples.
12025 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
12027 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12029 2013-11-04 Joseph Myers <joseph@codesourcery.com>
12032 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12033 depending on [__GCC_IEC_559 > 0].
12034 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12035 depending on [__GCC_IEC_559_COMPLEX > 0].
12037 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
12039 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12042 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
12044 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12046 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
12049 * malloc/malloc (malloc_info): Do not handle first bin as
12052 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
12054 * locale/iso-639.def: Add Central Nahuatl (nhn).
12056 2013-11-01 Bruno Haible <bruno@clisp.org>
12059 * manual/math.texi (BSD Random): Specify range upper bound as
12062 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
12064 * locale/iso-639.def: Add Meadow Mari (mhr).
12066 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
12068 [BZ #14752], [BZ #15763]
12069 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12071 * rt/tst_shm.c: Add test for escaping directory.
12073 2013-10-31 Andreas Schwab <schwab@suse.de>
12076 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12077 followed by 'x' as part of digit sequence.
12078 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12080 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12083 * configure.ac: allow GNU Make 4.0 and greater.
12084 * configure: Regenerated.
12086 2013-10-30 Will Newton <will.newton@linaro.org>
12089 * malloc/hooks.c (memalign_check): Limit alignment to the
12090 maximum representable power of two.
12091 * malloc/malloc.c (__libc_memalign): Likewise.
12092 * malloc/tst-memalign.c (do_test): Add test for very
12093 large alignment values.
12094 * malloc/tst-posix_memalign.c (do_test): Likewise.
12096 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12099 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12100 (munmap_chunk): Likewise.
12101 (mremap_chunk): Likewise.
12103 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
12106 * stdlib/div.c (div): Remove obsolete code.
12107 * stdlib/ldiv.c (ldiv): Likewise.
12108 * stdlib/lldiv.c (lldiv): Likewise.
12110 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12113 * nss/nss_files/files-XXX.c (get_contents_ret): New
12115 (get_contents): New function.
12116 (internal_getent): Use it. Expand size of LINEBUFLEN.
12118 2013-10-30 Mike Frysinger <vapier@gentoo.org>
12120 * configure.in: Moved to ...
12121 * configure.ac: ... here. Change reference to configure.in
12123 * sysdeps/arm/preconfigure.ac: ... here.
12124 configure.in to configure.ac.
12125 * sysdeps/gnu/configure.in: Moved to ...
12126 * sysdeps/gnu/configure.ac: ... here.
12127 * sysdeps/i386/configure.in: Moved to ...
12128 * sysdeps/i386/configure.ac: ... here.
12129 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12130 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12131 * sysdeps/mach/configure.in: Moved to ...
12132 * sysdeps/mach/configure.ac: ... here.
12133 * sysdeps/mach/hurd/configure.in: Moved to ...
12134 * sysdeps/mach/hurd/configure.ac: ... here.
12135 * sysdeps/powerpc/configure.in: Moved to ...
12136 * sysdeps/powerpc/configure.ac: ... here.
12137 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12138 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12139 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12140 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12141 * sysdeps/s390/s390-32/configure.in: Moved to ...
12142 * sysdeps/s390/s390-32/configure.ac: ... here.
12143 * sysdeps/s390/s390-64/configure.in: Moved to ...
12144 * sysdeps/s390/s390-64/configure.ac: ... here.
12145 * sysdeps/sh/configure.in: Moved to ...
12146 * sysdeps/sh/configure.ac: ... here.
12147 * sysdeps/sparc/configure.in: Moved to ...
12148 * sysdeps/sparc/configure.ac: ... here.
12149 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12150 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12151 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12152 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12153 * sysdeps/x86_64/configure.in: Moved to ...
12154 * sysdeps/x86_64/configure.ac: ... here.
12155 * sysdeps/x86_64/preconfigure.in: Moved to ...
12156 * sysdeps/x86_64/preconfigure.ac: ... here.
12157 * aclocal.m4: Change reference to configure.in to configure.ac.
12158 * config.h.in: Likewise.
12159 * manual/install.texi: Likewise.
12160 * manual/maint.texi: Likewise.
12161 * Makefile: Likewise.
12162 * malloc/Makefile: Likewise.
12163 * nscd/Makefile: Likewise.
12164 * Makeconfig: Change reference to configure.in and
12165 preconfigure.in to configure.ac and preconfigure.ac
12167 * INSTALL: Regenerated.
12168 * configure: Likewise.
12169 * sysdeps/gnu/configure: Likewise.
12170 * sysdeps/i386/configure: Likewise.
12171 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12172 * sysdeps/mach/configure: Likewise.
12173 * sysdeps/mach/hurd/configure: Likewise.
12174 * sysdeps/powerpc/configure: Likewise.
12175 * sysdeps/powerpc/powerpc32/configure: Likewise.
12176 * sysdeps/powerpc/powerpc64/configure: Likewise.
12177 * sysdeps/s390/s390-32/configure: Likewise.
12178 * sysdeps/s390/s390-64/configure: Likewise.
12179 * sysdeps/sh/configure: Likewise.
12180 * sysdeps/sparc/configure: Likewise.
12181 * sysdeps/unix/sysv/linux/configure: Likewise.
12182 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12183 * sysdeps/x86_64/configure: Likewise.
12184 * sysdeps/x86_64/preconfigure: Likewise.
12186 2013-10-29 Andreas Schwab <schwab@suse.de>
12188 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12190 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12192 * benchtests/pow-inputs: Add new inputs.
12194 * benchtests/exp-inputs: Add new inputs.
12196 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12197 conditional check for return value.
12198 (__cos32): Likewise.
12200 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12202 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12203 to provide a boost for large inputs with word alignment.
12204 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12205 implementation based on optimized PPC64 strcpy.
12206 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12207 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12208 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12209 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12211 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12214 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12216 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12219 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12220 * time/tst-strptime.c (day_tests): Add testcase.
12222 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12225 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12227 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12230 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12231 MAP_FAILED on error.
12233 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12236 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12237 heap for large requests.
12239 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12242 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12243 result if the result has no associated interface.
12244 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12245 interface for all 127.X.Y.Z addresses.
12247 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12249 * locale/iso-639.def: Add Ligurian (lij)
12251 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12254 * sunrpc/rpc_main.c: Document rpcgen -5.
12256 2013-10-19 Michael Stahl <mstahl@redhat.com>
12258 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12260 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12263 * posix/glob.c: Match only directories when trailing slash is present.
12264 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12265 (main): Add testcase.
12267 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12270 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12272 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12274 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12275 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12276 AUTH_DES and cindex for FIPS 140-2.
12277 (DES Encryption): Add cindex FIPS 46-3.
12279 * locale/locarchive.h (struct locarhandle): Add fname.
12280 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12281 if an optional argument was specified to --list-archive,
12283 * locale/programs/locarchive.c (show_archive_content): Take new
12284 argument fname and pass it via ah.fname to open_archive.
12285 * locale/programs/localedef.h: Update decl.
12286 (open_archive): If AH->fname is non-null, open that file
12287 rather than the default file name, and don't ignore ENOENT.
12288 (create_archive): Set AH.fname to NULL.
12289 (delete_locales_from_archive): Likewise.
12290 (add_locales_to_archive): Likewise.
12291 * locale/programs/locfile.c (write_all_categories): Likewise.
12293 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12294 Aldy Hernandez <aldyh@redhat.com>
12296 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12297 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12298 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12299 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12300 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12301 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12302 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12303 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12304 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12305 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12306 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12307 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12309 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12310 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12312 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12314 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12316 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12318 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12319 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12321 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12322 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12323 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12324 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12326 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12327 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12328 * sysdeps/powerpc/preconfigure: Likewise.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12331 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12332 Replace contents of file by #include of <fenv_libc.h>.
12333 * sysdeps/powerpc/soft-fp/sfp-machine.h
12334 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12336 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12339 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12340 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12341 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12343 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12344 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12345 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12346 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12347 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12349 Allow copysignl PLT reference to be missing.
12351 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12352 Joseph Myers <joseph@codesourcery.com
12355 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12357 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12359 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12361 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12362 * elf/tst-tls1.c: Likewise.
12363 * elf/tst-tls10.h: Likewise.
12364 * elf/tst-tls14.c: Likewise.
12365 * elf/tst-tls2.c: Likewise.
12366 * elf/tst-tls3.c: Likewise.
12367 * elf/tst-tls4.c: Likewise.
12368 * elf/tst-tls5.c: Likewise.
12369 * elf/tst-tls6.c: Likewise.
12370 * elf/tst-tls7.c: Likewise.
12371 * elf/tst-tls8.c: Likewise.
12372 * elf/tst-tls9.c: Likewise.
12373 * elf/tst-tlsmod1.c: Likewise.
12374 * elf/tst-tlsmod13.c: Likewise.
12375 * elf/tst-tlsmod13a.c: Likewise.
12376 * elf/tst-tlsmod14a.c: Likewise.
12377 * elf/tst-tlsmod16a.c: Likewise.
12378 * elf/tst-tlsmod16b.c: Likewise.
12379 * elf/tst-tlsmod2.c: Likewise.
12380 * elf/tst-tlsmod3.c: Likewise.
12381 * elf/tst-tlsmod4.c: Likewise.
12382 * elf/tst-tlsmod5.c: Likewise.
12383 * elf/tst-tlsmod6.c: Likewise.
12385 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12388 * malloc/malloc.c: remove checks for statistics.
12390 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12393 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12394 * inet/tst-network.c: Add testcase.
12396 2013-10-17 Andreas Schwab <schwab@suse.de>
12399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12400 to determine canonical name.
12402 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12404 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12405 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12407 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12411 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12412 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12417 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12418 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12419 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12422 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12423 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12424 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12425 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12426 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12427 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12428 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12429 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12432 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12433 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12436 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12437 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12438 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12444 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12445 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12446 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12447 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12448 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12449 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12450 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12451 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12452 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12453 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12454 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12455 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12456 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12457 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12458 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12459 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12461 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12463 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12466 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12467 make result into a quiet NaN.
12469 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12471 * soft-fp/adddf3.c: Fix horizontal whitespace.
12472 * soft-fp/addsf3.c: Likewise.
12473 * soft-fp/addtf3.c: Likewise.
12474 * soft-fp/divdf3.c: Likewise.
12475 * soft-fp/divsf3.c: Likewise.
12476 * soft-fp/divtf3.c: Likewise.
12477 * soft-fp/double.h: Likewise.
12478 * soft-fp/eqdf2.c: Likewise.
12479 * soft-fp/eqsf2.c: Likewise.
12480 * soft-fp/eqtf2.c: Likewise.
12481 * soft-fp/extenddftf2.c: Likewise.
12482 * soft-fp/extended.h: Likewise.
12483 * soft-fp/extendsfdf2.c: Likewise.
12484 * soft-fp/extendsftf2.c: Likewise.
12485 * soft-fp/extendxftf2.c: Likewise.
12486 * soft-fp/fixdfdi.c: Likewise.
12487 * soft-fp/fixdfsi.c: Likewise.
12488 * soft-fp/fixdfti.c: Likewise.
12489 * soft-fp/fixsfdi.c: Likewise.
12490 * soft-fp/fixsfsi.c: Likewise.
12491 * soft-fp/fixsfti.c: Likewise.
12492 * soft-fp/fixtfdi.c: Likewise.
12493 * soft-fp/fixtfsi.c: Likewise.
12494 * soft-fp/fixtfti.c: Likewise.
12495 * soft-fp/fixunsdfdi.c: Likewise.
12496 * soft-fp/fixunsdfsi.c: Likewise.
12497 * soft-fp/fixunsdfti.c: Likewise.
12498 * soft-fp/fixunssfdi.c: Likewise.
12499 * soft-fp/fixunssfsi.c: Likewise.
12500 * soft-fp/fixunssfti.c: Likewise.
12501 * soft-fp/fixunstfdi.c: Likewise.
12502 * soft-fp/fixunstfsi.c: Likewise.
12503 * soft-fp/fixunstfti.c: Likewise.
12504 * soft-fp/floatdidf.c: Likewise.
12505 * soft-fp/floatdisf.c: Likewise.
12506 * soft-fp/floatditf.c: Likewise.
12507 * soft-fp/floatsidf.c: Likewise.
12508 * soft-fp/floatsisf.c: Likewise.
12509 * soft-fp/floatsitf.c: Likewise.
12510 * soft-fp/floattidf.c: Likewise.
12511 * soft-fp/floattisf.c: Likewise.
12512 * soft-fp/floattitf.c: Likewise.
12513 * soft-fp/floatundidf.c: Likewise.
12514 * soft-fp/floatundisf.c: Likewise.
12515 * soft-fp/floatunditf.c: Likewise.
12516 * soft-fp/floatunsidf.c: Likewise.
12517 * soft-fp/floatunsisf.c: Likewise.
12518 * soft-fp/floatunsitf.c: Likewise.
12519 * soft-fp/floatuntidf.c: Likewise.
12520 * soft-fp/floatuntisf.c: Likewise.
12521 * soft-fp/floatuntitf.c: Likewise.
12522 * soft-fp/fmadf4.c: Likewise.
12523 * soft-fp/fmasf4.c: Likewise.
12524 * soft-fp/fmatf4.c: Likewise.
12525 * soft-fp/gedf2.c: Likewise.
12526 * soft-fp/gesf2.c: Likewise.
12527 * soft-fp/getf2.c: Likewise.
12528 * soft-fp/ledf2.c: Likewise.
12529 * soft-fp/lesf2.c: Likewise.
12530 * soft-fp/letf2.c: Likewise.
12531 * soft-fp/muldf3.c: Likewise.
12532 * soft-fp/mulsf3.c: Likewise.
12533 * soft-fp/multf3.c: Likewise.
12534 * soft-fp/negdf2.c: Likewise.
12535 * soft-fp/negsf2.c: Likewise.
12536 * soft-fp/negtf2.c: Likewise.
12537 * soft-fp/op-1.h: Likewise.
12538 * soft-fp/op-2.h: Likewise.
12539 * soft-fp/op-4.h: Likewise.
12540 * soft-fp/op-8.h: Likewise.
12541 * soft-fp/op-common.h: Likewise.
12542 * soft-fp/quad.h: Likewise.
12543 * soft-fp/single.h: Likewise.
12544 * soft-fp/soft-fp.h: Likewise.
12545 * soft-fp/sqrtdf2.c: Likewise.
12546 * soft-fp/sqrtsf2.c: Likewise.
12547 * soft-fp/sqrttf2.c: Likewise.
12548 * soft-fp/subdf3.c: Likewise.
12549 * soft-fp/subsf3.c: Likewise.
12550 * soft-fp/subtf3.c: Likewise.
12551 * soft-fp/truncdfsf2.c: Likewise.
12552 * soft-fp/trunctfdf2.c: Likewise.
12553 * soft-fp/trunctfsf2.c: Likewise.
12554 * soft-fp/trunctfxf2.c: Likewise.
12555 * soft-fp/unorddf2.c: Likewise.
12556 * soft-fp/unordsf2.c: Likewise.
12557 * soft-fp/unordtf2.c: Likewise.
12559 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12561 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12562 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12564 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12566 * elf/dl-libc.c: Clear initfini list after freeing.
12568 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12570 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12571 * soft-fp/addsf3.c: Likewise.
12572 * soft-fp/addtf3.c: Likewise.
12573 * soft-fp/divdf3.c: Likewise.
12574 * soft-fp/divsf3.c: Likewise.
12575 * soft-fp/divtf3.c: Likewise.
12576 * soft-fp/double.h: Likewise.
12577 * soft-fp/eqdf2.c: Likewise.
12578 * soft-fp/eqsf2.c: Likewise.
12579 * soft-fp/eqtf2.c: Likewise.
12580 * soft-fp/extenddftf2.c: Likewise.
12581 * soft-fp/extended.h: Likewise.
12582 * soft-fp/extendsfdf2.c: Likewise.
12583 * soft-fp/extendsftf2.c: Likewise.
12584 * soft-fp/extendxftf2.c: Likewise.
12585 * soft-fp/fixdfdi.c: Likewise.
12586 * soft-fp/fixdfsi.c: Likewise.
12587 * soft-fp/fixdfti.c: Likewise.
12588 * soft-fp/fixsfdi.c: Likewise.
12589 * soft-fp/fixsfsi.c: Likewise.
12590 * soft-fp/fixsfti.c: Likewise.
12591 * soft-fp/fixtfdi.c: Likewise.
12592 * soft-fp/fixtfsi.c: Likewise.
12593 * soft-fp/fixtfti.c: Likewise.
12594 * soft-fp/fixunsdfdi.c: Likewise.
12595 * soft-fp/fixunsdfsi.c: Likewise.
12596 * soft-fp/fixunsdfti.c: Likewise.
12597 * soft-fp/fixunssfdi.c: Likewise.
12598 * soft-fp/fixunssfsi.c: Likewise.
12599 * soft-fp/fixunssfti.c: Likewise.
12600 * soft-fp/fixunstfdi.c: Likewise.
12601 * soft-fp/fixunstfsi.c: Likewise.
12602 * soft-fp/fixunstfti.c: Likewise.
12603 * soft-fp/floatdidf.c: Likewise.
12604 * soft-fp/floatdisf.c: Likewise.
12605 * soft-fp/floatditf.c: Likewise.
12606 * soft-fp/floatsidf.c: Likewise.
12607 * soft-fp/floatsisf.c: Likewise.
12608 * soft-fp/floatsitf.c: Likewise.
12609 * soft-fp/floattidf.c: Likewise.
12610 * soft-fp/floattisf.c: Likewise.
12611 * soft-fp/floattitf.c: Likewise.
12612 * soft-fp/floatundidf.c: Likewise.
12613 * soft-fp/floatundisf.c: Likewise.
12614 * soft-fp/floatunsidf.c: Likewise.
12615 * soft-fp/floatunsisf.c: Likewise.
12616 * soft-fp/floatuntidf.c: Likewise.
12617 * soft-fp/floatuntisf.c: Likewise.
12618 * soft-fp/floatuntitf.c: Likewise.
12619 * soft-fp/fmadf4.c: Likewise.
12620 * soft-fp/fmasf4.c: Likewise.
12621 * soft-fp/fmatf4.c: Likewise.
12622 * soft-fp/gedf2.c: Likewise.
12623 * soft-fp/gesf2.c: Likewise.
12624 * soft-fp/getf2.c: Likewise.
12625 * soft-fp/ledf2.c: Likewise.
12626 * soft-fp/lesf2.c: Likewise.
12627 * soft-fp/letf2.c: Likewise.
12628 * soft-fp/muldf3.c: Likewise.
12629 * soft-fp/mulsf3.c: Likewise.
12630 * soft-fp/multf3.c: Likewise.
12631 * soft-fp/negdf2.c: Likewise.
12632 * soft-fp/negsf2.c: Likewise.
12633 * soft-fp/negtf2.c: Likewise.
12634 * soft-fp/op-1.h: Likewise.
12635 * soft-fp/op-2.h: Likewise.
12636 * soft-fp/op-4.h: Likewise.
12637 * soft-fp/op-8.h: Likewise.
12638 * soft-fp/op-common.h: Likewise.
12639 * soft-fp/quad.h: Likewise.
12640 * soft-fp/single.h: Likewise.
12641 * soft-fp/soft-fp.h: Likewise.
12642 * soft-fp/sqrtdf2.c: Likewise.
12643 * soft-fp/sqrtsf2.c: Likewise.
12644 * soft-fp/sqrttf2.c: Likewise.
12645 * soft-fp/subdf3.c: Likewise.
12646 * soft-fp/subsf3.c: Likewise.
12647 * soft-fp/subtf3.c: Likewise.
12648 * soft-fp/truncdfsf2.c: Likewise.
12649 * soft-fp/trunctfdf2.c: Likewise.
12650 * soft-fp/trunctfsf2.c: Likewise.
12651 * soft-fp/trunctfxf2.c: Likewise.
12652 * soft-fp/unorddf2.c: Likewise.
12653 * soft-fp/unordsf2.c: Likewise.
12654 * soft-fp/unordtf2.c: Likewise.
12656 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12659 * misc/error.c (error_tail): Fix possible buffer overflow.
12661 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12664 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12667 2013-10-14 P. J. McDermott <pj@pehjota.net>
12670 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12671 testing pipefail option.
12673 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12675 * soft-fp/double.h: Indent preprocessor directives inside #if.
12676 * soft-fp/extended.h: Likewise.
12677 * soft-fp/op-2.h: Likewise.
12678 * soft-fp/op-4.h: Likewise.
12679 * soft-fp/op-common.h: Likewise.
12680 * soft-fp/quad.h: Likewise.
12681 * soft-fp/single.h: Likewise.
12682 * soft-fp/soft-fp.h: Likewise.
12684 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12686 * iconv/iconv_prog.c: Fix typos.
12687 * stdio-common/psiginfo-data.h: Likewise.
12689 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12692 * locale/setlocale.c: Fix typo.
12694 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12697 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12698 signaling NaN arguments.
12699 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12700 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12703 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12704 unordered operands.
12705 * soft-fp/gesf2.c (__gesf2): Likewise.
12706 * soft-fp/getf2.c (__getf2): Likewise.
12707 * soft-fp/ledf2.c (__ledf2): Likewise.
12708 * soft-fp/lesf2.c (__lesf2): Likewise.
12709 * soft-fp/letf2.c (__letf2): Likewise.
12711 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12712 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12713 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12714 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12715 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12716 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12717 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12718 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12719 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12720 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12721 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12722 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12723 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12724 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12725 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12726 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12727 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12728 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12729 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12730 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12731 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12732 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12733 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12734 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12735 * soft-fp/floattidf.c (__floattidf): Likewise.
12736 * soft-fp/floattisf.c (__floattisf): Likewise.
12737 * soft-fp/floattitf.c (__floattitf): Likewise.
12738 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12739 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12740 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12741 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12742 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12743 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12744 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12745 * soft-fp/gesf2.c (__gesf2): Likewise.
12746 * soft-fp/getf2.c (__getf2): Likewise.
12747 * soft-fp/ledf2.c (__ledf2): Likewise.
12748 * soft-fp/lesf2.c (__lesf2): Likewise.
12749 * soft-fp/letf2.c (__letf2): Likewise.
12751 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12752 Undefine and redefine.
12753 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12754 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12755 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12756 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12757 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12758 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12759 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12760 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12761 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12762 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12763 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12764 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12765 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12766 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12767 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12770 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12771 without decrementing exponent if mantissa >= that for the
12772 denominator, not >.
12773 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12774 denominator, not >. Decrement exponent in < case instead of
12775 incrementing in >= case.
12776 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12777 without decrementing exponent if mantissa >= that for the
12778 denominator, not >.
12780 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12781 computing saturated result for unsigned overflow.
12783 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12784 Jeff Law <law@redhat.com>
12786 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12787 (atan2Mp): Add systemtap probe marker.
12788 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12789 (__ieee754_log): Add systemtap probe marker.
12790 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12791 (atanMp): Add systemtap probe marker.
12792 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12793 (tanMp): Add systemtap probe marker.
12794 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12795 (__slowexp): Add systemtap probe marker.
12796 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12797 (__slowpow): Add systemtap probe marker.
12798 * manual/probes.texi: Document probes.
12800 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12803 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12805 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12807 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12808 written to buffer but not flushed.
12809 * libio/iofwrite_u.c: Likewise.
12810 * libio/iopadn.c: Return bytes returned even if EOF was
12812 * libio/iowpadn.c: Likewise.
12813 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12814 if _IO_padn does not write the whole buffer.
12815 [!COMPILE_WPRINTF] (PAD): Likewise.
12817 2013-10-10 David S. Miller <davem@davemloft.net>
12819 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12822 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12824 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12825 instead of FSF address.
12826 * soft-fp/fixdfti.c: Likewise.
12827 * soft-fp/fixsfti.c: Likewise.
12828 * soft-fp/fixtfti.c: Likewise.
12829 * soft-fp/fixunsdfti.c: Likewise.
12830 * soft-fp/fixunssfti.c: Likewise.
12831 * soft-fp/fixunstfti.c: Likewise.
12832 * soft-fp/floattidf.c: Likewise.
12833 * soft-fp/floattisf.c: Likewise.
12834 * soft-fp/floattitf.c: Likewise.
12835 * soft-fp/floatuntidf.c: Likewise.
12836 * soft-fp/floatuntisf.c: Likewise.
12837 * soft-fp/floatuntitf.c: Likewise.
12838 * soft-fp/trunctfxf2.c: Likewise.
12840 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12841 * soft-fp/fixdfti.c: Likewise.
12842 * soft-fp/fixsfti.c: Likewise.
12843 * soft-fp/fixtfti.c: Likewise.
12844 * soft-fp/fixunsdfti.c: Likewise.
12845 * soft-fp/fixunssfti.c: Likewise.
12846 * soft-fp/fixunstfti.c: Likewise.
12847 * soft-fp/floattidf.c: Likewise.
12848 * soft-fp/floattisf.c: Likewise.
12849 * soft-fp/floattitf.c: Likewise.
12850 * soft-fp/floatuntidf.c: Likewise.
12851 * soft-fp/floatuntisf.c: Likewise.
12852 * soft-fp/floatuntitf.c: Likewise.
12853 * soft-fp/trunctfxf2.c: Likewise.
12855 2013-10-10 David S. Miller <davem@davemloft.net>
12857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12859 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12861 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12862 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12863 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12864 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12865 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12866 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12867 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12870 for NaNs before doing comparisons on argument.
12871 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12874 2013-10-10 Will Newton <will.newton@linaro.org>
12876 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12877 passed to _int_memalign does not overflow.
12879 2013-10-10 Torvald Riegel <triegel@redhat.com>
12881 * scripts/bench.pl: Add include-sources directive.
12882 * benchtests/README: Update documentation.
12884 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12886 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12887 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12888 instead of FP_INIT_ROUNDMODE.
12889 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12890 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12893 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12894 copy class of input value.
12895 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12896 not handle exceptions.
12897 * soft-fp/negsf2.c (__negsf2): Likewise.
12898 * soft-fp/negtf2.c (__negtf2): Likewise.
12899 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12901 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12903 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12904 semicolon. From Linux kernel.
12906 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12908 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12910 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12913 * manual/socket.texi: Added statement about buffer
12914 for gethostbyname2_r.
12916 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12918 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12919 Use .p2align directive instead, throughout.
12920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12921 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12922 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12923 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12924 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12925 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12926 * sysdeps/x86_64/strchr.S: Likewise.
12927 * sysdeps/x86_64/strrchr.S: Likewise.
12929 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12931 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12933 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12935 * sysdeps/generic/math_private.h (__mpsin1): Remove
12937 (__mpcos1): Likewise.
12938 (__mpsin): New argument __range_reduce.
12939 (__mpcos): Likewise.
12940 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12941 (slow): Use __mpsin and __mpcos.
12945 (sloww1): Likewise.
12946 (sloww2): Likewise.
12947 (bsloww): Likewise.
12948 (bsloww1): Likewise.
12949 (bsloww2): Likewise.
12950 (cslow2): Likewise.
12951 (csloww): Likewise.
12952 (csloww1): Likewise.
12953 (csloww2): Likewise.
12954 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12955 range_reduce. Merge in __mpsin1.
12956 (__mpcos): Likewise.
12957 (__mpsin1): Remove.
12958 (__mpcos1): Likewise.
12960 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12962 * locale/loadlocale.c (_nl_intern_locale_data): Use
12964 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12965 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12966 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12967 obstack data is appropriately aligned.
12968 (obstack_int32_grow_fast): Likewise.
12969 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12970 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12971 (add_locale_uint32_array): Likewise.
12973 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12975 * benchtests/Makefile: Remove ARGLIST and RET variables.
12976 ($(objpfx)bench-%.c): Pass only function name to the script.
12977 * benchtests/README: Update documentation.
12978 * benchtests/acos-inputs: Add new directives.
12979 * benchtests/acosh-inputs: Likewise.
12980 * benchtests/asin-inputs: Likewise.
12981 * benchtests/asinh-inputs: Likewise.
12982 * benchtests/atan-inputs: Likewise.
12983 * benchtests/atanh-inputs: Likewise.
12984 * benchtests/cos-inputs: Likewise.
12985 * benchtests/cosh-inputs: Likewise.
12986 * benchtests/exp-inputs: Likewise.
12987 * benchtests/log-inputs: Likewise.
12988 * benchtests/pow-inputs: Likewise.
12989 * benchtests/rint-inputs: Likewise.
12990 * benchtests/sin-inputs: Likewise.
12991 * benchtests/sinh-inputs: Likewise.
12992 * benchtests/tan-inputs: Likewise.
12993 * benchtests/tanh-inputs: Likewise.
12994 * scripts/bench.pl: Add support for new directives.
12996 2013-10-07 Alan Modra <amodra@gmail.com>
12998 * README: Fix careless merge.
13000 2013-10-05 Alan Modra <amodra@gmail.com>
13002 * NEWS: Mention powerpc64le support and bugs fixed.
13003 * README: Both big-endian and little-endian powerpc64 supported.
13005 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13007 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13008 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13009 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13010 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13012 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13014 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13017 2013-10-04 Joseph Myers <joseph@codesourcery.com>
13019 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13020 Move -mhard-float appending from
13021 ports/sysdeps/powerpc/powerpc32/Makefile.
13022 [$(with-fp) = yes] (ASFLAGS): Likewise.
13023 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13024 * sysdeps/powerpc/nofpu: Move directory from
13025 ports/sysdeps/powerpc/nofpu.
13026 * sysdeps/powerpc/soft-fp: Move directory from
13027 ports/sysdeps/powerpc/soft-fp.
13028 * sysdeps/powerpc/powerpc32/405: Move directory from
13029 ports/sysdeps/powerpc/powerpc32/405.
13030 * sysdeps/powerpc/powerpc32/440: Move directory from
13031 ports/sysdeps/powerpc/powerpc32/440.
13032 * sysdeps/powerpc/powerpc32/464: Move directory from
13033 ports/sysdeps/powerpc/powerpc32/464.
13034 * sysdeps/powerpc/powerpc32/476: Move directory from
13035 ports/sysdeps/powerpc/powerpc32/476.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13037 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13039 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13041 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13043 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13045 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13046 * README: Update for powerpc-*-linux-gnu software floating point
13049 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13050 case to powerpc/powerpc32*.
13051 * sysdeps/unix/sysv/linux/configure: Regenerated.
13053 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13054 (_FPU_MASK_OM): Define as 0x04.
13055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13063 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13066 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13069 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13070 and setcontext_e500.
13072 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13074 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13076 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13078 * manual/threads.texi (Default Thread Attributes): Fix typo.
13080 2013-10-04 Will Newton <will.newton@linaro.org>
13082 * malloc/Makefile: Add tst-memalign.
13083 * malloc/tst-memalign.c: New file.
13085 * malloc/tst-posix_memalign.c: Add comments.
13086 (do_test): Add comments and call free on all potentially
13087 allocated pointers. Add space after cast.
13089 * malloc/tst-pvalloc.c: Add comments.
13090 (do_test): Add comments and call free on all potentially
13091 allocated pointers. Remove duplicate check for NULL pointer.
13092 Add space after cast.
13094 * malloc/tst-valloc.c: Add comments.
13095 (do_test): Add comments and call free on all potentially
13096 allocated pointers. Remove duplicate check for NULL pointer.
13097 Add space after cast.
13099 2013-10-04 Alan Modra <amodra@gmail.com>
13101 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13102 Use stdint types in rather than __attribute__((mode())).
13103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13105 2013-10-04 Alan Modra <amodra@gmail.com>
13107 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13108 Correct handling of unaligned relocs for little-endian.
13109 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13111 2013-10-04 Alan Modra <amodra@gmail.com>
13113 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13114 * configure: Regenerate.
13115 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13116 * shlib-versions: Likewise.
13118 2013-10-04 Alan Modra <amodra@gmail.com>
13120 * string/tester.c (test_memrchr): Increment reported test cycle.
13122 2013-10-04 Alan Modra <amodra@gmail.com>
13124 * string/test-memcpy.c (do_one_test): When reporting errors, print
13125 string address and don't overrun end of string.
13127 2013-10-04 Alan Modra <amodra@gmail.com>
13129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13130 insrdi. Make better use of reg selection to speed exit slightly.
13131 Schedule entry path a little better. Remove useless "are we done"
13132 checks on entry to main loop. Handle wrapping around zero address.
13133 Correct main loop count. Handle single left-over word from main
13134 loop inline rather than by using loop_small. Remove extra word
13135 case in loop_small caused by wrong loop count. Add little-endian
13137 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13142 support. Avoid rlwimi.
13143 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13145 2013-10-04 Alan Modra <amodra@gmail.com>
13147 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13148 insrdi. Formatting.
13149 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13150 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13151 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13152 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13153 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13154 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13156 2013-10-04 Alan Modra <amodra@gmail.com>
13158 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13159 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13160 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13161 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13162 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13163 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13164 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13165 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13166 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13167 use of regs. Use power7 mtocrf. Tidy function tails.
13169 2013-10-04 Alan Modra <amodra@gmail.com>
13171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13172 Formatting. Consistently use rXXX register defines or rN defines.
13173 Use early exit labels that avoid restoring unused non-volatile regs.
13174 Make cr field use more consistent with rWORDn compares. Rename
13175 regs used as shift registers for unaligned loop, using rN defines
13176 for short lifetime/multiple use regs.
13177 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13178 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13179 addi 1,1,64 to pop stack frame. Simplify return value code.
13180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13182 2013-10-04 Alan Modra <amodra@gmail.com>
13184 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13185 support. Correct typos, formatting. Optimize tail. Use insrdi
13186 rather than rlwimi.
13187 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13188 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13189 little-endian support. Correct typos.
13190 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13191 rather than rlwimi.
13192 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13193 in loop and entry code to keep "and." results.
13194 (strchr): Add little-endian support. Comment. Move cntlzd
13196 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13198 2013-10-04 Alan Modra <amodra@gmail.com>
13200 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13201 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13202 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13203 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13205 2013-10-04 Alan Modra <amodra@gmail.com>
13207 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13208 (rTMP): Define as r11.
13209 (strcmp): Add little-endian support. Optimise tail.
13210 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13211 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13212 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13213 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13214 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13215 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13218 2013-10-04 Alan Modra <amodra@gmail.com>
13220 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13221 little-endian support. Remove unnecessary "are we done" tests.
13222 Handle "s" wrapping around zero and extremely large "size".
13223 Correct main loop count. Handle single left-over word from main
13224 loop inline rather than by using small_loop. Correct comments.
13225 Delete "zero" tail, use "end_max" instead.
13226 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13228 2013-10-04 Alan Modra <amodra@gmail.com>
13230 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13231 support. Don't branch over align.
13232 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13233 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13234 support. Rearrange tmp reg use to suit. Comment.
13235 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13237 2013-10-04 Alan Modra <amodra@gmail.com>
13239 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13241 2013-10-04 Alan Modra <amodra@gmail.com>
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13244 conditional form of branch and link when obtaining pc.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13247 2013-10-04 Alan Modra <amodra@gmail.com>
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13254 2013-10-04 Alan Modra <amodra@gmail.com>
13256 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13257 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13258 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13259 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13260 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13261 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13262 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13263 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13264 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13265 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13267 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13268 Alistair Popple <alistair@ozlabs.au.ibm.com>
13269 Alan Modra <amodra@gmail.com>
13272 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13273 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13274 _dl_hwcap access for little-endian.
13275 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13276 destroy vmx regs when saving unaligned.
13277 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13278 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13279 destroy vmx regs when saving unaligned.
13281 2013-10-04 Alan Modra <amodra@gmail.com>
13283 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13284 Don't use a union to pack hi/low value.
13286 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13288 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13290 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13292 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13293 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13294 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13296 2013-10-04 Alan Modra <amodra@gmail.com>
13298 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13299 constants to usual value for .cst8 section, and remove redundant
13301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13302 constant for 0x1p52. Load little-endian words of double from
13303 correct stack offsets.
13305 2013-10-04 Alan Modra <amodra@gmail.com>
13307 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13308 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13309 words of double from correct stack offsets.
13310 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13311 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13312 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13313 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13314 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13315 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13317 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13318 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13319 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13320 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13321 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13322 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13323 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13324 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13325 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13326 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13328 2013-10-04 Alan Modra <amodra@gmail.com>
13330 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13331 64-bit int/double union.
13332 (_FPU_SETCW): Likewise.
13333 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13334 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13336 2013-10-04 Alan Modra <amodra@gmail.com>
13338 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13339 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13341 2013-10-04 Alan Modra <amodra@gmail.com>
13343 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13344 use vector int constants.
13345 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13347 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13349 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13350 array with long long.
13351 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13352 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13353 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13354 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13355 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13356 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13357 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13358 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13359 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13360 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13361 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13362 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13363 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13365 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13367 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13368 (__signbit): Likewise. Correct for little-endian.
13369 (__signbitl): Call __signbit.
13370 (lrint): Correct for little-endian.
13371 (lrintf): Call lrint.
13373 2013-10-04 Alan Modra <amodra@gmail.com>
13375 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13376 union 32-bit int array member with 64-bit int array.
13377 (t515, tm256): Double rather than long double.
13378 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13380 2013-10-04 Alan Modra <amodra@gmail.com>
13382 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13384 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13386 version of math_ldbl.h.
13388 2013-10-04 Alan Modra <amodra@gmail.com>
13390 [BZ #15734], [BZ #15735]
13391 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13392 all uses of ieee875 long double macros and unions. Simplify test
13393 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13394 ldbl_extract_mantissa value for ix,iy exponents. Properly
13395 normalize after ldbl_extract_mantissa, and don't add hidden bit
13396 already handled. Don't treat low word of ieee854 mantissa like
13397 low word of IBM long double and mask off bit when testing for
13399 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13400 all uses of ieee875 long double macros and unions. Simplify tests
13401 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13402 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13403 two1022, instead use their values. Recognise that tests for large
13404 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13405 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13406 Rewrite all uses of ieee875 long double macros and unions. Simplify
13407 test for 0.0L and nan. Correct negation.
13408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13409 ieee875 long double macros and unions. Correct output for large
13410 magnitude x. Correct absolute value calculation.
13411 (__erfcl): Likewise.
13412 * math/libm-test.inc: Add tests for errors discovered in IBM long
13413 double versions of fmodl, remainderl, erfl and erfcl.
13415 2013-10-04 Alan Modra <amodra@gmail.com>
13417 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13418 all uses of ieee854 long double macros and unions. Simplify tests
13419 for long doubles that are fully specified by the high double.
13420 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13422 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13423 Remove dead code too.
13424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13425 (__ieee754_ynl): Likewise.
13426 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13427 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13429 Remove dead code too.
13430 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13431 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13439 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13440 Comment on variable precision.
13441 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13444 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13448 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13450 2013-10-04 Alan Modra <amodra@gmail.com>
13452 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13453 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13454 all uses of ieee854 long double macros and unions.
13455 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13468 Simplify sign and nan test too.
13469 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13470 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13471 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13472 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13474 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13475 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13478 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13479 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13480 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13481 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13484 2013-10-04 Alan Modra <amodra@gmail.com>
13486 * stdio-common/printf_size.c (__printf_size): Don't use
13487 union ieee854_long_double in fpnum union.
13488 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13489 signbit macro to retrieve sign from long double.
13490 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13491 retrieve sign from long double.
13492 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13493 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13494 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13495 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13496 * math/test-misc.c (main): Don't use union ieee854_long_double.
13498 2013-10-04 Alan Modra <amodra@gmail.com>
13501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13502 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13503 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13504 calculation. Remove unnecessary test for denormal exponent.
13505 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13506 Correct handling of denormals. Avoid undefined shift behaviour.
13507 Correct normalisation of low mantissa when low double is denormal.
13508 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13509 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13510 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13511 Correct normalisation of low mantissa. Test for overflow of high
13512 mantissa and normalise.
13513 (ldbl_nearbyint): Use more readable constant for two52.
13514 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13515 (__mpn_construct_long_double): Fix test for overflow of high
13516 mantissa and correct normalisation. Avoid undefined shift.
13518 2013-10-04 Alan Modra <amodra@gmail.com>
13520 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13521 (union ibm_extended_long_double): Define as an array of ieee754_double.
13522 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13523 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13524 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13525 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13534 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13536 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13537 page size instead of calling getpagesize.
13539 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13540 (LOCFILE_ALIGN_MASK): Likewise.
13541 (LOCFILE_ALIGN_UP): Likewise.
13542 (LOCFILE_ALIGNED_P): Likewise.
13543 * locale/programs/ld-collate.c (collate_output): Use the new
13544 macros instead of __alignof__ (int32_t).
13545 * locale/weight.h (findidx): Likewise.
13547 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13550 * manual/string.texi: Fix strncat and wcsncat.
13552 2013-10-03 Brooks Moses <bmoses@google.com>
13555 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13556 * Makerules: ...here, and adjust associated comments.
13558 2013-10-02 Will Newton <will.newton@linaro.org>
13560 * malloc/Makefile: Add tst-pvalloc.
13561 * malloc/tst-pvalloc.c: New file.
13563 2013-10-02 Will Newton <will.newton@linaro.org>
13565 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13566 improve test coverage.
13568 2013-10-02 Will Newton <will.newton@linaro.org>
13570 * malloc/Makefile: Add tst-posix_memalign.
13571 * malloc/tst-posix_memalign.c: New file.
13573 2013-10-01 Eric Blake <eblake@redhat.com>
13575 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13576 Use __THROWNL rather than __THROW on static functions.
13578 2013-09-30 Petr Machata <pmachata@redhat.com>
13580 * elf/elf.h (R_AARCH64_ABS16): New macro.
13581 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13582 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13583 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13584 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13585 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13586 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13587 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13588 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13589 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13590 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13591 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13592 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13593 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13594 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13595 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13596 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13597 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13598 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13599 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13600 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13601 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13602 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13603 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13604 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13605 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13606 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13607 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13608 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13609 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13610 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13611 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13612 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13613 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13614 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13615 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13616 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13617 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13618 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13619 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13620 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13621 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13622 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13623 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13624 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13625 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13626 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13627 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13628 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13629 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13630 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13631 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13632 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13633 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13634 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13635 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13636 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13637 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13638 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13639 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13640 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13641 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13642 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13643 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13644 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13645 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13646 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13647 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13648 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13649 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13650 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13651 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13652 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13653 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13654 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13655 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13656 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13657 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13658 (R_AARCH64_TLSDESC_LDR): Likewise.
13659 (R_AARCH64_TLSDESC_ADD): Likewise.
13660 (R_AARCH64_TLSDESC_CALL): Likewise.
13662 2013-09-30 Andreas Schwab <schwab@suse.de>
13665 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13666 the nss database lookup.
13667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13670 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13672 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13674 2013-09-28 P. J. McDermott <pj@pehjota.net>
13676 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13677 ${Bash-specific parameter/pattern/string} parameter expansion.
13678 * sysdeps/unix/make-syscalls.sh: Likewise.
13680 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13682 * sysdeps/sh/stackguard-macros.h: New file.
13684 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13688 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13689 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13690 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13691 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13693 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13695 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13696 Fix thread ID register.
13698 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13700 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13701 [POSIX || UNIX98]: Require rather than permitting all symbols from
13703 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13704 element of struct sched_param.
13705 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13706 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13707 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13708 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13711 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13713 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13714 argument calculation.
13716 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13718 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13720 [POSIX] (pthread_attr_t): Do not require type.
13721 [POSIX] (pthread_cond_t): Likewise.
13722 [POSIX] (pthread_condattr_t): Likewise.
13723 [POSIX] (pthread_key_t): Likewise.
13724 [POSIX] (pthread_mutex_t): Likewise.
13725 [POSIX] (pthread_mutexattr_t): Likewise.
13726 [POSIX] (pthread_once_t): Likewise.
13727 [POSIX] (pthread_t): Likewise.
13728 [POSIX-based standards] (pthread_atfork): Expect function.
13730 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13731 Richard Sandiford <richard@codesourcery.com>
13733 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13734 (swap_endianness_p): New extern variable.
13735 (set_big_endian): New inline function.
13736 (maybe_swap_uint32): Likewise.
13737 (maybe_swap_uint32_array): Likewise.
13738 (maybe_swap_uint32_obstack): Likewise.
13739 * locale/programs/locfile.c: Include <stdbool.h>.
13740 (swap_endianness_p): New variable.
13741 (add_locale_uint32): Call maybe_swap_uint32.
13742 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13743 (write_locale_data): Call maybe_swap_uint32_array.
13744 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13746 (obstack_int32_grow_fast): Likewise.
13747 (output_weightwc): Call maybe_swap_uint32_obstack.
13748 (collate_output): Likewise.
13749 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13750 (OPT_LITTLE_ENDIAN): Likewise.
13751 (options): Add --little-endian and --big-endian options.
13752 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13753 * locale/programs/locarchive.c: Include "locfile.h".
13757 (create_archive): Use the new macros to access fields of
13758 structures directly mapped from or written to locale archives.
13759 (oldlocrecentcmp): Likewise.
13760 (enlarge_archive): Likewise.
13761 (insert_name): Likewise.
13762 (add_alias): Likewise.
13763 (add_locale): Likewise.
13764 (delete_locales_from_archive): Likewise.
13765 (show_archive_content): Likewise.
13766 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13769 2013-09-24 Roland McGrath <roland@hack.frob.com>
13771 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13772 http://www.gnu.org/doc/freemanuals.texi.
13773 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13775 2013-09-24 Will Newton <will.newton@linaro.org>
13777 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13780 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13782 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13785 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13787 * manual/threads.texi (POSIX Threads): Fix a typo.
13789 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13792 * string/tst-strcoll-overflow.c: New test case.
13793 * string/Makefile (xtests): Add tst-strcoll-overflow.
13794 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13795 cache if string sizes may cause integer overflow.
13798 * string/strcoll_l.c (coll_seq): New members rule, idx,
13799 save_idx and back_us.
13800 (get_next_seq_nocache): New function.
13801 (do_compare_nocache): New function.
13802 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13805 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13808 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13809 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13810 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13813 * elf/Makefile (tests): Add tst-ptrguard1.
13814 (tests-static): Add tst-ptrguard1-static.
13815 (tst-ptrguard1-ARGS): Define.
13816 (tst-ptrguard1-static-ARGS): Define.
13817 * elf/tst-ptrguard1.c: New file.
13818 * elf/tst-ptrguard1-static.c: New file.
13819 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13820 * sysdeps/i386/stackguard-macros.h: Likewise.
13821 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13822 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13823 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13824 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13825 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13826 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13828 2013-09-23 Hector Marco <hecmargi@upv.es>
13829 Ismael Ripoll <iripoll@disca.upv.es>
13830 Carlos O'Donell <carlos@redhat.com>
13833 * sysdeps/generic/stackguard-macros.h: Define
13834 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13835 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13836 Define __pointer_chk_guard_local.
13837 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13838 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13840 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13843 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13845 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13847 * include/string.h (__ffs): Declare as hidden.
13848 * string/ffs.c (__ffs): Define as hidden.
13849 * sysdeps/i386/ffs.c (__ffs): Likewise.
13850 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13851 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13852 * sysdeps/s390/ffs.c (__ffs): Likewise.
13853 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13855 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13857 * NEWS: Mention malloc probes.
13859 * malloc/arena.c (new_heap): New memory_heap_new probe.
13860 (grow_heap): New memory_heap_more probe.
13861 (shrink_heap): New memory_heap_less probe.
13862 (heap_trim): New memory_heap_free probe.
13863 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13864 (systrim): New memory_sbrk_less probe.
13865 * manual/probes.texi: Document them.
13867 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13868 * manual/probes.texi: Document it.
13870 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13871 (__libc_realloc): Add memory_realloc_retry probe.
13872 (__libc_memalign): Add memory_memalign_retry probe.
13873 (__libc_valloc): Add memory_valloc_retry probe.
13874 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13875 (__libc_calloc): Add memory_calloc_retry probe.
13876 * manual/probes.texi: Document them.
13878 * malloc/arena.c (get_free_list): Add probe
13879 memory_arena_reuse_free_list.
13880 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13881 and memory_arena_reuse.
13882 (arena_get2) [!PER_THREAD]: Likewise.
13883 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13884 memory_arena_reuse_realloc.
13885 * manual/probes.texi: Document them.
13887 * malloc/malloc.c (__libc_free): Add
13888 memory_mallopt_free_dyn_thresholds probe.
13889 (__libc_mallopt): Add multiple memory_mallopt probes.
13890 * manual/probes.texi: Document them.
13892 * malloc/malloc.c: Include stap-probe.h.
13893 (__libc_mallopt): Add memory_mallopt probe.
13894 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13895 * manual/probes.texi: New.
13896 * manual/Makefile (chapters): Add probes.
13897 * manual/threads.texi: Set next node.
13899 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13901 [BZ #15963, #13985]
13902 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13903 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13904 Add `Chinese' to `nan' entry name.
13906 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13908 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13909 (POLYNOMIAL): Likewise.
13910 (TAYLOR_SINCOS): Likewise.
13911 (TAYLOR_SLOW): Likewise.
13912 (__sin): Use TAYLOR_SINCOS.
13914 (slow): Use TAYLOR_SLOW.
13916 (bsloww): Likewise.
13917 (csloww): Likewise.
13919 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13921 * stdlib/strtod_l.c: Fix buffer overrun.
13923 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13925 * benchtests/Makefile (bench): Add sincos.
13926 * benchtests/bench-sincos.c: New file.
13928 * math/libm-test.inc (cos_test_data): New test inputs.
13929 (sin_test_data): Likewise.
13931 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13937 (sloww1): Likewise.
13938 (sloww2): Likewise.
13939 (bsloww1): Likewise.
13940 (bsloww2): Likewise.
13941 (cslow2): Likewise.
13942 (csloww1): Likewise.
13943 (csloww2): Likewise.
13945 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13954 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13956 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13957 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13958 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13959 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13960 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13961 * elf/cache.c (print_entry): Handle the new cache flags.
13963 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13964 Aldy Hernandez <aldyh@redhat.com>
13966 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13967 Change condition to [_SOFT_FLOAT].
13968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13980 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13983 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13986 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13988 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13989 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13990 (__longjmp): Use LOAD_GP to load saved GPRs.
13991 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13992 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13993 (__sigsetjmp): Use SAVE_GP to save GPRs.
13995 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13996 Do not append -msoft-float.
13997 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13999 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14001 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14003 2013-09-17 Joseph Myers <joseph@codesourcery.com>
14006 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14007 (_FPU_GETCW): Use initial "__" on variable and field names but not
14008 on macro parameter name.
14009 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14010 parentheses around reference to macro parameter.
14012 2013-09-13 Richard Sandiford <richard@codesourcery.com>
14014 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14016 (ctype_startup): Use uint32_t in cast and sizeof for
14019 2013-09-11 Jia Liu <proljc@gmail.com>
14021 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14023 [__FreeBSD__]: Likewise.
14025 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
14027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14028 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14029 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14030 (strchr): Remove __strchr_sse42 ifunc selection.
14031 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14032 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14034 2013-09-11 Will Newton <will.newton@linaro.org>
14036 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14037 parameter to RES. Remove hardcoded 1000 value.
14038 * benchtests/bench-skeleton.c (main): Pass RES parameter
14039 to TIMING_INIT and multiply result by 1000.
14041 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14045 2013-09-11 Andreas Schwab <schwab@suse.de>
14047 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14049 (O_TMPFILE) [__USE_GNU]: Define.
14050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14053 2013-09-11 Will Newton <will.newton@linaro.org>
14056 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14059 2013-09-11 Will Newton <will.newton@linaro.org>
14062 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14065 2013-09-11 Will Newton <will.newton@linaro.org>
14068 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14071 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
14073 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14074 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14077 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14079 2013-09-10 Allan McRae <allan@archlinux.org>
14082 * manual/arith.texi (Parsing of Floats): Clarify
14086 * manual/install.texi (Running make install): Mention
14088 * INSTALL: Regenerated.
14090 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14092 * csu/init-first.c (_init): Remove the !SHARED condition around
14093 FPU control word initialization.
14094 * elf/dl-support.c (_dl_fpu_control): New variable.
14095 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14096 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14097 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14098 * math/test-fpucw-static.c: New file.
14099 * math/test-fpucw-ieee.c: New file.
14100 * math/test-fpucw-ieee-static.c: New file.
14101 * math/Makefile (tests): Add `test-fpucw-ieee' and
14103 (tests-static): New variable.
14104 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14106 [($(build-shared),yes)]
14107 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14109 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14112 2013-09-09 Allan McRae <allan@archlinux.org>
14115 * manual/string.texi (Collation Functions): Fix typo in
14117 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14120 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14123 * libio/memstream.c (open_memstream): Fix memory leak.
14124 * libio/wmemstream.c (open_wmemstream): Likewise.
14127 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14129 2013-09-09 Will Newton <will.newton@linaro.org>
14131 * malloc/Makefile: Add tst-realloc to tests.
14132 * malloc/tst-realloc.c: New file.
14134 2013-09-09 Allan McRae <allan@archlinux.org>
14137 * COPYING: Update from GNU website to fix FSF address.
14138 * COPYING.LIB: Likewise.
14140 2013-09-06 David S. Miller <davem@davemloft.net>
14142 * po/zh_TW.po: Update Chinese (traditional) translation from
14143 translation project.
14145 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14146 Joseph Myers <joseph@codesourcery.com>
14148 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14150 (obstack_chunk_alloc): New macro.
14151 (obstack_chunk_free): Likewise.
14152 (record_offset): New function.
14153 (init_locale_data): Likewise.
14154 (align_locale_data): Likewise.
14155 (add_locale_empty): Likewise.
14156 (add_locale_raw_data): Likewise.
14157 (add_locale_raw_obstack): Likewise.
14158 (add_locale_string): Likewise.
14159 (add_locale_wstring): Likewise.
14160 (add_locale_uint32): Likewise.
14161 (add_locale_uint32_array): Likewise.
14162 (add_locale_char): Likewise.
14163 (start_locale_structure): Likewise.
14164 (end_locale_structure): Likewise.
14165 (start_locale_prelude): Likewise.
14166 (end_locale_prelude): Likewise.
14167 (write_locale_data): Take locale_file structure rather than an
14169 * locale/programs/locfile.h: Include "obstack.h".
14170 (struct locale_file): Change to store locale file contents instead
14172 (init_locale_data): New prototype.
14173 (align_locale_data): Likewise.
14174 (add_locale_empty): Likewise.
14175 (add_locale_raw_data): Likewise.
14176 (add_locale_raw_obstack): Likewise.
14177 (add_locale_string): Likewise.
14178 (add_locale_wstring): Likewise.
14179 (add_locale_uint32): Likewise.
14180 (add_locale_uint32_array): Likewise.
14181 (add_locale_char): Likewise.
14182 (start_locale_structure): Likewise.
14183 (end_locale_structure): Likewise.
14184 (start_locale_prelude): Likewise.
14185 (end_locale_prelude): Likewise.
14186 (write_locale_data): Update prototype.
14187 * locale/programs/3level.h (struct TABLE): Remove result field.
14188 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14189 Use new locale_file interface.
14190 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14191 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14192 * locale/programs/ld-address.c (address_output): Use new
14193 locale_file interface.
14194 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14196 (collate_finish): Don't call collseq_table_finalize.
14197 (collate_output): Use new locale_file interface.
14198 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14200 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14201 (TABLE): Move defines earlier in file.
14202 (ELEMENT): Likewise.
14203 (DEFAULT): Likewise.
14204 (wctrans_table_add): Move macro and inline function earlier in
14206 (struct wctype_table): Move type earlier in file.
14207 (add_locale_wctype_table): New static prototype.
14208 (struct locale_ctype_t): Use logical types instead of struct iovec
14209 pointers for members.
14210 (ctype_output): Use new locale_file interface.
14211 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14212 new locale_file interface.
14213 (allocate_arrays): Update for use of new locale_file interface.
14214 * locale/programs/ld-identification.c (identification_output): Use
14215 new locale_file interface.
14216 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14217 * locale/programs/ld-messages.c (messages_output): Likewise.
14218 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14219 * locale/programs/ld-name.c (name_output): Likewise.
14220 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14221 * locale/programs/ld-paper.c (paper_output): Likewise.
14222 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14223 * locale/programs/ld-time.c (time_output): Likewise.
14225 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14227 * benchtests/Makefile: Add memrchr benchmark.
14228 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14229 benchmark as memrchr.
14230 * benchtests/bench-memrchr-ifunc.c: New file.
14231 * benchtests/bench-memrchr.c: New file.
14233 2013-09-06 Will Newton <will.newton@linaro.org>
14235 * benchtests/Makefile (string-bench): Add memcpy.
14237 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14238 Cong Wang <amwang@redhat.com>
14241 * sysdeps/unix/sysv/linux/bits/in.h
14242 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14243 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14244 before __USE_KERNEL_IPV6_DEFS uses.
14245 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14247 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14248 sockaddr_in6, or ipv6_mreq.
14250 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14252 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14253 memory access for final bytes in some large inputs.
14254 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14256 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14258 * string/test-memrchr.c: New file.
14259 * string/test-memrchr-ifunc.c: New file.
14260 * string/Makefile: Add new memrchr testcase.
14262 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14264 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14265 fanotify_init returns EPERM.
14267 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14269 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14271 (top level): Treat second token from macro or constant entries for
14272 allowed headers as allowed.
14273 * include/complex.h: Condition internal declarations on
14275 * include/fenv.h: Condition include of <stdbool.h> and internal
14276 declarations on [!_ISOMAC].
14278 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14281 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14283 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14285 * configure.in (--enable-versioning): Remove configure option.
14286 (libc_cv_asm_symver_directive): Remove configure test.
14287 (libc_cv_ld_version_script_option): Likewise.
14288 (VERSIONING): Remove variable and AC_SUBST.
14289 (DO_VERSIONING): Remove AC_DEFINE.
14290 * configure: Regenerated.
14291 * config.h.in (DO_VERSIONING): Remove macro.
14292 * Makerules [$(versioning) = yes]: Change conditionals to
14293 [$(build-shared) = yes].
14294 * config.make.in (versioning): Remove variable.
14295 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14296 [$(build-shared) = yes].
14297 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14298 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14299 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14300 [$(build-shared) = yes].
14301 * extra-lib.mk [$(versioning) = yes]: Likewise.
14302 * hurd/Makefile [$(versioning) = yes]: Likewise.
14303 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14305 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14307 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14308 [SHARED && !NO_HIDDEN].
14309 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14311 [SHARED && DO_VERSIONING]: Likewise..
14312 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14313 [$(build-shared) = yes].
14314 * manual/install.texi (--disable-versioning): Remove
14316 * INSTALL: Regenerated.
14317 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14319 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14320 [$(build-shared) = yes].
14321 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14322 * sysdeps/i386/i686/multiarch/strstr-c.c
14323 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14324 [SHARED && !NO_HIDDEN].
14325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14326 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14327 * sysdeps/powerpc/powerpc32/dl-machine.c
14328 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14329 * sysdeps/powerpc/powerpc32/sysdep.h
14330 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14331 to [SHARED && PIC && !NO_HIDDEN].
14332 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14333 conditional to [SHARED].
14335 2013-09-04 Will Newton <will.newton@linaro.org>
14337 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14338 * benchtests/bench-string.h: Include bench-timing.h instead
14339 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14340 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14341 call to HP_TIMING_DIFF_INIT.
14342 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14343 instead of hp-timing.h macros.
14344 * benchtests/bench-memchr.c: Likewise.
14345 * benchtests/bench-memcmp.c: Likewise.
14346 * benchtests/bench-memcpy.c: Likewise.
14347 * benchtests/bench-memmem.c: Likewise.
14348 * benchtests/bench-memmove.c: Likewise.
14349 * benchtests/bench-memset.c: Likewise.
14350 * benchtests/bench-rawmemchr.c: Likewise.
14351 * benchtests/bench-strcasecmp.c: Likewise.
14352 * benchtests/bench-strcasestr.c: Likewise.
14353 * benchtests/bench-strcat.c: Likewise.
14354 * benchtests/bench-strchr.c: Likewise.
14355 * benchtests/bench-strcmp.c: Likewise.
14356 * benchtests/bench-strcpy.c: Likewise.
14357 * benchtests/bench-strcpy_chk.c: Likewise.
14358 * benchtests/bench-strlen.c: Likewise.
14359 * benchtests/bench-strncasecmp.c: Likewise.
14360 * benchtests/bench-strncat.c: Likewise.
14361 * benchtests/bench-strncmp.c: Likewise.
14362 * benchtests/bench-strncpy.c: Likewise.
14363 * benchtests/bench-strnlen.c: Likewise.
14364 * benchtests/bench-strpbrk.c: Likewise.
14365 * benchtests/bench-strrchr.c: Likewise.
14366 * benchtests/bench-strspn.c: Likewise.
14367 * benchtests/bench-strstr.c: Likewise.
14369 2013-09-04 Will Newton <will.newton@linaro.org>
14371 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14373 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14376 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14377 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14378 * math/libm-test.inc (lgamma_test_data): Add more tests.
14379 * sysdeps/i386/fpu/libm-test-ulps: Update.
14380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14382 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14384 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14388 Add strcmp-sse2-unaligned
14389 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14391 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14393 * Versions.def (libc): Add GLIBC_2.19.
14395 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14397 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14398 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14400 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14403 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14404 intermediate calculations in recurrence.
14405 (__ieee754_ynf): Likewise.
14406 * math/libm-test.inc (jn_test_data): Do not allow spurious
14407 underflow exception. Add more tests.
14408 (yn_test_data): Add more tests.
14409 * sysdeps/i386/fpu/libm-test-ulps: Update.
14410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14412 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14414 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14416 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14418 * csu/init-first.c: Fix then/than typos.
14419 * locale/programs/ld-collate.c: Likewise.
14420 * locale/programs/linereader.h: Likewise.
14421 * manual/charset.texi: Likewise.
14422 * manual/filesys.texi: Likewise.
14423 * manual/stdio.texi: Likewise.
14424 * manual/string.texi: Likewise.
14425 * stdlib/fmtmsg.c: Likewise.
14426 * sysdeps/i386/stpncpy.S: Likewise.
14427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14428 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14429 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14430 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14432 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14434 * elf/dl-open.c: Fix typos.
14435 * iconvdata/gbbig5.c: Likewise.
14436 * iconvdata/iso-2022-jp.c: Likewise.
14437 * iconv/gconv_int.h: Likewise.
14438 * iconv/loop.c: Likewise.
14439 * nis/rpcsvc/nis.h: Likewise.
14440 * resolv/ns_name.c: Likewise.
14441 * stdio-common/vfscanf.c: Likewise.
14442 * streams/stropts.h: Likewise.
14443 * sunrpc/rpc_thread.c: Likewise.
14444 * sysdeps/i386/strpbrk.S: Likewise.
14445 * sysdeps/ieee754/k_standard.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14448 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14449 * sysdeps/mach/hurd/profil.c: Likewise.
14450 * sysdeps/s390/dl-procinfo.h: Likewise.
14451 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14452 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14453 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14454 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14457 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14459 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14462 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14464 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14465 aix specific files.
14466 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14467 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14468 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14469 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14470 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14472 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14473 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14475 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14476 Roland McGrath <roland@hack.frob.com>
14478 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14479 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14481 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14483 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14484 __executable_start symbol instead of _start.
14486 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14488 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14489 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14491 * sysdeps/gnu/ldsodefs.h: ... this new file.
14493 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14494 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14495 instead of ELFOSABI_LINUX.
14497 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14498 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14499 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14500 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14502 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14503 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14506 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14507 (ibm_extended_long_double): Add ieee_nan member.
14508 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14509 (do_test): New function.
14511 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14513 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14514 functions, renamed from truncdfsf_test, trunctfsf_test,
14516 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14518 (do_test): Run all these.
14520 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14522 * argp/argp-help.c: Fix typos.
14523 * argp/argp-parse.c: Likewise.
14524 * debug/backtracesyms.c: Likewise.
14525 * elf/elf.h: Likewise.
14526 * malloc/malloc.c: Likewise.
14527 * nis/nis_print.c: Likewise.
14528 * resolv/res_comp.c: Likewise.
14529 * stdlib/stdlib.h: Likewise.
14530 * sunrpc/clnt_tcp.c: Likewise.
14531 * sunrpc/clnt_udp.c: Likewise.
14532 * sunrpc/clnt_unix.c: Likewise.
14533 * sysdeps/unix/bsd/ptsname.c: Likewise.
14534 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14535 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14542 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14544 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14546 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14549 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14552 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14553 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14554 ($(objpfx)bug-dl-leaf): New rule.
14555 ($(objpfx)bug-dl-leaf.so): Likewise.
14556 ($(objpfx)bug-dl-leaf.out): Likewise.
14557 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14558 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14559 * dlfcn/bug-dl-leaf.c: New test.
14560 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14561 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14562 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14563 (dlclose): Likewise.
14564 (dlmopen): Likewise.
14566 2013-08-27 Roland McGrath <roland@hack.frob.com>
14568 * include/netdb.h [!_ISOMAC]:
14569 Don't include <tls.h>.
14570 (h_errno, __libc_h_errno): Move declaration and macros out of
14573 * include/resolv.h [_RESOLV_H_]:
14574 Don't include <tls.h>.
14575 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14576 * resolv/res_libc.c: Don't include <tls.h>.
14577 (_res): Use __attribute__ ((nocommon)) in place of
14578 __attribute__ ((section (".bss"))).
14580 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14581 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14583 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14585 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14586 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14588 * resolv/res_mkquery.c: Include <sys/time.h>.
14590 * inet/ifreq.c: Moved to ...
14591 * sysdeps/unix/ifreq.c: ... here.
14592 * inet/ifreq.c: New file, true stub version.
14594 * socket/sa_len.c: New file.
14595 * socket/Makefile (aux): Add it.
14596 * sysdeps/unix/sysv/linux/Makefile
14597 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14598 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14599 and #include <socket/sa_len.c>.
14600 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14601 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14604 * bits/socket.h: ... here.
14606 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14607 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14608 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14610 2013-08-27 Andreas Schwab <schwab@suse.de>
14613 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14614 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14615 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14616 * string/test-strcasecmp.c (test_main): Run tests in several
14618 * string/test-strncasecmp.c (test_main): Likewise.
14620 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14621 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14622 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14624 (__strncasecmp_ssse3) [PIC]: Likewise.
14626 2013-08-26 Roland McGrath <roland@hack.frob.com>
14628 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14630 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14631 instead of explicitly declaring xdecrypt.
14632 * nis/nss_nis/nis-publickey.c: Likewise.
14634 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14637 * nscd/aicache.c: Include res_hconf.h.
14638 (addhstaiX): Initialize res_hconf.
14640 2013-08-26 Andreas Schwab <schwab@suse.de>
14642 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14643 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14645 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14647 * nscd/aicache.c (addhstaiX): Fix indentation.
14649 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14651 * configure.ac: Quote $build_pt_chown test.
14652 * configure: Regenerated.
14654 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14657 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14658 * math/s_cexpf.c (__cexpf): Likewise.
14659 * math/s_cexpl.c (__cexpl): Likewise.
14660 * math/libm-test.inc (cexp_test_data): Correct expected return
14661 value for NaN + i0. Add another test.
14663 2013-08-22 David S. Miller <davem@davemloft.net>
14665 * po/ca.po: Update Catalan translation from translation project.
14666 * po/uk.po: Add Ukrainian translations from translation project.
14668 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14671 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14672 is infinite, not alongside NaN test.
14673 * math/s_fdimf.c (__fdimf): Likewise.
14674 * math/s_fdiml.c (__fdiml): Likewise.
14675 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14676 errno is unchanged.
14678 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14680 * argp/argp-help.c: Fix typos.
14681 * crypt/speeds.c: Likewise.
14682 * csu/check_fds.c: Likewise.
14683 * elf/dl-load.c: Likewise.
14684 * elf/dl-open.c: Likewise.
14685 * elf/reldep3.c: Likewise.
14686 * elf/reldep.c: Likewise.
14687 * elf/sprof.c: Likewise.
14688 * iconv/iconv_charmap.c: Likewise.
14689 * iconv/skeleton.c: Likewise.
14690 * iconv/strtab.c: Likewise.
14691 * io/lockf64.c: Likewise.
14692 * libio/libioP.h: Likewise.
14693 * resolv/gai_notify.c: Likewise.
14694 * resolv/ns_name.c: Likewise.
14695 * resolv/ns_samedomain.c: Likewise.
14696 * resolv/res_send.c: Likewise.
14697 * stdlib/random.c: Likewise.
14698 * sunrpc/rpc/xdr.h: Likewise.
14699 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14700 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14701 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14702 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14703 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14706 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14707 * sysdeps/mach/hurd/check_fds.c: Likewise.
14708 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14709 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14711 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14712 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14713 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14714 * sysdeps/pthread/aio_notify.c: Likewise.
14715 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14716 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14717 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14719 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14721 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14723 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14724 version if bit_Slow_SSE4_2 is set.
14725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14726 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14728 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14731 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14732 trampoline stack frame information.
14733 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14734 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14735 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14736 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14737 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14738 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14739 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14740 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14742 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14743 interrupting a syscall and set with option SA_SIGINFO.
14745 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14748 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14749 argument is infinite.
14750 * math/s_cprojf.c (__cprojf): Likewise.
14751 * math/s_cprojl.c (__cprojl): Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14753 * math/libm-test.inc (cproj_test_data): Add more tests.
14755 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14757 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14758 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14759 size. Use __ffs to determine corresponding shift.
14761 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14762 Roland McGrath <roland@hack.frob.com>
14764 * Makefile (INSTALL): Remove trailing blank lines from output of
14767 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14769 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14770 Align 32 bit compat elf_greg to 8 bytes.
14772 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14774 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14776 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14778 * string/strcoll_l.c (coll_seq): New structure.
14779 (get_next_seq_cached): New function.
14780 (get_next_seq): New function.
14781 (do_compare): New function.
14782 (STRCOLL): Use GNU style definition. Simplify implementation
14783 by using get_next_seq, get_next_seq_cached and do_compare.
14785 2013-08-16 Florian Weimer <fweimer@redhat.com>
14789 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14791 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14793 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14794 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14795 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14797 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14798 GETDENTS_64BIT_ALIGNED.
14799 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14800 * manual/filesys.texi (Reading/Closing Directory): Document
14801 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14803 * manual/conf.texi (Limits for Files): Add portability note to
14804 NAME_MAX, PATH_MAX.
14805 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14807 2013-08-13 Andreas Schwab <schwab@suse.de>
14810 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14812 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14813 LDBL_MAX_EXP >= 16384]: Add tests for it.
14815 2013-08-12 David S. Miller <davem@davemloft.net>
14817 * version.h (RELEASE): Set to "development".
14818 (VERSION): Set to "2.18.90".
14819 * NEWS: Add 2.19 section.
14821 2013-08-03 David S. Miller <davem@davemloft.net>
14823 * po/ko.po: Update Korean translation from translation project.
14825 2013-08-01 David S. Miller <davem@davemloft.net>
14827 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14828 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14831 2013-07-30 David S. Miller <davem@davemloft.net>
14833 * po/fr.po: Update French translation from translation project.
14835 2013-07-28 David S. Miller <davem@davemloft.net>
14837 * po/cs.po: Update Czech translation from translation project.
14839 * po/sv.po: Update Swedish translation from translation project.
14841 2013-07-27 David S. Miller <davem@davemloft.net>
14843 * po/eo.po: Update Esperanto translation from translation project.
14845 * po/vi.po: Update Vietnamese translation from translation project.
14847 * po/de.po: Update German translation from translation project.
14849 2013-07-26 David S. Miller <davem@davemloft.net>
14851 * po/bg.po: Update Bulgarian translation from translation project.
14853 * po/nl.po: Update Dutch translation from translation project.
14854 * po/pl.po: Update Polish translation from translation project.
14855 * po/ru.po: Update Russian translation from translation project.
14857 2013-07-24 David S. Miller <davem@davemloft.net>
14859 * po/libc.pot: Update.
14861 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14863 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14864 variable page size.
14865 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14866 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14867 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14869 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14871 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14873 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14874 Andreas Schwab <schwab@suse.de>
14875 Roland McGrath <roland@hack.frob.com>
14876 Joseph Myers <joseph@codesourcery.com>
14877 Carlos O'Donell <carlos@redhat.com>
14880 * config.h.in: Define HAVE_PT_CHOWN.
14881 * config.make.in (build-pt-chown): New variable.
14882 * configure.in (--enable-pt_chown): New configure option.
14883 * configure: Regenerate.
14884 * login/Makefile: Include Makeconfig. Build pt_chown only if
14885 build-pt-chown is enabled.
14886 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14887 pt_chown to fix pty ownership.
14888 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14890 * manual/install.texi (Configuring and compiling): Mention
14891 --enable-pt_chown. Add @findex for grantpt.
14892 * INSTALL: Regenerate.
14894 2013-07-20 David S. Miller <davem@davemloft.net>
14896 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14897 difference between 32-bit and 64-bit.
14899 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14902 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14903 Avoid system header dependency with -ffreestanding.
14904 ($(objpfx)bits/syscall%d): Likewise.
14906 2013-07-13 David S. Miller <davem@davemloft.net>
14908 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14909 underflows from atanl/atan2l due to bug 15319.
14910 (casinh_test_data): Likewise.
14912 2013-07-07 David S. Miller <davem@davemloft.net>
14914 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14916 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14918 * sysdeps/i386/fpu/libm-test-ulps: Update.
14919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14921 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14923 * configure.in (--enable-lock-elision): Fix message text.
14924 * INSTALL: Regenerate.
14925 * configure: Regenerate.
14927 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14931 2013-07-03 Andreas Jaeger <aj@suse.de>
14933 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14935 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14936 (ptrace_peeksiginfo_args): Add.
14937 (__ptrace_peeksiginfo_flags): Add.
14938 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14942 2013-07-03 Allan McRae <allan@archlinux.org>
14944 * sysdeps/i386/fpu/libm-test-ulps: Update.
14946 2013-07-02 David S. Miller <davem@davemloft.net>
14948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14950 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14954 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14956 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14959 2013-07-02 Andi Kleen <ak@linux.intel.com>
14961 * config.h.in (ENABLE_LOCK_ELISION): Add.
14962 * configure.in (--enable-lock-elision): Add option.
14963 * manual/install.texi: Document --enable lock elision.
14964 * configure: Regenerate
14965 * INSTALL: Regenerate.
14967 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14969 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14970 SSE4.2 strcasecmp for libc.a.
14971 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14973 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14976 * soft-fp/op-common.h (_FP_FMA): New macro.
14977 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14978 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14979 (_FP_MUL_MEAT_1_imm): ... here.
14980 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14981 (_FP_MUL_MEAT_1_wide): ... here.
14982 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14983 (_FP_MUL_MEAT_1_hard): ... here.
14984 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14985 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14986 (_FP_MUL_MEAT_2_wide): ... here.
14987 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14988 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14989 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14990 (_FP_MUL_MEAT_2_gmp): ... here.
14991 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14992 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14993 (_FP_MUL_MEAT_4_wide): ... here.
14994 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14995 (_FP_MUL_MEAT_4_gmp): ... here.
14996 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14997 (_FP_WFRACBITS_DW_S): Likewise.
14998 (_FP_WFRACXBITS_DW_S): Likewise.
14999 (_FP_HIGHBIT_DW_S): Likewise.
15000 (FP_FMA_S): Likewise.
15001 (_FP_FRAC_HIGH_DW_S): Likewise.
15002 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15003 (_FP_WFRACBITS_DW_D): Likewise.
15004 (_FP_WFRACXBITS_DW_D): Likewise.
15005 (_FP_HIGHBIT_DW_D): Likewise.
15006 (FP_FMA_D): Likewise.
15007 (_FP_FRAC_HIGH_DW_D): Likewise.
15008 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15009 (_FP_WFRACBITS_DW_E): Likewise.
15010 (_FP_WFRACXBITS_DW_E): Likewise.
15011 (_FP_HIGHBIT_DW_E): Likewise.
15012 (FP_FMA_E): Likewise.
15013 (_FP_FRAC_HIGH_DW_E): Likewise.
15014 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15015 (_FP_WFRACBITS_DW_Q): Likewise.
15016 (_FP_WFRACXBITS_DW_Q): Likewise.
15017 (_FP_HIGHBIT_DW_Q): Likewise.
15018 (FP_FMA_Q): Likewise.
15019 (_FP_FRAC_HIGH_DW_Q): Likewise.
15020 * soft-fp/fmasf4.c: New file.
15021 * soft-fp/fmadf4.c: Likewise.
15022 * soft-fp/fmatf4.c: Likewise.
15024 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15027 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15031 (index_Slow_SSE4_2): Likewise.
15032 (index_Prefer_PMINUB_for_stringop): Likewise.
15033 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15034 bit_Slow_SSE4_2 is set.
15035 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15036 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15038 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15040 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15041 rtld_global._dl_hwcap2.
15042 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15044 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15045 POWER8 feature descriptions defined in _dl_hwcap2.
15046 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15047 string handling for POWER8 feature bits.
15048 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15049 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15050 _dl_powerpc_cap_flags.
15051 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15052 * sysdeps/powerpc/rtld-global-offsets.sym
15053 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15054 _dl_hwcap2 in the rtld_global_ro structure.
15056 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15058 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15059 hardware capabilities in support of AT_HWCAP2.
15060 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15061 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15063 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15064 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15065 explicitly the unknown a_type display mechanism is used.
15066 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15067 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15069 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15070 to macro prototype for AT_HWCAP2 support.
15071 * sysdeps/i386/dl-procinfo.h: Likewise.
15072 * sysdeps/s390/dl-procinfo.h: Likewise.
15073 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15074 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15075 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15076 return -1 for unknown a_type display fallback.
15077 * sysdeps/sparc/dl-procinfo.h: Likewise.
15078 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15079 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15081 2013-06-28 Joseph Myers <joseph@codesourcery.com>
15083 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15084 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15086 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15089 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15090 mprotect making __stack_prot writable.
15092 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15093 Joseph Myers <joseph@codesourcery.com>
15095 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15096 as being properly aligned.
15098 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15100 * dlfcn/modstatic5.c: New file.
15101 * dlfcn/tststatic5.c: New file.
15102 * dlfcn/Makefile (tests): Add tststatic5.
15103 (tests-static): Likewise.
15104 (modules-names): Add modstatic5.
15105 (tststatic5-ENV): New variable.
15106 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15109 * elf/dl-support.c (_dl_main_map): New variable.
15110 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15111 (_dl_nns, _dl_load_adds): Set to 1.
15112 (_dl_initial_searchlist): Refer to _dl_main_map.
15113 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15114 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15115 call to _dl_get_origin.
15116 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15118 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15119 * dlfcn/modstatic3.c: New file.
15120 * dlfcn/tststatic3.c: New file.
15121 * dlfcn/tststatic4.c: New file.
15122 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15123 (tests-static): Likewise.
15124 (modules-names): Add modstatic3.
15125 (tststatic3-ENV, tststatic4-ENV): New variables.
15126 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15127 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15129 2013-06-26 Joseph Myers <joseph@codesourcery.com>
15131 * configure.in (CC): Require GCC version 4.4 or later.
15132 * configure: Regenerated.
15133 * manual/install.texi (Tools for Compilation): Update GCC version
15135 * INSTALL: Regenerated.
15137 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15140 * string/test-memcmp.c (check2): New.
15141 (main): Call check2.
15143 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15145 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15148 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15150 (dl_open_worker) [!SHARED]: ... here.
15152 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15154 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15156 2013-06-25 Richard Henderson <rth@redhat.com>
15158 * locale/programs/locarchive.c: Include <libc-internal.h>
15160 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15162 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15163 trailing whitespace removed.
15165 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15168 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15169 * locale/programs/locarchive.c: Include libc-mmap.h.
15170 (prepare_address_space): Take two new outputs (the mmap base and len).
15171 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15173 (create_archive): Declare new mmap base and len values for
15174 prepare_address_space, and store the result in ah.
15175 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15176 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15177 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15178 Declare new mmap base and len values for
15179 prepare_address_space, and store the result in new_ah.
15180 (open_archive): Declare new mmap base and len values for
15181 prepare_address_space, and store the result in ah.
15182 (close_archive): If ah->mmap_base is not NULL, use that and
15183 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15184 * sysdeps/generic/libc-mmap.h: New file.
15186 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15188 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15189 (ALIGN_UP): Likewise.
15190 (PTR_ALIGN_DOWN): Likewise.
15191 (PTR_ALIGN_UP): Likewise.
15193 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15195 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15196 entry mapped to PPC_PLATFORM_POWER8.
15197 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15199 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15200 (_dl_string_platform): Add case for exporting platform position for
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15203 search path to sysdeps/powerpc/powerpc32/power8 directory.
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15205 search path to sysdeps/powerpc/powerpc64/power8 directory.
15206 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15207 power7 directories.
15208 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15209 power7 directories.
15211 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15213 * INSTALL: Regenerate.
15215 * nscd/connections.c (nscd_init): Fix comment.
15217 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15219 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15222 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15223 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15225 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15227 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15229 (DL_DST_REQ_STATIC): Remove macro.
15231 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15234 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15235 with a shift of 0 bits.
15237 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15239 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15242 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15245 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15247 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15249 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15250 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15251 accepts -fno-tree-loop-distribute-patterns.
15252 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15253 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15255 * string/memset.c (memset): Likewise.
15256 * string/test-memmove.c (simple_memmove): Disable loop transformation
15258 * string/test-memset.c (simple_memset): Likewise.
15259 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15260 * benchtests/bench-memset.c (simple_memset): Likewise.
15261 * configure: Regenerated.
15263 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15265 * math/test-misc.c (main): Ignore fesetround failure when failures
15266 of subsequent rounding tests would be ignored.
15269 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15270 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15271 * math/fegetenv.c (__fegetenv): Return 0.
15272 * math/fegetexcept.c (fegetexcept): Return 0.
15273 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15275 * math/feholdexcpt.c (feholdexcept): Return 0.
15276 * math/fesetenv.c (__fesetenv): Return 0.
15277 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15278 argument FE_TONEAREST.
15279 * math/feupdateenv.c (__feupdateenv): Return 0.
15280 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15282 2013-06-18 Roland McGrath <roland@hack.frob.com>
15284 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15285 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15286 ($(objpfx)rtld-%.os rules): Use them.
15288 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15290 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15293 2013-06-17 Roland McGrath <roland@hack.frob.com>
15295 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15296 length of target pattern, then descending length of dependency pattern.
15297 * configure.in (AWK): Require gawk 3.1.2 or newer.
15298 * manual/install.texi (Tools for Compilation): Say that we do.
15299 * configure: Regenerated.
15301 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15302 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15303 * scripts/sysd-rules.awk: ... this new script.
15304 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15305 than a glob-style pattern.
15307 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15309 * math/test-misc.c (main): Do not treat incorrectly rounded
15310 conversions as failure unless ROUNDING_TESTS passes.
15312 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15315 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15316 restore exception state around main square root computation, then
15317 check for inexactness explicitly.
15319 * math/libm-test.inc (fma_test_data): Add another test.
15321 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15323 * manual/threads.texi (Non-POSIX Extensions): New document
15324 node. Document pthread_getattr_default_np and
15325 pthread_setattr_default_np.
15327 * Versions.def (libpthread): Add GLIBC_2.18.
15328 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15337 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15348 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15351 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15353 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15354 H.J. Lu <hjl.tools@gmail.com>
15357 * sysdeps/x86_64/rtld-memset.c: Remove file.
15358 * sysdeps/x86_64/rtld-memset.S: New file.
15360 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15362 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15363 (test_in_one_mode): Take arguments for whether the rounding mode
15364 is supported for each floating-point type.
15365 (do_test): Pass new arguments to test_in_one_mode using
15368 2013-06-13 Roland McGrath <roland@hack.frob.com>
15370 * posix/tst-waitid.c (do_test): Distinguish different instances of
15371 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15372 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15373 before entering the kernel for waitpid.
15375 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15377 * NEWS: Fix note on clock function precision. Text by Roland
15380 2013-06-13 Roland McGrath <roland@hack.frob.com>
15382 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15383 it into place only when and if the sanity check passes.
15385 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15387 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15388 output for whether conversion result is exact. Take argument
15389 indicating whether type is IBM long double.
15390 (round_for_all): Change need_exact field to ibm_ld.
15391 * stdlib/tst-strtod-round.c (struct exactness): New type.
15392 (struct test): Change bool ld_ok field to struct exactness exact.
15393 (TEST): Update all definitions for change to field.
15394 (tests): Regenerate array contents.
15395 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15396 field value. Check for IBM long double here.
15397 (do_test): Update calls to test_in_one_mode.
15399 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15402 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15403 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15405 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15408 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15409 generated by the compiler on loop optimizations.
15410 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15411 general definitions.
15413 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15415 * math/bug-nextafter.c: Include <math-tests.h>.
15416 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15418 * math/bug-nexttoward.c: Include <math-tests.h>.
15419 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15421 * math/test-misc.c: Include <math-tests.h>.
15422 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15425 2013-06-12 Andreas Jaeger <aj@suse.de>
15427 * po/ia.po: Update Interlingua translation from translation
15430 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15432 * include/fenv.h: Include stdbool.h.
15433 (struct rm_ctx): New structure.
15434 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15436 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15437 (SET_RESTORE_ROUNDF): Likewise.
15438 (SET_RESTORE_ROUNDL): Likewise.
15439 (SET_RESTORE_ROUND_NOEX): Likewise.
15440 (SET_RESTORE_ROUND_NOEXF): Likewise.
15441 (SET_RESTORE_ROUND_NOEXL): Likewise.
15442 (SET_RESTORE_ROUND_53BIT): Likewise.
15443 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15444 (libc_feresetround_noexf_ctx): Likewise.
15445 (libc_feresetround_noexl_ctx): Likewise.
15446 (libc_feholdsetround_53bit_ctx): Likewise.
15447 (libc_feresetround_53bit_ctx): Likewise.
15448 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15449 (libc_feholdexcept_setround_sse_ctx): New function.
15450 (libc_fesetenv_sse_ctx): Likewise.
15451 (libc_feupdateenv_sse_ctx): Likewise.
15452 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15453 (libc_feholdexcept_setround_387_ctx): Likewise.
15454 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15455 (libc_feholdsetround_387_prec_ctx): Likewise.
15456 (libc_feholdsetround_387_ctx): Likewise.
15457 (libc_feholdsetround_387_53bit_ctx): Likewise.
15458 (libc_feholdsetround_sse_ctx): Likewise.
15459 (libc_feresetround_sse_ctx): Likewise.
15460 (libc_feresetround_387_ctx): Likewise.
15461 (libc_feupdateenv_387_ctx): Likewise.
15462 (libc_feholdexcept_setroundf_ctx): Define macro.
15463 (libc_fesetenvf_ctx): Likewise.
15464 (libc_feupdateenvf_ctx): Likewise.
15465 (libc_feholdsetroundf_ctx): Likewise.
15466 (libc_feresetroundf_ctx): Likewise.
15467 (libc_feholdexcept_setround_ctx): Likewise.
15468 (libc_fesetenv_ctx): Likewise.
15469 (libc_feupdateenv_ctx): Likewise.
15470 (libc_feholdsetround_ctx): Likewise.
15471 (libc_feresetround_ctx): Likewise.
15472 (libc_feholdexcept_setroundl_ctx): Likewise.
15473 (libc_feupdateenvl_ctx): Likewise.
15474 (libc_feholdsetroundl_ctx): Likewise.
15475 (libc_feresetroundl_ctx): Likewise.
15476 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15477 (libc_feresetround_53bit_ctx): Likewise.
15479 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15481 * locale/iso-639.def: Convert to UTF-8.
15483 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15485 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15486 (EXCEPTION_TESTS_double): Likewise.
15487 (EXCEPTION_TESTS_long_double): Likewise.
15488 (EXCEPTION_TESTS): Likewise.
15489 * math/libm-test.inc (test_exceptions): Only test exceptions if
15490 EXCEPTION_TESTS (FLOAT).
15492 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15494 * benchtests/Makefile (string-bench): Add strcpy_chk and
15496 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15497 * benchtests/bench-stpcpy_chk.c: New file.
15498 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15499 * benchtests/bench-strcpy_chk.c: New file.
15500 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15502 (do_test): Likewise.
15504 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15506 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15507 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15508 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15509 with tabs where appropriate.
15510 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15512 [PPC_PLATFORM_PPC440]: Likewise.
15513 [PPC_PLATFORM_PPC464]: Likewise.
15514 [PPC_PLATFORM_PPC476]: Likewise.
15515 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15516 ppc464, and ppc476 platform strings merging from ports/
15519 2013-06-11 Andreas Schwab <schwab@suse.de>
15522 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15523 (from_ucs4_idx): Regenerate.
15524 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15525 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15526 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15527 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15528 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15529 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15530 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15531 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15532 from FROM_LOOP and TO_LOOP specific macros.
15533 (BODY): Handle combining characters.
15534 * iconvdata/BIG5HKSCS.irreversible: Update.
15535 * iconvdata/BIG5HKSCS.precomposed: New file.
15536 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15538 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15540 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15542 * include/sys/time.h: Fix indentation and add copyright header.
15544 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15545 (do_test): Likewise.
15546 * string/test-memchr.c (do_one_test): Likewise.
15547 (do_test): Likewise.
15548 * string/test-memcmp.c (do_one_test): Likewise.
15549 (do_test): Likewise.
15550 * string/test-memcpy.c (do_one_test): Likewise.
15551 (do_test): Likewise.
15552 * string/test-memmem.c (do_one_test): Likewise.
15553 (do_test): Likewise.
15554 (do_random_tests): Likewise.
15555 * string/test-memmove.c (do_one_test): Likewise.
15556 (do_test): Likewise.
15557 * string/test-memset.c (do_one_test): Likewise.
15558 (do_test): Likewise.
15559 * string/test-rawmemchr.c (do_one_test): Likewise.
15560 (do_test): Likewise.
15561 * string/test-strcasecmp.c (do_one_test): Likewise.
15562 (do_test): Likewise.
15563 * string/test-strcasestr.c (do_one_test): Likewise.
15564 (do_test): Likewise.
15565 * string/test-strcat.c (do_one_test): Likewise.
15566 (do_test): Likewise.
15567 * string/test-strchr.c (do_one_test): Likewise.
15568 (do_test): Likewise.
15569 * string/test-strcmp.c (do_one_test): Likewise.
15570 (do_test): Likewise.
15571 * string/test-strcpy.c (do_one_test): Likewise.
15572 (do_test): Likewise.
15573 * string/test-string.h: Likewise.
15574 (test_init): Likewise.
15575 * string/test-strlen.c (do_one_test): Likewise.
15576 (do_test): Likewise.
15577 * string/test-strncasecmp.c (do_one_test): Likewise.
15578 (do_test): Likewise.
15579 * string/test-strncat.c (do_one_test): Likewise.
15580 (do_test): Likewise.
15581 * string/test-strncmp.c (do_one_test): Likewise.
15582 (do_test_limit): Likewise.
15583 (do_test): Likewise.
15584 * string/test-strncpy.c (do_one_test): Likewise.
15585 (do_test): Likewise.
15586 * string/test-strnlen.c (do_one_test): Likewise.
15587 (do_test): Likewise.
15588 * string/test-strpbrk.c (do_one_test): Likewise.
15589 (do_test): Likewise.
15590 * string/test-strrchr.c (do_one_test): Likewise.
15591 (do_test): Likewise.
15592 * string/test-strspn.c (do_one_test): Likewise.
15593 (do_test): Likewise.
15594 * string/test-strstr.c (do_one_test): Likewise.
15595 (do_test): Likewise.
15597 * benchtests/Makefile (string-bench): Add string benchmarks.
15598 * benchtests/bench-bcopy-ifunc.c: New file.
15599 * benchtests/bench-bcopy.c: New file.
15600 * benchtests/bench-bzero-ifunc.c: New file.
15601 * benchtests/bench-bzero.c: New file.
15602 * benchtests/bench-memccpy-ifunc.c: New file.
15603 * benchtests/bench-memccpy.c: New file.
15604 * benchtests/bench-memchr-ifunc.c: New file.
15605 * benchtests/bench-memchr.c: New file.
15606 * benchtests/bench-memcmp-ifunc.c: New file.
15607 * benchtests/bench-memcmp.c: New file.
15608 * benchtests/bench-memmem-ifunc.c: New file.
15609 * benchtests/bench-memmem.c: New file.
15610 * benchtests/bench-memmove-ifunc.c: New file.
15611 * benchtests/bench-memmove.c: New file.
15612 * benchtests/bench-mempcpy-ifunc.c: New file.
15613 * benchtests/bench-mempcpy.c: New file.
15614 * benchtests/bench-memset-ifunc.c: New file.
15615 * benchtests/bench-memset.c: New file.
15616 * benchtests/bench-rawmemchr-ifunc.c: New file.
15617 * benchtests/bench-rawmemchr.c: New file.
15618 * benchtests/bench-stpcpy-ifunc.c: New file.
15619 * benchtests/bench-stpcpy.c: New file.
15620 * benchtests/bench-stpncpy-ifunc.c: New file.
15621 * benchtests/bench-stpncpy.c: New file.
15622 * benchtests/bench-strcasecmp-ifunc.c: New file.
15623 * benchtests/bench-strcasecmp.c: New file.
15624 * benchtests/bench-strcasestr-ifunc.c: New file.
15625 * benchtests/bench-strcasestr.c: New file.
15626 * benchtests/bench-strcat-ifunc.c: New file.
15627 * benchtests/bench-strcat.c: New file.
15628 * benchtests/bench-strchr-ifunc.c: New file.
15629 * benchtests/bench-strchr.c: New file.
15630 * benchtests/bench-strchrnul-ifunc.c: New file.
15631 * benchtests/bench-strchrnul.c: New file.
15632 * benchtests/bench-strcmp-ifunc.c: New file.
15633 * benchtests/bench-strcmp.c: New file.
15634 * benchtests/bench-strcpy-ifunc.c: New file.
15635 * benchtests/bench-strcpy.c: New file.
15636 * benchtests/bench-strcspn-ifunc.c: New file.
15637 * benchtests/bench-strcspn.c: New file.
15638 * benchtests/bench-strlen-ifunc.c: New file.
15639 * benchtests/bench-strlen.c: New file.
15640 * benchtests/bench-strncasecmp-ifunc.c: New file.
15641 * benchtests/bench-strncasecmp.c: New file.
15642 * benchtests/bench-strncat-ifunc.c: New file.
15643 * benchtests/bench-strncat.c: New file.
15644 * benchtests/bench-strncmp-ifunc.c: New file.
15645 * benchtests/bench-strncmp.c: New file.
15646 * benchtests/bench-strncpy-ifunc.c: New file.
15647 * benchtests/bench-strncpy.c: New file.
15648 * benchtests/bench-strnlen-ifunc.c: New file.
15649 * benchtests/bench-strnlen.c: New file.
15650 * benchtests/bench-strpbrk-ifunc.c: New file.
15651 * benchtests/bench-strpbrk.c: New file.
15652 * benchtests/bench-strrchr-ifunc.c: New file.
15653 * benchtests/bench-strrchr.c: New file.
15654 * benchtests/bench-strspn-ifunc.c: New file.
15655 * benchtests/bench-strspn.c: New file.
15656 * benchtests/bench-strstr-ifunc.c: New file.
15657 * benchtests/bench-strstr.c: New file.
15659 * benchtests/Makefile: Disable parallel execution of targets.
15660 (string-bench): Add memcpy.
15661 (benchset): New variable to store a list of benchmark sets.
15662 (bench-func): Renamed from bench.
15663 (bench-set): New target.
15664 (bench): Depend on bench-func and bench-set.
15665 * benchtests/README: Add section on benchmark sets.
15666 * benchtests/bench-memcpy-ifunc.c: New file.
15667 * benchtests/bench-memcpy.c: New file.
15668 * benchtests/bench-string.h: New file.
15670 2013-06-11 Andreas Schwab <schwab@suse.de>
15673 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15674 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15675 values in the triple.
15676 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15677 terminator in the group key.
15679 2013-06-11 Andreas Jaeger <aj@suse.de>
15681 * po/zh_TW.po: Update Chinese (traditional) translation from
15682 translation project.
15684 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15686 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15687 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15688 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15689 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15690 (clock_getcpuclockid): Likewise.
15691 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15692 Add weak_alias and libc_hidden_def.
15693 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15694 * rt/clock_gettime.c (clock_gettime): Rename to
15695 __clock_gettime. Add weak_alias and libc_hidden_def.
15696 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15697 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15698 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15699 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15700 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15702 * rt/clock_settime.c (clock_settime): Rename to
15703 __clock_settime. Add weak_alias and libc_hidden_def.
15704 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15706 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15708 * mach/err_boot.sub: Remove trailing whitespace.
15709 * mach/err_ipc.sub: Likewise.
15710 * mach/err_mach.sub: Likewise.
15712 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15713 (ROUNDING_TESTS_double): Likewise.
15714 (ROUNDING_TESTS_long_double): Likewise.
15715 (ROUNDING_TESTS): Likewise.
15716 * math/libm-test.inc: Include <math-tests.h>.
15717 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15718 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15719 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15720 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15722 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15724 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15727 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15729 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15730 otherwise empty TRANS lines.
15731 * sysdeps/gnu/errlist.c: Regenerated.
15733 * catgets/gencat.c (error_print): Use (void) in function
15735 * crypt/crypt_util.c (__init_des): Likewise.
15736 * crypt/speeds.c (Stop): Likewise.
15738 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15739 * inet/ruserpass.c (token): Likewise.
15740 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15741 * intl/localealias.c (extend_alias_table): Likewise.
15742 * intl/plural-exp.c (init_germanic_plural): Likewise.
15743 * libio/fcloseall.c (__fcloseall): Likewise.
15744 * libio/genops.c (_IO_flush_all): Likewise.
15745 (_IO_flush_all_linebuffered): Likewise.
15746 (_IO_cleanup): Likewise.
15747 (_IO_iter_begin): Likewise.
15748 (_IO_iter_end): Likewise.
15749 (_IO_list_lock): Likewise.
15750 (_IO_list_unlock): Likewise.
15751 (_IO_list_resetlock): Likewise.
15752 * libio/getchar.c (getchar): Likewise.
15753 * libio/getchar_u.c (getchar_unlocked): Likewise.
15754 * libio/getwchar.c (getwchar): Likewise.
15755 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15756 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15757 * login/getpt.c (__getpt): Likewise.
15758 * login/tst-utmp.c (main): Likewise.
15759 * malloc/hooks.c (__malloc_check_init): Likewise.
15760 * malloc/malloc.c (__malloc_stats): Likewise.
15761 * malloc/mtrace.c (tr_break): Likewise.
15762 (mtrace): Likewise.
15763 (muntrace): Likewise.
15764 * misc/fstab.c (endfsent): Likewise.
15765 * misc/getclktck.c (__getclktck): Likewise.
15766 * misc/getdtsz.c (__getdtablesize): Likewise.
15767 * misc/gethostid.c (gethostid): Likewise.
15768 * misc/getpagesize.c (__getpagesize): Likewise.
15769 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15770 (__get_nprocs): Likewise.
15771 (__get_phys_pages): Likewise.
15772 (__get_avphys_pages): Likewise.
15773 * misc/getttyent.c (getttyent): Likewise.
15774 (setttyent): Likewise.
15775 (endttyent): Likewise.
15776 * misc/getusershell.c (getusershell): Likewise.
15777 (endusershell): Likewise.
15778 (setusershell): Likewise.
15779 (initshells): Likewise.
15780 * misc/hsearch.c (__hdestroy): Likewise.
15781 * misc/sync.c (sync): Likewise.
15782 * misc/syslog.c (closelog_internal): Likewise.
15783 (closelog): Likewise.
15784 * misc/ttyslot.c (ttyslot): Likewise.
15785 * misc/vhangup.c (vhangup): Likewise.
15786 * posix/fork.c (__fork): Likewise.
15787 * posix/getegid.c (__getegid): Likewise.
15788 * posix/geteuid.c (__geteuid): Likewise.
15789 * posix/getgid.c (__getgid): Likewise.
15790 * posix/getpid.c (__getpid): Likewise.
15791 * posix/getppid.c (__getppid): Likewise.
15792 * posix/getuid.c (__getuid): Likewise.
15793 * posix/pause.c (pause): Likewise.
15794 * posix/setpgrp.c (setpgrp): Likewise.
15795 * posix/setsid.c (__setsid): Likewise.
15796 * posix/test-vfork.c (noop): Likewise.
15797 * resolv/gethnamaddr.c (_endhtent): Likewise.
15798 (_gethtent): Likewise.
15799 (ht_endhostent): Likewise.
15800 (gethostent): Likewise.
15801 (dns_service): Likewise.
15802 * stdlib/drand48.c (drand48): Likewise.
15803 * stdlib/lrand48.c (lrand48): Likewise.
15804 * stdlib/mrand48.c (mrand48): Likewise.
15805 * stdlib/rand.c (rand): Likewise.
15806 * stdlib/random.c (__random): Likewise.
15807 * stdlib/setenv.c (clearenv): Likewise.
15808 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15809 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15810 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15811 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15812 (__get_nprocs): Likewise.
15813 (__get_phys_pages): Likewise.
15814 (__get_avphys_pages): Likewise.
15815 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15816 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15817 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15818 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15819 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15820 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15821 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15822 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15823 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15824 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15825 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15826 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15827 * sysdeps/posix/clock.c (clock): Likewise.
15828 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15829 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15830 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15831 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15832 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15834 (__get_nprocs_conf): Likewise.
15835 (__get_phys_pages): Likewise.
15836 (__get_avphys_pages): Likewise.
15837 * time/clock.c (clock): Likewise.
15838 * time/tzset.c (__tzname_max): Likewise.
15840 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15842 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15843 (__bswap_32): Do not use "register".
15844 * crypt/crypt.c (_ufc_doit_r): Likewise.
15845 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15846 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15847 * gmon/gmon.c (__monstartup): Likewise.
15848 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15849 * hurd/hurdmalloc.c (more_memory): Likewise.
15850 (malloc): Likewise.
15852 (realloc): Likewise.
15853 (malloc_fork_prepare): Likewise.
15854 (malloc_fork_parent): Likewise.
15855 (malloc_fork_child): Likewise.
15856 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15857 (_svcauth_des): Likewise.
15858 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15859 * inet/inet_net.c (inet_network): Likewise.
15860 * inet/inet_netof.c (inet_netof): Likewise.
15861 * inet/rcmd.c (__validuser2_sa): Likewise.
15862 * io/fts.c (fts_open): Likewise.
15863 (fts_load): Likewise.
15864 (fts_close): Likewise.
15865 (fts_read): Likewise.
15866 (fts_children): Likewise.
15867 (fts_build): Likewise.
15868 (fts_stat): Likewise.
15869 (fts_sort): Likewise.
15870 (fts_alloc): Likewise.
15871 (fts_lfree): Likewise.
15872 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15873 (_IO_file_xsgetn): Likewise.
15874 (_IO_file_xsgetn_mmap): Likewise.
15875 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15876 (_IO_cookie_write): Likewise.
15877 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15878 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15879 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15880 * malloc/obstack.c (_obstack_begin): Likewise.
15881 (_obstack_begin_1): Likewise.
15882 (_obstack_newchunk): Likewise.
15883 (_obstack_allocated_p): Likewise.
15884 (obstack_free): Likewise.
15885 (_obstack_memory_used): Likewise.
15886 * misc/getttyent.c (getttynam): Likewise.
15887 (getttyent): Likewise.
15890 * misc/getusershell.c (initshells): Likewise.
15891 * misc/syslog.c (__vsyslog_chk): Likewise.
15892 * misc/ttyslot.c (ttyslot): Likewise.
15893 * nis/nis_hash.c (__nis_hash): Likewise.
15894 * posix/fnmatch_loop.c (FCT): Likewise.
15895 * posix/getconf.c (print_all): Likewise.
15897 * posix/getopt.c (exchange): Likewise.
15898 * posix/glob.c (globfree): Likewise.
15899 (prefix_array): Likewise.
15900 (__glob_pattern_type): Likewise.
15901 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15902 (NS_GET32): Likewise.
15903 (NS_PUT16): Likewise.
15904 (NS_PUT32): Likewise.
15905 * resolv/gethnamaddr.c (getanswer): Likewise.
15906 (gethostbyname2): Likewise.
15907 (gethostbyaddr): Likewise.
15908 (_gethtent): Likewise.
15909 (_gethtbyname2): Likewise.
15910 (_gethtbyaddr): Likewise.
15911 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15912 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15913 * resolv/res_init.c (__res_vinit): Likewise.
15914 (net_mask): Likewise.
15915 * resolv/res_mkquery.c (outchar): Likewise.
15917 * stdio-common/printf_fp.c (outchar): Likewise.
15919 * stdio-common/printf_fphex.c (outchar): Likewise.
15921 * stdio-common/printf_size.c (outchar): Likewise.
15923 * stdio-common/test_rdwr.c (main): Likewise.
15924 * stdio-common/tfformat.c (matches): Likewise.
15925 * stdio-common/vfprintf.c (outchar): Likewise.
15926 (printf_unknown): Likewise.
15927 (buffered_vfprintf): Likewise.
15928 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15929 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15930 (ReadFile): Likewise.
15931 * stdlib/qsort.c (SWAP): Likewise.
15932 (_quicksort): Likewise.
15933 * stdlib/setenv.c (__add_to_environ): Likewise.
15934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15935 * stdlib/strtol_l.c (__strtol_l): Likewise.
15936 * stdlib/tst-strtod.c (main): Likewise.
15937 * stdlib/tst-strtol.c (main): Likewise.
15938 * stdlib/tst-strtoll.c (main): Likewise.
15939 * string/bits/string2.h (__strcmp_cc): Likewise.
15940 (__strcmp_cg): Likewise.
15941 (__strcspn_c1): Likewise.
15942 (__strcspn_c2): Likewise.
15943 (__strcspn_c3): Likewise.
15944 (__strspn_c1): Likewise.
15945 (__strspn_c2): Likewise.
15946 (__strspn_c3): Likewise.
15947 (__strsep_1c): Likewise.
15948 (__strsep_2c): Likewise.
15949 (__strsep_3c): Likewise.
15950 * string/memccpy.c (__memccpy): Likewise.
15951 * string/stpcpy.c (__stpcpy): Likewise.
15952 * string/strcmp.c (strcmp): Likewise.
15953 * string/strrchr.c (strrchr): Likewise.
15954 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15956 * sysdeps/mach/hurd/getcwd.c
15957 (_hurd_canonicalize_directory_name_internal): Likewise.
15958 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15959 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15960 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15961 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15962 Likewise, in both definitions.
15963 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15965 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15966 64] (__bswap_64): Likewise.
15967 * time/test_time.c (main): Likewise.
15968 * time/tzfile.c (__tzfile_read): Likewise.
15969 (__tzfile_compute): Likewise.
15970 * time/tzset.c (__tzset_parse_tz): Likewise.
15971 (tzset_internal): Likewise.
15972 (compute_change): Likewise.
15973 * wcsmbs/wcscat.c (__wcscat): Likewise.
15974 * wcsmbs/wcschr.c (wcschr): Likewise.
15975 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15976 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15977 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15978 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15979 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15980 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15981 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15982 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15983 * wcsmbs/wmemset.c (wmemset): Likewise.
15985 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15987 * scripts/config.guess: Update to version 2013-05-16.
15988 * scripts/config.sub: Update to version 2013-04-24.
15989 * scripts/install-sh: Update to version 2011-11-20.07.
15990 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15991 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15993 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15995 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15996 * elf/sln.c: Likewise.
15997 * hurd/hurd/ioctl.h: Likewise.
15998 * hurd/hurdmalloc.c: Likewise.
15999 * hurd/xattr.c: Likewise.
16000 * include/shlib-compat.h: Likewise.
16001 * inet/ruserpass.c: Likewise.
16002 * libio/iofgets_u.c: Likewise.
16003 * libio/iofgetws_u.c: Likewise.
16004 * locale/programs/ld-identification.c: Likewise.
16005 * locale/programs/ld-time.c: Likewise.
16006 * mach/msg-destroy.c: Likewise.
16007 * nss/nss_files/files-netgrp.c: Likewise.
16008 * resolv/res_data.c: Likewise.
16009 * soft-fp/op-1.h: Likewise.
16010 * soft-fp/op-2.h: Likewise.
16011 * soft-fp/op-4.h: Likewise.
16012 * soft-fp/op-common.h: Likewise.
16013 * stdio-common/printf_fphex.c: Likewise.
16014 * stdlib/strtod_l.c: Likewise.
16015 * sunrpc/rpc/clnt.h: Likewise.
16016 * sysdeps/generic/framestate.c: Likewise.
16017 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16018 * sysdeps/i386/bsd-setjmp.S: Likewise.
16019 * sysdeps/i386/__longjmp.S: Likewise.
16020 * sysdeps/i386/setjmp.S: Likewise.
16021 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16022 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16023 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16039 * sysdeps/ieee754/support.c: Likewise.
16040 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16041 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16042 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16043 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16044 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16045 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16046 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16047 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16048 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16049 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16050 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16051 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16052 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16053 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16054 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16055 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16056 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16059 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
16061 * posix/transbug.c: Remove executable mode.
16063 2013-06-05 Joseph Myers <joseph@codesourcery.com>
16065 * crypt/speeds.c: Remove trailing whitespace.
16066 * dlfcn/default.c: Likewise.
16067 * elf/ifuncdep2.c: Likewise.
16068 * elf/ifuncmain1.c: Likewise.
16069 * elf/ifuncmain1vis.c: Likewise.
16070 * elf/testobj.h: Likewise.
16071 * elf/tst-stackguard1.c: Likewise.
16072 * gmon/sys/gmon.h: Likewise.
16073 * hurd/hurdmsg.c: Likewise.
16074 * hurd/new-fd.c: Likewise.
16075 * hurd/ports-get.c: Likewise.
16076 * iconvdata/ibm1008_420.c: Likewise.
16077 * inet/tst-getni1.c: Likewise.
16078 * inet/tst-getni2.c: Likewise.
16079 * libio/ioungetc.c: Likewise.
16080 * libio/wfiledoalloc.c: Likewise.
16081 * manual/libm-err-tab.pl: Likewise.
16082 * math/w_dremf.c: Likewise.
16083 * misc/ftruncate.c: Likewise.
16084 * posix/bug-glob2.c: Likewise.
16085 * posix/tst-pcre.c: Likewise.
16086 * posix/wait4.c: Likewise.
16087 * resolv/README: Likewise.
16088 * resolv/res_debug.h: Likewise.
16089 * resolv/tst-inet_ntop.c: Likewise.
16090 * setjmp/bug269-setjmp.c: Likewise.
16091 * soft-fp/extended.h: Likewise.
16092 * soft-fp/op-1.h: Likewise.
16093 * soft-fp/op-2.h: Likewise.
16094 * soft-fp/op-4.h: Likewise.
16095 * soft-fp/op-8.h: Likewise.
16096 * soft-fp/testit.c: Likewise.
16097 * stdio-common/bug16.c: Likewise.
16098 * stdlib/random.c: Likewise.
16099 * sunrpc/rpcsvc/rquota.x: Likewise.
16100 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16101 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16102 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16103 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16104 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16105 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16106 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16107 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16108 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16109 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16110 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16129 * sysdeps/ieee754/s_lib_version.c: Likewise.
16130 * sysdeps/mach/hurd/check_fds.c: Likewise.
16131 * sysdeps/mach/hurd/getsockname.c: Likewise.
16132 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16133 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16134 * sysdeps/powerpc/bits/link.h: Likewise.
16135 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16136 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16137 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16138 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16139 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16140 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16141 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16142 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16143 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16144 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16145 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16146 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16147 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16148 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16149 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16150 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16151 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16153 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16154 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16155 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16156 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16158 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16159 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16160 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16161 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16162 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16163 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16164 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16165 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16166 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16168 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16169 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16170 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16171 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16172 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16173 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16174 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16175 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16176 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16177 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16178 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16179 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16180 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16181 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16182 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16183 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16184 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16185 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16187 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16188 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16189 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16190 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16191 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16192 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16194 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16195 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16196 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16197 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16198 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16199 * sysdeps/powerpc/sysdep.h: Likewise.
16200 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16201 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16202 * sysdeps/sh/dl-trampoline.S: Likewise.
16203 * sysdeps/sh/memset.S: Likewise.
16204 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16205 * sysdeps/sh/strlen.S: Likewise.
16206 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16207 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16208 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16209 * sysdeps/sparc/sparc32/rem.S: Likewise.
16210 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16211 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16212 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16213 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16214 * sysdeps/sparc/sparc32/urem.S: Likewise.
16215 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16216 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16217 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16218 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16219 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16220 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16221 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16222 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16223 * sysdeps/unix/bsd/times.c: Likewise.
16224 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16225 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16229 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16230 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16231 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16232 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16233 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16234 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16235 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16236 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16237 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16238 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16239 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16240 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16241 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16242 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16243 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16244 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16245 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16246 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16247 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16248 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16249 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16250 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16251 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16252 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16253 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16254 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16255 * sysdeps/x86_64/strcspn.S: Likewise.
16257 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16259 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16260 generated file. Regenerate properly from gen-translit.pl.
16261 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16262 locale/C-translit.h.
16264 2013-06-05 Andreas Schwab <schwab@suse.de>
16267 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16268 week as 6 instead of -1.
16269 * time/tst-strptime.c (day_tests): Add test case.
16271 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16273 * sysdeps/generic/math_private.h
16274 (libc_feholdexcept_setround_53bit): Replace with
16275 libc_feholdsetround_53bit.
16276 (libc_feupdateenv_53bit): Replace with
16277 libc_feresetround_53bit.
16278 (SET_RESTORE_ROUND_53BIT): Adjust.
16280 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16282 * string/test-strchrnul.c: Add copyright header.
16284 * posix/tst-getaddrinfo4.c: Increase test timeout.
16286 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16289 * math/libm-test.inc (MAX_EXP): Remove
16291 (ulp): Use MIN_EXP - MANT_DIG.
16292 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16294 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16296 * po/be.po: Revert last change.
16297 * po/zh_CN.po: Likewise.
16298 * po/header.pot: Likewise.
16300 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16302 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16303 link-libc-deps to empty as target-specific variable.
16304 * Makerules (link-libc-args): New variable.
16305 (libc-for-link): Likewise.
16306 (link-libc-deps): Likewise.
16307 (lib%.so): Depend on $(link-libc-deps). Link with
16309 (build-module): Link with $(link-libc-args).
16310 (build-module-asneeded): Likewise.
16311 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16313 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16314 target-specific variable.
16315 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16316 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16317 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16319 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16321 ($(objpfx)libpcprofile.so): Likewise.
16322 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16324 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16325 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16326 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16328 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16329 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16330 * login/Makefile ($(objpfx)libutil.so): Likewise.
16331 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16332 * math/Makefile ($(objpfx)libm.so): Likewise.
16333 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16334 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16335 variable instead of depending directly on libc.
16336 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16337 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16339 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16341 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16342 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16343 ($(objpfx)libanl.so): Likewise.
16344 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16346 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16348 * sysdeps/i386/fpu/Makefile: Remove file.
16349 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16350 ($(objpfx)libm.so): Remove dependency on ld.so.
16352 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16355 * nis/yp_xdr.c (XDRMAXNAME): Define.
16356 (XDRMAXRECORD): Define.
16357 (xdr_domainname): Use XDRMAXNAME.
16358 (xdr_mapname): Likewise.
16359 (xdr_peername): Likewise.
16360 (xdr_keydat): Use XDRMAXRECORD.
16361 (xdr_valdat): Likewise.
16363 2013-05-30 Jeff Law <law@redhat.com>
16366 * manual/errno.texi (ESTALE): Update to account for more than
16367 just NFS file systems.
16368 * sysdeps/gnu/errlist.c: Regenerated.
16370 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16373 * elf/Makefile (tests): Add tst-null-argv.
16374 (modules-names): Add tst-null-argv-lib.
16375 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16376 (tst-null-argv-ENV): Set environment for tst-null-argv.
16377 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16378 (RTLD_PROGNAME): New macro.
16379 * elf/tst-null-argv.c: New test case.
16380 * elf/tst-null-argv-lib.c: Library for test case.
16381 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16382 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16383 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16384 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16385 * elf/dl-init.c (call_init): Likewise.
16386 (_dl_init): Likewise.
16387 * elf/dl-load.c (print_search_path): Likewise.
16388 (_dl_map_object): Likewise.
16389 * elf/dl-lookup.c (do_lookup_x): Likewise.
16390 (add_dependency): Likewise.
16391 (_dl_lookup_symbol_x): Likewise.
16392 (_dl_debug_bindings): Likewise.
16393 * elf/dl-open.c (_dl_show_scope): Likewise.
16394 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16395 * elf/dl-version.c (match_symbol): Likewise.
16396 (_dl_check_map_versions): Likewise.
16397 * elf/rtld.c (dl_main): Likewise.
16398 (print_unresolved): Use RTLD_PROGNAME.
16399 (print_missing_version): Likewise.
16400 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16401 (elf_machine_rela): Likewise.
16402 * sysdeps/powerpc/powerpc32/dl-machine.c
16403 (__process_machine_rela): Likewise.
16404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16408 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16410 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16417 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16419 * po/be.po: Add descriptive title.
16420 * po/zh_CN.po: Likewise.
16421 * po/header.pot: Likewise.
16423 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16425 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16427 (enlarge_archive): Likewise.
16429 2013-05-28 Ben North <ben@redfrontdoor.org>
16431 * manual/arith.texi (frexp): It is the magnitude of the return
16432 value which lies in [0.5, 1), not the return value itself.
16434 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16438 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16440 * stdio-common/bug26.c (main): Correct fscanf template.
16442 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16443 declare _dl_skip_args.
16445 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16448 * manual/platform.texi: Add missing @end deftypefun.
16450 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16453 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16454 bit of mantissa of 2^16382.
16455 * math/libm-test.inc (hypot_test_data): Add more tests.
16457 * math/libm-test.inc: Add drem and pow10 to list of tested
16459 (pow10_test): New function.
16460 (drem_test): Likewise.
16461 (drem_test_tonearest): Likewise.
16462 (drem_test_towardzero): Likewise.
16463 (drem_test_downward): Likewise.
16464 (drem_test_upward): Likewise.
16465 (main): Call the new functions.
16467 * math/libm-test.inc (finite_test_data): Remove.
16468 (finite_test): Run tests from isfinite_test_data.
16469 (gamma_test_data): Remove.
16470 (gamma_test): Run tests from lgamma_test_data.
16471 * sysdeps/i386/fpu/libm-test-ulps: Update.
16472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16474 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16476 * manual/platform.texi: Add PowerPC PPR function set documentation.
16477 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16480 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16482 * math/libm-test.inc (MAX_EXP): Define.
16484 (ulp): New function.
16485 (check_float_internal): Use ULPDIFF.
16486 (cpow_test): Disable failing test.
16487 (check_ulp): Test ulp() implemetnation.
16488 (main): Call check_ulp before starting tests.
16490 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16492 * math/gen-libm-test.pl (generate_testfile): Do not handle
16493 START_DATA and END_DATA.
16494 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16496 (acos_tonearest_test_data): Likewise.
16497 (acos_towardzero_test_data): Likewise.
16498 (acos_downward_test_data): Likewise.
16499 (acos_upward_test_data): Likewise.
16500 (acosh_test_data): Likewise.
16501 (asin_test_data): Likewise.
16502 (asin_tonearest_test_data): Likewise.
16503 (asin_towardzero_test_data): Likewise.
16504 (asin_downward_test_data): Likewise.
16505 (asin_upward_test_data): Likewise.
16506 (asinh_test_data): Likewise.
16507 (atan_test_data): Likewise.
16508 (atanh_test_data): Likewise.
16509 (atan2_test_data): Likewise.
16510 (cabs_test_data): Likewise.
16511 (cacos_test_data): Likewise.
16512 (cacosh_test_data): Likewise.
16513 (carg_test_data): Likewise.
16514 (casin_test_data): Likewise.
16515 (casinh_test_data): Likewise.
16516 (catan_test_data): Likewise.
16517 (catanh_test_data): Likewise.
16518 (cbrt_test_data): Likewise.
16519 (ccos_test_data): Likewise.
16520 (ccosh_test_data): Likewise.
16521 (ceil_test_data): Likewise.
16522 (cexp_test_data): Likewise.
16523 (cimag_test_data): Likewise.
16524 (clog_test_data): Likewise.
16525 (clog10_test_data): Likewise.
16526 (conj_test_data): Likewise.
16527 (copysign_test_data): Likewise.
16528 (cos_test_data): Likewise.
16529 (cos_tonearest_test_data): Likewise.
16530 (cos_towardzero_test_data): Likewise.
16531 (cos_downward_test_data): Likewise.
16532 (cos_upward_test_data): Likewise.
16533 (cosh_test_data): Likewise.
16534 (cosh_tonearest_test_data): Likewise.
16535 (cosh_towardzero_test_data): Likewise.
16536 (cosh_downward_test_data): Likewise.
16537 (cosh_upward_test_data): Likewise.
16538 (cpow_test_data): Likewise.
16539 (cproj_test_data): Likewise.
16540 (creal_test_data): Likewise.
16541 (csin_test_data): Likewise.
16542 (csinh_test_data): Likewise.
16543 (csqrt_test_data): Likewise.
16544 (ctan_test_data): Likewise.
16545 (ctan_tonearest_test_data): Likewise.
16546 (ctan_towardzero_test_data): Likewise.
16547 (ctan_downward_test_data): Likewise.
16548 (ctan_upward_test_data): Likewise.
16549 (ctanh_test_data): Likewise.
16550 (ctanh_tonearest_test_data): Likewise.
16551 (ctanh_towardzero_test_data): Likewise.
16552 (ctanh_downward_test_data): Likewise.
16553 (ctanh_upward_test_data): Likewise.
16554 (erf_test_data): Likewise.
16555 (erfc_test_data): Likewise.
16556 (exp_test_data): Likewise.
16557 (exp_tonearest_test_data): Likewise.
16558 (exp_towardzero_test_data): Likewise.
16559 (exp_downward_test_data): Likewise.
16560 (exp_upward_test_data): Likewise.
16561 (exp10_test_data): Likewise.
16562 (exp2_test_data): Likewise.
16563 (expm1_test_data): Likewise.
16564 (fabs_test_data): Likewise.
16565 (fdim_test_data): Likewise.
16566 (finite_test_data): Likewise.
16567 (floor_test_data): Likewise.
16568 (fma_test_data): Likewise.
16569 (fma_towardzero_test_data): Likewise.
16570 (fma_downward_test_data): Likewise.
16571 (fma_upward_test_data): Likewise.
16572 (fmax_test_data): Likewise.
16573 (fmin_test_data): Likewise.
16574 (fmod_test_data): Likewise.
16575 (fpclassify_test_data): Likewise.
16576 (frexp_test_data): Likewise.
16577 (gamma_test_data): Likewise.
16578 (hypot_test_data): Likewise.
16579 (ilogb_test_data): Likewise.
16580 (isfinite_test_data): Likewise.
16581 (isgreater_test_data): Likewise.
16582 (isgreaterequal_test_data): Likewise.
16583 (isinf_test_data): Likewise.
16584 (isless_test_data): Likewise.
16585 (islessequal_test_data): Likewise.
16586 (islessgreater_test_data): Likewise.
16587 (isnan_test_data): Likewise.
16588 (isnormal_test_data): Likewise.
16589 (issignaling_test_data): Likewise.
16590 (isunordered_test_data): Likewise.
16591 (j0_test_data): Likewise.
16592 (j1_test_data): Likewise.
16593 (jn_test_data): Likewise.
16594 (ldexp_test_data): Likewise.
16595 (lgamma_test_data): Likewise.
16596 (lrint_test_data): Likewise.
16597 (lrint_tonearest_test_data): Likewise.
16598 (lrint_towardzero_test_data): Likewise.
16599 (lrint_downward_test_data): Likewise.
16600 (lrint_upward_test_data): Likewise.
16601 (llrint_test_data): Likewise.
16602 (llrint_tonearest_test_data): Likewise.
16603 (llrint_towardzero_test_data): Likewise.
16604 (llrint_downward_test_data): Likewise.
16605 (llrint_upward_test_data): Likewise.
16606 (log_test_data): Likewise.
16607 (log10_test_data): Likewise.
16608 (log1p_test_data): Likewise.
16609 (log2_test_data): Likewise.
16610 (logb_test_data): Likewise.
16611 (logb_downward_test_data): Likewise.
16612 (lround_test_data): Likewise.
16613 (llround_test_data): Likewise.
16614 (modf_test_data): Likewise.
16615 (nearbyint_test_data): Likewise.
16616 (nextafter_test_data): Likewise.
16617 (nexttoward_test_data): Likewise.
16618 (pow_test_data): Likewise.
16619 (pow_tonearest_test_data): Likewise.
16620 (pow_towardzero_test_data): Likewise.
16621 (pow_downward_test_data): Likewise.
16622 (pow_upward_test_data): Likewise.
16623 (remainder_test_data): Likewise.
16624 (remainder_tonearest_test_data): Likewise.
16625 (remainder_towardzero_test_data): Likewise.
16626 (remainder_downward_test_data): Likewise.
16627 (remainder_upward_test_data): Likewise.
16628 (remquo_test_data): Likewise.
16629 (rint_test_data): Likewise.
16630 (rint_tonearest_test_data): Likewise.
16631 (rint_towardzero_test_data): Likewise.
16632 (rint_downward_test_data): Likewise.
16633 (rint_upward_test_data): Likewise.
16634 (round_test_data): Likewise.
16635 (scalb_test_data): Likewise.
16636 (scalbn_test_data): Likewise.
16637 (scalbln_test_data): Likewise.
16638 (signbit_test_data): Likewise.
16639 (sin_test_data): Likewise.
16640 (sin_tonearest_test_data): Likewise.
16641 (sin_towardzero_test_data): Likewise.
16642 (sin_downward_test_data): Likewise.
16643 (sin_upward_test_data): Likewise.
16644 (sincos_test_data): Likewise.
16645 (sinh_test_data): Likewise.
16646 (sinh_tonearest_test_data): Likewise.
16647 (sinh_towardzero_test_data): Likewise.
16648 (sinh_downward_test_data): Likewise.
16649 (sinh_upward_test_data): Likewise.
16650 (sqrt_test_data): Likewise.
16651 (tan_test_data): Likewise.
16652 (tan_tonearest_test_data): Likewise.
16653 (tan_towardzero_test_data): Likewise.
16654 (tan_downward_test_data): Likewise.
16655 (tan_upward_test_data): Likewise.
16656 (tanh_test_data): Likewise.
16657 (tgamma_test_data): Likewise.
16658 (trunc_test_data): Likewise.
16659 (y0_test_data): Likewise.
16660 (y1_test_data): Likewise.
16661 (yn_test_data): Likewise.
16662 (significand_test_data): Likewise.
16664 * math/gen-libm-test.pl (@functions): Remove variable.
16665 (generate_testfile): Don't handle START and END lines.
16666 * math/libm-test.inc (START): New macro.
16668 (END_COMPLEX): Likewise.
16669 (acos_test): Use END macro without arguments.
16670 (acos_test_tonearest): Likewise.
16671 (acos_test_towardzero): Likewise.
16672 (acos_test_downward): Likewise.
16673 (acos_test_upward): Likewise.
16674 (acosh_test): Likewise.
16675 (asin_test): Likewise.
16676 (asin_test_tonearest): Likewise.
16677 (asin_test_towardzero): Likewise.
16678 (asin_test_downward): Likewise.
16679 (asin_test_upward): Likewise.
16680 (asinh_test): Likewise.
16681 (atan_test): Likewise.
16682 (atanh_test): Likewise.
16683 (atan2_test): Likewise.
16684 (cabs_test): Likewise.
16685 (cacos_test): Use END_COMPLEX macro without arguments.
16686 (cacosh_test): Likewise.
16687 (carg_test): Use END macro without arguments.
16688 (casin_test): Use END_COMPLEX macro without arguments.
16689 (casinh_test): Likewise.
16690 (catan_test): Likewise.
16691 (catanh_test): Likewise.
16692 (cbrt_test): Use END macro without arguments.
16693 (ccos_test): Use END_COMPLEX macro without arguments.
16694 (ccosh_test): Likewise.
16695 (ceil_test): Use END macro without arguments.
16696 (cexp_test): Use END_COMPLEX macro without arguments.
16697 (cimag_test): Use END macro without arguments.
16698 (clog_test): Use END_COMPLEX macro without arguments.
16699 (clog10_test): Likewise.
16700 (conj_test): Likewise.
16701 (copysign_test): Use END macro without arguments.
16702 (cos_test): Likewise.
16703 (cos_test_tonearest): Likewise.
16704 (cos_test_towardzero): Likewise.
16705 (cos_test_downward): Likewise.
16706 (cos_test_upward): Likewise.
16707 (cosh_test): Likewise.
16708 (cosh_test_tonearest): Likewise.
16709 (cosh_test_towardzero): Likewise.
16710 (cosh_test_downward): Likewise.
16711 (cosh_test_upward): Likewise.
16712 (cpow_test): Use END_COMPLEX macro without arguments.
16713 (cproj_test): Likewise.
16714 (creal_test): Use END macro without arguments.
16715 (csin_test): Use END_COMPLEX macro without arguments.
16716 (csinh_test): Likewise.
16717 (csqrt_test): Likewise.
16718 (ctan_test): Likewise.
16719 (ctan_test_tonearest): Likewise.
16720 (ctan_test_towardzero): Likewise.
16721 (ctan_test_downward): Likewise.
16722 (ctan_test_upward): Likewise.
16723 (ctanh_test): Likewise.
16724 (ctanh_test_tonearest): Likewise.
16725 (ctanh_test_towardzero): Likewise.
16726 (ctanh_test_downward): Likewise.
16727 (ctanh_test_upward): Likewise.
16728 (erf_test): Use END macro without arguments.
16729 (erfc_test): Likewise.
16730 (exp_test): Likewise.
16731 (exp_test_tonearest): Likewise.
16732 (exp_test_towardzero): Likewise.
16733 (exp_test_downward): Likewise.
16734 (exp_test_upward): Likewise.
16735 (exp10_test): Likewise.
16736 (exp2_test): Likewise.
16737 (expm1_test): Likewise.
16738 (fabs_test): Likewise.
16739 (fdim_test): Likewise.
16740 (finite_test): Likewise.
16741 (floor_test): Likewise.
16742 (fma_test): Likewise.
16743 (fma_test_towardzero): Likewise.
16744 (fma_test_downward): Likewise.
16745 (fma_test_upward): Likewise.
16746 (fmax_test): Likewise.
16747 (fmin_test): Likewise.
16748 (fmod_test): Likewise.
16749 (fpclassify_test): Likewise.
16750 (frexp_test): Likewise.
16751 (gamma_test): Likewise.
16752 (hypot_test): Likewise.
16753 (ilogb_test): Likewise.
16754 (isfinite_test): Likewise.
16755 (isgreater_test): Likewise.
16756 (isgreaterequal_test): Likewise.
16757 (isinf_test): Likewise.
16758 (isless_test): Likewise.
16759 (islessequal_test): Likewise.
16760 (islessgreater_test): Likewise.
16761 (isnan_test): Likewise.
16762 (isnormal_test): Likewise.
16763 (issignaling_test): Likewise.
16764 (isunordered_test): Likewise.
16765 (j0_test): Likewise.
16766 (j1_test): Likewise.
16767 (jn_test): Likewise.
16768 (ldexp_test): Likewise.
16769 (lgamma_test): Likewise.
16770 (lrint_test): Likewise.
16771 (lrint_test_tonearest): Likewise.
16772 (lrint_test_towardzero): Likewise.
16773 (lrint_test_downward): Likewise.
16774 (lrint_test_upward): Likewise.
16775 (llrint_test): Likewise.
16776 (llrint_test_tonearest): Likewise.
16777 (llrint_test_towardzero): Likewise.
16778 (llrint_test_downward): Likewise.
16779 (llrint_test_upward): Likewise.
16780 (log_test): Likewise.
16781 (log10_test): Likewise.
16782 (log1p_test): Likewise.
16783 (log2_test): Likewise.
16784 (logb_test): Likewise.
16785 (logb_test_downward): Likewise.
16786 (lround_test): Likewise.
16787 (llround_test): Likewise.
16788 (modf_test): Likewise.
16789 (nearbyint_test): Likewise.
16790 (nextafter_test): Likewise.
16791 (nexttoward_test): Likewise.
16792 (pow_test): Likewise.
16793 (pow_test_tonearest): Likewise.
16794 (pow_test_towardzero): Likewise.
16795 (pow_test_downward): Likewise.
16796 (pow_test_upward): Likewise.
16797 (remainder_test): Likewise.
16798 (remainder_test_tonearest): Likewise.
16799 (remainder_test_towardzero): Likewise.
16800 (remainder_test_downward): Likewise.
16801 (remainder_test_upward): Likewise.
16802 (remquo_test): Likewise.
16803 (rint_test): Likewise.
16804 (rint_test_tonearest): Likewise.
16805 (rint_test_towardzero): Likewise.
16806 (rint_test_downward): Likewise.
16807 (rint_test_upward): Likewise.
16808 (round_test): Likewise.
16809 (scalb_test): Likewise.
16810 (scalbn_test): Likewise.
16811 (scalbln_test): Likewise.
16812 (signbit_test): Likewise.
16813 (sin_test): Likewise.
16814 (sin_test_tonearest): Likewise.
16815 (sin_test_towardzero): Likewise.
16816 (sin_test_downward): Likewise.
16817 (sin_test_upward): Likewise.
16818 (sincos_test): Likewise.
16819 (sinh_test): Likewise.
16820 (sinh_test_tonearest): Likewise.
16821 (sinh_test_towardzero): Likewise.
16822 (sinh_test_downward): Likewise.
16823 (sinh_test_upward): Likewise.
16824 (sqrt_test): Likewise.
16825 (tan_test): Likewise.
16826 (tan_test_tonearest): Likewise.
16827 (tan_test_towardzero): Likewise.
16828 (tan_test_downward): Likewise.
16829 (tan_test_upward): Likewise.
16830 (tanh_test): Likewise.
16831 (tgamma_test): Likewise.
16832 (trunc_test): Likewise.
16833 (y0_test): Likewise.
16834 (y1_test): Likewise.
16835 (yn_test): Likewise.
16836 (significand_test): Likewise.
16838 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16841 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16843 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16846 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16847 __ppc_mdoio and __ppc_mdoom.
16848 * manual/platform.texi: Document new functions __ppc_yield,
16849 __ppc_mdoio and __ppc_mdoom.
16851 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16853 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16854 (main): Mention "tls" pseudo-hwcap is legacy.
16855 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16857 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16859 * math/gen-libm-test.pl (parse_args): Output only string of
16860 arguments as text for test name, not full call or descriptions of
16861 tests for extra outputs.
16862 (generate_testfile): Do not pass function name to parse_args.
16863 Generate this_func variable from START.
16864 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16866 (struct test_ff_f_data): Likewise.
16867 (test_ff_f_data_nexttoward): Likewise.
16868 (struct test_fi_f_data): Likewise.
16869 (struct test_fl_f_data): Likewise.
16870 (struct test_if_f_data): Likewise.
16871 (struct test_fff_f_data): Likewise.
16872 (struct test_c_f_data): Likewise.
16873 (struct test_f_f1_data): Likewise. Remove field extra_name.
16874 (struct test_fF_f1_data): Likewise.
16875 (struct test_ffI_f1_data): Likewise.
16876 (struct test_c_c_data): Rename test_name field to arg_str.
16877 (struct test_cc_c_data): Likewise.
16878 (struct test_f_i_data): Likewise.
16879 (struct test_ff_i_data): Likewise.
16880 (struct test_f_l_data): Likewise.
16881 (struct test_f_L_data): Likewise.
16882 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16884 (COMMON_TEST_SETUP): New macro.
16885 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16886 (COMMON_TEST_CLEANUP): Likewise.
16887 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16888 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16890 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16891 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16893 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16894 (RUN_TEST_fff_f): Take argument string. Call new setup and
16896 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16897 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16899 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16900 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16902 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16903 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16905 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16906 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16908 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16909 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16911 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16912 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16914 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16915 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16917 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16918 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16920 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16921 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16923 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16924 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16926 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16927 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16929 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16930 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16932 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16933 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16935 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16936 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16938 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16939 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16941 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16943 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16945 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16946 to _sifields.sigfault.
16947 (si_addr_lsb): Define new macro.
16948 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16950 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16952 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16955 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16957 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16959 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16960 loading the domain.
16962 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16964 * math/gen-libm-test.pl (parse_args): Do not include expected
16965 result in test name.
16966 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16967 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16968 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16969 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16970 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16973 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16975 * benchtests/Makefile: Sort function entries.
16977 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16978 tanh, asinh, acosh, atanh.
16979 * benchtests/acos-inputs: New file.
16980 * benchtests/acosh-inputs: New file.
16981 * benchtests/asin-inputs: New file.
16982 * benchtests/asinh-inputs: New file.
16983 * benchtests/atanh-inputs: New file.
16984 * benchtests/cosh-inputs: New file.
16985 * benchtests/log-inputs: New file.
16986 * benchtests/sinh-inputs: New file.
16987 * benchtests/tanh-inputs: New file.
16989 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16992 * posix/tst-getaddrinfo4.c: New test.
16993 * posix/Makefile (tests): Add it.
16995 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16998 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16999 when no services were used.
17000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17001 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17003 2013-05-21 Andreas Schwab <schwab@suse.de>
17006 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17007 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17009 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17010 redundant variable declarations and reallocation of buffer when
17011 parsing as IPv6 address. Always set NSS status when called from
17012 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17013 buffer too small. Correct computation of needed size.
17014 * nss/Makefile (tests): Add test-digits-dots.
17015 * nss/test-digits-dots.c: New test.
17017 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17019 * benchtests/Makefile: Remove instructions for adding
17021 * benchtests/README: New file to explain how to execute and
17022 enhance the benchmark tests.
17024 2013-05-21 Andreas Schwab <schwab@suse.de>
17027 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17028 * setjmp/tst-sigsetjmp.c: New test.
17030 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17032 * sysdeps/x86_64/memset.S (memset): New implementation.
17033 (__bzero): Likewise.
17034 (__memset_tail): New function.
17036 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
17038 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17039 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17040 __memcpy_sse2_unaligned ifunc selection.
17041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17042 Add memcpy-sse2-unaligned.S.
17043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17044 Add: __memcpy_sse2_unaligned.
17046 2013-05-19 Joseph Myers <joseph@codesourcery.com>
17049 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17050 math_force_eval before restoring floating-point envrionment.
17051 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17054 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17056 (__nearbyintl): Use math_force_eval before restoring
17057 floating-point environment.
17058 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17060 * math/gen-libm-test.pl (special_functions): Remove.
17061 (parse_args): Don't handle TEST_extra. Handle functions with no
17063 * math/libm-test.inc (struct test_sincos_data): Replace with
17064 struct test_fFF_11_data.
17065 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17066 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17067 (sincos_test_data): Change element type to struct
17068 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17069 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17070 RUN_TEST_LOOP_sincos.
17071 * math/README.libm-test: Don't mention special handling of
17072 individual functions.
17073 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17075 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17076 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17077 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17080 * math/gen-libm-test.pl (get_variable): Remove function.
17081 (parse_args): Don't show pointer parameters to call in test
17082 names. Use "extra output N" in test names for extra outputs
17083 rather than naming variables.
17085 2013-05-18 Joseph Myers <joseph@codesourcery.com>
17088 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17089 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17090 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17092 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17094 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17097 * math/gen-libm-test.pl (@tests): Remove variable.
17098 ($count): Likewise.
17099 (new_test): Remove function.
17100 (show_exceptions): New function.
17101 (special_functions): Use show_exceptions instead of new_test.
17102 (parse_args): Likewise.
17103 (generate_testfile): Pass only function name in generated call to
17104 print_max_error or print_complex_max_error.
17105 (get_ulps): Do not handle complex tests specially.
17106 (output_test): Rename to ...
17107 (get_all_ulps_for_test): ... this. Return a string rather than
17108 printing to a file. Require ulps to be present.
17109 (output_ulps): Generate arrays rather than #defines.
17110 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17111 (struct ulp_data): New type.
17112 (BUILD_COMPLEX_ULP): Remove macro.
17113 (compare_ulp_data): New function.
17114 (find_ulps): Likewise.
17115 (find_test_ulps): Likewise.
17116 (find_function_ulps): Likewise.
17117 (find_complex_function_ulps): Likewise.
17118 (print_max_error): Determine allowed ulps using
17119 find_function_ulps.
17120 (print_complex_max_error): Determine allowed ulps using
17121 find_complex_function_ulps.
17122 (check_float_internal): Determine max ulps using find_test_ulps.
17123 (check_float): Do not take max_ulp parameter. Update call to
17124 check_float_internal.
17125 (check_complex): Likewise.
17126 (check_int): Do not take max_ulp parameter.
17127 (check_long): Likewise.
17128 (check_bool): Likewise.
17129 (check_longlong): Likewise.
17130 (struct test_f_f_data): Remove max_ulp field.
17131 (struct test_ff_f_data): Likewise.
17132 (struct test_ff_f_data_nexttoward): Likewise.
17133 (struct test_fi_f_data): Likewise.
17134 (struct test_fl_f_data): Likewise.
17135 (struct test_if_f_data): Likewise.
17136 (struct test_fff_f_data): Likewise.
17137 (struct test_c_f_data): Likewise.
17138 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17139 (struct test_fF_f1_data): Likewise.
17140 (struct test_ffI_f1_data): Likewise.
17141 (struct test_c_c_data): Remove max_ulp field.
17142 (struct test_cc_c_data): Likewise.
17143 (struct test_f_i_data): Likewise.
17144 (struct test_ff_i_data): Likewise.
17145 (struct test_f_l_data): Likewise.
17146 (struct test_f_L_data): Likewise.
17147 (struct test_sincos_data): Likewise.
17148 (RUN_TEST_f_f): Do not handle ulps.
17149 (RUN_TEST_LOOP_f_f): Likewise.
17150 (RUN_TEST_2_f): Likewise.
17151 (RUN_TEST_LOOP_2_f): Likewise.
17152 (RUN_TEST_fff_f): Likewise.
17153 (RUN_TEST_LOOP_fff_f): Likewise.
17154 (RUN_TEST_c_f): Likewise.
17155 (RUN_TEST_LOOP_c_f): Likewise.
17156 (RUN_TEST_f_f1): Likewise.
17157 (RUN_TEST_LOOP_f_f1): Likewise.
17158 (RUN_TEST_fF_f1): Likewise.
17159 (RUN_TEST_LOOP_fF_f1): Likewise.
17160 (RUN_TEST_fI_f1): Likewise.
17161 (RUN_TEST_LOOP_fI_f1): Likewise.
17162 (RUN_TEST_ffI_f1): Likewise.
17163 (RUN_TEST_LOOP_ffI_f1): Likewise.
17164 (RUN_TEST_c_c): Likewise.
17165 (RUN_TEST_LOOP_c_c): Likewise.
17166 (RUN_TEST_cc_c): Likewise.
17167 (RUN_TEST_LOOP_cc_c): Likewise.
17168 (RUN_TEST_f_i): Likewise.
17169 (RUN_TEST_LOOP_f_i): Likewise.
17170 (RUN_TEST_f_i_tg): Likewise.
17171 (RUN_TEST_LOOP_f_i_tg): Likewise.
17172 (RUN_TEST_ff_i_tg): Likewise.
17173 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17174 (RUN_TEST_f_b): Likewise.
17175 (RUN_TEST_LOOP_f_b): Likewise.
17176 (RUN_TEST_f_b_tg): Likewise.
17177 (RUN_TEST_LOOP_f_b_tg): Likewise.
17178 (RUN_TEST_f_l): Likewise.
17179 (RUN_TEST_LOOP_f_l): Likewise.
17180 (RUN_TEST_f_L): Likewise.
17181 (RUN_TEST_LOOP_f_L): Likewise.
17182 (RUN_TEST_sincos): Likewise.
17183 (RUN_TEST_LOOP_sincos): Likewise.
17185 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17189 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17190 main case of finite arguments, set rounding mode to FE_TONEAREST
17191 and discard exceptions.
17192 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17194 (remainder_tonearest_test_data): New variable.
17195 (remainder_test_tonearest): New function.
17196 (remainder_towardzero_test_data): New variable.
17197 (remainder_test_towardzero): New function.
17198 (remainder_downward_test_data): New variable.
17199 (remainder_test_downward): New function.
17200 (remainder_upward_test_data): New variable.
17201 (remainder_test_upward): New function.
17202 (main): Call the new test functions.
17204 * math/libm-test.inc (struct test_f_f1_data): Remove field
17206 (struct test_fF_f1_data): Likewise.
17207 (struct test_ffI_f1_data): Likewise.
17208 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17209 based on value of EXTRA_EXPECTED.
17210 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17211 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17212 EXTRA_VAR based on value of EXTRA_EXPECTED.
17213 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17214 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17215 EXTRA_VAR based on value of EXTRA_EXPECTED.
17216 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17217 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17218 EXTRA_VAR based on value of EXTRA_EXPECTED.
17219 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17220 * math/gen-libm-test.pl (parse_args): Don't output initializers
17221 for extra output values.
17223 * math/libm-test.inc (check_int): Expect result to be exactly
17224 equal to expected value and do not handle ulps.
17225 (check_long): Likewise.
17226 (check_longlong): Likewise.
17228 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17230 (cimag_test_data): Likewise.
17231 (conj_test_data): Likewise.
17232 (copysign_test_data): Likewise.
17233 (cproj_test_data): Likewise.
17234 (creal_test_data): Likewise.
17235 (fabs_test_data): Likewise.
17236 (fdim_test_data): Likewise.
17237 (finite_test_data): Likewise.
17238 (floor_test_data): Likewise.
17239 (fmax_test_data): Likewise.
17240 (fmin_test_data): Likewise.
17241 (fmod_test_data): Likewise.
17242 (fpclassify_test_data): Likewise.
17243 (frexp_test_data): Likewise.
17244 (ilogb_test_data): Likewise.
17245 (isfinite_test_data): Likewise.
17246 (isgreater_test_data): Likewise.
17247 (isgreaterequal_test_data): Likewise.
17248 (isinf_test_data): Likewise.
17249 (isless_test_data): Likewise.
17250 (islessequal_test_data): Likewise.
17251 (islessgreater_test_data): Likewise.
17252 (isnan_test_data): Likewise.
17253 (isnormal_test_data): Likewise.
17254 (issignaling_test_data): Likewise.
17255 (isunordered_test_data): Likewise.
17256 (ldexp_test_data): Likewise.
17257 (lrint_test_data): Likewise.
17258 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17259 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17260 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17261 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17262 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17263 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17265 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17266 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17267 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17268 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17270 (lrint_downward_test_data): Test for "inexact" exceptions.
17271 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17272 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17273 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17275 (lrint_upward_test_data): Test for "inexact" exceptions.
17276 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17278 (llrint_test_data): Test for "inexact" exceptions.
17279 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17280 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17281 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17282 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17283 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17284 (llrint_downward_test_data): Test for "inexact" exceptions.
17285 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17286 (llrint_upward_test_data): Test for "inexact" exceptions.
17287 (logb_test_data): Likewise.
17288 (logb_downward_test_data): Likewise.
17289 (nextafter_test_data): Likewise.
17290 (nexttoward_test_data): Likewise.
17291 (remainder_test_data): Likewise.
17292 (remquo_test_data): Likewise.
17293 (scalbn_test_data): Likewise.
17294 (scalbln_test_data): Likewise.
17295 (signbit_test_data): Likewise.
17296 (sqrt_test_data): Likewise.
17297 (significand_test_data): Likewise.
17299 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17302 * benchtests/bench-modf.c (struct args): Mark arg0 as
17304 * scripts/bench.pl: Mark members of struct args as volatile.
17306 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17309 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17310 negative infinity on POWER6 or lower.
17311 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17313 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17316 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17317 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17318 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17319 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17320 (_FP_SETQNAN): New macro.
17321 (_FP_SETQNAN_SEMIRAW): Likewise.
17322 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17323 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17324 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17325 (FP_EXTEND): Use _FP_FRAC_SNANP.
17326 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17327 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17329 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17331 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17334 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17336 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17337 with DIVIDE_BY_ZERO_EXCEPTION.
17338 (gamma_test_data): Likewise.
17339 (lgamma_test_data): Likewise.
17340 (log_test_data): Likewise.
17341 (log10_test_data): Likewise.
17342 (log2_test_data): Likewise.
17343 (tgamma_test_data): Likewise.
17345 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17346 (acos_test_tonearest): Likewise.
17347 (acos_test_towardzero): Likewise.
17348 (acos_test_downward): Likewise.
17349 (acos_test_upward): Likewise.
17350 (acosh_test): Likewise.
17351 (asin_test): Likewise.
17352 (asin_test_tonearest): Likewise.
17353 (asin_test_towardzero): Likewise.
17354 (asin_test_downward): Likewise.
17355 (asin_test_upward): Likewise.
17356 (asinh_test): Likewise.
17357 (atan_test): Likewise.
17358 (atanh_test): Likewise.
17359 (atan2_test): Likewise.
17360 (cabs_test): Likewise.
17361 (cacos_test): Likewise.
17362 (cacosh_test): Likewise.
17363 (casin_test): Likewise.
17364 (casinh_test): Likewise.
17365 (catan_test): Likewise.
17366 (catanh_test): Likewise.
17367 (cbrt_test): Likewise.
17368 (ccos_test): Likewise.
17369 (ccosh_test): Likewise.
17370 (cexp_test): Likewise.
17371 (clog_test): Likewise.
17372 (clog10_test): Likewise.
17373 (cos_test): Likewise.
17374 (cos_test_tonearest): Likewise.
17375 (cos_test_towardzero): Likewise.
17376 (cos_test_downward): Likewise.
17377 (cos_test_upward): Likewise.
17378 (cosh_test): Likewise.
17379 (cosh_test_tonearest): Likewise.
17380 (cosh_test_towardzero): Likewise.
17381 (cosh_test_downward): Likewise.
17382 (cosh_test_upward): Likewise.
17383 (cpow_test): Likewise.
17384 (csin_test): Likewise.
17385 (csinh_test): Likewise.
17386 (csqrt_test): Likewise.
17387 (ctan_test): Likewise.
17388 (ctan_test_tonearest): Likewise.
17389 (ctan_test_towardzero): Likewise.
17390 (ctan_test_downward): Likewise.
17391 (ctan_test_upward): Likewise.
17392 (ctanh_test): Likewise.
17393 (ctanh_test_tonearest): Likewise.
17394 (ctanh_test_towardzero): Likewise.
17395 (ctanh_test_downward): Likewise.
17396 (ctanh_test_upward): Likewise.
17397 (erf_test): Likewise.
17398 (erfc_test): Likewise.
17399 (exp_test): Likewise.
17400 (exp_test_tonearest): Likewise.
17401 (exp_test_towardzero): Likewise.
17402 (exp_test_downward): Likewise.
17403 (exp_test_upward): Likewise.
17404 (exp10_test): Likewise.
17405 (exp2_test): Likewise.
17406 (expm1_test): Likewise.
17407 (fmod_test): Likewise.
17408 (gamma_test): Likewise.
17409 (hypot_test): Likewise.
17410 (j0_test): Likewise.
17411 (j1_test): Likewise.
17412 (jn_test): Likewise.
17413 (lgamma_test): Likewise.
17414 (log_test): Likewise.
17415 (log10_test): Likewise.
17416 (log1p_test): Likewise.
17417 (log2_test): Likewise.
17418 (logb_test_downward): Likewise.
17419 (pow_test): Likewise.
17420 (pow_test_tonearest): Likewise.
17421 (pow_test_towardzero): Likewise.
17422 (pow_test_downward): Likewise.
17423 (pow_test_upward): Likewise.
17424 (remainder_test): Likewise.
17425 (remquo_test): Likewise.
17426 (sin_test): Likewise.
17427 (sin_test_tonearest): Likewise.
17428 (sin_test_towardzero): Likewise.
17429 (sin_test_downward): Likewise.
17430 (sin_test_upward): Likewise.
17431 (sincos_test): Likewise.
17432 (sinh_test): Likewise.
17433 (sinh_test_tonearest): Likewise.
17434 (sinh_test_towardzero): Likewise.
17435 (sinh_test_downward): Likewise.
17436 (sinh_test_upward): Likewise.
17437 (sqrt_test): Likewise.
17438 (tan_test): Likewise.
17439 (tan_test_tonearest): Likewise.
17440 (tan_test_towardzero): Likewise.
17441 (tan_test_downward): Likewise.
17442 (tan_test_upward): Likewise.
17443 (tanh_test): Likewise.
17444 (tgamma_test): Likewise.
17445 (y0_test): Likewise.
17446 (y1_test): Likewise.
17447 (yn_test): Likewise.
17449 * math/gen-libm-test.pl (adjust_arg): Remove function.
17450 (special_function): Remove argument $in_func. Only handle
17451 generating output for tables of tests, not inside functions.
17452 (parse_args): Likewise.
17453 (generate_testfile): Remove variable $in_func. Update call to
17455 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17456 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17457 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17458 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17459 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17460 (MAX_VALUE_INIT): Rename macro to max_value.
17461 (MIN_VALUE_INIT): Rename macro to min_value.
17462 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17463 (plus_zero): Remove variable.
17464 (minus_zero): Likewise.
17465 (plus_infty): Likewise.
17466 (minus_infty): Likewise.
17467 (qnan_value): Likewise.
17468 (max_value): Likewise.
17469 (min_value): Likewise.
17470 (min_subnorm_value): Likewise.
17472 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17474 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17475 uint64_t or uint32_t usage.
17476 * crypt/sha256-block.c: Likewise.
17477 * crypt/sha256-crypt.c: Likewise.
17478 * crypt/sha256.c: Likewise.
17479 * crypt/sha512-block.c: Likewise.
17480 * crypt/sha512-crypt.c: Likewise.
17481 * crypt/sha512.c: Likewise.
17482 * debug/backtrace-tst.c: Likewise.
17483 * debug/pcprofiledump.c: Likewise.
17484 * elf/cache.c: Likewise.
17485 * elf/dl-cache.c: Likewise.
17486 * elf/dl-misc.c: Likewise.
17487 * elf/dl-profile.c: Likewise.
17488 * elf/dl-support.c: Likewise.
17489 * elf/ldconfig.c: Likewise.
17490 * elf/sprof.c: Likewise.
17491 * iconv/dummy-repertoire.c: Likewise.
17492 * iconv/iconv_charmap.c: Likewise.
17493 * iconv/skeleton.c: Likewise.
17494 * iconvdata/8bit-generic.c: Likewise.
17495 * iconvdata/cp737.h: Likewise.
17496 * iconvdata/cp775.h: Likewise.
17497 * iconvdata/ibm1008.h: Likewise.
17498 * iconvdata/ibm1025.h: Likewise.
17499 * iconvdata/ibm1046.h: Likewise.
17500 * iconvdata/ibm1097.h: Likewise.
17501 * iconvdata/ibm1112.h: Likewise.
17502 * iconvdata/ibm1122.h: Likewise.
17503 * iconvdata/ibm1123.h: Likewise.
17504 * iconvdata/ibm1124.h: Likewise.
17505 * iconvdata/ibm1129.h: Likewise.
17506 * iconvdata/ibm1130.h: Likewise.
17507 * iconvdata/ibm1132.h: Likewise.
17508 * iconvdata/ibm1133.h: Likewise.
17509 * iconvdata/ibm1137.h: Likewise.
17510 * iconvdata/ibm1140.h: Likewise.
17511 * iconvdata/ibm1141.h: Likewise.
17512 * iconvdata/ibm1142.h: Likewise.
17513 * iconvdata/ibm1143.h: Likewise.
17514 * iconvdata/ibm1144.h: Likewise.
17515 * iconvdata/ibm1145.h: Likewise.
17516 * iconvdata/ibm1146.h: Likewise.
17517 * iconvdata/ibm1147.h: Likewise.
17518 * iconvdata/ibm1148.h: Likewise.
17519 * iconvdata/ibm1149.h: Likewise.
17520 * iconvdata/ibm1153.h: Likewise.
17521 * iconvdata/ibm1154.h: Likewise.
17522 * iconvdata/ibm1155.h: Likewise.
17523 * iconvdata/ibm1156.h: Likewise.
17524 * iconvdata/ibm1157.h: Likewise.
17525 * iconvdata/ibm1158.h: Likewise.
17526 * iconvdata/ibm1160.h: Likewise.
17527 * iconvdata/ibm1161.h: Likewise.
17528 * iconvdata/ibm1162.h: Likewise.
17529 * iconvdata/ibm1163.h: Likewise.
17530 * iconvdata/ibm1164.h: Likewise.
17531 * iconvdata/ibm1166.h: Likewise.
17532 * iconvdata/ibm1167.h: Likewise.
17533 * iconvdata/ibm12712.h: Likewise.
17534 * iconvdata/ibm1390.h: Likewise.
17535 * iconvdata/ibm1399.h: Likewise.
17536 * iconvdata/ibm16804.h: Likewise.
17537 * iconvdata/ibm4517.h: Likewise.
17538 * iconvdata/ibm4899.h: Likewise.
17539 * iconvdata/ibm4909.h: Likewise.
17540 * iconvdata/ibm4971.h: Likewise.
17541 * iconvdata/ibm5347.h: Likewise.
17542 * iconvdata/ibm803.h: Likewise.
17543 * iconvdata/ibm856.h: Likewise.
17544 * iconvdata/ibm901.h: Likewise.
17545 * iconvdata/ibm902.h: Likewise.
17546 * iconvdata/ibm9030.h: Likewise.
17547 * iconvdata/ibm9066.h: Likewise.
17548 * iconvdata/ibm921.h: Likewise.
17549 * iconvdata/ibm922.h: Likewise.
17550 * iconvdata/ibm9448.h: Likewise.
17551 * iconvdata/isiri-3342.h: Likewise.
17552 * iconvdata/jis0201.h: Likewise.
17553 * include/link.h: Likewise.
17554 * include/netdb.h: Likewise.
17555 * inet/check_native.c: Likewise.
17556 * inet/check_pf.c: Likewise.
17557 * inet/getipv4sourcefilter.c: Likewise.
17558 * inet/getnameinfo.c: Likewise.
17559 * inet/getsourcefilter.c: Likewise.
17560 * inet/htonl.c: Likewise.
17561 * inet/setipv4sourcefilter.c: Likewise.
17562 * inet/setsourcefilter.c: Likewise.
17563 * inet/test-inet6_opt.c: Likewise.
17564 * inet/tst-network.c: Likewise.
17565 * locale/C-collate.c: Likewise.
17566 * locale/C-ctype.c: Likewise.
17567 * locale/C-time.c: Likewise.
17568 * locale/C-translit.h: Likewise.
17569 * locale/loadarchive.c: Likewise.
17570 * locale/programs/3level.h: Likewise.
17571 * locale/programs/charmap.c: Likewise.
17572 * locale/programs/charmap.h: Likewise.
17573 * locale/programs/ld-address.c: Likewise.
17574 * locale/programs/ld-collate.c: Likewise.
17575 * locale/programs/ld-ctype.c: Likewise.
17576 * locale/programs/ld-identification.c: Likewise.
17577 * locale/programs/ld-measurement.c: Likewise.
17578 * locale/programs/ld-messages.c: Likewise.
17579 * locale/programs/ld-monetary.c: Likewise.
17580 * locale/programs/ld-name.c: Likewise.
17581 * locale/programs/ld-numeric.c: Likewise.
17582 * locale/programs/ld-paper.c: Likewise.
17583 * locale/programs/ld-telephone.c: Likewise.
17584 * locale/programs/ld-time.c: Likewise.
17585 * locale/programs/linereader.c: Likewise.
17586 * locale/programs/locale.c: Likewise.
17587 * locale/programs/locarchive.c: Likewise.
17588 * locale/programs/locfile.h: Likewise.
17589 * locale/programs/repertoire.c: Likewise.
17590 * locale/programs/simple-hash.c: Likewise.
17591 * locale/programs/simple-hash.h: Likewise.
17592 * malloc/memusage.c: Likewise.
17593 * malloc/memusagestat.c: Likewise.
17594 * nis/nis_defaults.c: Likewise.
17595 * nis/nis_hash.c: Likewise.
17596 * nis/nis_print.c: Likewise.
17597 * nis/nis_xdr.c: Likewise.
17598 * nscd/connections.c: Likewise.
17599 * nscd/hstcache.c: Likewise.
17600 * nscd/nscd_gethst_r.c: Likewise.
17601 * nscd/nscd_getserv_r.c: Likewise.
17602 * nscd/nscd_helper.c: Likewise.
17603 * nscd/servicescache.c: Likewise.
17604 * nss/makedb.c: Likewise.
17605 * nss/nss_db/db-XXX.c: Likewise.
17606 * nss/nss_db/db-initgroups.c: Likewise.
17607 * nss/nss_db/db-netgrp.c: Likewise.
17608 * nss/nss_files/files-network.c: Likewise.
17609 * nss/nss_files/files-parse.c: Likewise.
17610 * posix/bug-regex5.c: Likewise.
17611 * posix/fnmatch_loop.c: Likewise.
17612 * posix/regcomp.c: Likewise.
17613 * posix/regexec.c: Likewise.
17614 * posix/tst-rfc3484-2.c: Likewise.
17615 * posix/tst-rfc3484-3.c: Likewise.
17616 * posix/tst-rfc3484.c: Likewise.
17617 * resolv/nss_dns/dns-canon.c: Likewise.
17618 * resolv/nss_dns/dns-network.c: Likewise.
17619 * resolv/res_init.c: Likewise.
17620 * resolv/res_mkquery.c: Likewise.
17621 * resolv/tst-aton.c: Likewise.
17622 * stdlib/cxa_atexit.c: Likewise.
17623 * stdlib/cxa_finalize.c: Likewise.
17624 * stdlib/gen-fpioconst.c: Likewise.
17625 * stdlib/strtol_l.c: Likewise.
17626 * string/tst-endian.c: Likewise.
17627 * sunrpc/auth_des.c: Likewise.
17628 * sunrpc/clnt_udp.c: Likewise.
17629 * sunrpc/rtime.c: Likewise.
17630 * sunrpc/svcauth_des.c: Likewise.
17631 * sunrpc/xdr.c: Likewise.
17632 * sunrpc/xdr_intXX_t.c: Likewise.
17633 * sunrpc/xdr_rec.c: Likewise.
17634 * sysdeps/generic/ldconfig.h: Likewise.
17635 * sysdeps/generic/ldsodefs.h: Likewise.
17636 * sysdeps/generic/memusage.h: Likewise.
17637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17640 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17645 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17647 * sysdeps/posix/getaddrinfo.c: Likewise.
17648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17650 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17651 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17652 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17653 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17654 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17655 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17656 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17657 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17658 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17659 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17660 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17661 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17662 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17663 * sysdeps/x86_64/dl-tls.h: Likewise.
17664 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17665 * time/alt_digit.c: Likewise.
17666 * time/era.c: Likewise.
17667 * wcsmbs/tst-c16c32-1.c: Likewise.
17669 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17671 * math/libm-test.inc (struct test_sincos_data): New type.
17672 (RUN_TEST_LOOP_sincos): New macro.
17673 (sincos_test_data): New variable.
17674 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17676 2013-05-16 Richard Henderson <rth@redhat.com>
17678 * math/atest-exp2.c (LIMB64): New macro.
17679 (CONSTSZ): New macro.
17680 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17682 (print_mpn_fp): ... to function scope.
17683 (read_mpn_hex): Remove.
17684 (get_log2): Remove.
17685 (exp2_mpn): Use mp_log2.
17686 (main): Use mp_exp1.
17688 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17690 * math/libm-test.inc: Remove comment about not testing "inexact"
17692 (INEXACT_EXCEPTION): New macro.
17693 (NO_INEXACT_EXCEPTION): Likewise.
17694 (INVALID_EXCEPTION_OK): Update value.
17695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17696 (OVERFLOW_EXCEPTION_OK): Likewise.
17697 (UNDERFLOW_EXCEPTION_OK): Likewise.
17698 (IGNORE_ZERO_INF_SIGN): Likewise.
17699 (ERRNO_UNCHANGED): Likewise.
17700 (ERRNO_EDOM): Likewise.
17701 (ERRNO_ERANGE): Likewise.
17702 (test_exceptions): Handle testing "inexact" exceptions.
17703 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17704 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17705 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17706 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17708 (rint_towardzero_test_data): Likewise.
17709 (rint_downward_test_data): Likewise.
17710 (rint_upward_test_data): Likewise.
17712 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17713 with OVERFLOW_EXCEPTION.
17714 (exp10_test_data): Likewise.
17715 (exp2_test_data): Likewise.
17716 (expm1_test_data): Likewise.
17717 (lgamma_test_data): Likewise.
17718 (pow_test_data): Likewise.
17719 (tgamma_test_data): Likewise.
17720 (yn_test_data): Remove duplicate test of overflow.
17722 * math/libm-test.inc (struct test_cc_c_data): New type.
17723 (RUN_TEST_LOOP_cc_c): New macro.
17724 (cpow_test_data): New variable.
17725 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17727 * math/libm-test.inc (struct test_f_L_data): New type.
17728 (RUN_TEST_LOOP_f_L): New macro.
17729 (llrint_test_data): New variable.
17730 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17731 (llrint_tonearest_test_data): New variable.
17732 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17733 (llrint_towardzero_test_data): New variable.
17734 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17735 (llrint_downward_test_data): New variable.
17736 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17737 (llrint_upward_test_data): New variable.
17738 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17739 (llround_test_data): New variable.
17740 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17742 2013-05-13 Peter Collingbourne <pcc@google.com>
17744 * math/atest-exp2.c (get_log2): Remove const attribute.
17746 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17748 * math/libm-test.inc (struct test_f_l_data): New type.
17749 (RUN_TEST_LOOP_f_l): New macro.
17750 (lrint_test_data): New variable.
17751 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17752 (lrint_tonearest_test_data): New variable.
17753 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17754 (lrint_towardzero_test_data): New variable.
17755 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17756 (lrint_downward_test_data): New variable.
17757 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17758 (lrint_upward_test_data): New variable.
17759 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17760 (lround_test_data): New variable.
17761 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17763 2013-05-15 Peter Collingbourne <pcc@google.com>
17765 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17766 (EXTRACT_WORDS64) Use where appropriate.
17767 (INSERT_WORDS64) Likewise.
17769 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17770 constraints with x constraints.
17771 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17773 * malloc/obstack.c (_obstack_compat): Add initializer.
17775 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17778 si_trapno and add si_addr_lsb to _sifields.sigfault.
17779 (si_trapno): Remove macro.
17780 (si_addr_lsb): Define new macro.
17781 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17783 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17785 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17786 instead of TEST_f_l.
17787 (llrint_test_tonearest): Likewise.
17788 (llrint_test_towardzero): Likewise.
17789 (llrint_test_downward): Likewise.
17790 (llrint_test_upward): Likewise.
17791 (llround_test): Likewise.
17793 * math/libm-test.inc (struct test_f_i_data): Add comment.
17794 (RUN_TEST_LOOP_f_b): New macro.
17795 (RUN_TEST_LOOP_f_b_tg): Likewise.
17796 (finite_test_data): New variable.
17797 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17798 (isfinite_test_data): New variable.
17799 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17800 (isinf_test_data): New variable.
17801 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17802 (isnan_test_data): New variable.
17803 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17804 (isnormal_test_data): New variable.
17805 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17806 (issignaling_test_data): New variable.
17807 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17808 (signbit_test_data): New variable.
17809 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17811 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17812 with INVALID_EXCEPTION.
17813 (acosh_test_data): Likewise.
17814 (asin_test_data): Likewise.
17815 (atanh_test_data): Likewise.
17816 (fmod_test_data): Likewise.
17817 (log_test_data): Likewise.
17818 (log10_test_data): Likewise.
17819 (log2_test_data): Likewise.
17820 (pow_test_data): Likewise.
17821 (sqrt_test_data): Likewise.
17822 (y0_test_data): Likewise.
17823 (y1_test_data): Likewise.
17824 (yn_test_data): Likewise.
17826 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17829 * math/libm-test.inc (struct test_ff_i_data): New type.
17830 (RUN_TEST_LOOP_ff_i_tg): New macro.
17831 (isgreater_test_data): New variable.
17832 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17833 (isgreaterequal_test_data): New variable.
17834 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17835 (isless_test_data): New variable.
17836 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17837 (islessequal_test_data): New variable.
17838 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17839 (islessgreater_test_data): New variable.
17840 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17841 (isunordered_test_data): New variable.
17842 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17844 2013-05-14 David S. Miller <davem@davemloft.net>
17846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17848 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17850 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17852 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17854 (struct test_f_i_data): Change type of max_ulp to int.
17856 * math/libm-test.inc (test_ffI_f1_data): New type.
17857 (RUN_TEST_LOOP_ffI_f1): New macro.
17858 (remquo_test_data): New variable.
17859 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17861 * setjmp/tst-setjmp-fp.c: New file.
17862 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17863 (link-libm): New variable.
17864 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17866 * math/libm-test.inc (struct test_f_i_data): New type.
17867 (RUN_TEST_LOOP_f_i): New macro.
17868 (RUN_TEST_LOOP_f_i_tg): Likewise.
17869 (fpclassify_test_data): New variable.
17870 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17871 (ilogb_test_data): New variable.
17872 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17874 * math/libm-test.inc (scalbln_test): Correct function name in END
17877 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17878 (RUN_TEST_LOOP_fI_f1): New macro.
17879 (frexp_test_data): New variable.
17880 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17882 * math/libm-test.inc (struct test_fF_f1_data): New type.
17883 (RUN_TEST_LOOP_fF_f1): New macro.
17884 (modf_test_data): New variable.
17885 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17887 * math/libm-test.inc (struct test_f_f1_data): New type.
17888 (RUN_TEST_LOOP_f_f1): New macro.
17889 (gamma_test_data): New variable.
17890 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17891 (lgamma_test_data): New variable.
17892 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17894 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17897 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17898 (main): Comment "tls" pseudo-hwcap.
17900 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17902 * math/libm-test.inc (struct test_fl_f_data): New type.
17903 (RUN_TEST_LOOP_fl_f): New variable.
17904 (scalbln_test_data): New variable.
17905 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17907 * math/libm-test.inc (struct test_fi_f_data): New type.
17908 (RUN_TEST_LOOP_fi_f): New macro.
17909 (ldexp_test_data): New variable.
17910 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17911 (scalbn_test_data): New variable.
17912 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17914 * math/libm-test.inc (struct test_c_f_data): New type.
17915 (RUN_TEST_LOOP_c_f): New macro.
17916 (cabs_test_data): New variable.
17917 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17918 (carg_test_data): New variable.
17919 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17920 (cimag_test_data): New variable.
17921 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17922 (creal_test_data): New variable.
17923 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17925 * math/libm-test.inc (struct test_if_f_data): New type.
17926 (RUN_TEST_LOOP_if_f): New macro.
17927 (jn_test_data): New variable.
17928 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17929 (yn_test_data): New variable.
17930 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17932 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17934 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17936 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17937 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17939 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17941 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17942 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17943 (bench-deps): Add bench-timing.h.
17944 * benchtests-bench-skeleton.c: Include bench-timing.h.
17945 (main): Use TIMING_* macros instead of clock_gettime.
17946 * benchtests/bench-timing.h: New file.
17949 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17950 Renamed from _LIB_VERSION.
17951 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17953 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17955 * math/libm-test.inc (struct test_fff_f_data): New type.
17956 (RUN_TEST_LOOP_fff_f): New macro.
17957 (fma_test_data): New variable.
17958 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17959 (fma_towardzero_test_data): New variable.
17960 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17961 (fma_downward_test_data): New variable.
17962 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17963 (fma_upward_test_data): New variable.
17964 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17966 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17967 (struct test_c_c_data): New type.
17968 (RUN_TEST_LOOP_c_c): New macro.
17969 (cacos_test_data): New variable.
17970 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17971 (cacosh_test_data): New variable.
17972 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17973 (casin_test_data): New variable.
17974 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17975 (casinh_test_data): New variable.
17976 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17977 (catan_test_data): New variable.
17978 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17979 (catanh_test_data): New variable.
17980 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17981 (ccos_test_data): New variable.
17982 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17983 (ccosh_test_data): New variable.
17984 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17985 (cexp_test_data): New variable.
17986 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17987 (clog_test_data): New variable.
17988 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17989 (clog10_test_data): New variable.
17990 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17991 (conj_test_data): New variable.
17992 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17993 (cproj_test_data): New variable.
17994 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17995 (csin_test_data): New variable.
17996 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17997 (csinh_test_data): New variable.
17998 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17999 (csqrt_test_data): New variable.
18000 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18001 (ctan_test_data): New variable.
18002 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18003 (ctan_tonearest_test_data): New variable.
18004 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18005 (ctan_towardzero_test_data): New variable.
18006 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18007 (ctan_downward_test_data): New variable.
18008 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18009 (ctan_upward_test_data): New variable.
18010 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18011 (ctanh_test_data): New variable.
18012 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18013 (ctanh_tonearest_test_data): New variable.
18014 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18015 (ctanh_towardzero_test_data): New variable.
18016 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18017 (ctanh_downward_test_data): New variable.
18018 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18019 (ctanh_upward_test_data): New variable.
18020 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18021 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18024 * math/libm-test.inc (struct test_ff_f_data): New type.
18025 (struct test_ff_f_data_nexttoward): Likewise.
18026 (RUN_TEST_LOOP_2_f): New macro.
18027 (RUN_TEST_LOOP_ff_f): Likewise.
18028 (atan2_test_data): New variable.
18029 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18030 (copysign_test_data): New variable.
18031 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18032 (fdim_test_data): New variable.
18033 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18034 (fmax_test_data): New variable.
18035 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18036 (fmin_test_data): New variable.
18037 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18038 (fmod_test_data): New variable.
18039 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18040 (hypot_test_data): New variable.
18041 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18042 (nextafter_test_data): New variable.
18043 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18044 (nexttoward_test_data): New variable.
18045 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18046 (pow_test_data): New variable.
18047 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18048 (pow_tonearest_test_data): New variable.
18049 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18050 (pow_towardzero_test_data): New variable.
18051 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18052 (pow_downward_test_data): New variable.
18053 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18054 (pow_upward_test_data): New variable.
18055 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18056 (remainder_test_data): New variable.
18057 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18058 (scalb_test_data): New variable.
18059 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18060 * sysdeps/i386/fpu/libm-test-ulps: Update.
18062 2013-05-11 Joseph Myers <joseph@codesourcery.com>
18064 * math/libm-test.inc (fma_test): Use max_value instead of local
18066 (nextafter_test): Likewise.
18068 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18069 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18070 (acos_downward_test_data): New variable.
18071 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18072 (acos_upward_test_data): New variable.
18073 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18074 (acosh_test_data): New variable.
18075 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18076 (asin_test_data): New variable.
18077 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18078 (asin_tonearest_test_data): New variable.
18079 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18080 (asin_towardzero_test_data): New variable.
18081 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18082 (asin_downward_test_data): New variable.
18083 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18084 (asin_upward_test_data): New variable.
18085 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18086 (asinh_test_data): New variable.
18087 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18088 (atan_test_data): New variable.
18089 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18090 (atanh_test_data): New variable.
18091 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18092 (cbrt_test_data): New variable.
18093 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18094 (ceil_test_data): New variable.
18095 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18096 (cos_test_data): New variable.
18097 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18098 (cos_tonearest_test_data): New variable.
18099 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18100 (cos_towardzero_test_data): New variable.
18101 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18102 (cos_downward_test_data): New variable.
18103 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18104 (cos_upward_test_data): New variable.
18105 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18106 (cosh_test_data): New variable.
18107 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18108 (cosh_tonearest_test_data): New variable.
18109 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18110 (cosh_towardzero_test_data): New variable.
18111 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18112 (cosh_downward_test_data): New variable.
18113 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18114 (cosh_upward_test_data): New variable.
18115 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18116 (erf_test_data): New variable.
18117 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18118 (erfc_test_data): New variable.
18119 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18120 (exp_test_data): New variable.
18121 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18122 (exp_tonearest_test_data): New variable.
18123 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18124 (exp_towardzero_test_data): New variable.
18125 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18126 (exp_downward_test_data): New variable.
18127 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18128 (exp_upward_test_data): New variable.
18129 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18130 (exp10_test_data): New variable.
18131 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18132 (exp2_test_data): New variable.
18133 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18134 (expm1_test_data): New variable.
18135 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18136 (fabs_test_data): New variable.
18137 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18138 (floor_test_data): New variable.
18139 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18140 (j0_test_data): New variable.
18141 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18142 (j1_test_data): New variable.
18143 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18144 (log_test_data): New variable.
18145 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18146 (log10_test_data): New variable.
18147 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18148 (log1p_test_data): New variable.
18149 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18150 (log2_test_data): New variable.
18151 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18152 (logb_test_data): New variable.
18153 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18154 (logb_downward_test_data): New variable.
18155 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18156 (nearbyint_test_data): New variable.
18157 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18158 (rint_test_data): New variable.
18159 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18160 (rint_tonearest_test_data): New variable.
18161 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18162 (rint_towardzero_test_data): New variable.
18163 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18164 (rint_downward_test_data): New variable.
18165 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18166 (rint_upward_test_data): New variable.
18167 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18168 (round_test_data): New variable.
18169 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18170 (sin_test_data): New variable.
18171 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18172 (sin_tonearest_test_data): New variable.
18173 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18174 (sin_towardzero_test_data): New variable.
18175 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18176 (sin_downward_test_data): New variable.
18177 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18178 (sin_upward_test_data): New variable.
18179 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18180 (sinh_test_data): New variable.
18181 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18182 (sinh_tonearest_test_data): New variable.
18183 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18184 (sinh_towardzero_test_data): New variable.
18185 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18186 (sinh_downward_test_data): New variable.
18187 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18188 (sinh_upward_test_data): New variable.
18189 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18190 (sqrt_test_data): New variable.
18191 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18192 (tan_test_data): New variable.
18193 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18194 (tan_tonearest_test_data): New variable.
18195 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18196 (tan_towardzero_test_data): New variable.
18197 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18198 (tan_downward_test_data): New variable.
18199 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18200 (tan_upward_test_data): New variable.
18201 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18202 (tanh_test_data): New variable.
18203 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18204 (tgamma_test_data): New variable.
18205 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18206 (trunc_test_data): New variable.
18207 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18208 (y0_test_data): New variable.
18209 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18210 (y1_test_data): New variable.
18211 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18212 (significand_test_data): New variable.
18213 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18215 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18218 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18220 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18222 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18224 2013-05-10 Andreas Jaeger <aj@suse.de>
18227 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18228 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18230 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18232 * math/gen-libm-test.pl (adjust_arg): New function.
18233 (special_functions): Handle generating output in both functions
18235 (parse_args): Likewise.
18236 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18237 $in_func argument to parse_args.
18238 * math/libm-test.inc (struct test_f_f_data): New type.
18239 (IF_ROUND_INIT_): New macro.
18240 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18241 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18242 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18243 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18244 (ROUND_RESTORE_): Likewise.
18245 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18246 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18247 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18248 (ROUND_RESTORE_FE_UPWARD): Likewise.
18249 (RUN_TEST_LOOP_f_f): New macro.
18250 (acos_test_data): New variable.
18251 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18252 (acos_tonearest_test_data): New variable.
18253 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18255 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18257 * benchtests/bench-skeleton.c (startup): Fix coding style.
18259 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18262 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18263 negative infinity argument.
18264 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18265 negative infinity argument.
18266 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18267 negative infinity argument.
18268 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18271 2013-05-10 Florian Weimer <fweimer@redhat.com>
18273 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18274 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18275 * iconv/iconv_prog.c (main): Likewise.
18276 * locale/programs/charmap-dir.c (charmap_readdir)
18277 (fopen_uncompressed): Likewise.
18278 * locale/programs/locfile.c (siblings_uncached)
18279 (write_locale_data): Use lstat64 instead of lstat.
18280 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18283 2013-05-10 Andreas Jaeger <aj@suse.de>
18286 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18288 Include <locale.h>.
18290 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18292 * elf/dl-close.c (_dl_close_worker): Add comments.
18294 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18299 (__ieee754_rem_pio2l): Update comments.
18302 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18304 (__ieee754_rem_pio2l): Update comments.
18306 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18307 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18309 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18312 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18313 (M_PI_34_LOG10El): Likewise.
18314 (M_PI2_LOG10El): Likewise.
18315 (M_PI4_LOG10El): Likewise.
18316 (M_PI_LOG10El): Likewise.
18318 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18322 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18324 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18325 (MINUS_ZERO_INIT): Likewise.
18326 (PLUS_INFTY_INIT): Likewise.
18327 (MINUS_INFTY_INIT): Likewise.
18328 (QNAN_VALUE_INIT): Likewise.
18329 (MAX_VALUE_INIT): Likewise.
18330 (MIN_VALUE_INIT): Likewise.
18331 (MIN_SUBNORM_VALUE_INIT): Likewise.
18332 (plus_zero): Initialize with PLUS_ZERO_INIT.
18333 (minus_zero): Initialize with MINUS_ZERO_INIT.
18334 (plus_infty): Initialize with PLUS_INFTY_INIT.
18335 (minus_infty): Initialize with MINUS_INFTY_INIT.
18336 (qnan_value): Initialize with QNAN_VALUE_INIT.
18337 (max_value): Initialize with MAX_VALUE_INIT.
18338 (min_value): Initialize with MIN_VALUE_INIT.
18339 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18341 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18342 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18343 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18344 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18346 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18347 (RUN_TEST_2_f): Likewise.
18348 (RUN_TEST_ff_f): Likewise.
18349 (RUN_TEST_fi_f): Likewise.
18350 (RUN_TEST_fl_f): Likewise.
18351 (RUN_TEST_fff_f): Likewise.
18352 (RUN_TEST_c_f): Likewise.
18353 (RUN_TEST_f_f1): Likewise.
18354 (RUN_TEST_fF_f1): Likewise.
18355 (RUN_TEST_fI_f1): Likewise.
18356 (RUN_TEST_ffI_f1): Likewise.
18357 (RUN_TEST_c_c): Likewise.
18358 (RUN_TEST_cc_c): Likewise.
18359 (RUN_TEST_f_i): Likewise.
18360 (RUN_TEST_f_i_tg): Likewise.
18361 (RUN_TEST_ff_i_tg): Likewise.
18362 (RUN_TEST_f_b): Likewise.
18363 (RUN_TEST_f_b_tg): Likewise.
18364 (RUN_TEST_f_l): Likewise.
18365 (RUN_TEST_f_L): Likewise.
18366 (RUN_TEST_sincos): Likewise.
18367 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18368 whether to show exceptions. Do not include ");\n" in return
18370 (special_functions): Output call to RUN_TEST_sincos instead of
18371 check_float calls. Update calls to new_test.
18372 (parse_args): Output call to single RUN_TEST_* macro instead of
18373 check_* calls and other assignments. Update calls to new_test.
18379 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18380 input to result for tgamma overflow.
18381 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18382 (gamma_coeff): New variable.
18383 (NCOEFF): New macro.
18384 (gamma_positive): New function.
18385 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18386 underflow here. Use gamma_positive instead of exp (lgamma) for
18388 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18389 (gamma_coeff): New variable.
18390 (NCOEFF): New macro.
18391 (gammaf_positive): New function.
18392 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18393 underflow here. Use gamma_positive instead of exp (lgamma) for
18395 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18396 (gamma_coeff): New variable.
18397 (NCOEFF): New macro.
18398 (gammal_positive): New function.
18399 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18400 underflow here. Use gamma_positive instead of exp (lgamma) for
18402 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18403 (gamma_coeff): New variable.
18404 (NCOEFF): New macro.
18405 (gammal_positive): New function.
18406 (__ieee754_gammal_r): Handle positive infinity, overflow and
18407 underflow here. Handle NaN the same as positive infinity. Remove
18408 check x < 0xffffffff for negative integers. Use gamma_positive
18409 instead of exp (lgamma) for other arguments.
18410 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18411 (gamma_coeff): New variable.
18412 (NCOEFF): New macro.
18413 (gammal_positive): New function.
18414 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18415 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18416 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18418 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18419 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18420 * sysdeps/generic/math_private.h (__gamma_productf): New
18422 (__gamma_product): Likewise.
18423 (__gamma_productl): Likewise.
18424 * math/Makefile (libm-calls): Add gamma_product.
18425 * math/libm-test.inc (tgamma_test): Add more tests.
18426 * sysdeps/i386/fpu/libm-test-ulps: Update.
18427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18429 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18431 * benchtests/bench-skeleton.c (main): Preheat CPU.
18433 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18435 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18437 2013-05-07 Roland McGrath <roland@hack.frob.com>
18439 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18440 and _dl_skip_args_internal.
18442 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18444 * manual/message.texi (Message Translation): Talk about users.
18445 Message to key mapping impacts design.
18447 2013-05-06 Roland McGrath <roland@hack.frob.com>
18449 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18451 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18453 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18454 * sysdeps/wordsize-64/glob64.c: ... here.
18456 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18457 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18460 * debug/getlogin_r_chk.c: Moved to ...
18461 * login/getlogin_r_chk.c: ... here.
18462 * debug/Makefile (routines): Move getlogin_r_chk to ...
18463 * login/Makefile (routines): ... here.
18464 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18465 * login/Versions (libc: GLIBC_2.4): ... here.
18467 * io/poll.c (__poll): Renamed from poll.
18468 Add libc_hidden_def.
18469 (poll): Define as weak alias.
18471 * debug/ptsname_r_chk.c: Moved to ...
18472 * login/ptsname_r_chk.c: ... here.
18473 * debug/Makefile (routines): Move ptsname_r_chk to ...
18474 * login/Makefile (routines): ... here.
18475 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18476 * login/Versions (libc: GLIBC_2.4): ... here.
18478 * posix/getlogin.c: Moved to ...
18479 * login/getlogin.c: ... here.
18480 * posix/getlogin_r.c: Moved to ...
18481 * login/getlogin_r.c: ... here.
18482 * posix/getlogin_r.c: Moved to ...
18483 * login/getlogin_r.c: ... here.
18484 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18485 * login/Makefile (routines): ... here.
18486 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18487 * login/Versions (libc: GLIBC_2.0): ... here.
18489 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18490 (setrlimit): Define as weak alias.
18492 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18493 Call __ names for open, ftruncate, and close.
18494 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18495 (truncate): Define as weak alias.
18497 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18499 * math/gen-libm-test.pl (parse_args): Initialize x before each
18500 test of frexp, modf and remquo.
18502 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18503 test signgam value.
18505 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18509 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18513 2013-05-06 Roland McGrath <roland@hack.frob.com>
18515 * elf/dl-writev.h: New file.
18516 * elf/dl-misc.c: Include it.
18517 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18518 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18520 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18522 * math/libm-test.inc (noXFails): Remove variable.
18523 (noXPasses): Likewise.
18524 (BUILD_COMPLEX_INT): Remove macro.
18525 (print_screen): Remove xfail argument.
18526 (print_screen_max_error): Likewise.
18527 (update_stats): Likewise.
18528 (print_max_error): Likewise. Update calls to other affected
18530 (print_complex_max_error): Likewise.
18531 (test_single_exception): Update calls to print_screen.
18532 (test_single_errno): Likewise.
18533 (check_float_internal): Remove xfail argument. Update calls to
18534 other affected functions.
18535 (check_float): Likewise.
18536 (check_complex): Likewise.
18537 (check_int): Likewise.
18538 (check_long): Likewise.
18539 (check_bool): Likewise.
18540 (check_longlong): Likewise.
18541 (main): Don't print noXFails and noXPasses.
18542 * math/gen-libm-test.pl (top level): Don't mention expected
18543 failure handling in comment.
18544 (new_test): Don't handle expected failures.
18545 (parse_args): Don't mention expected failure handling in comment.
18546 (generate_testfile): Don't handle expected failures.
18547 (parse_ulps): Likewise.
18548 (print_ulps_file): Likewise.
18549 (get_failure): Remove function.
18550 (output_test): Don't handle expected failures.
18551 * make/README.libm-test: Don't mention expected failure handling.
18553 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18554 (minus_zero): Likewise.
18555 (plus_infty): Likewise.
18556 (minus_infty): Likewise.
18557 (qnan_value): Likewise.
18558 (max_value): Likewise.
18559 (min_value): Likewise.
18560 (min_subnorm_value): Likewise.
18561 (initialize): Do not initialize those variables dynamically.
18563 2013-05-03 Roland McGrath <roland@hack.frob.com>
18565 * io/open.c (__open_2): Moved to ...
18566 * io/open_2.c: ... this new file.
18567 * io/open64.c (__open64_2): Moved to ...
18568 * io/open64_2.c: ... this new file.
18569 * io/openat.c (__openat_2): Moved to ...
18570 * io/openat_2.c: ... this new file.
18571 * io/openat64.c (__openat64_2): Moved to ...
18572 * io/openat64_2.c: ... this new file.
18573 * io/Makefile (routines): Add them.
18574 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18575 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18576 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18577 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18578 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18579 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18580 (__openat64): Add hidden_ver.
18581 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18582 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18584 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18585 Separately conditionalize setting of GLRO(dl_sysinfo) so
18586 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18587 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18589 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18591 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18592 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18594 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18595 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18596 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18597 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18598 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18600 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18602 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18603 test signgam value.
18605 * math/libm-test.inc (hypot_test): Do not use
18606 IGNORE_ZERO_INF_SIGN.
18608 2013-05-03 Andreas Jaeger <aj@suse.de>
18610 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18612 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18613 (PF_MAX): Adjust for VSOCK change.
18615 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18619 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18622 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18623 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18624 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18626 2013-05-02 David S. Miller <davem@davemloft.net>
18628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18630 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18632 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18634 2013-05-01 Roland McGrath <roland@hack.frob.com>
18636 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18638 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18641 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18642 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18643 Use __attribute__ ((__gnu_inline__)).
18644 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18645 Don't use __attribute__ ((__gnu_inline__)).
18647 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18650 * math/s_catan.c (__catan): Handle small real or imaginary part of
18651 input specially to avoid spurious underflow.
18652 * math/s_catanf.c (__catanf): Likewise.
18653 * math/s_catanh.c (__catanh): Likewise.
18654 * math/s_catanhf.c (__catanhf): Likewise.
18655 * math/s_catanhl.c (__catanhl): Likewise.
18656 * math/s_catanl.c (__catanl): Likewise.
18657 * math/libm-test.inc (catan_test): Add more tests.
18658 (catanh_test): Likewise.
18659 * sysdeps/i386/fpu/libm-test-ulps: Update.
18660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18662 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18666 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18669 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18670 accurately for denominator in atan2.
18671 * math/s_catanf.c (__catanf): Likewise.
18672 * math/s_catanh.c (__catanh): Likewise.
18673 * math/s_catanhf.c (__catanhf): Likewise.
18674 * math/s_catanhl.c (__catanhl): Likewise.
18675 * math/s_catanl.c (__catanl): Likewise.
18676 * math/libm-test.inc (catan_test): Add more tests.
18677 (catanh_test): Likewise.
18678 * sysdeps/i386/fpu/libm-test-ulps: Update.
18679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18681 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18683 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18685 * benchtests/Makefile (bench): Remove slow benchmarks.
18686 * benchtests/atan-inputs: Add slow benchmark inputs.
18687 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18688 (BENCH_FUNC): Accept variant offset.
18690 * benchtests/bench-skeleton.c (main): Run benchmark for each
18692 * benchtests/cos-inputs: Add slow benchmark inputs.
18693 * benchtests/exp-inputs: Likewise.
18694 * benchtests/pow-inputs: Likewise.
18695 * benchtests/sin-inputs: Likewise.
18696 * benchtests/slowatan-inputs: Remove.
18697 * benchtests/slowatan.c: Remove.
18698 * benchtests/slowcos-inputs: Remove.
18699 * benchtests/slowcos.c: Remove.
18700 * benchtests/slowexp-inputs: Remove.
18701 * benchtests/slowexp.c: Remove.
18702 * benchtests/slowpow-inputs: Remove.
18703 * benchtests/slowpow.c: Remove.
18704 * benchtests/slowsin-inputs: Remove.
18705 * benchtests/slowsin.c: Remove.
18706 * benchtests/slowtan-inputs: Remove.
18707 * benchtests/slowtan.c: Remove.
18708 * benchtests/tan-inputs: Add slow benchmark inputs.
18709 * scripts/bench.pl: Parse comments and directives.
18711 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18713 ($(objpfx)bench-%.c): Remove *-ITER.
18714 * benchtests/bench-modf.c: Remove definition of ITER.
18715 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18716 (main): Loop for DURATION seconds instead of fixed number of
18718 * scripts/bench.pl: Don't expect iterations in parameters.
18720 2013-04-29 Roland McGrath <roland@hack.frob.com>
18722 * io/fchdir.c (__fchdir): Renamed from fchdir.
18723 (fchdir): Define as weak alias.
18725 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18727 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18728 (ERRNO_EDOM): Likewise.
18729 (ERRNO_ERANGE): Likewise.
18730 (noErrnoTests): New variable.
18731 (init_max_error): Set errno to 0.
18732 (test_single_errno): New function.
18733 (test_errno): Likewise.
18734 (check_float_internal): Call test_errno. Set errno to 0.
18735 (check_complex): Refer to errno tests in comment.
18736 (check_int): Call test_errno. Set errno to 0.
18737 (check_long): Likewise.
18738 (check_bool): Likewise.
18739 (check_longlong): Likewise.
18740 (cos_test): Use ERRNO_* flags for errno tests instead of
18742 (expm1_test): Likewise.
18743 (fmod_test): Likewise.
18744 (ilogb_test): Likewise.
18745 (lgamma_test): Likewise.
18746 (pow_test): Likewise.
18747 (remainder_test): Likewise.
18748 (sin_test): Likewise.
18749 (tan_test): Likewise.
18750 (yn_test): Likewise.
18751 (initialize): Set errno to 0.
18752 (main): Print number of errno tests.
18753 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18755 2013-04-29 Andreas Jaeger <aj@suse.de>
18758 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18762 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18763 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18767 * stdlib/random.c (__initstate): Return NULL if
18771 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18772 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18775 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18779 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18781 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18782 of individual tests.
18783 (casin_test): Likewise.
18784 (casinh_test): Likewise.
18786 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18789 * math/s_catan.c (__catan): Handle arguments with large real or
18790 imaginary part separately without squaring.
18791 * math/s_catanf.c (__catanf): Likewise.
18792 * math/s_catanh.c (__catanh): Likewise.
18793 * math/s_catanhf.c (__catanhf): Likewise.
18794 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18796 (__catanhl): Handle arguments with large real or imaginary part
18797 separately without squaring.
18798 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18800 (__catanl): Handle arguments with large real or imaginary part
18801 separately without squaring.
18802 * math/libm-test.inc (catan_test): Add more tests.
18803 (catanh_test): Likewise.
18804 * sysdeps/i386/fpu/libm-test-ulps: Update.
18805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18807 2013-04-27 Andreas Jaeger <aj@suse.de>
18810 * stdlib/stdlib.h: Update guards for qecvt.
18811 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18814 2013-04-27 Allan McRae <allan@archlinux.org>
18816 * sysdeps/i386/fpu/libm-test-ulps: Update.
18818 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18821 * math/s_catan.c: Include <float.h>.
18822 (__catan): Ensure underflow exception occurs for underflowed
18824 * math/s_catanf.c: Include <float.h>.
18825 (__catanf): Ensure underflow exception occurs for underflowed
18827 * math/s_catanh.c: Include <float.h>.
18828 (__catanh): Ensure underflow exception occurs for underflowed
18830 * math/s_catanhf.c: Include <float.h>.
18831 (__catanhf): Ensure underflow exception occurs for underflowed
18833 * math/s_catanhl.c: Include <float.h>.
18834 (__catanhl): Ensure underflow exception occurs for underflowed
18836 * math/s_catanl.c: Include <float.h>.
18837 (__catanl): Ensure underflow exception occurs for underflowed
18839 * math/libm-test.inc (catan_test): Add more tests.
18840 (catanh_test): Likewise.
18843 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18844 underflowed result.
18845 * math/s_ccoshf.c (__ccoshf): Likewise.
18846 * math/s_ccoshl.c (__ccoshl): Likewise.
18847 * math/s_csin.c (__csin): Likewise.
18848 * math/s_csinf.c (__csinf): Likewise.
18849 * math/s_csinh.c (__csinh): Likewise.
18850 * math/s_csinhf.c (__csinhf): Likewise.
18851 * math/s_csinhl.c (__csinhl): Likewise.
18852 * math/s_csinl.c (__csinl): Likewise.
18853 * math/libm-test.inc (ccos_test): Add more tests.
18854 (ccosh_test): Likewise.
18855 (csin_test): Likewise.
18856 (csinh_test): Likewise.
18858 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18860 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18861 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18862 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18863 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18864 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18865 powerpc/power5+/fpu folders.
18866 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18869 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18873 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18875 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18876 additions to variable.
18877 [$(config-machine) = x86_64] (modules-names): Likewise.
18878 ($(objpfx)tst-audit3): Remove dependency.
18879 ($(objpfx)tst-audit3.out): Likewise.
18880 ($(objpfx)tst-audit4): Likewise.
18881 ($(objpfx)tst-audit4.out): Likewise.
18882 ($(objpfx)tst-audit5): Likewise.
18883 ($(objpfx)tst-audit5.out): Likewise.
18884 ($(objpfx)tst-audit6): Likewise.
18885 ($(objpfx)tst-audit6.out): Likewise.
18886 ($(objpfx)tst-audit7): Likewise.
18887 ($(objpfx)tst-audit7.out): Likewise.
18888 (tst-audit3-ENV): Remove variable.
18889 (tst-audit4-ENV): Likewise.
18890 (tst-audit5-ENV): Likewise.
18891 (tst-audit6-ENV): Likewise.
18892 (tst-audit7-ENV): Likewise.
18893 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18894 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18895 addition to variable.
18896 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18897 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18898 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18899 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18900 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18901 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18902 tst-audit3, tst-audit4 and tst-audit5.
18903 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18904 tst-audit6 and tst-audit7.
18905 [$(subdir) = elf] (modules-names): Add audit modules for those
18907 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18908 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18909 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18910 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18911 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18912 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18913 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18914 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18915 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18916 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18917 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18918 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18919 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18920 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18921 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18922 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18924 [$(subdir) = elf && $(config-cflags-avx) = yes]
18925 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18926 [$(subdir) = elf && $(config-cflags-avx) = yes]
18927 (CFLAGS-tst-auditmod4a.c): Likewise.
18928 [$(subdir) = elf && $(config-cflags-avx) = yes]
18929 (CFLAGS-tst-auditmod4b.c): Likewise.
18930 [$(subdir) = elf && $(config-cflags-avx) = yes]
18931 (CFLAGS-tst-auditmod6b.c): Likewise.
18932 [$(subdir) = elf && $(config-cflags-avx) = yes]
18933 (CFLAGS-tst-auditmod6c.c): Likewise.
18934 [$(subdir) = elf && $(config-cflags-avx) = yes]
18935 (CFLAGS-tst-auditmod7b.c): Likewise.
18936 * elf/tst-audit3.c: Move to ...
18937 * sysdeps/x86_64/tst-audit3.c: ... here.
18938 * elf/tst-audit4.c: Move to ...
18939 * sysdeps/x86_64/tst-audit4.c: ... here.
18940 * elf/tst-audit5.c: Move to ...
18941 * sysdeps/x86_64/tst-audit5.c: ... here.
18942 * elf/tst-audit6.c: Move to ...
18943 * sysdeps/x86_64/tst-audit6.c: ... here.
18944 * elf/tst-audit7.c: Move to ...
18945 * sysdeps/x86_64/tst-audit7.c: ... here.
18946 * elf/tst-auditmod3a.c: Move to ...
18947 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18948 * elf/tst-auditmod3b.c: Move to ...
18949 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18950 * elf/tst-auditmod4a.c: Move to ...
18951 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18952 * elf/tst-auditmod4b.c: Move to ...
18953 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18954 * elf/tst-auditmod5a.c: Move to ...
18955 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18956 * elf/tst-auditmod5b.c: Move to ...
18957 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18958 * elf/tst-auditmod6a.c: Move to ...
18959 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18960 * elf/tst-auditmod6b.c: Move to ...
18961 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18962 * elf/tst-auditmod6c.c: Move to ...
18963 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18964 * elf/tst-auditmod7a.c: Move to ...
18965 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18966 * elf/tst-auditmod7b.c: Move to ...
18967 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18969 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18972 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18973 define unconditionally.
18974 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18975 define unconditionally.
18976 (INT8_C, INT16_C, etc.): Likewise.
18978 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18980 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18981 __ehdr_start with hidden visibility.
18983 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18985 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18987 * math/libm-test.inc (cos_test): Use accurate hex constants.
18988 (sincost_test): Likewise.
18990 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18992 * math/libm-test.inc (catan_test): Add more tests.
18993 (catanh_test): Likewise.
18995 * math/s_catanf.c (__catanf): Use suffixed floating-point
18997 * math/s_catanhf.c (__catanhf): Likewise.
18998 * math/s_catanhl.c (__catanhl): Likewise.
18999 * math/s_catanl.c (__catanl): Likewise.
19002 * math/s_catan.c (__catan): Calculate imaginary part of result
19003 with log1p not log unless computing log of number close to 0.
19004 * math/s_catanf.c (__catanf): Likewise.
19005 * math/s_catanl.c (__catanl): Likewise.
19006 * math/s_catanh.c (__catanh): Calculate real part of result with
19007 log1p not log unless computing log of number close to 0.
19008 * math/s_catanhf.c (__catanhf): Likewise.
19009 * math/s_catanhl.c (__catanhl): Likewise.
19010 * math/libm-test.inc (catan_test): Add more tests.
19011 (catanh_test): Likewise.
19012 * sysdeps/i386/fpu/libm-test-ulps: Update.
19013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19015 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19017 * benchtests/Makefile: Mention files in which fast and slow
19018 paths of math functions are implemented.
19020 2013-04-23 Roland McGrath <roland@hack.frob.com>
19022 * sysdeps/posix/timespec_get.c: New file.
19024 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19026 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19028 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19030 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19031 powerpc/power5/fpu folders.
19032 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19033 * benchtests/Makefile: Add modf testcase.
19034 * benchtests/bench-modf.c: New file: Benchmark test for mo
19036 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19039 * time/Makefile (tests): Add tst-strptime-whitespace.
19040 * time/strptime_l.c (get_number): Use ISSPACE.
19041 (__strptime_internal): Likewise.
19042 * time/tst-strptime-whitespace.c: New test case.
19044 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19046 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19048 (_nss_files_init): Set it here.
19050 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19052 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19053 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19056 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19058 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19060 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19062 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19065 2013-04-21 David S. Miller <davem@davemloft.net>
19067 * po/ru.po: Update Russion translation from translation project.
19069 2013-04-17 Adam Conrad <adconrad@0c3.net>
19071 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19074 2013-04-17 Carlos O'Donell <carlos@redhat.com>
19076 * configure.in: Remove i386 configure warning. Remove i386 case.
19077 * configure: Regenerate.
19078 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19079 Add example to error message.
19080 * sysdeps/i386/configure: Regenerate.
19082 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19084 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19086 * benchtests/cos-inputs: New file.
19087 * benchtests/slowcos-inputs: New file.
19088 * benchtests/slowcos.c: New file.
19089 * benchtests/slowtan-inputs: New file.
19090 * benchtests/slowtan.c: New file.
19091 * benchtests/tan-inputs: New file.
19093 2013-04-16 Roland McGrath <roland@hack.frob.com>
19095 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19098 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19100 * benchtests/Makefile: Include cppflags-iterator.mk to add
19101 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19103 * Makefile.in (bench-clean): New target.
19104 * benchtests/Makefile (bench-clean): Likewise.
19106 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19108 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19110 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19112 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19114 2013-04-15 Andreas Schwab <schwab@suse.de>
19116 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19117 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19118 * nscd/pwdcache.c (cache_addpw): Likewise.
19119 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19122 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19124 * benchtests/Makefile (bench): Write all output to
19125 bench-out.tmp together.
19127 2013-04-15 Andreas Schwab <schwab@suse.de>
19129 * nscd/nscd.c (main): Don't fork again after closing files.
19131 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19133 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19135 * benchtests/Rules (bench-deps): Collect dependencies into a
19136 single variable. Add Makefile to dependencies.
19137 ($(objpfx)bench-%.c): Depend on bench-deps.
19139 2013-04-12 Roland McGrath <roland@hack.frob.com>
19140 Xavier Roche <roche+kml2@exalead.com>
19143 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19144 just that it's a file descriptor.
19145 * manual/llio.texi (Synchronizing AIO Operations): Update description
19146 for EBADF error from aio_fsync.
19148 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19150 * Rules (bench): Move target definition...
19151 * benchtests/Makefile: ... here.
19153 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19155 * math/libm-test.inc (cos_test): Fix PI/2 test.
19156 (sincos_test): Likewise.
19157 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19158 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19160 2013-04-11 Andreas Schwab <schwab@suse.de>
19163 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19164 accept exponent character only when digits were seen.
19165 * stdio-common/Makefile (tests): Add bug26.
19166 * stdio-common/bug26.c: New file.
19169 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19172 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19174 * Makeconfig (rtld-prefix): Define built linker prefix.
19175 * Rules (run-bench): Use it.
19176 * math/Makefile (run-regen-ulps): Likewise.
19178 * Rules (bench): Remove eval.
19180 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19181 Roland McGrath <roland@hack.frob.com>
19182 Ondrej Bilka <neleai@seznam.cz>
19185 * time/getdate.c: Include ctype.h and alloca.h.
19186 (__getdate_r): Trim leading and trailing spaces of input.
19187 * time/tst-getdate.c (tests): Add tests with leading and
19190 2013-04-08 Roland McGrath <roland@hack.frob.com>
19193 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19194 when computing value.
19196 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19198 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19199 Use testrun.sh to run libm tests.
19202 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19204 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19207 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19209 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19211 * Makefile.in (regen-ulps): New target.
19212 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19213 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19214 [ifneq (no,$(PERL)] (regen-ulps): New target.
19215 [ifeq (no,$(PERL)] (regen-ulps): New target.
19216 * math/libm-test.inc (ulps_file_name): Define.
19217 (output_dir): New variable.
19218 (options): Add "output-dir" option.
19219 (parse_opt): Handle 'o' case.
19220 (main): If output_dir is non-NULL use it as a prefix
19222 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19224 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19226 [BZ #10060, #10062]
19227 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19228 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19229 fail configure if __sync_val_compare_and_swap is not inlined.
19230 * sysdeps/i386/configure: Regenerate.
19231 * configure.in: Build for i686 when configured for i386.
19232 * configure: Regenerate.
19233 * README: Remove i386 reference.
19235 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19237 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19240 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19242 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19243 (lmsnanval): New variables.
19244 (F): Add conversion tests.
19245 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19246 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19248 * stdio-common/tstdiomisc.c (F): Properly collect individual
19251 [BZ #14686, #15336]
19252 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19253 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19254 Instead, use input NaN values or generate a qNaN by arithmetic
19255 operation. Also fix bugs to comply with the standard.
19256 * math/libm-test.inc (remainder_test): Add more tests.
19258 [BZ #15335, #15342]
19259 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19261 input NaN values or generate a qNaN by arithmetic operation.
19263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19266 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19269 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19272 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19273 underflowed result.
19274 * math/s_cexpf.c (__cexpf): Likewise.
19275 * math/s_cexpl.c (__cexpl): Likewise.
19276 * math/libm-test.inc (cexp_test): Add more tests.
19278 2013-04-03 Andreas Schwab <schwab@suse.de>
19281 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19282 order arrays from heap if bigger than alloca cutoff.
19284 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19286 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19287 (SNAN_TESTS_double): Refer to GCC PR56831.
19288 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19291 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19293 * Rules (bench): Move bench.out after the run is complete.
19295 * Rules (bench): Echo currently running benchmark.
19297 * benchtests/Makefile (bench): Add atan and slowatan.
19298 * benchtests/atan-inputs: New file.
19299 * benchtests/slowatan-inputs: New file.
19300 * benchtests/slowatan.c: New file.
19302 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19307 * sysdeps/unix/sysv/linux/kernel-features.h
19308 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19309 __ASSUME_XFS_RESTRICTED_CHOWN.
19310 * sysdeps/unix/sysv/linux/pathconf.c
19311 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19312 Save and restore errno.
19314 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19317 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19318 arguments using __kernel_casinh.
19319 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19320 arguments using __kernel_casinhf.
19321 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19322 arguments using __kernel_casinhl.
19323 * math/libm-test.inc (cacosh_test): Add more tests.
19324 * sysdeps/i386/fpu/libm-test-ulps: Update.
19325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19327 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19329 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19332 * bench/Makefile (bench): Add sin and slowsin.
19333 * benchtests/sin-inputs: New file.
19334 * benchtests/slowsin-inputs: New file.
19335 * benchtests/slowsin.c: New file.
19337 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19338 (bench): Add slowexp and slowpow.
19339 (exp-ITER): Increase iterations.
19340 (pow-ITER): Likewise.
19341 * benchtests/exp-inputs: Change input.
19342 * benchtests/pow-inputs: Likewise.
19343 * benchtests/slowexp-inputs: New file.
19344 * benchtests/slowexp.c: New file.
19345 * benchtests/slowpow-inputs: New file.
19346 * benchtests/slowpow.c: New file.
19348 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19350 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19352 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19353 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19354 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19355 * benchtests/Makefile: Add rint benchtest.
19356 * benchtests/rint-inputs: Input for rint benchtest.
19358 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19360 * Versions.def (libm): Add GLIBC_2.18.
19361 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19362 hidden libm prototypes.
19363 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19364 * math/Makefile (libm-calls): Add s_issignaling.
19365 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19366 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19367 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19369 * math/math.h [__USE_GNU] (issignaling): New macro.
19370 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19371 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19373 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19376 * manual/arith.texi (issignaling): New section.
19377 * manual/libm-err-tab.pl (@all_functions): Update comment.
19378 * math/gen-libm-test.pl (parse_args): Apply special handling for
19380 * math/libm-test.inc (print_float, issignaling_test): New
19382 (check_float_internal): Add issignaling checks.
19383 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19384 default definition.
19385 * sysdeps/powerpc/math-tests.h: New file.
19386 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19388 * math/test-snan.c (TEST_FUNC): Likewise.
19390 2013-03-30 David S. Miller <davem@davemloft.net>
19392 * po/de.po: Update from translation team.
19394 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19397 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19398 imaginary part less than 1.0 and real part less than 0.5
19400 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19401 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19402 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19403 (cacos_test): Add more tests.
19404 (casin_test): Likewise.
19405 (casinh_test): Likewise.
19406 * sysdeps/i386/fpu/libm-test-ulps: Update.
19407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19409 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19411 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19412 ONE with its value.
19414 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19415 (__pow_mp): Replace ONE and MONE with their values.
19416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19418 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19419 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19420 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19421 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19423 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19425 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19426 (__pow_mp): Replace ZERO and MZERO with their values.
19427 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19428 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19429 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19431 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19432 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19435 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19437 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19439 2013-03-28 Roland McGrath <roland@hack.frob.com>
19441 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19442 Declare with __attribute__ ((weak)).
19443 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19444 Call __call_tls_dtors only if it's not NULL.
19446 2013-03-28 Roland McGrath <roland@hack.frob.com>
19448 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19449 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19450 magic __ehdr_start linker symbol if it's defined.
19451 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19452 them up here if it was already done.
19454 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19455 (_dl_aux_init): Use const in cast when setting it.
19456 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19457 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19458 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19460 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19462 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19463 * csu/libc-tls.c: Nor here.
19464 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19466 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19467 (__libc_message): Never call vsyslog.
19469 2013-03-28 Alan Modra <amodra@gmail.com>
19471 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19473 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19476 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19483 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19486 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19487 Don't add gid passed as argument.
19489 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19491 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19494 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19495 imaginary part between 1.0 and 1.5 and real part less than 0.5
19497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19499 * math/libm-test.inc (cacos_test): Add more tests.
19500 (casin_test): Likewise.
19501 (casinh_test): Likewise.
19502 * sysdeps/i386/fpu/libm-test-ulps: Update.
19503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19505 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19507 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19510 (denorm): Likewise.
19511 (__dbl_mp): Likewise.
19512 (add_magnitudes): Likewise.
19513 (sub_magnitudes): Likewise.
19521 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19523 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19524 (__dubcos): Likewise.
19525 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19526 (__ieee754_acos): Likewise.
19527 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19528 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19529 (__exp1): Likewise.
19530 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19533 (my_log2): Likewise.
19534 (checkint): Likewise.
19535 * sysdeps/ieee754/dbl-64/e_remainder.c
19536 (__ieee754_remainder): Likewise.
19537 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19539 (bsloww): Likewise.
19540 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19542 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19543 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19544 MANTISSA_STORE_T to store computations on mantissa. Use
19545 macros for rounding and division.
19546 (denorm): Likewise.
19547 (__dbl_mp): Likewise.
19548 (add_magnitudes): Likewise.
19549 (sub_magnitudes): Likewise.
19552 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19553 powers of two in terms of TWOPOW macro.
19554 (mp_no): Make type of mantissa as MANTISSA_T.
19555 [!RADIXI]: Define RADIXI.
19556 [!TWO52]: Define TWO52.
19557 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19559 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19561 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19562 llroundl symbol when building for PPC32.
19564 2013-03-24 Mark H Weaver <mhw@netris.org>
19566 * manual/arith.texi (Normalization Functions): Fix prototypes for
19567 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19569 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19572 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19573 high value to check if expl overflow.
19574 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19575 to check for underflow and overflow.
19576 * math/libm-test.inc: Add exp test.
19578 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19581 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19584 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19586 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19589 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19591 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19592 wrap blocks consisting of several statements.
19594 * sysdeps/generic/math-tests.h: New file.
19595 * sysdeps/i386/fpu/math-tests.h: Likewise.
19596 * math/test-snan.c: Include it.
19597 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19599 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19602 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19603 (__ieee754_j0l): Do not improve calculations using cos of twice
19604 input for inputs above LDBL_MAX / 2.0L.
19605 (__ieee754_y0l): Likewise.
19606 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19607 (__ieee754_j1l): Do not improve calculations using cos of twice
19608 input for inputs above LDBL_MAX / 2.0L.
19609 (__ieee754_y1l): Likewise.
19610 * math/libm-test.inc (j0_test): Add another test.
19611 (j1_test): Likewise.
19612 (y0_test): Likewise.
19613 (y1_test): Likewise.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19616 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19618 * Rules ($(objpfx)bench-%.c): Include code from a C source
19621 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19624 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19625 imaginary part 1.0 and real part less than 0.5 specially.
19626 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19627 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19628 * math/libm-test.inc (cacos_test): Add more tests.
19629 (casin_test): Likewise.
19630 (casinh_test): Likewise.
19631 * sysdeps/i386/fpu/libm-test-ulps: Update.
19632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19634 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19636 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19637 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19639 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19641 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19642 * config.make.in (config-cflags-sse4): Remove variable.
19643 (config-cflags-avx): Likewise.
19644 (config-cflags-sse2avx): Likewise.
19645 (config-cflags-novzeroupper): Likewise.
19646 (config-asflags-i686): Likewise.
19647 (have-mfma4): Likewise.
19648 (have-as-vis3): Likewise.
19650 * configure.in (MIG): Do not AC_SUBST.
19651 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19652 (libc_cv_cc_sse4): Do not AC_SUBST.
19653 (libc_cv_cc_avx): Likewise.
19654 (libc_cv_cc_sse2avx): Likewise.
19655 (libc_cv_cc_novzeroupper): Likewise.
19656 (libc_cv_cc_fma4): Likewise.
19657 (libc_cv_as_i686): Likewise.
19658 (libc_cv_sparc_as_vis3): Likewise.
19659 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19661 (config-asflags-i686): Likewise.
19662 (config-cflags-avx): Likewise.
19663 (config-cflags-sse2avx): Likewise.
19664 (have-mfma4): Likewise.
19665 (config-cflags-novzeroupper): Likewise.
19666 * sysdeps/mach/configure.in (MIG): Likewise.
19667 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19668 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19670 (config-cflags-avx): Likewise.
19671 (config-cflags-sse2avx): Likewise.
19672 (have-mfma4): Likewise.
19673 (config-cflags-novzeroupper): Likewise.
19674 * configure: Regenerated.
19675 * sysdeps/i386/configure: Likewise.
19676 * sysdeps/mach/configure: Likewise.
19677 * sysdeps/sparc/configure: Likewise.
19678 * sysdeps/x86_64/configure: Likewise.
19680 2013-03-20 Roland McGrath <roland@hack.frob.com>
19683 * locale/programs/localedef.c (options): Put N_ translation marker
19684 on argument names, not just descriptions.
19686 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19688 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19690 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19693 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19695 2013-03-19 Roland McGrath <roland@hack.frob.com>
19697 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19698 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19699 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19700 [!BEFORE_ABORT] (before_abort): New function.
19701 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19702 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19703 (writev_for_fatal): New function.
19704 (WRITEV_FOR_FATAL): New macro; call that.
19705 (backtrace_and_maps): New function.
19706 (BEFORE_ABORT): New macro; call that.
19707 (struct str_list): Type removed.
19708 (__libc_message, __libc_fatal): Functions removed.
19709 Include <sysdeps/posix/libc_fatal.c> instead.
19711 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19713 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19715 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19718 2013-03-19 Andreas Schwab <schwab@suse.de>
19720 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19721 * sysdeps/gnu/configure: Regenerate.
19723 * configure.in: Substitute libc_cv_rtlddir.
19724 * configure: Regenerate.
19725 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19726 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19727 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19728 * elf/Makefile (install-others, CFLAGS-interp.c)
19729 (ldso_install, common-ldd-rewrite): Likewise.
19730 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19731 $(inst_slibdir)/$(rtld-installed-name).
19732 * scripts/rellns-sh: Add -p option.
19733 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19736 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19738 * manual/nptl.texi: Renamed to ...
19739 * manual/threads.texi: ... this.
19740 * manual/Makefile (chapters): Update.
19742 2013-03-18 Roland McGrath <roland@hack.frob.com>
19745 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19746 on argument names, not just descriptions.
19747 * malloc/memusagestat.c (options): Likewise.
19748 * nss/getent.c (options): Likewise.
19750 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19753 * iconv/iconv_prog.c (options): Put N_ translation marker
19754 on argument names, not just descriptions.
19755 * iconv/iconvconfig.c (options): Likewise.
19757 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19759 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19760 implementation which is faster on all x86_64 architectures.
19761 Tested on AMD, Intel Nehalem, SNB, IVB.
19762 * sysdeps/x86_64/strnlen.S: Likewise.
19764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19765 Remove all multiarch strlen and strnlen versions.
19766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19767 Remove strlen and strnlen related parts.
19769 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19770 Inline strlen part.
19771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19773 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19775 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19776 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19777 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19778 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19780 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19782 * manual/memory.texi (Malloc Tunable Parameters):
19783 Sort parameters alphabetically. Add comments for missing entries.
19785 2013-03-17 David S. Miller <davem@davemloft.net>
19787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19789 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19792 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19793 for arguments at most half maximum finite value.
19794 * math/libm-test.inc (j0_test): Add more tests.
19795 (j1_test): Likewise.
19796 (y0_test): Likewise.
19797 (y1_test): Likewise.
19798 * sysdeps/i386/fpu/libm-test-ulps: Update.
19799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19802 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19803 1 / x and functions P and Q for arguments above 0x1p256L.
19804 (__ieee754_y0l): Likewise.
19805 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19806 (__ieee754_y1l): Likewise.
19807 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19808 (j1_test): Likewise.
19809 (y0_test): Likewise.
19810 (y1_test): Likewise.
19812 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19814 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19817 2013-03-15 Roland McGrath <roland@hack.frob.com>
19819 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19820 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19821 zero since it's initialized to EXEC_PAGESIZE.
19823 * sysdeps/unix/sysv/linux/ldsodefs.h
19824 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19825 * sysdeps/generic/ldsodefs.h: ... here.
19827 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19829 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19831 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19833 * math/test-snan.c: Renamed from
19834 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19835 * math/Makefile (tests): Add test-snan.
19836 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19839 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19840 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19842 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19843 __builtin_nan family of functions.
19844 * math/libm-test.inc (initialize): Initialize qnan_value with
19845 __builtin_nan family of functions.
19846 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19848 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19850 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19851 storage class. Initialize qNaN_var and sNaN_var with
19852 __builtin_nan and __builtin_nans families of functions,
19855 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19856 (sqrt_test): Remove duplicate test with qNaN input.
19857 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19858 (round_test, signbit_test, significand_test): Note missing +/-Inf
19859 as well as qNaN tests.
19861 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19862 qNaN_var. Fix a few strings, too.
19863 * math/libm-test.inc (nan_value): Rename to qnan_value.
19864 * math/gen-libm-test.pl (%beautify): Adjust to that.
19865 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19866 * math/test-misc.c (main): Likewise.
19867 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19868 to __qnan_bytes, and __qnan_union, respectively.
19869 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19871 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19872 and lqnanval, respectively.
19873 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19874 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19875 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19876 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19878 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19879 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19882 * math/test-misc.c (main): Fix copy'n'pastos.
19883 * misc/tst-efgcvt.c (special): Likewise.
19885 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19886 Remove declarations.
19888 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19890 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19891 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19892 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19893 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19895 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19897 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19898 macro to return vdso values correctly in IFUNC implementations.
19899 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19900 Optimization by using IFUNC.
19902 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19903 Richard Henderson <rth@redhat.com>
19904 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19906 * Makefile.in (bench): New target.
19907 * NEWS: Mention the benchmark framework.
19908 * Rules (bench): Likewise.
19909 (binaries-bench): Generate binaries for functions to
19911 * benchtests/Makefile: New makefile for benchmark tests.
19912 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19914 * benchtests/exp-inputs: New input file for EXP function.
19915 * benchtests/pow-inputs: New input file for POW function.
19916 * scripts/bench.pl: New script to generate source files for
19917 benchmark programs.
19919 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19921 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19922 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19923 computations on mantissa. Use macros for rounding and
19925 (denorm): Likewise.
19926 (__dbl_mp): Likewise.
19927 (add_magnitudes): Likewise.
19928 (sub_magnitudes): Likewise.
19931 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19932 powers of two in terms of TWOPOW macro.
19933 (mp_no): Make type of mantissa as MANTISSA_T.
19934 [!RADIXI]: Define RADIXI.
19935 [!TWO52]: Define TWO52.
19936 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19938 * manual/nptl.texi (cindex): Modify threads to pthreads.
19940 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19942 * sysdeps/x86_64/preconfigure: Regenerated.
19944 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19947 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19949 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19950 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19952 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19953 * math/libm-test.inc (j0_test): Do not allow one spurious
19954 underflow exception.
19955 (y1_test): Likewise.
19957 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19959 * manual/Makefile (chapters): Add nptl.
19960 * manual/debug.texi (Debugging Support): Add link to Threads
19962 * manual/nptl.texi: New file.
19964 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19966 2013-03-14 Petr Baudis <pasky@ucw.cz>
19968 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19969 for non-NULL pointer before the memory validity test. Pointed
19970 out by Holger Brunck <holger.brunck@keymile.com>.
19972 2013-03-13 Andreas Schwab <schwab@suse.de>
19974 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19977 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19979 * timezone/zic.c: Update from tzcode 2013b.
19981 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19983 * manual/install.texi (Configuring and compiling):
19984 Mention i686 and i586.
19985 * INSTALL: Regenerate.
19987 2013-03-12 Roland McGrath <roland@hack.frob.com>
19989 * sysdeps/init_array/elf-init.c: New file.
19991 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19992 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19994 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19995 __gmon_start__ as global, but as static with a .preinit_array pointer.
19996 * sysdeps/init_array/gmon-start.c: New file. Use that.
19997 * sysdeps/init_array/crti.S: New file, empty except for comments.
19998 * sysdeps/init_array/crtn.S: Likewise.
20000 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
20002 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20005 Remove Prefer_SSE_for_memop.
20006 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20007 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20008 HAS_PREFER_SSE_FOR_MEMOP.
20009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20012 Remove bzero, memset ifunc support.
20013 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20014 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20015 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20016 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20018 2013-03-11 Andreas Schwab <schwab@suse.de>
20021 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20024 (GLIBC_2.16): Remove pthread_atfork.
20026 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20028 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20029 (ptestcases.h): Likewise.
20031 2013-03-08 Roland McGrath <roland@hack.frob.com>
20033 * Makeconfig ($(common-objpfx)config.status): Depend on
20034 sysdeps/*/preconfigure{,.in} too.
20036 2013-03-08 Joseph Myers <joseph@codesourcery.com>
20038 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20039 (__free_hook): Use void * instead of __malloc_ptr_t.
20040 (__malloc_hook): Likewise.
20041 (__realloc_hook): Likewise.
20042 (__memalign_hook): Likewise.
20043 (__after_morecore_hook): Likewise.
20044 * malloc/arena.c (save_malloc_hook): Likewise.
20045 (save_free_hook): Likewise.
20046 * malloc/hooks.c (malloc_hook_ini): Likewise.
20047 (realloc_hook_ini): Likewise.
20048 (memalign_hook_ini): Likewise.
20049 * malloc/malloc.c (malloc_hook_ini): Likewise.
20050 (realloc_hook_ini): Likewise.
20051 (memalign_hook_ini): Likewise.
20052 (__free_hook): Likewise.
20053 (__malloc_hook): Likewise.
20054 (__realloc_hook): Likewise.
20055 (__memalign_hook): Likewise.
20056 (__libc_malloc): Likewise.
20057 (__libc_free): Likewise.
20058 (__libc_realloc): Likewise.
20059 (__libc_memalign): Likewise.
20060 (__libc_valloc): Likewise.
20061 (__libc_pvalloc): Likewise.
20062 (__libc_calloc): Likewise.
20063 (__posix_memalign): Likewise.
20064 * malloc/morecore.c (__sbrk): Likewise.
20065 (__default_morecore): Likewise.
20067 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20069 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20070 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20071 __malloc_ptrdiff_t.
20073 * malloc/malloc.h (__malloc_size_t): Remove macro.
20074 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20076 (old_memalign_hook): Likewise.
20077 (old_realloc_hook): Likewise.
20078 (struct hdr): Likewise.
20080 (mallochook): Likewise.
20081 (memalignhook): Likewise.
20082 (reallochook): Likewise.
20083 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20084 (tr_old_realloc_hook): Likewise.
20085 (tr_old_memalign_hook): Likewise.
20086 (tr_mallochook): Likewise.
20087 (tr_reallochook): Likewise.
20088 (tr_memalignhook): Likewise.
20090 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20092 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20093 default_ldbl_pack and using as default implementation.
20094 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20096 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20097 redundant definition.
20098 (ldbl_insert_mantissa): Likewise.
20099 (ldbl_canonicalize): Likewise.
20100 (ldbl_nearbyint): Likewise.
20101 (ldbl_pack): Rename to ldbl_pack_ppc.
20102 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20103 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20104 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20106 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20109 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20110 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20111 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20113 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20114 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20115 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20117 2013-03-07 Andreas Jaeger <aj@suse.de>
20119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20122 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20124 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20125 Include mpa.h and declare __MPEXP.
20126 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20127 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20128 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20129 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20130 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20131 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20132 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20134 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20135 (__slowpow): Use long double EXPL and LOGL functions to
20137 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20138 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20140 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20141 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20142 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20145 intermediate variable to calculate exponent.
20147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20151 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20152 [!NO__SQR]: Define __sqr.
20153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20154 and NO__SQR. Remove all code except __mul and __sqr. Include
20155 sysdeps/ieee754/dbl-64/mpa.c.
20156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20159 * posix/Makefile (tests): Add tst-pathconf.
20160 * posix/tst-pathconf.c: New test case.
20161 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20163 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20165 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20167 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20169 2013-03-06 Andreas Jaeger <aj@suse.de>
20171 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20172 definition via __MAP_ANONYMOUS.
20174 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20175 it's not part of Linux headers.
20177 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20178 (MAP_HUGE_MASK): Define.
20180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20182 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20185 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20186 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20188 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20191 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20193 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20194 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20195 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20196 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20197 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20198 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20204 Handle f2fs and efivarfs.
20206 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20209 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20210 (EFIVARFS_MAGIC): Add.
20211 (F2FS_LINK_MAX): Add.
20213 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20215 * stdio-common/vfprintf.c: Replace __builtin_expect with
20218 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20221 * sysdeps/generic/bp-sym.h: Remove file.
20222 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20223 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20224 <bp-sym.h> and <bp-asm.h>.
20225 (__longjmp): Don't use BP_SYM.
20226 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20228 (memcpy): Don't use BP_SYM.
20229 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20230 <bp-sym.h> and <bp-asm.h>.
20231 (memcpy): Don't use BP_SYM.
20232 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20234 (memcpy): Don't use BP_SYM.
20235 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20237 (memset): Don't use BP_SYM.
20238 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20239 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20240 (__bzero): Don't use BP_SYM.
20241 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20242 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20243 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20244 <bp-sym.h> and <bp-asm.h>.
20245 (memcmp): Don't use BP_SYM. Remove comment about bounded
20247 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20248 <bp-sym.h> and <bp-asm.h>.
20249 (memcpy): Don't use BP_SYM.
20250 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20251 <bp-sym.h> and <bp-asm.h>.
20252 (memset): Don't use BP_SYM.
20253 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20254 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20255 (__bzero): Don't use BP_SYM.
20256 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20257 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20258 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20259 <bp-sym.h> and <bp-asm.h>.
20260 (strncmp): Don't use BP_SYM. Remove comment about bounded
20262 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20263 <bp-sym.h> and <bp-asm.h>.
20264 (memcpy): Don't use BP_SYM.
20265 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20266 <bp-sym.h> and <bp-asm.h>.
20267 (memset): Don't use BP_SYM.
20268 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20269 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20270 (__bzero): Don't use BP_SYM.
20271 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20272 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20274 <bp-sym.h> and <bp-asm.h>.
20275 (__memchr): Don't use BP_SYM.
20276 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20277 <bp-sym.h> and <bp-asm.h>.
20278 (memcmp): Don't use BP_SYM. Remove comment about bounded
20280 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20281 <bp-sym.h> and <bp-asm.h>.
20282 (memcpy): Don't use BP_SYM.
20283 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20284 <bp-sym.h> and <bp-asm.h>.
20285 (__mempcpy): Don't use BP_SYM.
20286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20287 <bp-sym.h> and <bp-asm.h>.
20288 (__memrchr): Don't use BP_SYM.
20289 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20290 <bp-sym.h> and <bp-asm.h>.
20291 (memset): Don't use BP_SYM.
20292 (__bzero): Likewise.
20293 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20294 <bp-sym.h> and <bp-asm.h>.
20295 (__rawmemchr): Don't use BP_SYM.
20296 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20297 <bp-sym.h> and <bp-asm.h>.
20298 (__STRCMP): Don't use BP_SYM.
20299 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20300 <bp-sym.h> and <bp-asm.h>.
20301 (strchr): Don't use BP_SYM.
20302 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20303 <bp-sym.h> and <bp-asm.h>.
20304 (__strchrnul): Don't use BP_SYM.
20305 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20306 <bp-sym.h> and <bp-asm.h>.
20307 (strlen): Don't use BP_SYM.
20308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20309 <bp-sym.h> and <bp-asm.h>.
20310 (strncmp): Don't use BP_SYM. Remove comment about bounded
20312 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20313 <bp-sym.h> and <bp-asm.h>.
20314 (__strnlen): Don't use BP_SYM.
20315 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20316 <bp-sym.h> and <bp-asm.h>.
20317 (__GI__setjmp): Don't use BP_SYM.
20318 (_setjmp): Likewise.
20319 (__sigsetjmp): Likewise.
20320 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20321 (L(start_addresses)): Don't use BP_SYM.
20322 (_start): Likewise.
20323 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20325 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20326 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20327 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20328 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20329 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20331 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20332 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20333 about bounded pointers.
20334 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20335 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20336 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20338 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20339 about bounded pointers. Remove GKM FIXME comments.
20340 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20341 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20343 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20344 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20345 Remove GKM FIXME comments.
20346 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20347 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20348 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20350 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20351 about bounded pointers. Remove GKM FIXME comment.
20352 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20354 (strncmp): Don't use BP_SYM. Remove comment about bounded
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20357 <bp-sym.h> and <bp-asm.h>.
20358 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20360 <bp-sym.h> and <bp-asm.h>.
20361 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20364 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20366 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20369 2013-03-05 David S. Miller <davem@davemloft.net>
20371 * po/es.po: Update from translation team.
20373 2013-03-05 Andreas Jaeger <aj@suse.de>
20375 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20376 <bits/mman-linux.h>.
20377 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20379 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20380 <bits/mman-linux.h> to end of file.
20381 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20383 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20384 <bits/mman-linux.h> to end of file.
20385 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20387 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20388 <bits/mman-linux.h> to end of file.
20390 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20391 (MCL_CURRENT, MCL_FUTURE): Define here.
20393 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20396 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20398 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20400 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20403 fourth parameter needed for rt_sigprocmask syscall.
20404 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20405 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20406 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20407 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20408 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20409 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20411 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20414 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20415 comment about bounded pointers.
20416 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20417 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20419 2013-03-04 Andreas Jaeger <aj@suse.de>
20421 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20422 common definitions.
20424 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20425 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20426 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20427 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20428 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20431 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20434 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20435 __ieee754_sqrl instead of __sqrl.
20437 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20439 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20440 * sysdeps/powerpc/fpu_control.h: ... here.
20441 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20442 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20443 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20444 * sysdeps/powerpc/bits/mathinline.h: ... here.
20446 2013-03-01 Roland McGrath <roland@hack.frob.com>
20448 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20449 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20450 to just [NEED_DL_SYSINFO_DSO].
20451 * elf/dl-support.c: Likewise.
20452 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20453 * elf/rtld.c (dl_main): Likewise.
20454 * elf/setup-vdso.h (setup_vdso): Likewise.
20455 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20456 * sysdeps/unix/sysv/linux/dl-sysdep.c
20457 (_dl_discover_osversion): Likewise.
20459 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20461 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20462 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20464 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20466 * NEWS: Mention libm performance improvements and non-x86 PI
20469 * csu/libc-start.c (__pthread_initialize_minimal): Change
20470 function arguments.
20471 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20473 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20476 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20477 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20478 <bp-sym.h> and <bp-asm.h>.
20479 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20480 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20482 (memcpy): Don't use BP_SYM.
20483 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20485 (__mpn_add_n): Don't use BP_SYM.
20486 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20487 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20489 (__mpn_addmul_1): Don't use BP_SYM.
20490 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20491 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20493 (_setjmp): Don't use BP_SYM.
20494 (__novmx_setjmp): Likewise.
20495 (__GI__setjmp): Likewise.
20496 (__vmx_setjmp): Likewise.
20497 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20499 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20500 (__bzero): Don't use BP_SYM.
20501 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20502 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20503 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20504 <bp-sym.h> and <bp-asm.h>.
20505 (memcpy): Don't use BP_SYM.
20506 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20507 <bp-sym.h> and <bp-asm.h>.
20508 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20509 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20510 <bp-sym.h> and <bp-asm.h>.
20511 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20512 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20514 (__mpn_lshift): Don't use BP_SYM.
20515 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20516 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20518 (memset): Don't use BP_SYM.
20519 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20520 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20521 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20523 (__mpn_mul_1): Don't use BP_SYM.
20524 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20525 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20526 <bp-sym.h> and <bp-asm.h>.
20527 (memcmp): Don't use BP_SYM.
20528 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20529 <bp-sym.h> and <bp-asm.h>.
20530 (memcpy): Don't use BP_SYM.
20531 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20532 <bp-sym.h> and <bp-asm.h>.
20533 (memset): Don't use BP_SYM.
20534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20535 <bp-sym.h> and <bp-asm.h>.
20536 (strncmp): Don't use BP_SYM.
20537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20538 <bp-sym.h> and <bp-asm.h>.
20539 (memcpy): Don't use BP_SYM.
20540 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20541 <bp-sym.h> and <bp-asm.h>.
20542 (memset): Don't use BP_SYM.
20543 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20544 <bp-sym.h> and <bp-asm.h>.
20545 (__memchr): Don't use BP_SYM.
20546 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20547 <bp-sym.h> and <bp-asm.h>.
20548 (memcmp): Don't use BP_SYM.
20549 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20550 <bp-sym.h> and <bp-asm.h>.
20551 (memcpy): Don't use BP_SYM.
20552 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20553 <bp-sym.h> and <bp-asm.h>.
20554 (__mempcpy): Don't use BP_SYM.
20555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20556 <bp-sym.h> and <bp-asm.h>.
20557 (__memrchr): Don't use BP_SYM.
20558 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20559 <bp-sym.h> and <bp-asm.h>.
20560 (memset): Don't use BP_SYM.
20561 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20562 <bp-sym.h> and <bp-asm.h>.
20563 (__rawmemchr): Don't use BP_SYM.
20564 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20565 <bp-sym.h> and <bp-asm.h>.
20566 (__STRCMP): Don't use BP_SYM.
20567 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20568 <bp-sym.h> and <bp-asm.h>.
20569 (strchr): Don't use BP_SYM.
20570 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20571 <bp-sym.h> and <bp-asm.h>.
20572 (__strchrnul): Don't use BP_SYM.
20573 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20574 <bp-sym.h> and <bp-asm.h>.
20575 (strlen): Don't use BP_SYM.
20576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20577 <bp-sym.h> and <bp-asm.h>.
20578 (strncmp): Don't use BP_SYM.
20579 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20580 <bp-sym.h> and <bp-asm.h>.
20581 (__strnlen): Don't use BP_SYM.
20582 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20584 (__mpn_rshift): Don't use BP_SYM.
20585 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20586 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20587 <bp-sym.h> and <bp-asm.h>.
20588 (__sigsetjmp): Don't use BP_SYM.
20589 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20590 (L(start_addresses)): Don't use BP_SYM.
20591 (_start): Likewise.
20592 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20594 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20595 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20596 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20597 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20599 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20600 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20601 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20602 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20604 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20606 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20607 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20609 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20611 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20612 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20613 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20615 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20617 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20619 (strncmp): Don't use BP_SYM,
20620 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20622 (__mpn_sub_n): Don't use BP_SYM.
20623 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20624 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20626 (__mpn_submul_1): Don't use BP_SYM.
20627 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20629 <bp-sym.h> and <bp-asm.h>.
20630 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20632 <bp-sym.h> and <bp-asm.h>.
20633 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20636 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20639 Use ZK to minimize writes to Z.
20640 (sub_magnitudes): Simplify code a bit.
20641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20642 Use ZK to minimize writes to Z.
20643 (sub_magnitudes): Simplify code a bit.
20645 2013-02-27 Roland McGrath <roland@hack.frob.com>
20647 * csu/gmon-start.c: Add special exception to license text.
20649 2013-02-27 Richard Henderson <rth@redhat.com>
20651 * scripts/config.guess: Update from config.git.
20652 * scripts/config.sub: Likewise.
20654 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20656 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20658 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20660 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20662 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20664 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20666 2013-02-26 Roland McGrath <roland@hack.frob.com>
20668 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20669 [$(build-shared = yes].
20671 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20673 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20674 (__mul): Reduce iterations for calculating mantissa.
20676 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20678 (__mpranred): Likewise.
20681 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20682 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20684 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20686 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20687 Define __attribute__.
20689 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20691 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20693 * posix/regex_internal.h (__attribute): Remove.
20694 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20695 (re_string_context_at): Likewise.
20696 (bitset_not): Use __attribute__ and mark function as possibly
20698 (bitset_merge): Likewise.
20699 (bitset_mask): Likewise.
20700 (re_string_char_size_at): Likewise.
20701 (re_string_wchar_at): Likewise.
20702 (re_string_elem_size_at): Likewise.
20704 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20706 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20710 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20714 (denorm): Likewise.
20715 (__dbl_mp): Likewise.
20716 (add_magnitudes): Likewise.
20717 (sub_magnitudes): Likewise.
20721 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20724 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20727 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20731 up changes with default code.
20732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20735 2013-02-24 Allan McRae <allan@archlinux.org>
20737 * manual/socket.texi (The Internet Namespace): Order menu items
20738 to match that in the file.
20740 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20741 node listing of the info page menu.
20743 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20746 * sysdeps/i386/bp-asm.h: Remove file.
20747 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20748 (PARMS): Do not use macros from bp-asm.h.
20752 (__mpn_add_n): Do not use BP_SYM
20753 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20755 (PARMS): Do not use macros from bp-asm.h.
20758 (__mpn_addmul_1): Do not use BP_SYM
20759 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20761 (PARMS): Do not use macros from bp-asm.h.
20762 (SIGMSK): Likewise.
20763 (_setjmp): Likewise. Do not use BP_SYM.
20764 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20766 (PARMS): Do not use macros from bp-asm.h.
20767 (SIGMSK): Likewise.
20768 (setjmp): Likewise. Do not use BP_SYM.
20769 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20771 (PARMS): Do not use macros from bp-asm.h.
20772 (__frexp): Do not use BP_SYM.
20774 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20776 (PARMS): Do not use macros from bp-asm.h.
20777 (__frexpf): Do not use BP_SYM.
20778 (frexpf): Likewise.
20779 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20781 (PARMS): Do not use macros from bp-asm.h.
20782 (__frexpl): Do not use BP_SYM.
20783 (frexpl): Likewise.
20784 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20786 (PARMS): Do not use macros from bp-asm.h.
20787 (__remquo): Do not use BP_SYM.
20788 (remquo): Likewise.
20789 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20791 (PARMS): Do not use macros from bp-asm.h.
20792 (__remquof): Do not use BP_SYM.
20793 (remquof): Likewise.
20794 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20796 (PARMS): Do not use macros from bp-asm.h.
20797 (__remquol): Do not use BP_SYM.
20798 (remquol): Likewise.
20799 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20801 (PARMS): Do not use macros from bp-asm.h.
20804 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20805 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20807 (PARMS): Do not use macros from bp-asm.h.
20808 (strlen): Do not use BP_SYM.
20809 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20811 (PARMS): Do not use macros from bp-asm.h.
20815 (__mpn_add_n): Do not use BP_SYM.
20816 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20818 (PARMS): Do not use macros from bp-asm.h.
20821 (__mpn_addmul_1): Do not use BP_SYM.
20822 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20825 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20827 (PARMS): Do not use macros from bp-asm.h.
20830 (__mpn_lshift): Do not use BP_SYM.
20831 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20833 (PARMS): Do not use macros from bp-asm.h.
20837 (memcpy): Likewise. Do not use BP_SYM.
20838 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20839 libc_hidden_def and weak_alias.
20840 (mempcpy): Do not use BP_SYM in weak_alias.
20841 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20843 (PARMS): Do not use macros from bp-asm.h.
20846 [!BZERO_P] (CHR): Likewise.
20847 (memset): Likewise. Do not use BP_SYM.
20848 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20850 (PARMS): Do not use macros from bp-asm.h.
20853 (__mpn_mul_1): Do not use BP_SYM.
20854 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20856 (PARMS): Do not use macros from bp-asm.h.
20859 (__mpn_rshift): Do not use BP_SYM.
20860 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20862 (PARMS): Do not use macros from bp-asm.h.
20865 (strchr): Likewise. Do not use BP_SYM.
20866 (index): Do not use BP_SYM in weak_alias.
20867 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20869 (PARMS): Do not use macros from bp-asm.h.
20872 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20873 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20875 (PARMS): Do not use macros from bp-asm.h.
20876 (strlen): Do not use BP_SYM.
20877 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20879 (PARMS): Do not use macros from bp-asm.h.
20883 (__mpn_sub_n): Do not use BP_SYM.
20884 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20886 (PARMS): Do not use macros from bp-asm.h.
20889 (__mpn_submul_1): Do not use BP_SYM.
20890 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20892 (PARMS): Do not use macros from bp-asm.h.
20896 (__mpn_add_n): Do not use BP_SYM.
20897 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20900 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20902 (PARMS): Do not use macros from bp-asm.h.
20905 (memcmp): Do not use BP_SYM.
20906 (bcmp): Do not use BP_SYM in weak_alias.
20907 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20909 (PARMS): Do not use macros from bp-asm.h.
20913 (memcpy): Likewise. Do not use BP_SYM.
20914 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20916 (PARMS): Do not use macros from bp-asm.h.
20920 (memmove): Likewise. Do not use BP_SYM.
20921 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20923 (PARMS): Do not use macros from bp-asm.h.
20927 (__mempcpy): Likewise. Do not use BP_SYM.
20928 (mempcpy): Do not use BP_SYM in weak_alias.
20929 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20931 (PARMS): Do not use macros from bp-asm.h.
20934 [!BZERO_P] (CHR): Likewise.
20935 (memset): Likewise. Do not use BP_SYM.
20936 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20938 (PARMS): Do not use macros from bp-asm.h.
20940 (strcmp): Do not use BP_SYM.
20941 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20943 (PARMS): Do not use macros from bp-asm.h.
20946 [USE_AS_STRTOK_R] (SAVE): Likewise.
20947 (FUNCTION): Likewise. Do not use BP_SYM.
20948 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20950 (strtok_r): Likewise.
20951 (__GI___strtok_r): Likewise.
20952 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20953 (PARMS): Do not use macros from bp-asm.h.
20956 (__mpn_lshift): Do not use BP_SYM.
20957 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20958 (PARMS): Do not use macros from bp-asm.h.
20961 (__memchr): Do not use BP_SYM.
20962 (memchr): Do not use BP_SYM in weak_alias.
20963 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20964 (PARMS): Do not use macros from bp-asm.h.
20967 (memcmp): Do not use BP_SYM.
20968 (bcmp): Do not use BP_SYM in weak_alias.
20969 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20970 (PARMS): Do not use macros from bp-asm.h.
20973 (__mpn_mul_1): Do not use BP_SYM.
20974 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20976 (PARMS): Do not use macros from bp-asm.h.
20979 (__rawmemchr): Do not use BP_SYM.
20980 (rawmemchr): Do not use BP_SYM in weak_alias.
20981 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20982 (PARMS): Do not use macros from bp-asm.h.
20985 (__mpn_rshift): Do not use BP_SYM.
20986 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20987 (PARMS): Do not use macros from bp-asm.h.
20988 (SIGMSK): Likewise.
20989 (__sigsetjmp): Likewise. Do not use BP_SYM.
20990 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20991 (_start): Do not use BP_SYM.
20992 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20993 (PARMS): Do not use macros from bp-asm.h.
20996 (__stpcpy): Likewise. Do not use BP_SYM.
20997 (stpcpy): Do not use BP_SYM in weak_alias.
20998 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21000 (PARMS): Do not use macros from bp-asm.h.
21004 (__stpncpy): Likewise. Do not use BP_SYM.
21005 (stpncpy): Do not use BP_SYM in weak_alias.
21006 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21007 (PARMS): Do not use macros from bp-asm.h.
21010 (strchr): Likewise. Do not use BP_SYM.
21011 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21013 (PARMS): Do not use macros from bp-asm.h.
21016 (__strchrnul): Likewise. Do not use BP_SYM.
21017 (strchrnul): Do not use BP_SYM in weak_alias.
21018 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21020 (PARMS): Do not use macros from bp-asm.h.
21022 (strcspn): Do not use BP_SYM.
21023 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21025 (PARMS): Do not use macros from bp-asm.h.
21028 (strpbrk): Likewise. Do not use BP_SYM.
21029 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21031 (PARMS): Do not use macros from bp-asm.h.
21034 (strrchr): Likewise. Do not use BP_SYM.
21035 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21036 (PARMS): Do not use macros from bp-asm.h.
21038 (strspn): Do not use BP_SYM.
21039 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21040 (PARMS): Do not use macros from bp-asm.h.
21044 (FUNCTION): Likewise. Do not use BP_SYM.
21045 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21047 (strtok_r): Likewise.
21048 (__GI___strtok_r): Likewise.
21049 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21050 (PARMS): Do not use macros from bp-asm.h.
21054 (__mpn_sub_n): Do not use BP_SYM.
21055 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21057 (PARMS): Do not use macros from bp-asm.h.
21060 (__mpn_submul_1): Do not use BP_SYM.
21061 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21063 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21065 (PARMS): Do not use macros from bp-asm.h.
21070 (__clone): Do not use BP_SYM.
21071 (clone): Do not use BP_SYM in weak_alias.
21072 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21074 (PARMS): Do not use macros from bp-asm.h.
21076 (__mmap64): Do not use BP_SYM.
21077 (mmap64): Do not use BP_SYM in weak_alias.
21078 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21079 <bp-sym.h> and <bp-asm.h>.
21080 (PARMS): Do not use macros from bp-asm.h.
21081 (__posix_fadvise64_l64): Do not use BP_SYM.
21082 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21083 (PARMS): Do not use macros from bp-asm.h.
21085 (semtimedop): Do not use BP_SYM.
21086 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21089 2013-02-21 Allan McRae <allan@archlinux.org>
21091 * manual/message.texi (Charset conversion in gettext):
21092 Move @end statement to beginning of line.
21094 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21102 (denorm): Likewise.
21103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21106 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21108 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21109 tail-call to the resolved function if pltexit isn't needed.
21111 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21114 or Y being zero as being unlikely.
21115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21118 2013-02-20 Carlos O'Donell <carlos@redhat.com>
21120 * manual/nss.texi (System Databases and Name Service Switch):
21121 Remove frobnicate @pxref.
21123 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21125 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21126 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21128 2013-02-20 Petr Machata <pmachata@redhat.com>
21130 * elf/elf.h (R_ARM_TARGET1): New macro.
21131 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21132 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21133 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21134 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21135 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21136 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21137 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21138 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21139 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21140 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21141 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21142 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21143 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21144 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21145 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21146 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21147 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21148 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21149 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21150 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21151 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21152 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21153 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21154 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21155 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21156 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21157 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21158 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21159 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21160 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21161 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21162 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21163 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21164 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21165 (R_ARM_THM_GOT_BREL12): Likewise.
21166 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21167 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21168 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21169 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21170 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21171 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21172 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21173 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21174 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21176 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21178 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21179 __attribute_used__ to __attribute__ ((unused)).
21181 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21183 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21186 comment formatting.
21187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21189 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21192 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21194 (ENTER): Remove both macro definitions.
21196 (CHECK_BOUNDS_LOW): Likewise.
21197 (CHECK_BOUNDS_HIGH): Likewise.
21198 (CHECK_BOUNDS_BOTH): Likewise.
21199 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21200 (RETURN_BOUNDED_POINTER): Likewise.
21201 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21202 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21203 (POP_ERRNO_LOCATION_RETURN): Likewise.
21204 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21205 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21206 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21208 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21209 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21210 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21211 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21212 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21213 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21214 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21215 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21216 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21217 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21218 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21219 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21220 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21221 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21223 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21224 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21226 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21227 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21228 * sysdeps/i386/i586/memset.S (memset): Likewise.
21229 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21230 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21231 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21233 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21234 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21235 Change uses of L(2) to L(out).
21236 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21237 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21238 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21239 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21240 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21242 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21243 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21245 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21246 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21247 (RETURN): Do not use macro LEAVE.
21248 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21249 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21250 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21251 * sysdeps/i386/i686/memset.S (memset): Likewise.
21252 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21253 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21254 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21255 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21257 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21258 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21259 L(1_2) and L(1_3) into L(1).
21260 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21261 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21262 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21263 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21264 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21265 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21266 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21267 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21268 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21270 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21271 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21272 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21273 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21274 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21275 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21276 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21277 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21278 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21279 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21280 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21281 * sysdeps/i386/strspn.S (strspn): Likewise.
21282 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21284 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21285 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21286 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21287 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21288 L(1_3) into L(1_1).
21289 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21290 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21291 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21293 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21295 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21297 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21300 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21302 * math/atest-exp.c (exp_mpn): Remove ROUND.
21303 * math/atest-exp2.c (exp_mpn): Likewise.
21304 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21306 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21307 * stdlib/tst-tls-atexit-lib.c: Likewise.
21308 * stdlib/tst-tls-atexit.c: Likewise.
21310 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21312 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21313 and __attribute_alloc_size__.
21315 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21317 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21318 __attribute_alloc_size__.
21319 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21320 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21322 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21324 * include/programs/xmalloc.h: New file.
21325 * catgets/gencat.c: Include it.
21326 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21327 * elf/pldd.c: Likewise.
21328 * iconv/iconv_charmap.c: Likewise.
21329 * iconv/iconvconfig.c: Likewise.
21330 * iconv/strtab.c: Likewise.
21331 * locale/programs/locale.c: Likewise.
21332 * locale/programs/localedef.h: Likewise.
21333 * locale/programs/simple-hash.c: Likewise.
21334 * nscd/nscd.h: Likewise.
21335 * nss/makedb.c: Likewise.
21336 * sysdeps/generic/ldconfig.h: Likewise.
21338 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21340 * Versions.def: Add GLIBC_2.18.
21341 * include/link.h (struct link_map): New member l_tls_dtor_count.
21342 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21343 (__call_tls_dtors): Likewise.
21344 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21345 __cxa_thread_atexit_impl.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21362 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21363 (tests): Add test case tst-tls-atexit.
21364 (modules-names): Add shared library for tst-tls-atexit.
21365 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21366 (GLIBC_PRIVATE): Add __call_tls_dtors.
21367 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21369 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21370 * stdlib/tst-tls-atexit.c: New test case.
21371 * stdlib/tst-tls-atexit-lib.c: New test case.
21373 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21375 * elf/Versions (ld): Add _dl_find_dso_for_object.
21376 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21377 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21378 (dl_open_worker): Use _dl_find_dso_for_object.
21379 * elf/dl-sym.c (do_sym): Likewise.
21380 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21382 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21384 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21385 Syntactic changes only.
21386 (_dl_runtime_profile): Do a tail-call to the resolved function.
21388 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21391 * sysdeps/x86_64/bp-asm.h: Remove file.
21392 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21393 <bp-sym.h> and <bp-asm.h>.
21394 (__clone): Do not use BP_SYM.
21395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21396 <bp-sym.h> and <bp-asm.h>.
21397 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21398 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21400 (_setjmp): Do not use BP_SYM.
21401 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21403 (setjmp): Do not use BP_SYM.
21404 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21406 (mempcpy): Do not use BP_SYM in weak_alias.
21407 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21409 (strchr): Do not use BP_SYM.
21410 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21412 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21413 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21414 (_start): Do not use BP_SYM.
21415 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21417 (strcat): Do not use BP_SYM.
21418 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21420 (STRCMP): Do not use BP_SYM.
21421 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21423 (STRCPY): Do not use BP_SYM.
21424 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21426 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21428 (FUNCTION): Do not use BP_SYM.
21429 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21431 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21433 2013-02-17 Andreas Jaeger <aj@suse.de>
21435 * time/Versions: Sort entries.
21436 * string/Versions: Likewise.
21437 * resolv/Versions: Likewise.
21438 * posix/Versions: Likewise.
21439 * iconv/Versions: Likewise.
21440 * elf/Versions: Likewise.
21441 * wcsmbs/Versions: Likewise.
21443 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21445 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21446 loop termination condition.
21448 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21449 variable to calculate EZ.
21452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21453 the lower precision input.
21455 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21458 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21459 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21460 (run-via-rtld-prefix): Do not handle %-bp tests.
21461 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21462 (all-object-suffixes): Remove .ob.
21463 (bppfx): Remove variable.
21464 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21465 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21466 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21467 [$(build-bounded) = yes] (libtype.ob): Likewise.
21468 * Makerules (elide-routines.ob): Remove variable.
21469 (do-tests-clean): Do not handle *-bp.out.
21470 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21471 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21472 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21473 (tests): Do not include $(tests-bp.out).
21474 (xtests): Do not include $(xtests-bp.out).
21475 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21476 [$(build-bounded) = yes] ($(addprefix
21477 $(objpfx),$(binaries-bounded))): Remove rule.
21478 ($(objpfx)%-bp.out): Remove rule.
21479 * config.make.in (build-bounded): Remove variable.
21480 * crypt/Makefile [$(build-bounded) = yes]
21481 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21482 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21483 append to variable.
21484 [$(build-bounded) = yes] (install-lib): Likewise.
21485 [$(build-bounded) = yes] (generated): Likewise.
21486 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21488 * intl/Makefile [$(build-bounded) = yes]
21489 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21490 * math/Makefile [$(build-bounded) = yes]
21491 ($(tests:%=$(objpfx)%-bp): Likewise.
21492 * misc/Makefile [$(build-bounded) = yes]
21493 ($(objpfx)tst-tsearch-bp): Likewise.
21494 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21495 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21497 * string/Makefile (o-objects.ob): Remove variable.
21498 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21499 (CFLAGS-.ob): Remove variable.
21500 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21501 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21502 both definitions of variable.
21503 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21504 (ASFLAGS-.ob): Remove variable.
21506 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21509 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21510 Remove __BOUNDED_POINTERS__ from condition.
21511 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21512 * string/bits/string2.h [!__NO_STRING_INLINES &&
21513 !__BOUNDED_POINTERS__]: Likewise.
21514 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21516 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21517 Remove conditional code.
21518 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21519 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21520 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21524 * csu/libc-start.c: Do not include <bp-sym.h>.
21525 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21526 * elf/dl-open.c: Do not include <bp-sym.h>.
21527 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21528 * math/fegetenv.c: Do not include <bp-sym.h>.
21529 (fegetenv): Do not use BP_SYM in versioned symbols.
21530 * nptl/sysdeps/pthread/bits/libc-lockP.h
21531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21534 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21536 (__pthread_mutex_destroy): Likewise.
21537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21538 (__pthread_mutex_lock): Likewise.
21539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21540 (__pthread_mutex_trylock): Likewise.
21541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21542 (__pthread_mutex_unlock): Likewise.
21543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21544 (__pthread_mutexattr_init): Likewise.
21545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21546 (__pthread_mutexattr_destroy): Likewise.
21547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21548 (__pthread_mutexattr_settype): Likewise.
21549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21550 (__pthread_rwlock_init): Likewise.
21551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21552 (__pthread_rwlock_destroy): Likewise.
21553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21554 (__pthread_rwlock_rdlock): Likewise.
21555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21556 (__pthread_rwlock_tryrdlock): Likewise.
21557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21558 (__pthread_rwlock_wrlock): Likewise.
21559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21560 (__pthread_rwlock_trywrlock): Likewise.
21561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21562 (__pthread_rwlock_unlock): Likewise.
21563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21564 (__pthread_key_create): Likewise.
21565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21566 (__pthread_setspecific): Likewise.
21567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21568 (__pthread_getspecific): Likewise.
21569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21572 (_pthread_cleanup_push_defer): Likewise.
21573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21574 (_pthread_cleanup_pop_restore): Likewise.
21575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21576 (pthread_setcancelstate): Likewise.
21577 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21579 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21580 (memchr): Do not use BP_SYM in weak_alias.
21581 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21582 (fegetenv): Do not use BP_SYM in versioned symbols.
21583 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21584 (fesetenv): Do not use BP_SYM in versioned symbols.
21585 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21586 (feupdateenv): Do not use BP_SYM in versioned symbols.
21587 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21588 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21589 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21590 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21591 (open64): Do not use BP_SYM in weak_alias.
21592 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21593 (fegetenv): Do not use BP_SYM in versioned symbols.
21594 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21595 (fesetenv): Do not use BP_SYM in versioned symbols.
21596 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21597 (feupdateenv): Do not use BP_SYM in versioned symbols.
21598 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21599 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21600 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21601 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21602 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21603 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21604 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21606 (__libc_start_main): Do not use BP_SYM.
21608 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21611 redundant return line.
21613 (denorm): Likewise.
21614 (dbl_mp): Likewise.
21615 (sub_magnitudes): Likewise.
21621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21623 (denorm): Likewise.
21624 (dbl_mp): Likewise.
21625 (sub_magnitudes): Likewise.
21632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21634 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21635 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21638 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21639 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21641 of __mul for squares.
21642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21646 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21647 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21649 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21652 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21654 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21655 prototype or function definition. Rename ubp_* variables and
21656 parameters. Remove argv definitions conditional on
21657 [__BOUNDED_POINTERS__].
21658 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21659 * elf/dl-runtime.c (_dl_fixup): Likewise.
21660 * include/set-hooks.h (RUN_HOOK): Likewise.
21661 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21663 * string/strcpy.c (strcpy): Do not use __unbounded.
21664 * sysdeps/generic/frame.h (struct layout): Likewise.
21665 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21666 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21667 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21668 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21669 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21670 (__backtrace): Likewise.
21671 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21673 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21674 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21675 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21677 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21678 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21679 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21680 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21681 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21682 Do not use __unbounded.
21683 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21684 Rename __unboundedrlimits parameter to rlimits in prototype.
21685 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21686 Do not use __unbounded.
21687 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21688 not use __ptrvalue.
21689 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21690 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21691 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21692 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21693 __ptrvalue or __unbounded.
21694 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21695 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21697 (__new_msgctl): Do not use __ptrvalue.
21698 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21700 (__libc_msgrcv): Do not use __ptrvalue.
21701 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21702 startup_info): Do not use __unbounded.
21703 (__libc_start_main): Likewise. Rename ubp_* variables and
21704 parameters. Remove argv definitions conditional on
21705 [__BOUNDED_POINTERS__].
21706 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21708 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21710 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21712 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21714 (__new_shmctl): Do not use __ptrvalue.
21715 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21716 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21718 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21719 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21720 (__libc_sigaction): Likewise.
21721 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21722 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21724 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21726 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21728 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21730 * string/mempcpy.c: Implement by calling memcpy.
21732 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21740 values in the mantissa.
21742 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21743 minimize writes to Z.
21744 (sub_magnitudes): Simplify code a bit.
21746 2013-02-12 Roland McGrath <roland@hack.frob.com>
21748 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21749 from the message. The linker prefixes all warnings with that already.
21751 2013-02-12 Andreas Schwab <schwab@suse.de>
21754 * posix/regexec.c (extend_buffers): Add parameter min_len.
21755 (check_matching): Pass minimum needed length.
21756 (clean_state_log_if_needed): Likewise.
21757 (get_subexp): Likewise.
21758 * posix/Makefile (tests): Add bug-regex34.
21759 (bug-regex34-ENV): Define.
21760 * posix/bug-regex34.c: New file.
21763 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21764 elements compare against the byte sequence of it, not its name.
21765 * posix/Makefile (tests): Add bug-regex35.
21766 (bug-regex35-ENV): Define.
21767 * posix/bug-regex35.c: New file.
21769 2013-02-11 Tom de Vries <tom@codesourcery.com>
21771 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21773 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21774 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21775 (CHECK_EOL): Add undef.
21777 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21779 * bits/stdlib-bsearch.h: New file.
21780 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21781 * stdlib/stdlib.h: Likewise.
21783 2013-02-11 Roland McGrath <roland@hack.frob.com>
21785 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21786 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21788 * manual/search.texi (Array Search Function): Add missing const in
21790 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21791 declaration to use rlim_t.
21792 (Basic Scheduling Functions): Remove erroneous const from
21793 sched_getparam prototype. Remove erroneous * from
21794 sched_get_priority_max and sched_get_priority_min prototypes.
21795 (Resource Usage): Fix summary @comment on vtimes to refer to
21796 sys/vtimes.h rather than vtimes.h.
21797 Add missing *s in vtimes prototype.
21798 (Limits on Resources): Fix ulimit prototype to return long int.
21799 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21800 prototypes to use long int rather than double.
21801 (BSD Random): Fix initstate and setstate to use char *, not void *.
21802 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21803 prototype to make second argument 'struct aiocb64 *const[]'.
21804 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21805 (Status of AIO Operations): Remove erroneous const in aio_return and
21806 aio_return64 prototypes.
21807 (Synchronizing I/O): Fix sync prototype to return void.
21808 * manual/startup.texi (Suboptions): Remove an erroneous const in
21809 getsubopt prototype.
21810 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21811 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21812 use size_t rather than int.
21813 (Scanning All Users): Likewise for getpwent_r.
21814 (Setting Groups): Add missing const to setgroups prototype.
21815 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21816 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21817 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21818 'const void *' rather than 'const char *'.
21819 (Host Address Functions): Likewise for inet_ntop.
21820 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21821 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21822 ssize_t for return value.
21823 (Sending Data): Likewise for send, sendto, sendmsg.
21824 (Socket Option Functions): Add a missing const in setsockopt prototype.
21825 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21826 use wchar_t for the argument.
21827 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21828 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21830 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21831 double/float/long double for second argument.
21832 Fix return types of significand, significandf, significandl.
21833 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21834 argument in fchmod prototype.
21835 (File Owner): Use uid_t and gid_t in fchown prototype.
21836 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21837 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21838 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21839 use 'const struct dirent **' as argument types to CMP function pointer
21841 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21842 (File Times): Fix summary magic @comment for struct utimbuf and utime
21843 to refer to utime.h, not time.h.
21844 * manual/string.texi (Argz Functions): Add missing const in
21845 argz_extract and argz_next prototypes.
21846 (Finding Tokens in a String): Likewise for basename.
21847 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21848 (Copying and Concatenation): Fix typo in wmemmove prototype.
21849 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21850 (Signal Stack): Remove erroneous const in sigstack prototype.
21851 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21853 (Simple Calendar Time): Likewise for stime.
21854 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21856 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21857 say sys/sysctl.h instead.
21858 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21859 and vsyslog prototypes.
21861 2013-02-11 Tom de Vries <tom@codesourcery.com>
21863 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21866 2013-02-11 Roland McGrath <roland@hack.frob.com>
21868 * misc/sys/mman.h: Fix typo in mremap comment.
21870 2013-02-08 Roland McGrath <roland@hack.frob.com>
21872 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21873 the '\0' terminator.
21875 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21878 * debug/segfault.c: Don't include <bp-checks.h>.
21879 * sysdeps/generic/bp-checks.h: Remove file.
21880 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21881 (__GETDENTS): Don't use CHECK_N.
21882 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21883 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21884 (__getgroups): Don't use CHECK_N.
21885 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21886 (setgroups): Don't use CHECK_N.
21887 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21888 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21889 (__libc_msgrcv): Don't use CHECK_N.
21890 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21891 (__libc_msgsnd): Don't use CHECK_N.
21892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21894 (__libc_pread): Don't use CHECK_N.
21895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21896 include <bp-checks.h>.
21897 (__libc_pread64): Don't use CHECK_N.
21898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21899 include <bp-checks.h>.
21900 (__libc_pwrite): Don't use CHECK_N.
21901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21902 include <bp-checks.h>.
21903 (__libc_pwrite64): Don't use CHECK_N.
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21906 (__libc_pread): Don't use CHECK_N.
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21908 include <bp-checks.h>.
21909 (__libc_pread64): Don't use CHECK_N.
21910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21911 include <bp-checks.h>.
21912 (__libc_pwrite): Don't use CHECK_N.
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21914 include <bp-checks.h>.
21915 (__libc_pwrite64): Don't use CHECK_N.
21916 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21917 (do_pread): Don't use CHECK_N.
21918 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21919 (do_pread64): Don't use CHECK_N.
21920 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21921 (do_pwrite): Don't use CHECK_N.
21922 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21923 (do_pwrite64): Don't use CHECK_N.
21924 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21925 (__libc_readv): Don't use CHECK_N.
21926 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21927 (semop): Don't use CHECK_N.
21928 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21930 (semtimedop): Don't use CHECK_N.
21931 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21932 (__libc_pread): Don't use CHECK_N.
21933 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21935 (__libc_pread64): Don't use CHECK_N.
21936 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21938 (__libc_pwrite): Don't use CHECK_N.
21939 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21941 (__libc_pwrite64): Don't use CHECK_N.
21942 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21944 (__libc_msgrcv): Don't use CHECK_N.
21945 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21946 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21947 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21948 (__libc_writev): Don't use CHECK_N.
21950 2013-02-08 Roland McGrath <roland@hack.frob.com>
21952 * string/strcpy.c: Removed unused variable.
21954 * Makeconfig (+sysdep-includes): Define with := rather than =.
21955 Use an existing include/ subdir of each sysdeps dir before it.
21957 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21959 * nscd/connection.c (register_traced_file): Comment function.
21960 [HAVE_INOTIFY] (union __inev): Define.
21961 [HAVE_INOTIFY] (inotify_check_files): New function.
21962 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21963 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21965 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21967 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21969 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21970 loaded if not already and that a failure is permanent.
21972 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21975 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21976 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21978 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21981 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21982 (CHECK_1_NULL_OK): Likewise.
21983 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21984 (__fxstat): Do not use CHECK_1.
21985 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21987 (___fxstat64): Do not use CHECK_1.
21988 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21990 (__fxstatat): Do not use CHECK_1.
21991 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21993 (__fxstatat64): Do not use CHECK_1.
21994 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21996 (__fxstat): Do not use CHECK_1.
21997 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21999 (__fxstatat): Do not use CHECK_1.
22000 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22002 (__getresgid): Do not use CHECK_1.
22003 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22005 (__getresuid): Do not use CHECK_1.
22006 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22008 (__lxstat): Do not use CHECK_1.
22009 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22011 (__old_msgctl): Do not use CHECK_1.
22012 (__new_msgctl): Likewise.
22013 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22015 (__new_setrlimit): Do not use CHECK_1.
22016 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22018 (__old_shmctl): Do not use CHECK_1.
22019 (__new_shmctl): Likewise.
22020 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22022 (__xstat): Do not use CHECK_1.
22023 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22024 (__lxstat): Do not use CHECK_1.
22025 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22027 (___lxstat64): Do not use CHECK_1.
22028 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22029 (__old_msgctl): Do not use CHECK_1.
22030 (__new_msgctl): Likewise.
22031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22033 (__gettimeofday): Do not use CHECK_1.
22034 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22035 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22036 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22038 (__gettimeofday): Do not use CHECK_1.
22039 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22040 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22041 (__new_shmctl): Do not use CHECK_1.
22042 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22044 (do_sigtimedwait): Do not use CHECK_1.
22045 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22047 (do_sigwaitinfo): Do not use CHECK_1.
22048 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22050 (msgctl): Do not use CHECK_1.
22051 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22053 (shmctl): Do not use CHECK_1.
22054 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22055 (ustat): Do not use CHECK_1.
22056 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22058 (__fxstat): Do not use CHECK_1.
22059 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22061 (__fxstatat): Do not use CHECK_1.
22062 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22064 (__lxstat): Do not use CHECK_1.
22065 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22067 (__xstat): Do not use CHECK_1.
22068 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22069 (__xstat): Do not use CHECK_1.
22070 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22071 (___xstat64): Do not use CHECK_1.
22074 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22076 (CHECK_BOUNDS_HIGH): Likewise.
22077 * string/strcpy.c: Do not include <bp-checks.h>.
22078 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22080 2013-02-07 Roland McGrath <roland@hack.frob.com>
22082 * nscd/nscd-client.h (__nscd_drop_map_ref):
22083 Add __attribute__ ((unused)).
22084 * nis/nss-nisplus.h (niserr2nss): Likewise.
22086 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22087 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22089 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22090 Remove inline keyword.
22091 * include/rounding-mode.h (round_away): Likewise.
22092 * libio/wfileops.c (adjust_wide_data): Likewise.
22093 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22094 (__m128i_strloadu_tolower): Likewise.
22095 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22096 (__m128i_strloadu_tolower): Likewise.
22097 * time/mktime.c (ydhms_diff): Likewise.
22098 * locale/elem-hash.h (elem_hash): Likewise.
22099 * locale/setlocale.c (setdata): Likewise.
22100 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22101 (re_string_wchar_at): Likewise.
22102 (bitset_not, bitset_merge, bitset_mask): Likewise.
22103 [!(__GNUC__ > 3)] (inline): Remove macro.
22104 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22105 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22106 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22107 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22108 * string/memcmp.c (memcmp_bytes): Likewise.
22109 * locale/programs/locarchive.c (compute_hashval): Likewise.
22110 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22111 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22112 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22113 * nss/getent.c (print_rpc, print_protocols): Likewise.
22114 (print_passwd, print_group, print_aliases): Likewise.
22115 * nis/nss-nisplus.h (niserr2nss): Likewise.
22116 * nscd/connections.c (restart_p): Likewise.
22117 Change return type to bool.
22119 2013-02-05 Roland McGrath <roland@hack.frob.com>
22121 * Makeconfig (all-Depend-files): Add existing
22122 $(sorted-subdirs:=/Depend) files.
22123 (all-subdirs): Remove nss.
22124 * sysdeps/unix/inet/Subdirs: Add it here instead.
22125 * hesiod/Depend: New file.
22127 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22128 instead of calling alloca.
22130 * io/lseek.c (__lseek): Rename to __libc_lseek.
22131 Define __lseek as an alias.
22133 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22135 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22137 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22138 else clause and remove check for non-standard endianness.
22140 2013-02-04 David S. Miller <davem@davemloft.net>
22142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22144 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22147 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22148 (__ubp_memchr): Remove prototype.
22149 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22150 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22151 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22152 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22153 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22155 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22156 (__ubp_memchr): Likewise.
22157 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22158 (__ubp_memchr): Likewise.
22159 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22160 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22161 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22162 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22164 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22165 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22166 (__getcwd): Do not use CHECK_STRING.
22167 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22169 (__real_chown): Do not use CHECK_STRING.
22170 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22172 (fchownat): Do not use CHECK_STRING.
22173 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22175 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22177 (__lchown): Do not use CHECK_STRING.
22178 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22179 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22180 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22181 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22183 include <bp-checks.h>.
22184 (truncate64): Do not use CHECK_STRING.
22185 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22187 (__real_chown): Do not use CHECK_STRING.
22188 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22190 (__lchown): Do not use CHECK_STRING.
22191 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22193 (__chown): Do not use CHECK_STRING.
22194 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22196 (truncate64): Do not use CHECK_STRING.
22197 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22199 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22200 (__xmknod): Do not use CHECK_STRING.
22201 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22203 (__xmknodat): Do not use CHECK_STRING.
22204 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22205 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22207 2013-02-04 Andreas Schwab <schwab@suse.de>
22210 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22211 * include/netdb.h: Likewise for h_errno.
22212 * elf/tst-stackguard1.c: Include <tls.h>.
22214 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22216 * elf/link.h (struct link_map): Extend the l_addr comment.
22217 * include/link.h (struct link_map): Likewise.
22219 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22222 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22223 (BOUNDED_1): Remove macro.
22224 * debug/backtrace.c: Don't include <bp-checks.h>.
22225 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22226 (__backtrace): Likewise.
22227 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22229 (__backtrace): Don't use BOUNDED_1.
22230 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22232 (__backtrace): Don't use BOUNDED_1.
22233 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22234 (__backtrace): Don't use BOUNDED_1.
22235 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22236 (shmat): Don't use BOUNDED_N.
22238 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22241 * sysdeps/generic/bp-start.h: Remove file.
22242 * csu/libc-start.c: Don't include <bp-start.h>.
22243 (LIBC_START_MAIN): Set up __environ directly instead of using
22244 INIT_ARGV_and_ENVIRON.
22245 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22249 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22251 (CHECK_FCNTL): Likewise.
22252 (CHECK_N_PAGES): Likewise.
22255 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22257 (CHECK_SIGSET_NULL_OK): Likewise.
22258 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22260 (sigpending): Don't use CHECK_SIGSET.
22261 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22263 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22264 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22266 (do_sigsuspend): Don't use CHECK_SIGSET.
22267 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22269 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22270 (do_sigwait): Don't use CHECK_SIGSET.
22271 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22273 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22274 include <bp-checks.h>.
22275 (sigpending): Don't use CHECK_SIGSET.
22276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22277 include <bp-checks.h>.
22278 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22279 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22281 (sigpending): Don't use CHECK_SIGSET.
22282 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22284 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22287 * sysdeps/generic/bp-semctl.h: Remove file.
22288 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22289 <bp-checks.h> and <bp-semctl.h>.
22290 (__old_semctl): Don't use CHECK_SEMCTL.
22291 (__new_semctl): Likewise.
22292 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22294 (__old_semctl): Don't use CHECK_SEMCTL.
22295 (__new_semctl): Likewise.
22296 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22297 <bp-checks.h> and <bp-semctl.h>.
22298 (__old_semctl): Don't use CHECK_SEMCTL.
22299 (__new_semctl): Likewise.
22300 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22301 <bp-checks.h> and <bp-semctl.h>.
22302 (semctl): Don't use CHECK_SEMCTL.
22305 * Makerules (elide-bp-thunks): Remove variable.
22306 (elide-routines.oS): Don't use $(elide-bp-thunks).
22307 (elide-routines.os): Likewise.
22308 (elide-routines.o): Likewise.
22309 (elide-routines.op): Likewise.
22310 (elide-routines.og): Likewise.
22311 (objects): Don't use $(bp-thunks).
22312 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22314 (common-generated): Do not add s-proto-bp.d.
22315 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22318 Do not generate makefile rules for bounded-pointer thunks.
22319 * sysdeps/generic/bp-thunks.h: Remove file.
22320 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22321 * sysdeps/unix/s-proto-bp.S: Likewise.
22324 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22325 parts of result separately when argument is not close to line from
22326 -i to i and one part of argument is small.
22327 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22328 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22329 * math/libm-test.inc (cacos_test): Add more tests.
22330 (casin_test): Likewise.
22331 (casinh_test): Likewise.
22332 * sysdeps/i386/fpu/libm-test-ulps: Update.
22333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22335 2013-01-31 David S. Miller <davem@davemloft.net>
22337 * po/de.po: Update from translation team.
22339 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22341 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22343 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22345 * configure.in (_AC_PROG_CC_C89): New definition.
22346 * configure: Regenerate.
22348 * configure.in (AC_PROG_CPP): New definition.
22349 * configure: Regenerate.
22351 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22353 * debug/tst-backtrace.h: New file.
22354 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22355 (ret): Remove variable.
22357 (FAIL): Remove macro.
22358 (NO_INLINE): Likewise.
22359 (fn1): Use match function instead of strstr.
22360 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22361 (ret): Remove variable.
22363 (FAIL): Remove macro.
22364 (NO_INLINE): Likewise.
22365 (fn): Use match function instead of strstr.
22366 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22367 (ret): Remove variable.
22369 (FAIL): Remove macro.
22370 (NO_INLINE): Likewise.
22371 (handle_signal): Use match function instead of strstr.
22372 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22373 (ret): Remove variable.
22375 (FAIL): Remove macro.
22376 (NO_INLINE): Likewise.
22377 (handle_signal): Use match function instead of strstr.
22379 2013-01-23 Roland McGrath <roland@hack.frob.com>
22381 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22383 2013-01-23 David S. Miller <davem@davemloft.net>
22385 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22386 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22387 argument of CAS if possible.
22388 * sysdeps/sparc/sparc64/bits/atomic.h
22389 (__arch_compare_and_exchange_val_32_acq): Likewise.
22390 (__arch_compare_and_exchange_val_64_acq): Likewise.
22392 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22394 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22395 * sysdeps/posix/ulimit.c: ... this.
22396 Include <limits.h>.
22397 * sysdeps/unix/bsd/ulimit.c: Remove file.
22399 2013-01-23 Adam Conrad <adconrad@0c3.net>
22401 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22402 (LDFLAGS-tst-array5): Likewise.
22404 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22407 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22408 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22409 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22410 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22412 2013-01-21 David S. Miller <davem@davemloft.net>
22414 * sysdeps/sparc/backtrace.c: New file.
22415 * sysdeps/sparc/sparc32/backtrace.h: New file.
22416 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22417 * sysdeps/sparc/sparc64/backtrace.h: New file.
22418 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22419 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22422 2013-01-21 Andreas Schwab <schwab@suse.de>
22425 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22428 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22434 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22435 Mark Mitchell <mark@codesourcery.com>
22436 Tom de Vries <tom@codesourcery.com>
22437 Paul Pluzhnikov <ppluzhnikov@google.com>
22439 * debug/tst-backtrace2.c: New file.
22440 * debug/tst-backtrace3.c: Likewise.
22441 * debug/tst-backtrace4.c: Likewise.
22442 * debug/tst-backtrace5.c: Likewise.
22443 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22444 (CFLAGS-tst-backtrace3.c): Likewise.
22445 (CFLAGS-tst-backtrace4.c): Likewise.
22446 (CFLAGS-tst-backtrace5.c): Likewise.
22447 (LDFLAGS-tst-backtrace2): Likewise.
22448 (LDFLAGS-tst-backtrace3): Likewise.
22449 (LDFLAGS-tst-backtrace4): Likewise.
22450 (LDFLAGS-tst-backtrace5): Likewise.
22451 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22452 tst-backtrace4 and tst-backtrace5.
22454 2013-01-18 Anton Blanchard <anton@samba.org>
22455 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22457 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22458 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22460 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22462 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22463 "+r" and remove output regs list as redundant. Add explicit inline
22464 asm to specify register of return val to work around compiler codegen
22465 bug. Remove (int) cast on return value. Add return type parameter to
22466 use in macro so that this macro does not truncate return value for
22468 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22469 pass to INTERNAL_VSYSCALL_NCS.
22470 (INLINE_VSYSCALL): Add 'long int' as return type to
22471 INTERNAL_VSYSCALL_NCS macro invocation.
22472 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22473 INTERNAL_VSYSCALL_NCS macro invocation.
22474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22476 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22479 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22480 Fix application of SIMD FP exception mask.
22482 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22483 mp_no from a power of two.
22484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22485 __mpexp_twomm1. Use __pow_mp.
22487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22490 2013-01-17 David S. Miller <davem@davemloft.net>
22492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22494 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22497 * include/complex.h: Condition contents on [!_COMPLEX_H].
22498 (__kernel_casinhf): New prototype.
22499 (__kernel_casinh): Likewise.
22500 (__kernel_casinhl): Likewise.
22501 * math/Makefile (libm_calls): Add k_casinh.
22502 * math/k_casinh.c: New file.
22503 * math/k_casinhf.c: Likewise.
22504 * math/k_casinhl.c: Likewise.
22505 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22506 finite nonzero arguments.
22507 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22508 finite nonzero arguments.
22509 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22510 finite nonzero arguments.
22511 * math/s_casinh.c: Do not include <float.h>.
22512 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22513 * math/s_casinhf.c: Do not include <float.h>.
22514 (__casinhf): Move code for finite nonzero arguments to
22516 * math/s_casinhl.c: Do not include <float.h>.
22517 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22519 (__casinhl): Move code for finite nonzero arguments to
22521 * math/libm-test.inc (cacos_test): Add more tests.
22522 * sysdeps/i386/fpu/libm-test-ulps: Update.
22523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22525 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22527 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22528 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22529 [!HAVE_MREMAP]: Remove [defined linux] case.
22530 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22532 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22534 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22536 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22538 * elf/elf.h (R_386_SIZE32): New relocation.
22539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22541 (elf_machine_rela): Likewise.
22542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22543 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22545 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22547 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22548 (FP_FAST_FMA): Do not define.
22549 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22550 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22551 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22552 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22553 !_SOFT_FLOAT]: Likewise.
22554 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22555 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22557 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22558 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22559 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22560 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22561 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22562 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22565 2013-01-16 Andreas Schwab <schwab@suse.de>
22568 * include/stdlib.h (__mktemp): Add declaration.
22569 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22570 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22572 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22574 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22576 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22577 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22578 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22580 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22581 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22583 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22585 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22586 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22587 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22589 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22590 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22592 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22594 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22596 2013-01-15 David S. Miller <davem@davemloft.net>
22598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22599 trunc{,f} to libm-sysdep_routes.
22600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22610 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22611 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22612 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22613 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22614 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22615 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22618 nearbyint{,f} to libm-sysdep_routes.
22619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22630 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22632 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22633 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22635 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22636 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22637 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22639 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22640 libc_feholdexcept and libc_fesetenv.
22642 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22644 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22646 2013-01-14 David S. Miller <davem@davemloft.net>
22648 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22649 (SPARC_ASM_VIS2_IFUNC): Likewise.
22650 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22652 use of 'siam' instruction.
22653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22686 routines to libm-sysdep_routines.
22687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22690 fdim/fdimf to libm-sysdep_routines.
22691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22699 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22700 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22701 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22702 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22704 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22707 to optimize copies.
22709 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22714 local variable MPTWO.
22715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22718 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22720 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22723 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22725 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22727 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22729 * manual/pattern.texi (glob_t): Document gl_flags.
22730 (glob64_t): Likewise.
22732 2013-01-11 David S. Miller <davem@davemloft.net>
22734 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22735 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22736 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22737 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22738 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22739 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22740 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22741 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22742 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22743 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22744 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22745 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22746 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22748 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22749 sparc V9 rather than using V8 code.
22750 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22751 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22755 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22758 2013-01-11 Roland McGrath <roland@hack.frob.com>
22760 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22761 not in the main loop.
22762 * configure: Regenerated.
22764 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22766 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22767 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22769 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22770 [!__GLIBC_HAVE_LONG_LONG] case.
22771 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22772 condition to just #else.
22773 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22774 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22775 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22776 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22778 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22779 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22780 #elif condition to just #else.
22781 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22782 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22783 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22784 #elif condition to just #else.
22786 2013-01-11 Steve Ellcey <sellcey@mips.com>
22788 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22789 (EF_MIPS_ARCH_64): Fix value.
22790 (EF_MIPS_ARCH_32R2): New.
22791 (EF_MIPS_ARCH_64R2): New.
22793 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22795 * Makeconfig (+link-pie-before-libc): New.
22796 (+link-pie-after-libc): Likewise.
22797 (+link-pie-tests): Likewise.
22798 (+link-pie): Rewritten.
22799 (link-before-libc): Remove $(config-LDFLAGS).
22800 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22801 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22802 (config-LDFLAGS): Renamed to ...
22803 (rtld-LDFLAGS): This.
22804 (rtld-tests-LDFLAGS): New macro.
22805 (link-libc-rpath-link): Likewise.
22806 (link-libc-tests-rpath-link): Likewise.
22807 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22808 (link-libc): Prepand $(link-libc-rpath-link).
22809 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22810 (test-program-prefix): New macro.
22811 (test-via-rtld-prefix): Likewise.
22812 (test-program-cmd): Likewise.
22813 (host-test-program-cmd): Likewise.
22814 * Makefile ($(common-objpfx)testrun.sh): Replace
22815 $(run-program-prefix) with $(test-program-prefix).
22816 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22818 ($(common-objpfx)shlib.lds): Likewise.
22819 (build-module-helper): Likewise.
22820 ($(common-objpfx)format.lds): Likewise.
22821 * Rules (binaries-pie-tests): New.
22822 (binaries-pie-notests): Likewise.
22823 (binaries-pie): Rewritten.
22824 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22825 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22826 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22827 (make-test-out): Replace $(host-built-program-cmd) with
22828 $(host-test-program-cmd).
22829 * config.make.in (build-hardcoded-path-in-tests): New variable.
22830 * configure.in (--enable-hardcoded-path-in-tests): New configure
22832 (hardcoded_path_in_tests): New AC_SUBST.
22833 * configure: Regenerated.
22834 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22835 $(built-program-cmd) with $(test-program-cmd).
22836 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22837 (test_program_cmd): This.
22838 * elf/Makefile ($(objpfx)order.out): Run test with
22839 $(test-program-prefix).
22840 ($(objpfx)order2.out): Likewise.
22841 ($(objpfx)tst-initorder.out): Likewise.
22842 ($(objpfx)tst-initorder2.out): Likewise.
22843 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22844 $(test-program-cmd).
22845 ($(objpfx)tst-array1-static.out): Likewise.
22846 ($(objpfx)tst-array2.out): Likewise.
22847 ($(objpfx)tst-array3.out): Likewise.
22848 ($(objpfx)tst-array4.out): Likewise.
22849 ($(objpfx)tst-array5.out): Likewise.
22850 ($(objpfx)tst-array5-static.out): Likewise.
22851 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22852 $(test-program-cmd).
22853 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22854 $(run-program-prefix) with $(test-program-prefix).
22855 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22856 (test_program_prefix): This.
22857 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22858 $(run-program-prefix) with $(test-program-prefix).
22859 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22860 (test_program_prefix): This.
22861 * iconvdata/tst-tables.sh: Likewise.
22862 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22863 $(run-program-prefix) with $(test-program-prefix).
22864 ($(objpfx)tst-translit.out): Likewise.
22865 ($(objpfx)tst-gettext2.out): Likewise.
22866 ($(objpfx)tst-gettext4.out): Likewise.
22867 ($(objpfx)tst-gettext6.out): Likewise.
22868 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22869 (test_program_prefix): This.
22870 * intl/tst-gettext2.sh: Likewise.
22871 * intl/tst-gettext4.sh Likewise.
22872 * intl/tst-gettext6.sh: Likewise.
22873 * intl/tst-translit.sh: Likewise.
22874 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22875 with $(test-program-cmd).
22876 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22877 $(run-program-prefix) with $(test-program-prefix).
22878 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22879 (test_program_prefix): This.
22880 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22881 $(run-program-prefix) with $(test-program-prefix).
22882 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22883 (test_program_prefix): This.
22884 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22885 * posix/Makefile ($(objpfx)globtest.out): Replace
22886 $(run-via-rtld-prefix) and $(test-wrapper) with
22887 $(test-program-prefix) and $(test-via-rtld-prefix).
22888 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22889 $(test-program-prefix).
22890 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22891 $(host-test-program-cmd).
22892 (tst-spawn-ARGS): Likewise.
22893 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22894 $(test-program-prefix).
22895 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22896 (test_via_rtld_prefix): This.
22897 (test_wrapper): Renamed to ...
22898 (test_program_prefix): This.
22899 (run_program_prefix): Replaced by test_program_prefix.
22900 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22901 (test_program_prefix): This.
22902 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22903 with $(host-test-program-cmd).
22904 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22905 $(run-program-prefix) with $(test-program-prefix).
22906 ($(objpfx)tst-printf.out): Likewise.
22907 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22908 $(test-program-cmd).
22909 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22910 (test_program_prefix): This.
22911 * stdio-common/tst-unbputc.sh: Likewise.
22912 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22913 $(run-program-prefix) with $(test-program-prefix).
22914 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22915 (test_program_prefix): This.
22916 * string/Makefile ($(objpfx)tst-svc.out): Replace
22917 $(built-program-cmd) with $(test-program-cmd).
22919 2013-01-11 Andreas Jaeger <aj@suse.de>
22922 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22923 value. Sync with Linux 3.7.
22925 2013-01-10 David S. Miller <davem@davemloft.net>
22927 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22928 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22929 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22931 2013-01-10 Roland McGrath <roland@hack.frob.com>
22933 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22935 * configure: Regenerated.
22937 2013-01-10 David S. Miller <davem@davemloft.net>
22939 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22940 sparc V9 rather than using V8 code.
22941 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22942 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22944 2013-01-10 Roland McGrath <roland@hack.frob.com>
22946 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22947 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22948 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22949 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22950 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22951 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22952 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22953 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22954 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22955 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22956 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22957 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22958 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22959 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22960 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22961 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22962 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22963 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22964 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22965 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22966 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22967 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22968 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22969 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22970 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22971 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22972 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22974 2013-01-10 David S. Miller <davem@davemloft.net>
22976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22978 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22980 * posix/Makefile (tests-static): New variable.
22981 (tests): Add $(tests-static).
22982 (tst-exec-static-ARGS): New variable.
22983 (tst-spawn-static-ARGS): Likewise.
22984 * posix/tst-exec-static.c: New file.
22985 * posix/tst-spawn-static.c: Likewise.
22986 * posix/tst-exec.c: Support run directly.
22987 * posix/tst-spawn.c: Likewise.
22989 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22991 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22993 * math/bits/mathcalls.h (llrint): Likewise.
22994 (llround): Likewise.
22995 * stdlib/stdlib.h (struct drand48_data): Likewise.
22996 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22997 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22998 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23000 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23002 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23003 (elf_greg_t): Likewise.
23004 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23005 (__jmp_buf): Likewise.
23006 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23008 (llrint): Likewise, for all definitions.
23009 (llrintl): Likewise.
23011 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23012 Remove [__GNUC__] condition.
23013 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23014 condition to just [__USE_ISOC99].
23015 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23017 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23020 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23021 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23023 (_POSIX_V6_ILP32_OFF32): Likewise.
23024 (_XBS5_ILP32_OFF32): Likewise.
23025 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23026 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23028 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23030 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23033 doubles __mpexp_twomm1. Adjust usage.
23034 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23037 2013-01-10 Andreas Schwab <schwab@suse.de>
23040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23041 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23043 2013-01-09 David S. Miller <davem@davemloft.net>
23046 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23047 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23048 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23049 (TCP_FASTOPEN): Define.
23050 (tcp_repair_opt): New structure.
23051 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23053 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23054 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23055 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23056 (tcp_cookie_transactions): New structure.
23058 2013-01-09 Anton Blanchard <anton@samba.org>
23060 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23061 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23062 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23063 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23065 2013-01-09 Joseph Myers <joseph@codesourcery.com>
23067 * include/features.h (__USE_ANSI): Remove.
23069 2013-01-09 Roland McGrath <roland@hack.frob.com>
23071 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23073 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23075 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23077 * sysdeps/s390/fpu/libm-test-ulps: Update.
23079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23081 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23085 (denorm): Likewise.
23086 (__mp_dbl): Likewise.
23087 (__dbl_mp): Likewise.
23088 (add_magnitudes): Likewise.
23089 (sub_magnitudes): Likewise.
23095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23099 (denorm): Likewise.
23100 (__mp_dbl): Likewise.
23101 (__dbl_mp): Likewise.
23102 (add_magnitudes): Likewise.
23103 (sub_magnitudes): Likewise.
23109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23113 (denorm): Likewise.
23114 (__mp_dbl): Likewise.
23115 (__dbl_mp): Likewise.
23116 (add_magnitudes): Likewise.
23117 (sub_magnitudes): Likewise.
23124 2013-01-08 Joseph Myers <joseph@codesourcery.com>
23126 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23127 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23128 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23129 2 && __USE_EXTERN_INLINES]: Likewise.
23131 2013-01-08 Andreas Jaeger <aj@suse.de>
23134 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23136 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23137 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23139 2013-01-07 Anton Blanchard <anton@samba.org>
23141 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23142 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23143 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23144 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23145 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23146 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23147 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23148 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23150 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23151 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23152 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23153 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23155 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23156 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23157 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23158 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23159 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23160 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23161 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23162 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23164 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23165 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23166 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23167 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23168 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23170 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23171 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23173 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23174 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23175 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23176 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23177 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23180 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23181 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23182 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23183 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23185 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23187 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23188 (__MALLOC_PMT): Likewise.
23189 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23190 [__GNUC__], only on [_LIBC].
23191 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23192 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23193 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23194 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23195 forward declaration.
23196 (realloc_hook_ini): Likewise.
23197 (memalign_hook_ini): Likewise.
23198 (__libc_memalign): Do not use __MALLOC_PMT in variable
23200 (__libc_valloc): Likewise.
23201 (__libc_pvalloc): Likewise.
23202 (__libc_calloc): Likewise.
23203 (__posix_memalign): Likewise.
23206 * math/s_casinh.c: Include <float.h>.
23207 (__casinh): Do not do computation with squaring and square root
23208 for large arguments.
23209 * math/s_casinhf.c: Include <float.h>.
23210 (__casinhf): Do not do computation with squaring and square root
23211 for large arguments.
23212 * math/s_casinhl.c: Include <float.h>.
23213 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23214 (__casinhl): Do not do computation with squaring and square root
23215 for large arguments.
23216 * math/libm-test.inc (casin_test): Add more tests.
23217 (casinh_test): Likewise.
23218 * sysdeps/i386/fpu/libm-test-ulps: Update.
23219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23221 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23223 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23224 (__x86_64_raw_data_cache_size): Likewise.
23225 (__x86_64_data_cache_size_half): Likewise.
23226 (__x86_64_raw_data_cache_size_half): Likewise.
23227 (__x86_64_shared_cache_size): Likewise.
23228 (__x86_64_raw_shared_cache_size): Likewise.
23229 (__x86_64_shared_cache_size_half): Likewise.
23230 (__x86_64_raw_shared_cache_size_half): Likewise.
23231 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23233 (__x86_data_cache_size): This.
23234 (__x86_64_raw_data_cache_size): Renamed to ...
23235 (__x86_raw_data_cache_size): This.
23236 (__x86_64_data_cache_size_half): Renamed to ...
23237 (__x86_data_cache_size_half): This.
23238 (__x86_64_raw_data_cache_size_half): Renamed to ...
23239 (__x86_raw_data_cache_size_half): This.
23240 (__x86_64_shared_cache_size): Renamed to ...
23241 (__x86_shared_cache_size): This.
23242 (__x86_64_raw_shared_cache_size): Renamed to ...
23243 (__x86_raw_shared_cache_size): This.
23244 (__x86_64_shared_cache_size_half): Renamed to ...
23245 (__x86_shared_cache_size_half): This.
23246 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23247 (__x86_raw_shared_cache_size_half): This.
23248 * sysdeps/x86_64/memcpy.S: Updated.
23249 * sysdeps/x86_64/memset.S: Likewise.
23250 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23251 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23254 2013-01-04 David S. Miller <davem@davemloft.net>
23256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23258 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23260 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23261 1 to avoid redefinition warning.
23262 (__USE_GNU): Don't define.
23263 (init_signaling_nan): Protoize.
23265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23267 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23269 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23271 (__cpymn): Likewise.
23272 (norm): Remove commented code.
23273 (denorm): Likewise.
23274 (__mp_dbl): Likewise.
23276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23277 (__cpymn): Likewise.
23278 (norm): Remove commented code.
23279 (denorm): Likewise.
23280 (__mp_dbl): Likewise.
23283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23284 mp_no value for 1.0 and 2.0.
23285 (norm): Use RADIXI instead of radixi.d.
23286 (denorm): Likewise.
23287 (__mul): Use 0.0 instead of zero.d.
23288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23289 mp_no value for 1.0 and 2.0.
23290 (norm): Use RADIXI instead of radixi.d.
23291 (denorm): Likewise.
23292 (__mul): Use 0.0 instead of zero.d.
23294 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23297 * math/s_casinh.c (__casinh): Reduce finite argument to first
23298 quadrant then set signs of results at the end.
23299 * math/s_casinhf.c (__casinhf): Likewise.
23300 * math/s_casinhl.c (__casinhl): Likewise.
23301 * math/libm-test.inc (casin_test): Add more tests.
23302 (casinh_test): Likewise.
23303 * sysdeps/i386/fpu/libm-test-ulps: Update.
23304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23306 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23308 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23310 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23312 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23314 (denorm): Likewise.
23315 (__mp_dbl): Likewise.
23318 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23319 and adjust the header comment.
23321 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23322 variable name from declaration.
23324 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23327 Initialize COMMON_CPUID_INDEX_7 element.
23328 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23329 (CPUID_RTM): Likewise.
23330 (HAS_RTM): Likewise.
23331 (COMMON_CPUID_INDEX_7): New enum.
23333 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23336 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23337 size is zero, record memory as freed.
23339 2013-01-03 Andreas Jaeger <aj@suse.de>
23341 * po/ia.po: Add new Interlingua translation.
23343 2012-01-03 Allan McRae <allan@archlinux.org>
23345 * locale/programs/localedef.c: Fix description of '--posix' flag.
23347 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23349 * NEWS: Update dates in second copyright notice.
23350 * README: Update copyright dates in example.
23351 * manual/libc.texinfo: Update copyright dates.
23352 * scripts/test-installation.pl: Update copyright date in --version
23355 * hurd/ctty-input.c: Fix copyright notice formatting.
23356 * hurd/ctty-output.c: Likewise.
23357 * hurd/dtable.c: Likewise.
23358 * hurd/hurd-raise.c: Likewise.
23359 * hurd/hurdprio.c: Likewise.
23360 * hurd/msgportdemux.c: Likewise.
23361 * misc/sys/file.h: Likewise.
23362 * misc/sys/ioctl.h: Likewise.
23363 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23364 * sysdeps/mach/hurd/chdir.c: Likewise.
23365 * sysdeps/mach/hurd/fchdir.c: Likewise.
23366 * sysdeps/mach/hurd/rename.c: Likewise.
23367 * sysdeps/mach/hurd/rmdir.c: Likewise.
23368 * sysdeps/mach/hurd/seekdir.c: Likewise.
23369 * sysdeps/mach/hurd/setsid.c: Likewise.
23370 * sysdeps/posix/wait3.c: Likewise.
23372 * All files with FSF copyright notices: Update copyright dates
23373 using scripts/update-copyrights.
23374 * intl/plural.c: Regenerated.
23375 * locale/programs/charmap-kw.h: Likewise.
23376 * locale/programs/locfile-kw.h: Likewise.
23378 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23380 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23383 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23384 calculation loop and add branch prediction.
23386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23387 check access beyond bounds of m1np.
23389 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23391 (__inv): Remove local variable MPTWO to use the global
23393 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23396 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23397 MP3HALFS static const.
23399 2013-01-01 David S. Miller <davem@davemloft.net>
23401 * po/ca.po: Update from translation team.
23403 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23405 * scripts/update-copyrights: New file.
23406 * Makeconfig: Reformat copyright notice.
23407 * ctype/ctype.h: Likewise.
23408 * debug/swprintf_chk.c: Likewise.
23409 * elf/dl-cache.c: Likewise.
23410 * elf/dl-debug.c: Likewise.
23411 * elf/dl-object.c: Likewise.
23412 * grp/initgroups.c: Likewise.
23413 * hurd/Makefile: Likewise.
23414 * hurd/hurd/signal.h: Likewise.
23415 * hurd/hurdfault.c: Likewise.
23416 * hurd/hurdioctl.c: Likewise.
23417 * hurd/hurdlookup.c: Likewise.
23418 * hurd/intr-msg.c: Likewise.
23419 * iconv/gconv_open.c: Likewise.
23420 * libio/swprintf.c: Likewise.
23421 * locale/lc-ctype.c: Likewise.
23422 * locale/nl_langinfo.c: Likewise.
23423 * mach/Machrules: Likewise.
23424 * mach/Makefile: Likewise.
23425 * malloc/obstack.h: Likewise.
23426 * manual/Makefile: Likewise.
23427 * manual/tsort.awk: Likewise.
23428 * misc/bits/stab.def: Likewise.
23429 * nis/nis_print_group_entry.c: Likewise.
23430 * nis/nis_table.c: Likewise.
23431 * nis/nss_compat/compat-pwd.c: Likewise.
23432 * nis/nss_compat/compat-spwd.c: Likewise.
23433 * po/Makefile: Likewise.
23434 * posix/fnmatch.c: Likewise.
23435 * posix/regex.h: Likewise.
23436 * resolv/Makefile: Likewise.
23437 * resolv/nss_dns/dns-network.c: Likewise.
23438 * resolv/res_hconf.c: Likewise.
23439 * scripts/gen-sorted.awk: Likewise.
23440 * soft-fp/soft-fp.h: Likewise.
23441 * stdio-common/printf.h: Likewise.
23442 * stdlib/monetary.h: Likewise.
23443 * stdlib/random.c: Likewise.
23444 * stdlib/random_r.c: Likewise.
23445 * sysdeps/generic/Makefile: Likewise.
23446 * sysdeps/gnu/Makefile: Likewise.
23447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23468 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23470 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23475 * sysdeps/mach/hurd/errnos.awk: Likewise.
23476 * sysdeps/mach/hurd/fork.c: Likewise.
23477 * sysdeps/mach/hurd/getcwd.c: Likewise.
23478 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23479 * sysdeps/mach/hurd/mmap.c: Likewise.
23480 * sysdeps/mach/hurd/utimes.c: Likewise.
23481 * sysdeps/mach/hurd/xmknod.c: Likewise.
23482 * sysdeps/posix/profil.c: Likewise.
23483 * sysdeps/posix/readdir_r.c: Likewise.
23484 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23485 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23486 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23487 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23489 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23490 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23491 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23493 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23494 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23495 * sysdeps/pthread/lio_listio.c: Likewise.
23496 * sysdeps/sparc/dl-procinfo.h: Likewise.
23497 * sysdeps/unix/i386/sysdep.S: Likewise.
23498 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23499 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23500 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23501 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23503 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23504 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23505 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23506 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23507 * sysdeps/wordsize-32/divdi3.c: Likewise.
23508 * time/sys/time.h: Likewise.
23509 * wcsmbs/Makefile: Likewise.
23511 2013-01-01 David S. Miller <davem@davemloft.net>
23513 * po/fr.po: Update from translation team.
23515 * catgets/gencat.c: Update copyright year.
23516 * csu/version.c: Likewise.
23517 * debug/catchsegv.sh: Likewise.
23518 * debug/pcprofiledump.c: Likewise.
23519 * debug/xtrace.sh: Likewise.
23520 * elf/ldconfig.c: Likewise.
23521 * elf/ldd.bash.in: Likewise.
23522 * elf/pldd.c: Likewise.
23523 * elf/sotruss.ksh: Likewise.
23524 * elf/sprof.c: Likewise.
23525 * iconv/iconv_prog.c: Likewise.
23526 * iconv/iconvconfig.c: Likewise.
23527 * locale/programs/locale.c: Likewise.
23528 * locale/programs/localedef.c: Likewise.
23529 * login/programs/pt_chown.c: Likewise.
23530 * malloc/memusage.sh: Likewise.
23531 * malloc/memusagestat.c: Likewise.
23532 * malloc/mtrace.pl: Likewise.
23533 * nscd/nscd.c: Likewise.
23534 * nss/getent.c: Likewise.
23535 * nss/makedb.c: Likewise.
23536 * posix/getconf.c: Likewise.
23538 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23540 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23543 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23545 * math/bits/mathcalls.h (modf): Use __nonnull.
23547 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23549 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23550 (split): Use macro CN instead of the bare value.
23551 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23553 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23554 instead of the bare value.
23555 (power1): Likewise.
23557 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23559 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23561 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23563 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23565 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23567 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23568 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23570 2012-12-28 Andreas Jaeger <aj@suse.de>
23572 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23573 values are from Linux 3.7.
23575 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23576 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23578 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23580 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23583 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23585 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23586 variables with preprocessor constants.
23587 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23588 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23589 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23591 2012-12-27 Bruno Haible <bruno@clisp.org>
23594 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23597 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23600 and use variable directly.
23601 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23603 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23605 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23606 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23608 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23610 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23611 include directive. Remove local variable MPONE.
23612 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23613 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23614 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23616 2012-12-25 David S. Miller <davem@davemloft.net>
23618 * version.h (RELEASE): Set to "development".
23619 (VERSION): Set to "2.17.90".
23620 * NEWS: Add 2.18 section.
23622 2012-12-21 David S. Miller <davem@davemloft.net>
23624 * po/hr.po: Update from translation team.
23626 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23628 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23630 2012-12-19 Steve Ellcey <sellcey@mips.com>
23632 * NEWS: Mention new memcpy for MIPS.
23634 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23636 * manual/contrib.texi (Contributors): Spelling correction.
23638 2012-12-15 David S. Miller <davem@davemloft.net>
23640 * po/ru.po: Update from translation team.
23642 2012-12-13 David S. Miller <davem@davemloft.net>
23644 * NEWS: Mention IFUNC testsuite enhancements.
23646 * po/pl.po: Update from translation team.
23647 * po/bg.po: Likewise.
23649 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23650 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23652 2012-12-11 David S. Miller <davem@davemloft.net>
23654 * po/sv.po: Update from translation team.
23656 * po/vi.po: Update from translation team.
23658 * po/cs.po: Update from translation team.
23660 * po/de.po: Update from translation team.
23661 * po/eo.po: Likewise.
23662 * po/nl.po: Likewise.
23664 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23667 * manual/argp.texi (Argp Helper Functions): Move node to follow
23668 Argp Parsing State.
23671 * manual/conf.texi (Limits on File System Capacity): Mention if
23672 terminating null is included in the max size.
23674 2012-12-10 Andreas Jaeger <aj@suse.de>
23676 * po/cs.po: Update from translation team.
23678 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23680 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23681 void pointer and cast to uintptr_t.
23682 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23684 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23685 * sysdeps/s390/s390-64/memset.S: Likewise.
23687 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23690 * menual/message.texi (Message Translation): Fix typos.
23691 (Helper programs for gettext): Likewise.
23693 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23696 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23699 2012-12-07 David S. Miller <davem@davemloft.net>
23701 * po/libc.pot: Update.
23703 2012-12-07 Richard Henderson <rth@redhat.com>
23706 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23707 normal/normal case to before the switch.
23708 (_FP_DIV): Likewise.
23710 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23711 Mike Frysinger <vapier@gentoo.org>
23713 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23714 check for __NR_fadvise64_64.
23716 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23718 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23719 0, not just to plain "0" as a statement.
23720 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23723 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23725 * NEWS: Use sourceware.org in Bugzilla URL.
23727 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23730 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23732 * stdio-common/tst-put-error.c (do_test): Add newline to the
23733 padded test to ensure flush.
23735 2012-12-05 Jeff Law <law@redhat.com>
23737 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23739 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23741 * README: Don't refer to ports add-on as distributed separately.
23742 Mention AArch64 in list of systems supported in the ports add-on.
23744 * LICENSES: Add more non-FSF copyright and license notices.
23746 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23749 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23751 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23752 10000 as width of padded output.
23754 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23756 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23759 variable LX with __attribute__ ((unused)).
23760 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23762 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23765 with __attribute__ ((unused)).
23767 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23769 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23771 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23773 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23774 (CFLAGS-nldbl-acos.c): New variable.
23775 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23776 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23777 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23778 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23779 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23780 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23781 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23782 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23783 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23784 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23785 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23786 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23787 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23788 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23789 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23790 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23791 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23792 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23793 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23794 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23795 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23796 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23797 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23798 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23799 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23800 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23801 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23802 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23803 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23804 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23805 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23806 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23807 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23808 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23809 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23810 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23811 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23812 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23813 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23814 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23815 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23816 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23817 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23818 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23819 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23820 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23821 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23822 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23823 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23824 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23825 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23826 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23827 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23828 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23829 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23830 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23831 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23832 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23833 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23834 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23835 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23836 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23837 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23838 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23839 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23840 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23841 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23842 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23843 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23844 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23845 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23846 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23847 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23848 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23849 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23850 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23851 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23852 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23853 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23854 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23855 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23856 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23857 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23858 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23859 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23860 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23861 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23862 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23863 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23864 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23865 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23866 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23867 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23868 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23869 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23870 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23871 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23874 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23878 whole low double instead of just low 47 bits when splitting values
23881 2012-12-03 Allan McRae <allan@archlinux.org>
23883 * manual/stdio.texi (Predefined Printf Handlers): Remove
23884 @hsep and @vsep usage.
23886 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23888 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23889 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23891 2012-12-03 Jeff Law <law@redhat.com>
23893 * time/sys/time.h (settimeofday): Do not mark TV argument
23896 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23898 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23899 when currently writing and seek to current position when not.
23900 * libio/Makefile (tests): Remove bug-fclose1.
23901 * libio/bug-fclose1.c: Delete.
23903 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23905 * manual/arith.texi (feenableexcept): Fix typo.
23906 (fedisableexcept): Likewise.
23908 2012-11-30 Roland McGrath <roland@hack.frob.com>
23910 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23911 second, differently-typed declaration, rather than a cast.
23913 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23915 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23916 * include/rpc/svc.h: ... here.
23918 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23921 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23922 depending n and resplen2 to catch cases where answer
23925 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23927 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23928 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23930 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23932 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23934 2012-11-29 Roland McGrath <roland@hack.frob.com>
23936 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23938 2012-11-28 Jeff Law <law@redhat.com>
23941 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23942 dataset_temporary. Track alloca usage into alloca_used.
23943 If dataset is large allocate and release it via malloc/free.
23945 2012-06-04 Florian Weimer <fweimer@redhat.com>
23948 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23950 2012-11-28 David S. Miller <davem@davemloft.net>
23952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23954 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23957 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23958 of pi/2 rounded to nearest to 64 bits.
23959 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23960 nearest to 64 bits.
23961 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23964 2012-11-28 Jeff Law <law@redhat.com>
23965 Martin Osvald <mosvald@redhat.com>
23968 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23969 * sunrpc/svc.c: Include time.h.
23970 (__svc_accept_failed): New function.
23971 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23972 any reason other than EINTR, call __svc_accept_failed.
23973 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23974 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23976 2012-11-28 Andreas Schwab <schwab@suse.de>
23978 * scripts/abilist.awk: Also handle indirect functions in .opd
23981 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23984 * sysdeps/x86/fpu/powl_helper.c: New file.
23985 * sysdeps/x86/fpu/Makefile: Likewise.
23986 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23988 (__ieee754_powl): Use __powl_helper for finite arguments except
23989 integer exponents below 8.
23990 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23992 (__ieee754_powl): Use __powl_helper for finite arguments except
23993 integer exponents below 8.
23994 * math/libm-test.inc (pow_test): Add more tests and enable some
23995 previously disabled tests.
23996 * sysdeps/i386/fpu/libm-test-ulps: Update.
23997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23999 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24000 Carlos O'Donell <carlos_odonell@mentor.com>
24002 * nss/makedb.c (is_prime): Assert that input is odd and greater
24003 than 4. Note that fact in a comment too.
24004 (next_prime): Add 4 to input.
24006 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24009 * libio/Makefile (tests): Add test case tst-fwrite-error.
24010 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24011 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24012 * libio/tst-fwrite-error.c: New test case.
24014 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24016 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24017 before casting to void *.
24018 * include/libc-internal.h (__pointer_type): New macro.
24019 (__integer_if_pointer_type_sub): Likewise.
24020 (__integer_if_pointer_type): Likewise.
24021 (cast_to_integer): Likewise.
24022 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24023 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24024 before casting to atomic64_t.
24025 (atomic_exchange_acq): Likewise.
24026 (__arch_exchange_and_add_body): Likewise.
24027 (__arch_add_body): Likewise.
24028 (atomic_add_negative): Likewise.
24029 (atomic_add_zero): Likewise.
24031 2012-11-26 Joseph Myers <joseph@codesourcery.com>
24033 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24034 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24035 (add_fdes): Likewise.
24036 (linear_search_fdes): Likewise.
24037 (binary_search_unencoded_fdes): Likewise.
24039 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24041 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24043 2012-11-24 Adam Conrad <adconrad@0c3.net>
24045 * configure.in: Autodetect C++ header directories.
24046 * configure: Regenerated.
24048 2012-11-23 Mike Frysinger <vapier@gentoo.org>
24050 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24052 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24056 2012-11-22 Joseph Myers <joseph@codesourcery.com>
24058 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24059 LDBL_MANT_DIG == 106]: Disable some tests.
24060 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24062 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24066 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24067 input for small inputs. Return +/- pi/2 for large inputs.
24068 * math/libm-test.inc (atan_test): Add more tests.
24070 * sysdeps/generic/unwind-dw2-fde-glibc.c
24071 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24072 __attribute__ ((unused)).
24075 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24076 x * y if x and y are nonzero and z is zero.
24079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24080 nonzero exponents with absolute value below 0x1p-117 to +/-
24084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24085 up arguments below 2**-450, not just those below 2**-500.
24086 * math/libm-test.inc (hypot_test): Add another test.
24089 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24090 Return a+b for ratio over 2**120, not 2**60.
24091 * math/libm-test.inc (hypot_test): Add another test.
24093 * math/libm-test.inc (clog_test): Use
24094 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24095 (clog10_test): Likewise.
24098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24100 2012-11-22 Andreas Schwab <schwab@suse.de>
24102 * sysdeps/i386/fpu/libm-test-ulps: Update.
24104 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24106 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24107 printf output with newline.
24109 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24112 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24113 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24114 -z nodlopen, -z initfirst and -z execstack support.
24115 * configure: Regenerated.
24117 * elf/elf.h (DF_1_NODIRECT): New macro.
24118 (DF_1_IGNMULDEF): Likewise.
24119 (DF_1_NOKSYMS): Likewise.
24120 (DF_1_NOHDR): Likewise.
24121 (DF_1_EDITED): Likewise.
24122 (DF_1_NORELOC): Likewise.
24123 (DF_1_SYMINTPOSE): Likewise.
24124 (DF_1_GLOBAUDIT): Likewise.
24125 (DF_1_SINGLETON): Likewise.
24126 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24127 DT_1_SUPPORTED_MASK bits.
24128 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24130 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24132 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24134 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24136 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24139 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24140 (sendmmsg): Move declarations...
24141 * socket/sys/socket.h: ... here.
24142 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24143 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24145 * socket/recvmmsg.c: ... this new file.
24146 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24147 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24148 definition of __sendmmsg hidden.
24149 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24150 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24151 Move ENOSYS stub into and include it from...
24152 * socket/sendmmsg.c: ... this new file.
24153 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24154 (sysdep_routines): Move recvmmsg and sendmmsg...
24155 * socket/Makefile (routines): ... here.
24156 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24157 (GLIBC_PRIVATE): Add __sendmmsg.
24158 * include/sys/socket.h (__sendmmsg): Add declarations.
24159 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24162 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24165 variable I1 with __attribute__ ((unused)).
24166 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24168 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24170 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24171 DUMMY variables with __attribute__ ((unused)).
24173 * bits/byteswap.h: Include <bits/types.h>.
24174 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24176 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24178 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24179 string_t. Do not manually set errno.
24180 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24181 length with __strnlen. Make sure to both set errno and return it on
24184 2012-11-19 David S. Miller <davem@davemloft.net>
24186 With help from Joseph Myers.
24187 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24188 very large arguments properly.
24189 * math/libm-test.inc (atan_test): New tests.
24190 (atan2_test): New tests.
24191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24194 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24197 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24200 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24201 [POSIX] (EADDRNOTAVAIL): Likewise.
24202 [POSIX] (EAFNOSUPPORT): Likewise.
24203 [POSIX] (EALREADY): Likewise.
24204 [POSIX] (ECONNABORTED): Likewise.
24205 [POSIX] (ECONNREFUSED): Likewise.
24206 [POSIX] (ECONNRESET): Likewise.
24207 [POSIX] (EDESTADDRREQ): Likewise.
24208 [POSIX] (EDQUOT): Likewise.
24209 [POSIX] (EHOSTUNREACH): Likewise.
24210 [POSIX] (EIDRM): Likewise.
24211 [POSIX] (EISCONN): Likewise.
24212 [POSIX] (ELOOP): Likewise.
24213 [POSIX] (EMULTIHOP): Likewise.
24214 [POSIX] (ENETDOWN): Likewise.
24215 [POSIX] (ENETUNREACH): Likewise.
24216 [POSIX] (ENOBUFS): Likewise.
24217 [POSIX] (ENODATA): Likewise.
24218 [POSIX] (ENOLINK): Likewise.
24219 [POSIX] (ENOMSG): Likewise.
24220 [POSIX] (ENOPROTOOPT): Likewise.
24221 [POSIX] (ENOSR): Likewise.
24222 [POSIX] (ENOSTR): Likewise.
24223 [POSIX] (ENOTCONN): Likewise.
24224 [POSIX] (ENOTSOCK): Likewise.
24225 [POSIX] (EOPNOTSUPP): Likewise.
24226 [POSIX] (EOVERFLOW): Likewise.
24227 [POSIX] (EPROTO): Likewise.
24228 [POSIX] (EPROTONOSUPPORT): Likewise.
24229 [POSIX] (EPROTOTYPE): Likewise.
24230 [POSIX] (ESTALE): Likewise.
24231 [POSIX] (ETIME): Likewise.
24232 [POSIX] (ETXTBSY): Likewise.
24233 [POSIX] (EWOULDBLOCK): Likewise.
24234 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24235 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24236 [POSIX] (SEEK_CUR): Likewise.
24237 [POSIX] (SEEK_END): Likewise.
24238 [POSIX || UNIX98] (mode_t): Do not require.
24239 [POSIX] (off_t): Likewise.
24240 [POSIX] (pid_t): Likewise.
24241 [POSIX] (sys/stat.h): Do not allow header.
24242 [POSIX] (unistd.h): Likewise.
24243 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24244 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24245 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24246 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24248 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24249 sigevent): Specify elements.
24250 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24252 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24253 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24255 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24256 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24257 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24258 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24259 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24260 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24261 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24262 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24263 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24264 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24265 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24266 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24267 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24268 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24270 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24272 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24274 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24276 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24277 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24278 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24279 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24280 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24281 Specify lower bound on value.
24282 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24283 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24284 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24285 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24286 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24287 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24288 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24289 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24291 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24293 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24294 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24295 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24296 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24297 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24298 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24299 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24300 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24301 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24302 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24303 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24304 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24305 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24306 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24307 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24308 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24310 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24312 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24313 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24314 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24315 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24316 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24317 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24319 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24320 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24321 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24322 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24323 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24324 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24325 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24327 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24328 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24329 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24330 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24331 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24332 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24333 specify as optional.
24334 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24335 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24336 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24337 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24338 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24339 [XPG3] (NL_LANGMAX): Likewise.
24340 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24341 [POSIX || XPG3] (NL_NMAX): Likewise.
24342 [POSIX || XPG3] (NL_SETMAX): Likewise.
24343 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24344 [XPG3] (NZERO): Likewise.
24345 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24346 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24347 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24348 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24349 (REG_ERANGE): Expect.
24350 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24352 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24353 Use (void) in prototype.
24354 [POSIX] (*_t): Allow.
24355 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24356 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24357 (WRDE_BADVAL): Expect.
24359 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24361 [XPG3 || XPG4] (O_RSYNC): Likewise.
24362 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24364 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24365 [XPG3 || XPG4] (sigqueue): Likewise.
24366 [XPG3 || XPG4] (sigtimedwait): Likewise.
24367 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24368 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24369 [XPG3 || XPG4] (vsnprintf): Likewise.
24370 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24372 [XPG3 || XPG4] (blksize_t): Likewise.
24373 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24375 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24376 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24377 [XPG3 || XPG4] (struct itimerspec): Likewise.
24378 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24379 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24380 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24381 [XPG3 || XPG4] (clockid_t): Likewise.
24382 [XPG3 || XPG4] (timer_t): Likewise.
24383 [XPG3 || XPG4] (clock_getres): Likewise.
24384 [XPG3 || XPG4] (clock_gettime): Likewise.
24385 [XPG3 || XPG4] (clock_settime): Likewise.
24386 [XPG3 || XPG4] (nanosleep): Likewise.
24387 [XPG3 || XPG4] (timer_create): Likewise.
24388 [XPG3 || XPG4] (timer_delete): Likewise.
24389 [XPG3 || XPG4] (timer_gettime): Likewise.
24390 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24391 [XPG3 || XPG4] (timer_settime): Likewise.
24392 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24393 [XPG3 || XPG4] (getlogin_r): Likewise.
24394 [XPG3 || XPG4] (pread): Likewise.
24395 [XPG3 || XPG4] (pthread_atfork): Likewise.
24396 [XPG3 || XPG4] (pwrite): Likewise.
24399 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24402 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24404 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24405 finalizing MALLSTREAM.
24407 * sysdeps/mach/hurd/syncfs.c: New file.
24409 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24412 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24413 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24414 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24415 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24416 (_nss_dns_gethostbyname4_r): Likewise.
24417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24418 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24420 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24423 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24425 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24427 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24428 * elf/cache.c (print_entry): Print ",AArch64" for
24431 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24432 * elf/cache.c (print_entry): Print ",hard-float" for
24435 2012-11-18 David S. Miller <davem@davemloft.net>
24437 With help from Joseph Myers.
24438 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24440 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24442 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24443 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24445 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24446 * math/libm-test.inc (y0_test): New tests.
24447 (y1_test): New tests.
24448 * sysdeps/i386/fpu/libm-test-ulps: Update.
24449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24452 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24454 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24456 * configure: Regenerated.
24458 2012-11-17 David S. Miller <davem@davemloft.net>
24461 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24462 nonzero exponents with absolute value below 0x1p-128 to +/-
24465 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24467 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24469 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24471 * posix/getconf-speclist.c: New file.
24472 * posix/posix-envs.def: Likewise.
24473 * posix/confstr.c (START_ENV_GROUP): New macro.
24474 (END_ENV_GROUP): Likewise.
24475 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24476 (KNOWN_PRESENT_ENV_STRING): Likewise.
24477 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24478 (UNKNOWN_ENVIRONMENT): Likewise.
24479 (confstr): Include posix-envs.def instead of handling
24480 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24481 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24482 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24483 (END_ENV_GROUP): Likewise.
24484 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24485 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24486 (UNKNOWN_ENVIRONMENT): Likewise.
24487 (__sysconf): Include posix-envs.def instead of handling associated
24488 cases directly here.
24489 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24490 preprocessing getconf-speclist.c rather than running getconf or
24491 generating empty file.
24493 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24495 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24497 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24500 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24502 2012-11-16 David S. Miller <davem@davemloft.net>
24504 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24505 smaller than LDBL_EPSILON/2.0L, just return xm1.
24507 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24509 * elf/tst-array1.c (init): Set constructor priority to 1000.
24510 (fini): Set destructor priority to 1000.
24511 * elf/tst-array2dep.c: Likewise.
24513 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24516 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24517 (_IO_new_file_xsputn): Also return EOF if none of the input
24518 data was written when overflow failed.
24519 * libio/iopadn.c (_IO_padn): Likewise.
24520 * libio/iowpadn.c (_IO_wpadn): Likewise.
24521 * stdio-common/tst-put-error.c: Add copyright notice.
24522 (do_test): Add case for printing padded string.
24523 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24524 _IO_padn returned error.
24525 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24526 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24529 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24531 * libio/libioP.h: Add comment note that the references to C++
24532 bits are now obsolete.
24534 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24536 * math/libm-test.inc (check_complex): Use asprintf.
24538 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24540 * debug/pcprofiledump.c (print_version): Update copyright year.
24541 * malloc/memusagestat.c (print_version): Likewise.
24543 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24546 * elf/Makefile (tests): Add tst-audit8.
24547 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24548 ($(objpfx)tst-audit8.out): New target.
24549 (tst-audit8-ENV): New variable.
24550 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24551 audit if l_reloc_result is NULL.
24552 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24553 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24554 * elf/tst-audit8.c: New file.
24556 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24558 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24559 * misc/Makefile (CFLAGS-select.c): Define.
24560 * posix/Makefile (CFLAGS-pause.c): Define.
24562 2012-11-13 David S. Miller <davem@davemloft.net>
24564 * crypt/Makefile: Move test targets after toplevel Rules
24565 inclusion. Grab any necessary sysdep routines when linking.
24566 * crypt/md5.c (md5_process_block): Remove define, we will always
24567 name it __md5_process_block.
24568 (md5_finish_ctx): Update md5_process_block call.
24569 (md5_stream): Likewise.
24570 (md5_process_bytes): Likewise.
24571 (md5_process_block): Rename to __md5_process_block and move to ...
24572 * crypt/md5-block.c: ... here.
24573 * crypt/sha256.c (sha256_process_block): Move to ...
24574 * crypt/sha256-block.c: ... here.
24575 * crypt/sha512.c (sha512_process_block): Move to ...
24576 * crypt/sha512-block.c: ... here.
24577 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24579 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24580 * sysdeps/sparc/sparc64/multiarch/Makefile
24581 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24583 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24584 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24586 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24587 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24588 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24589 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24590 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24591 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24592 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24593 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24594 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24596 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24597 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24599 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24601 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24603 * timezone/tzselect.ksh: Update from tzcode git revision
24604 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24605 * timezone/zdump.c: Likewise.
24606 * timezone/zic.c: Likewise.
24607 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24608 in TZVERSION setting, not $(PKGVERSION).
24609 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24610 REPORT_BUGS_TO settings.
24613 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24616 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24618 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24619 detection to immediately after _FP_ROUND().
24620 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24623 2012-11-11 David S. Miller <davem@davemloft.net>
24625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24627 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24628 __close rather than their public counterparts.
24630 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24632 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24634 [UNIX98] (sem_timedwait): Do not expect.
24635 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24636 [XPG4 || UNIX98] (sockatmark): Do not expect.
24637 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24638 (clock_getcpuclockid): Do not expect.
24639 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24640 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24642 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24643 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24644 [UNIX98] (vwscanf): Likewise.
24645 [UNIX98] (vswscanf): Likewise.
24647 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24649 * timezone/version.h: Remove file.
24650 * timezone/README: Do not refer to version.h.
24651 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24652 $(objpfx)version.h.
24653 ($(objpfx)zdump.o): Likewise.
24654 ($(objpfx)version.h): New target.
24656 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24658 * timezone/README: Don't mention modification to tzselect.ksh.
24659 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24660 work on unmodified tzselect.ksh. Substitute version numbers in
24663 * Makefile (format-me): Remove.
24664 (INSTALL): Adjust indentation. Use commands directly instead of
24665 using $(format-me).
24667 * aclocal.m4 (ACX_PKGVERSION): New macro.
24668 (ACX_BUGURL): Likewise.
24669 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24670 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24671 (REPORT_BUGS_TO): Likewise.
24672 * configure: Regenerated.
24673 * config.h.in (PKGVERSION): New macro.
24674 (REPORT_BUGS_TO): Likewise.
24675 * config.make.in (PKGVERSION): New variable.
24676 (PKGVERSION_TEXI): Likewise.
24677 (REPORT_BUGS_TO): Likewise.
24678 (REPORT_BUGS_TEXI): Likewise.
24679 * Makefile (format-me): Use -I$(common-objpfx)manual.
24680 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24681 ($(common-objpfx)manual/%): New target.
24682 (manual/%): Remove target.
24683 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24684 (print_version): Use PKGVERSION.
24685 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24686 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24687 and REPORT_BUGS_TO.
24688 ($(objpfx)xtrace): Likewise.
24689 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24690 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24691 (print_version): Use PKGVERSION.
24692 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24693 (do_version): Use PKGVERSION.
24694 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24696 (common-ldd-rewrite): Likewise.
24697 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24698 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24699 (print_version): Use PKGVERSION.
24700 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24701 * elf/pldd.c (argp_program_bug_address): Remove variable.
24702 (more_help): New function.
24703 (argp): Use more_help.
24704 (print_version): Use PKGVERSION.
24705 * elf/sln.c (main): Use PKGVERSION.
24706 (usage): Use REPORT_BUGS_TO.
24707 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24708 (top level): Use PKGVERSION.
24709 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24710 (print_version): Use PKGVERSION.
24711 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24712 (print_version): Use PKGVERSION.
24713 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24714 (print_version): Use PKGVERSION.
24715 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24716 (print_version): Use PKGVERSION.
24717 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24718 (print_version): Use PKGVERSION.
24719 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24720 (print_version): Use PKGVERSION.
24721 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24723 ($(objpfx)memusage): Likewise.
24724 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24725 (do_version): Use PKGVERSION.
24726 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24727 (print_version): Use PKGVERSION.
24728 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24729 ($PKGVERSION): New variable.
24730 ($REPORT_BUGS_TO): Likewise.
24731 (usage): Use $REPORT_BUGS_TO.
24732 (top level): Use $PKGVERSION.
24733 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24734 ($(objpfx)pkgvers.texi): New rule.
24735 ($(objpfx)stamp-pkgvers): Likewise.
24736 * manual/install.texi: Include pkgvers.texi.
24737 (--with-pkgversion): Document new configure option.
24738 (--with-bugurl): Likewise.
24739 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24740 than necessarily for this particular distribution. Use
24741 REPORT_BUGS_TO for where to report bugs.
24742 * INSTALL: Regenerated.
24743 * manual/libc.texinfo: Include pkgvers.texi.
24744 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24745 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24746 (print_version): Use PKGVERSION.
24747 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24748 (print_version): Use PKGVERSION.
24749 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24750 (print_version): Use PKGVERSION.
24751 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24752 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24754 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24755 (print_version): Use PKGVERSION.
24756 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24757 (print_version): Use PKGVERSION.
24758 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24761 * timezone/checktab.awk: Update from tzcode 2012i.
24762 * timezone/ialloc.c: Likewise.
24763 * timezone/private.h: Likewise.
24764 * timezone/scheck.c: Likewise.
24765 * timezone/tzfile.h: Likewise.
24766 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24767 (TZVERSION): Hardcode tzcode version number.
24768 * timezone/zdump.c: Update from tzcode 2012i.
24769 * timezone/zic.c: Likewise.
24770 * timezone/version.h: New file.
24771 * timezone/README: Describe version.h. Update upstream location.
24774 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24775 (mktemp): Enable declaration.
24776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24777 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24779 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24781 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24783 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24793 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24794 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24795 for copies of such integer values.
24796 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24797 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24799 2012-11-09 Andreas Jaeger <aj@suse.de>
24801 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24802 definitions and declarations that are provided by
24803 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24805 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24807 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24808 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24809 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24812 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24814 * elf/elf.h: Update comment before AArch64 relocations.
24816 2012-11-07 David S. Miller <davem@davemloft.net>
24818 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24819 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24820 (__start_context): Declare.
24821 (__makecontext_ret): Delete.
24822 (__makecontext): Hook up __start_context instead of
24824 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24825 (sysdep_routines): Add __start_context when in stdlib.
24827 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24829 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24830 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24831 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24833 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24834 (READELF): New variable. Use it instead of hardcoded "readelf".
24836 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24838 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24839 * sysdeps/x86/Makefile: Here.
24840 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24841 * sysdeps/x86/tst-xmmymm.sh: This.
24843 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24845 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24847 [UNIX98] (pthread_barrier_t): Do not expect.
24848 [UNIX98] (pthread_barrierattr_t): Likewise.
24849 [UNIX98] (pthread_spinlock_t): Likewise.
24850 [UNIX98] (pthread_barrier_destroy): Likewise.
24851 [UNIX98] (pthread_barrier_init): Likewise.
24852 [UNIX98] (pthread_barrier_wait): Likewise.
24853 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24854 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24855 [UNIX98] (pthread_barrierattr_init): Likewise.
24856 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24857 [UNIX98] (pthread_getcpuclockid): Likewise.
24858 [UNIX98] (pthread_mutex_timedlock): Likewise.
24859 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24860 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24861 [UNIX98] (pthread_sigmask): Likewise.
24862 [UNIX98] (pthread_spin_destroy): Likewise.
24863 [UNIX98] (pthread_spin_init): Likewise.
24864 [UNIX98] (pthread_spin_lock): Likewise.
24865 [UNIX98] (pthread_spin_trylock): Likewise.
24866 [UNIX98] (pthread_spin_unlock): Likewise.
24867 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24869 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24870 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24871 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24872 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24873 [XPG3 || XPG4] (pthread_key_t): Likewise.
24874 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24875 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24876 [XPG3 || XPG4] (pthread_once_t): Likewise.
24877 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24878 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24879 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24880 [XPG3 || XPG4] (pthread_t): Likewise.
24882 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24884 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24886 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24887 Change function return type to int.
24889 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24890 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24891 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24892 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24893 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24894 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24895 [!POSIX] (posix_madvise): Likewise.
24896 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24898 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24899 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24900 (mode_t): Likewise.
24901 (posix_mem_offset): Likewise.
24902 (posix_typed_mem_get_info): Likewise.
24903 (posix_typed_mem_open): Likewise.
24905 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24906 Change condition to [XOPEN2K8].
24908 * conform/conformtest.pl: Preprocess allow-header data with -x c
24909 instead of from stdin.
24910 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24911 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24912 [C99-based standards] (cerfc): Likewise.
24913 [C99-based standards] (cexp2): Likewise.
24914 [C99-based standards] (cexpm1): Likewise.
24915 [C99-based standards] (clog10): Likewise.
24916 [C99-based standards] (clog1p): Likewise.
24917 [C99-based standards] (clog2): Likewise.
24918 [C99-based standards] (clgamma): Likewise.
24919 [C99-based standards] (ctgamma): Likewise.
24920 [C99-based standards] (cerff): Likewise.
24921 [C99-based standards] (cerfcf): Likewise.
24922 [C99-based standards] (cexp2f): Likewise.
24923 [C99-based standards] (cexpm1f): Likewise.
24924 [C99-based standards] (clog10f): Likewise.
24925 [C99-based standards] (clog1pf): Likewise.
24926 [C99-based standards] (clog2f): Likewise.
24927 [C99-based standards] (clgammaf): Likewise.
24928 [C99-based standards] (ctgammaf): Likewise.
24929 [C99-based standards] (cerfl): Likewise.
24930 [C99-based standards] (cerfcl): Likewise.
24931 [C99-based standards] (cexp2l): Likewise.
24932 [C99-based standards] (cexpm1l): Likewise.
24933 [C99-based standards] (clog10l): Likewise.
24934 [C99-based standards] (clog1pl): Likewise.
24935 [C99-based standards] (clog2l): Likewise.
24936 [C99-based standards] (clgammal): Likewise.
24937 [C99-based standards] (ctgammal): Likewise.
24938 * conform/data/inttypes.h-data [C99-based standards]: Include
24939 stdint.h-data. Remove all expectations for stdint.h contents.
24940 [C99-based standards] (PRI*): Do not allow.
24941 [C99-based standards] (SCN*): Likewise.
24942 [C99-based standards] (*_t): Likewise.
24943 [C99-based-standards] (PRId8): Expect macro.
24944 [C99-based-standards] (PRIi8): Likewise.
24945 [C99-based-standards] (PRIo8): Likewise.
24946 [C99-based-standards] (PRIu8): Likewise.
24947 [C99-based-standards] (PRIx8): Likewise.
24948 [C99-based-standards] (PRIX8): Likewise.
24949 [C99-based-standards] (SCNd8): Likewise.
24950 [C99-based-standards] (SCNi8): Likewise.
24951 [C99-based-standards] (SCNo8): Likewise.
24952 [C99-based-standards] (SCNu8): Likewise.
24953 [C99-based-standards] (SCNx8): Likewise.
24954 [C99-based-standards] (PRIdLEAST8): Likewise.
24955 [C99-based-standards] (PRIiLEAST8): Likewise.
24956 [C99-based-standards] (PRIoLEAST8): Likewise.
24957 [C99-based-standards] (PRIuLEAST8): Likewise.
24958 [C99-based-standards] (PRIxLEAST8): Likewise.
24959 [C99-based-standards] (PRIXLEAST8): Likewise.
24960 [C99-based-standards] (SCNdLEAST8): Likewise.
24961 [C99-based-standards] (SCNiLEAST8): Likewise.
24962 [C99-based-standards] (SCNoLEAST8): Likewise.
24963 [C99-based-standards] (SCNuLEAST8): Likewise.
24964 [C99-based-standards] (SCNxLEAST8): Likewise.
24965 [C99-based-standards] (PRIdFAST8): Likewise.
24966 [C99-based-standards] (PRIiFAST8): Likewise.
24967 [C99-based-standards] (PRIoFAST8): Likewise.
24968 [C99-based-standards] (PRIuFAST8): Likewise.
24969 [C99-based-standards] (PRIxFAST8): Likewise.
24970 [C99-based-standards] (PRIXFAST8): Likewise.
24971 [C99-based-standards] (SCNdFAST8): Likewise.
24972 [C99-based-standards] (SCNiFAST8): Likewise.
24973 [C99-based-standards] (SCNoFAST8): Likewise.
24974 [C99-based-standards] (SCNuFAST8): Likewise.
24975 [C99-based-standards] (SCNxFAST8): Likewise.
24976 [C99-based-standards] (PRId16): Likewise.
24977 [C99-based-standards] (PRIi16): Likewise.
24978 [C99-based-standards] (PRIo16): Likewise.
24979 [C99-based-standards] (PRIu16): Likewise.
24980 [C99-based-standards] (PRIx16): Likewise.
24981 [C99-based-standards] (PRIX16): Likewise.
24982 [C99-based-standards] (SCNd16): Likewise.
24983 [C99-based-standards] (SCNi16): Likewise.
24984 [C99-based-standards] (SCNo16): Likewise.
24985 [C99-based-standards] (SCNu16): Likewise.
24986 [C99-based-standards] (SCNx16): Likewise.
24987 [C99-based-standards] (PRIdLEAST16): Likewise.
24988 [C99-based-standards] (PRIiLEAST16): Likewise.
24989 [C99-based-standards] (PRIoLEAST16): Likewise.
24990 [C99-based-standards] (PRIuLEAST16): Likewise.
24991 [C99-based-standards] (PRIxLEAST16): Likewise.
24992 [C99-based-standards] (PRIXLEAST16): Likewise.
24993 [C99-based-standards] (SCNdLEAST16): Likewise.
24994 [C99-based-standards] (SCNiLEAST16): Likewise.
24995 [C99-based-standards] (SCNoLEAST16): Likewise.
24996 [C99-based-standards] (SCNuLEAST16): Likewise.
24997 [C99-based-standards] (SCNxLEAST16): Likewise.
24998 [C99-based-standards] (PRIdFAST16): Likewise.
24999 [C99-based-standards] (PRIiFAST16): Likewise.
25000 [C99-based-standards] (PRIoFAST16): Likewise.
25001 [C99-based-standards] (PRIuFAST16): Likewise.
25002 [C99-based-standards] (PRIxFAST16): Likewise.
25003 [C99-based-standards] (PRIXFAST16): Likewise.
25004 [C99-based-standards] (SCNdFAST16): Likewise.
25005 [C99-based-standards] (SCNiFAST16): Likewise.
25006 [C99-based-standards] (SCNoFAST16): Likewise.
25007 [C99-based-standards] (SCNuFAST16): Likewise.
25008 [C99-based-standards] (SCNxFAST16): Likewise.
25009 [C99-based-standards] (PRId32): Likewise.
25010 [C99-based-standards] (PRIi32): Likewise.
25011 [C99-based-standards] (PRIo32): Likewise.
25012 [C99-based-standards] (PRIu32): Likewise.
25013 [C99-based-standards] (PRIx32): Likewise.
25014 [C99-based-standards] (PRIX32): Likewise.
25015 [C99-based-standards] (SCNd32): Likewise.
25016 [C99-based-standards] (SCNi32): Likewise.
25017 [C99-based-standards] (SCNo32): Likewise.
25018 [C99-based-standards] (SCNu32): Likewise.
25019 [C99-based-standards] (SCNx32): Likewise.
25020 [C99-based-standards] (PRIdLEAST32): Likewise.
25021 [C99-based-standards] (PRIiLEAST32): Likewise.
25022 [C99-based-standards] (PRIoLEAST32): Likewise.
25023 [C99-based-standards] (PRIuLEAST32): Likewise.
25024 [C99-based-standards] (PRIxLEAST32): Likewise.
25025 [C99-based-standards] (PRIXLEAST32): Likewise.
25026 [C99-based-standards] (SCNdLEAST32): Likewise.
25027 [C99-based-standards] (SCNiLEAST32): Likewise.
25028 [C99-based-standards] (SCNoLEAST32): Likewise.
25029 [C99-based-standards] (SCNuLEAST32): Likewise.
25030 [C99-based-standards] (SCNxLEAST32): Likewise.
25031 [C99-based-standards] (PRIdFAST32): Likewise.
25032 [C99-based-standards] (PRIiFAST32): Likewise.
25033 [C99-based-standards] (PRIoFAST32): Likewise.
25034 [C99-based-standards] (PRIuFAST32): Likewise.
25035 [C99-based-standards] (PRIxFAST32): Likewise.
25036 [C99-based-standards] (PRIXFAST32): Likewise.
25037 [C99-based-standards] (SCNdFAST32): Likewise.
25038 [C99-based-standards] (SCNiFAST32): Likewise.
25039 [C99-based-standards] (SCNoFAST32): Likewise.
25040 [C99-based-standards] (SCNuFAST32): Likewise.
25041 [C99-based-standards] (SCNxFAST32): Likewise.
25042 [C99-based-standards] (PRId64): Likewise.
25043 [C99-based-standards] (PRIi64): Likewise.
25044 [C99-based-standards] (PRIo64): Likewise.
25045 [C99-based-standards] (PRIu64): Likewise.
25046 [C99-based-standards] (PRIx64): Likewise.
25047 [C99-based-standards] (PRIX64): Likewise.
25048 [C99-based-standards] (SCNd64): Likewise.
25049 [C99-based-standards] (SCNi64): Likewise.
25050 [C99-based-standards] (SCNo64): Likewise.
25051 [C99-based-standards] (SCNu64): Likewise.
25052 [C99-based-standards] (SCNx64): Likewise.
25053 [C99-based-standards] (PRIdLEAST64): Likewise.
25054 [C99-based-standards] (PRIiLEAST64): Likewise.
25055 [C99-based-standards] (PRIoLEAST64): Likewise.
25056 [C99-based-standards] (PRIuLEAST64): Likewise.
25057 [C99-based-standards] (PRIxLEAST64): Likewise.
25058 [C99-based-standards] (PRIXLEAST64): Likewise.
25059 [C99-based-standards] (SCNdLEAST64): Likewise.
25060 [C99-based-standards] (SCNiLEAST64): Likewise.
25061 [C99-based-standards] (SCNoLEAST64): Likewise.
25062 [C99-based-standards] (SCNuLEAST64): Likewise.
25063 [C99-based-standards] (SCNxLEAST64): Likewise.
25064 [C99-based-standards] (PRIdFAST64): Likewise.
25065 [C99-based-standards] (PRIiFAST64): Likewise.
25066 [C99-based-standards] (PRIoFAST64): Likewise.
25067 [C99-based-standards] (PRIuFAST64): Likewise.
25068 [C99-based-standards] (PRIxFAST64): Likewise.
25069 [C99-based-standards] (PRIXFAST64): Likewise.
25070 [C99-based-standards] (SCNdFAST64): Likewise.
25071 [C99-based-standards] (SCNiFAST64): Likewise.
25072 [C99-based-standards] (SCNoFAST64): Likewise.
25073 [C99-based-standards] (SCNuFAST64): Likewise.
25074 [C99-based-standards] (SCNxFAST64): Likewise.
25075 [C99-based-standards] (PRIdMAX): Likewise.
25076 [C99-based-standards] (PRIiMAX): Likewise.
25077 [C99-based-standards] (PRIoMAX): Likewise.
25078 [C99-based-standards] (PRIuMAX): Likewise.
25079 [C99-based-standards] (PRIxMAX): Likewise.
25080 [C99-based-standards] (PRIXMAX): Likewise.
25081 [C99-based-standards] (SCNdMAX): Likewise.
25082 [C99-based-standards] (SCNiMAX): Likewise.
25083 [C99-based-standards] (SCNoMAX): Likewise.
25084 [C99-based-standards] (SCNuMAX): Likewise.
25085 [C99-based-standards] (SCNxMAX): Likewise.
25086 [C99-based-standards] (PRIdPTR): Likewise.
25087 [C99-based-standards] (PRIiPTR): Likewise.
25088 [C99-based-standards] (PRIoPTR): Likewise.
25089 [C99-based-standards] (PRIuPTR): Likewise.
25090 [C99-based-standards] (PRIxPTR): Likewise.
25091 [C99-based-standards] (PRIXPTR): Likewise.
25092 [C99-based-standards] (SCNdPTR): Likewise.
25093 [C99-based-standards] (SCNiPTR): Likewise.
25094 [C99-based-standards] (SCNoPTR): Likewise.
25095 [C99-based-standards] (SCNuPTR): Likewise.
25096 [C99-based-standards] (SCNxPTR): Likewise.
25097 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25099 * conform/data/stdint.h-data: Update comments to clarify
25101 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25103 [C99-based standards] (INT8_MAX): Likewise.
25104 [C99-based standards] (INT16_MIN): Likewise.
25105 [C99-based standards] (INT16_MAX): Likewise.
25106 [C99-based standards] (INT32_MIN): Likewise.
25107 [C99-based standards] (INT32_MAX): Likewise.
25108 [C99-based standards] (INT64_MIN): Likewise.
25109 [C99-based standards] (INT64_MAX): Likewise.
25110 [C99-based standards] (UINT8_MAX): Likewise.
25111 [C99-based standards] (UINT16_MAX): Likewise.
25112 [C99-based standards] (UINT32_MAX): Likewise.
25113 [C99-based standards] (UINT64_MAX): Likewise.
25114 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25115 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25116 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25117 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25118 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25119 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25120 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25121 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25122 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25123 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25124 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25125 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25126 [C99-based standards] (INT_FAST8_MIN): Likewise.
25127 [C99-based standards] (INT_FAST8_MAX): Likewise.
25128 [C99-based standards] (INT_FAST16_MIN): Likewise.
25129 [C99-based standards] (INT_FAST16_MAX): Likewise.
25130 [C99-based standards] (INT_FAST32_MIN): Likewise.
25131 [C99-based standards] (INT_FAST32_MAX): Likewise.
25132 [C99-based standards] (INT_FAST64_MIN): Likewise.
25133 [C99-based standards] (INT_FAST64_MAX): Likewise.
25134 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25135 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25136 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25137 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25138 [C99-based standards] (INTPTR_MIN): Likewise.
25139 [C99-based standards] (INTPTR_MAX): Likewise.
25140 [C99-based standards] (UINTPTR_MAX): Likewise.
25141 [C99-based standards] (INTMAX_MIN): Likewise.
25142 [C99-based standards] (INTMAX_MAX): Likewise.
25143 [C99-based standards] (UINTMAX_MAX): Likewise.
25144 [C99-based standards] (PTRDIFF_MIN): Likewise.
25145 [C99-based standards] (PTRDIFF_MAX): Likewise.
25146 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25147 [C99-based standards] (SIZE_MAX): Likewise.
25148 [C99-based standards] (WCHAR_MAX): Likewise.
25149 [C99-based standards] (WINT_MAX): Likewise.
25150 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25151 constraint on value.
25152 [C99-based standards] (WCHAR_MIN): Likewise.
25153 [C99-based standards] (WINT_MIN): Likewise.
25154 [C99-based standards] (*_t): Allow.
25155 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25156 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25157 Include math.h-data and complex.h-data. Remove all expectations
25158 of math.h and complex.h contents.
25159 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25161 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25162 (struct tm): Expect tag.
25163 [C99-based-standards] (wcstof): Expect function.
25164 [C99-based-standards] (wcstold): Likewise.
25165 [C99-based-standards] (wcstoll): Likewise.
25166 [C99-based-standards] (wcstoull): Likewise.
25167 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25168 macro-int-constant. Specify type.
25169 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25170 constraint on value.
25171 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25173 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25175 [ISO C standards]: Do not allow headers.
25176 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25177 wcs[abcdefghijklmnopqrstuvwxyz]*.
25178 [ISO C standards] (*_t): Do not allow.
25179 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25181 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25182 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25184 [ISO C standards]: Do not allow headers.
25185 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25186 is[abcdefghijklmnopqrstuvwxyz]*.
25187 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25188 to[abcdefghijklmnopqrstuvwxyz]*.
25189 [ISO C standards] (*_t): Do not allow.
25190 * conform/data/stdalign.h-data: New file.
25191 * conform/data/stdbool.h-data: Likewise.
25192 * conform/data/stdnoreturn.h-data: Likewise.
25194 2012-11-07 Roland McGrath <roland@hack.frob.com>
25197 * manual/filesys.texi (Directory Entries): Typo fix.
25198 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25200 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25202 * elf/elf.h (EM_AARCH64): New macro.
25203 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25204 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25205 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25206 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25207 (R_AARCH64_TLSDESC): Likewise.
25208 (NT_ARM_TLS): Likewise.
25209 (NT_ARM_HW_BREAK): Likewise.
25210 (NT_ARM_HW_WATCH): Likewise.
25212 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25215 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25216 (__ieee754_powl): Saturate nonzero exponents with absolute value
25217 below 0x1p-79 to +/- 0x1p-79.
25218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25219 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25220 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25221 nonzero exponents with absolute value below 0x1p-32 to +/-
25223 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25224 (__ieee754_powl): Saturate nonzero exponents with absolute value
25225 below 0x1p-79 to +/- 0x1p-79.
25226 * math/libm-test.inc (pow_test): Add more tests.
25228 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25230 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25231 _dl_s390_cap_flags with kernel. Increase string length.
25232 (_dl_s390_platforms): Add z196 and zEC12.
25234 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25236 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25237 Change XOPEN21K to XOPEN2K.
25239 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25241 * string/memmove.c: Use memcpy when possible.
25243 2012-11-06 Andreas Jaeger <aj@suse.de>
25245 * po/eo.po: Update from translation team.
25247 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25251 exponent and small x and y exponents, scale x or y up. Increase
25252 by 2 the exponent used in scaling up.
25253 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25255 * math/libm-test.inc (fma_test): Add more tests.
25256 (fma_test_towardzero): Likewise.
25257 (fma_test_downward): Likewise.
25258 (fma_test_upward): Likewise.
25260 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25263 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25267 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25268 namespace for names of struct fields.
25269 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25271 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25272 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25274 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25277 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25279 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25281 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25285 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25288 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25292 definitely overflow as x * y not x * y + z.
25293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25295 * math/libm-test.inc (fma_test): Add more tests.
25296 (fma_test_towardzero): Likewise.
25297 (fma_test_downward): Likewise.
25298 (fma_test_upward): Likewise.
25300 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25304 * include/stub-tag.h: Remove file.
25305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25307 * manual/maint.texi (Porting): Don't reference it.
25308 * Makerules ($(objpfx)stubs): Likewise.
25309 * dirent/closedir.c: Don't include <stub-tag.h>.
25310 * dirent/dirfd.c: Likewise.
25311 * dirent/fdopendir.c: Likewise.
25312 * dirent/getdents.c: Likewise.
25313 * dirent/getdents64.c: Likewise.
25314 * dirent/opendir.c: Likewise.
25315 * dirent/readdir.c: Likewise.
25316 * dirent/readdir64.c: Likewise.
25317 * dirent/readdir64_r.c: Likewise.
25318 * dirent/readdir_r.c: Likewise.
25319 * dirent/rewinddir.c: Likewise.
25320 * dirent/seekdir.c: Likewise.
25321 * dirent/telldir.c: Likewise.
25322 * gmon/profil.c: Likewise.
25323 * grp/setgroups.c: Likewise.
25324 * inet/if_index.c: Likewise.
25325 * io/access.c: Likewise.
25326 * io/chdir.c: Likewise.
25327 * io/chmod.c: Likewise.
25328 * io/chown.c: Likewise.
25329 * io/close.c: Likewise.
25330 * io/dup.c: Likewise.
25331 * io/dup2.c: Likewise.
25332 * io/dup3.c: Likewise.
25333 * io/euidaccess.c: Likewise.
25334 * io/faccessat.c: Likewise.
25335 * io/fchdir.c: Likewise.
25336 * io/fchmod.c: Likewise.
25337 * io/fchmodat.c: Likewise.
25338 * io/fchown.c: Likewise.
25339 * io/fchownat.c: Likewise.
25340 * io/fcntl.c: Likewise.
25341 * io/flock.c: Likewise.
25342 * io/fstatfs.c: Likewise.
25343 * io/fstatfs64.c: Likewise.
25344 * io/fstatvfs.c: Likewise.
25345 * io/fstatvfs64.c: Likewise.
25346 * io/futimens.c: Likewise.
25347 * io/fxstat.c: Likewise.
25348 * io/fxstat64.c: Likewise.
25349 * io/fxstatat.c: Likewise.
25350 * io/fxstatat64.c: Likewise.
25351 * io/getcwd.c: Likewise.
25352 * io/isatty.c: Likewise.
25353 * io/lchmod.c: Likewise.
25354 * io/lchown.c: Likewise.
25355 * io/link.c: Likewise.
25356 * io/linkat.c: Likewise.
25357 * io/lseek.c: Likewise.
25358 * io/lseek64.c: Likewise.
25359 * io/lxstat64.c: Likewise.
25360 * io/mkdir.c: Likewise.
25361 * io/mkdirat.c: Likewise.
25362 * io/mkfifo.c: Likewise.
25363 * io/mkfifoat.c: Likewise.
25364 * io/open.c: Likewise.
25365 * io/open64.c: Likewise.
25366 * io/openat.c: Likewise.
25367 * io/openat64.c: Likewise.
25368 * io/pipe.c: Likewise.
25369 * io/pipe2.c: Likewise.
25370 * io/poll.c: Likewise.
25371 * io/posix_fadvise.c: Likewise.
25372 * io/posix_fadvise64.c: Likewise.
25373 * io/posix_fallocate.c: Likewise.
25374 * io/posix_fallocate64.c: Likewise.
25375 * io/read.c: Likewise.
25376 * io/readlink.c: Likewise.
25377 * io/readlinkat.c: Likewise.
25378 * io/rmdir.c: Likewise.
25379 * io/sendfile.c: Likewise.
25380 * io/sendfile64.c: Likewise.
25381 * io/statfs.c: Likewise.
25382 * io/statfs64.c: Likewise.
25383 * io/statvfs.c: Likewise.
25384 * io/statvfs64.c: Likewise.
25385 * io/symlink.c: Likewise.
25386 * io/symlinkat.c: Likewise.
25387 * io/ttyname.c: Likewise.
25388 * io/ttyname_r.c: Likewise.
25389 * io/umask.c: Likewise.
25390 * io/unlink.c: Likewise.
25391 * io/unlinkat.c: Likewise.
25392 * io/utime.c: Likewise.
25393 * io/utimensat.c: Likewise.
25394 * io/write.c: Likewise.
25395 * io/xmknod.c: Likewise.
25396 * io/xmknodat.c: Likewise.
25397 * io/xstat.c: Likewise.
25398 * io/xstat64.c: Likewise.
25399 * login/getpt.c: Likewise.
25400 * login/grantpt.c: Likewise.
25401 * login/unlockpt.c: Likewise.
25402 * math/e_acoshl.c: Likewise.
25403 * math/e_acosl.c: Likewise.
25404 * math/e_asinl.c: Likewise.
25405 * math/e_atan2l.c: Likewise.
25406 * math/e_atanhl.c: Likewise.
25407 * math/e_coshl.c: Likewise.
25408 * math/e_expl.c: Likewise.
25409 * math/e_fmodl.c: Likewise.
25410 * math/e_gammal_r.c: Likewise.
25411 * math/e_hypotl.c: Likewise.
25412 * math/e_j0l.c: Likewise.
25413 * math/e_j1l.c: Likewise.
25414 * math/e_jnl.c: Likewise.
25415 * math/e_lgammal_r.c: Likewise.
25416 * math/e_log10l.c: Likewise.
25417 * math/e_log2l.c: Likewise.
25418 * math/e_logl.c: Likewise.
25419 * math/e_powl.c: Likewise.
25420 * math/e_rem_pio2l.c: Likewise.
25421 * math/e_sinhl.c: Likewise.
25422 * math/e_sqrtl.c: Likewise.
25423 * math/fclrexcpt.c: Likewise.
25424 * math/fedisblxcpt.c: Likewise.
25425 * math/feenablxcpt.c: Likewise.
25426 * math/fegetenv.c: Likewise.
25427 * math/fegetexcept.c: Likewise.
25428 * math/fegetround.c: Likewise.
25429 * math/feholdexcpt.c: Likewise.
25430 * math/fesetenv.c: Likewise.
25431 * math/fesetround.c: Likewise.
25432 * math/feupdateenv.c: Likewise.
25433 * math/fgetexcptflg.c: Likewise.
25434 * math/fraiseexcpt.c: Likewise.
25435 * math/fsetexcptflg.c: Likewise.
25436 * math/ftestexcept.c: Likewise.
25437 * math/k_cosl.c: Likewise.
25438 * math/k_rem_pio2l.c: Likewise.
25439 * math/k_sinl.c: Likewise.
25440 * math/k_tanl.c: Likewise.
25441 * math/s_asinhl.c: Likewise.
25442 * math/s_atanl.c: Likewise.
25443 * math/s_cbrtl.c: Likewise.
25444 * math/s_erfl.c: Likewise.
25445 * math/s_expm1l.c: Likewise.
25446 * math/s_log1pl.c: Likewise.
25447 * math/s_tanhl.c: Likewise.
25448 * misc/acct.c: Likewise.
25449 * misc/brk.c: Likewise.
25450 * misc/chflags.c: Likewise.
25451 * misc/chroot.c: Likewise.
25452 * misc/fchflags.c: Likewise.
25453 * misc/fgetxattr.c: Likewise.
25454 * misc/flistxattr.c: Likewise.
25455 * misc/fremovexattr.c: Likewise.
25456 * misc/fsetxattr.c: Likewise.
25457 * misc/fsync.c: Likewise.
25458 * misc/ftruncate.c: Likewise.
25459 * misc/futimes.c: Likewise.
25460 * misc/futimesat.c: Likewise.
25461 * misc/getdomain.c: Likewise.
25462 * misc/getdtsz.c: Likewise.
25463 * misc/gethostid.c: Likewise.
25464 * misc/gethostname.c: Likewise.
25465 * misc/getloadavg.c: Likewise.
25466 * misc/getpagesize.c: Likewise.
25467 * misc/getsysstats.c: Likewise.
25468 * misc/getxattr.c: Likewise.
25469 * misc/gtty.c: Likewise.
25470 * misc/ioctl.c: Likewise.
25471 * misc/lgetxattr.c: Likewise.
25472 * misc/listxattr.c: Likewise.
25473 * misc/llistxattr.c: Likewise.
25474 * misc/lremovexattr.c: Likewise.
25475 * misc/lsetxattr.c: Likewise.
25476 * misc/lutimes.c: Likewise.
25477 * misc/madvise.c: Likewise.
25478 * misc/mincore.c: Likewise.
25479 * misc/mlock.c: Likewise.
25480 * misc/mlockall.c: Likewise.
25481 * misc/mmap.c: Likewise.
25482 * misc/mprotect.c: Likewise.
25483 * misc/msync.c: Likewise.
25484 * misc/munlock.c: Likewise.
25485 * misc/munlockall.c: Likewise.
25486 * misc/munmap.c: Likewise.
25487 * misc/preadv.c: Likewise.
25488 * misc/preadv64.c: Likewise.
25489 * misc/ptrace.c: Likewise.
25490 * misc/pwritev.c: Likewise.
25491 * misc/pwritev64.c: Likewise.
25492 * misc/readv.c: Likewise.
25493 * misc/reboot.c: Likewise.
25494 * misc/remap_file_pages.c: Likewise.
25495 * misc/removexattr.c: Likewise.
25496 * misc/revoke.c: Likewise.
25497 * misc/select.c: Likewise.
25498 * misc/setdomain.c: Likewise.
25499 * misc/setegid.c: Likewise.
25500 * misc/seteuid.c: Likewise.
25501 * misc/sethostid.c: Likewise.
25502 * misc/sethostname.c: Likewise.
25503 * misc/setregid.c: Likewise.
25504 * misc/setreuid.c: Likewise.
25505 * misc/setxattr.c: Likewise.
25506 * misc/sstk.c: Likewise.
25507 * misc/stty.c: Likewise.
25508 * misc/swapoff.c: Likewise.
25509 * misc/swapon.c: Likewise.
25510 * misc/sync.c: Likewise.
25511 * misc/syncfs.c: Likewise.
25512 * misc/syscall.c: Likewise.
25513 * misc/truncate.c: Likewise.
25514 * misc/ualarm.c: Likewise.
25515 * misc/usleep.c: Likewise.
25516 * misc/ustat.c: Likewise.
25517 * misc/utimes.c: Likewise.
25518 * misc/vhangup.c: Likewise.
25519 * misc/writev.c: Likewise.
25520 * posix/_exit.c: Likewise.
25521 * posix/alarm.c: Likewise.
25522 * posix/execve.c: Likewise.
25523 * posix/fexecve.c: Likewise.
25524 * posix/fork.c: Likewise.
25525 * posix/fpathconf.c: Likewise.
25526 * posix/getaddrinfo.c: Likewise.
25527 * posix/getegid.c: Likewise.
25528 * posix/geteuid.c: Likewise.
25529 * posix/getgid.c: Likewise.
25530 * posix/getgroups.c: Likewise.
25531 * posix/getlogin.c: Likewise.
25532 * posix/getlogin_r.c: Likewise.
25533 * posix/getpgid.c: Likewise.
25534 * posix/getpid.c: Likewise.
25535 * posix/getppid.c: Likewise.
25536 * posix/getresgid.c: Likewise.
25537 * posix/getresuid.c: Likewise.
25538 * posix/getsid.c: Likewise.
25539 * posix/getuid.c: Likewise.
25540 * posix/glob64.c: Likewise.
25541 * posix/nanosleep.c: Likewise.
25542 * posix/pathconf.c: Likewise.
25543 * posix/pause.c: Likewise.
25544 * posix/posix_madvise.c: Likewise.
25545 * posix/pread.c: Likewise.
25546 * posix/pread64.c: Likewise.
25547 * posix/pwrite.c: Likewise.
25548 * posix/pwrite64.c: Likewise.
25549 * posix/sched_getaffinity.c: Likewise.
25550 * posix/sched_getp.c: Likewise.
25551 * posix/sched_gets.c: Likewise.
25552 * posix/sched_primax.c: Likewise.
25553 * posix/sched_primin.c: Likewise.
25554 * posix/sched_rr_gi.c: Likewise.
25555 * posix/sched_setaffinity.c: Likewise.
25556 * posix/sched_setp.c: Likewise.
25557 * posix/sched_sets.c: Likewise.
25558 * posix/sched_yield.c: Likewise.
25559 * posix/setgid.c: Likewise.
25560 * posix/setlogin.c: Likewise.
25561 * posix/setpgid.c: Likewise.
25562 * posix/setresgid.c: Likewise.
25563 * posix/setresuid.c: Likewise.
25564 * posix/setsid.c: Likewise.
25565 * posix/setuid.c: Likewise.
25566 * posix/sleep.c: Likewise.
25567 * posix/spawni.c: Likewise.
25568 * posix/sysconf.c: Likewise.
25569 * posix/times.c: Likewise.
25570 * posix/wait.c: Likewise.
25571 * posix/wait3.c: Likewise.
25572 * posix/wait4.c: Likewise.
25573 * posix/waitpid.c: Likewise.
25574 * resolv/gai_sigqueue.c: Likewise.
25575 * resource/getpriority.c: Likewise.
25576 * resource/getrlimit.c: Likewise.
25577 * resource/getrusage.c: Likewise.
25578 * resource/nice.c: Likewise.
25579 * resource/setpriority.c: Likewise.
25580 * resource/setrlimit.c: Likewise.
25581 * resource/ulimit.c: Likewise.
25582 * rt/aio_cancel.c: Likewise.
25583 * rt/aio_fsync.c: Likewise.
25584 * rt/aio_read.c: Likewise.
25585 * rt/aio_sigqueue.c: Likewise.
25586 * rt/aio_suspend.c: Likewise.
25587 * rt/aio_write.c: Likewise.
25588 * rt/clock_getres.c: Likewise.
25589 * rt/clock_gettime.c: Likewise.
25590 * rt/clock_nanosleep.c: Likewise.
25591 * rt/clock_settime.c: Likewise.
25592 * rt/lio_listio.c: Likewise.
25593 * rt/mq_close.c: Likewise.
25594 * rt/mq_getattr.c: Likewise.
25595 * rt/mq_notify.c: Likewise.
25596 * rt/mq_open.c: Likewise.
25597 * rt/mq_receive.c: Likewise.
25598 * rt/mq_send.c: Likewise.
25599 * rt/mq_setattr.c: Likewise.
25600 * rt/mq_timedreceive.c: Likewise.
25601 * rt/mq_timedsend.c: Likewise.
25602 * rt/mq_unlink.c: Likewise.
25603 * rt/shm_open.c: Likewise.
25604 * rt/shm_unlink.c: Likewise.
25605 * rt/timer_create.c: Likewise.
25606 * rt/timer_delete.c: Likewise.
25607 * rt/timer_getoverr.c: Likewise.
25608 * rt/timer_gettime.c: Likewise.
25609 * rt/timer_settime.c: Likewise.
25610 * setjmp/__longjmp.c: Likewise.
25611 * setjmp/setjmp.c: Likewise.
25612 * signal/kill.c: Likewise.
25613 * signal/killpg.c: Likewise.
25614 * signal/raise.c: Likewise.
25615 * signal/sigaction.c: Likewise.
25616 * signal/sigaltstack.c: Likewise.
25617 * signal/sigblock.c: Likewise.
25618 * signal/sigignore.c: Likewise.
25619 * signal/sigintr.c: Likewise.
25620 * signal/signal.c: Likewise.
25621 * signal/sigpause.c: Likewise.
25622 * signal/sigpending.c: Likewise.
25623 * signal/sigqueue.c: Likewise.
25624 * signal/sigreturn.c: Likewise.
25625 * signal/sigset.c: Likewise.
25626 * signal/sigsetmask.c: Likewise.
25627 * signal/sigstack.c: Likewise.
25628 * signal/sigsuspend.c: Likewise.
25629 * signal/sigtimedwait.c: Likewise.
25630 * signal/sigvec.c: Likewise.
25631 * signal/sigwait.c: Likewise.
25632 * signal/sigwaitinfo.c: Likewise.
25633 * signal/sysv_signal.c: Likewise.
25634 * socket/accept.c: Likewise.
25635 * socket/accept4.c: Likewise.
25636 * socket/bind.c: Likewise.
25637 * socket/connect.c: Likewise.
25638 * socket/getpeername.c: Likewise.
25639 * socket/getsockname.c: Likewise.
25640 * socket/getsockopt.c: Likewise.
25641 * socket/isfdtype.c: Likewise.
25642 * socket/listen.c: Likewise.
25643 * socket/recv.c: Likewise.
25644 * socket/recvfrom.c: Likewise.
25645 * socket/recvmsg.c: Likewise.
25646 * socket/send.c: Likewise.
25647 * socket/sendmsg.c: Likewise.
25648 * socket/sendto.c: Likewise.
25649 * socket/setsockopt.c: Likewise.
25650 * socket/shutdown.c: Likewise.
25651 * socket/sockatmark.c: Likewise.
25652 * socket/socket.c: Likewise.
25653 * socket/socketpair.c: Likewise.
25654 * stdio-common/ctermid.c: Likewise.
25655 * stdio-common/cuserid.c: Likewise.
25656 * stdio-common/remove.c: Likewise.
25657 * stdio-common/rename.c: Likewise.
25658 * stdio-common/renameat.c: Likewise.
25659 * stdio-common/tempname.c: Likewise.
25660 * stdlib/getcontext.c: Likewise.
25661 * stdlib/makecontext.c: Likewise.
25662 * stdlib/setcontext.c: Likewise.
25663 * stdlib/swapcontext.c: Likewise.
25664 * stdlib/system.c: Likewise.
25665 * streams/fattach.c: Likewise.
25666 * streams/fdetach.c: Likewise.
25667 * streams/getmsg.c: Likewise.
25668 * streams/getpmsg.c: Likewise.
25669 * streams/putmsg.c: Likewise.
25670 * streams/putpmsg.c: Likewise.
25671 * sysdeps/unix/bsd/getpt.c: Likewise.
25672 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25673 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25674 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25677 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25678 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25679 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25680 * sysvipc/msgctl.c: Likewise.
25681 * sysvipc/msgget.c: Likewise.
25682 * sysvipc/msgrcv.c: Likewise.
25683 * sysvipc/msgsnd.c: Likewise.
25684 * sysvipc/semctl.c: Likewise.
25685 * sysvipc/semget.c: Likewise.
25686 * sysvipc/semop.c: Likewise.
25687 * sysvipc/semtimedop.c: Likewise.
25688 * sysvipc/shmat.c: Likewise.
25689 * sysvipc/shmctl.c: Likewise.
25690 * sysvipc/shmdt.c: Likewise.
25691 * sysvipc/shmget.c: Likewise.
25692 * termios/tcdrain.c: Likewise.
25693 * termios/tcflow.c: Likewise.
25694 * termios/tcflush.c: Likewise.
25695 * termios/tcgetattr.c: Likewise.
25696 * termios/tcgetpgrp.c: Likewise.
25697 * termios/tcsendbrk.c: Likewise.
25698 * termios/tcsetattr.c: Likewise.
25699 * termios/tcsetpgrp.c: Likewise.
25700 * time/adjtime.c: Likewise.
25701 * time/clock.c: Likewise.
25702 * time/getitimer.c: Likewise.
25703 * time/gettimeofday.c: Likewise.
25704 * time/setitimer.c: Likewise.
25705 * time/settimeofday.c: Likewise.
25706 * time/stime.c: Likewise.
25707 * time/time.c: Likewise.
25709 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25711 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25714 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25716 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25718 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25722 FE_TONEAREST before applying Dekker multiplication and Knuth
25723 addition. Clear inexact exceptions and check for exact zero
25724 results afterwards.
25725 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25728 * math/libm-test.inc (fma_test): Add more tests.
25729 (fma_test_towardzero): Likewise.
25730 (fma_test_downward): Likewise.
25731 (fma_test_upward): Likewise.
25732 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25734 (libc_fesetround): New macro.
25735 (libc_fesetroundf): Likewise.
25736 (libc_fesetroundl): Likewise.
25737 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25739 (libc_fesetround_387): Likewise.
25740 (libc_fesetroundf): New macro.
25741 (libc_fesetround): Likewise.
25742 (libc_fesetroundl): Likewise.
25743 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25745 (libc_fesetroundf): New macro.
25746 (libc_fesetround): Likewise.
25747 (libc_fesetroundl): Likewise.
25748 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25749 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25750 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25752 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25753 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25755 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25756 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25758 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25762 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25763 integer constant usable in #if and use that to give value to enum
25765 (FE_DIVBYZERO): Likewise.
25766 (FE_UNDERFLOW): Likewise.
25767 (FE_OVERFLOW): Likewise.
25768 (FE_INVALID): Likewise.
25769 (FE_INVALID_SNAN): Likewise.
25770 (FE_INVALID_ISI): Likewise.
25771 (FE_INVALID_IDI): Likewise.
25772 (FE_INVALID_ZDZ): Likewise.
25773 (FE_INVALID_IMZ): Likewise.
25774 (FE_INVALID_COMPARE): Likewise.
25775 (FE_INVALID_SOFTWARE): Likewise.
25776 (FE_INVALID_SQRT): Likewise.
25777 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25778 (FE_TONEAREST): Likewise.
25779 (FE_TOWARDZERO): Likewise.
25780 (FE_UPWARD): Likewise.
25781 (FE_DOWNWARD): Likewise.
25782 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25783 (FE_DIVBYZERO): Likewise.
25784 (FE_OVERFLOW): Likewise.
25785 (FE_UNDERFLOW): Likewise.
25786 (FE_INEXACT): Likewise.
25787 (FE_TONEAREST): Likewise.
25788 (FE_DOWNWARD): Likewise.
25789 (FE_UPWARD): Likewise.
25790 (FE_TOWARDZERO): Likewise.
25791 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25792 (FE_UNDERFLOW): Likewise.
25793 (FE_OVERFLOW): Likewise.
25794 (FE_DIVBYZERO): Likewise.
25795 (FE_INVALID): Likewise.
25796 (FE_TONEAREST): Likewise.
25797 (FE_TOWARDZERO): Likewise.
25798 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25799 (FE_OVERFLOW): Likewise.
25800 (FE_UNDERFLOW): Likewise.
25801 (FE_DIVBYZERO): Likewise.
25802 (FE_INEXACT): Likewise.
25803 (FE_TONEAREST): Likewise.
25804 (FE_TOWARDZERO): Likewise.
25805 (FE_UPWARD): Likewise.
25806 (FE_DOWNWARD): Likewise.
25807 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25808 (FE_DIVBYZERO): Likewise.
25809 (FE_OVERFLOW): Likewise.
25810 (FE_UNDERFLOW): Likewise.
25811 (FE_INEXACT): Likewise.
25812 (FE_TONEAREST): Likewise.
25813 (FE_DOWNWARD): Likewise.
25814 (FE_UPWARD): Likewise.
25815 (FE_TOWARDZERO): Likewise.
25817 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25819 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25821 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25823 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25824 commands. Quote $PWD.
25825 (blacklist_exports): Don't use remove_newlines. Replace "declare
25827 (remove_newlines): Remove.
25829 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25831 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25832 * stdlib/stdlib.h (atof): Moved to ...
25833 * include/bits/stdlib-float.h: Here. New file.
25834 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25835 * stdlib/bits/stdlib-float.h: New file.
25836 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25838 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25841 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25843 * conform/conformtest.pl (@headers): Add fenv.h.
25844 * conform/data/fenv.h-data: New file.
25845 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25846 include of <math/fenv.h>.
25848 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25849 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25850 && !UNIX98]. Enables tests for XOPEN2K8.
25851 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25852 POSIX2008]: Likewise.
25854 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25855 (struct rusage): Do not expect type or its members.
25858 * math/math.h (FP_NAN): Define macro to integer constant usable in
25859 #if and use that to give value to enum constant.
25860 (FP_INFINITE): Likewise.
25861 (FP_ZERO): Likewise.
25862 (FP_SUBNORMAL): Likewise.
25863 (FP_NORMAL): Likewise.
25865 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25867 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25868 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25871 2012-11-02 Roland McGrath <roland@hack.frob.com>
25873 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25874 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25875 autoconf-time if not.
25876 * configure.in: Remove AC_PREREQ.
25878 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25880 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25881 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25882 of the internal implementation.
25884 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25886 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25887 except include of <misc/sys/syslog.h>.
25889 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25892 function returns with a NULL context exit with zero.
25894 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25896 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25898 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25900 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25901 (run_program_cmd): This.
25902 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25903 (tst_langinfo): New variable. Use it.
25905 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25907 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25908 floating point opcodes.
25910 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25912 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25915 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25917 * sysdeps/mach/hurd/powerpc: Remove directory.
25918 * sysdeps/mach/powerpc: Likewise.
25920 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25922 * scripts/check-local-headers.sh: Ignore c++ headers.
25924 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25926 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25927 __libc_cleanup_region_start argument.
25929 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25934 x * y using scaling, not as x * y + z.
25935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25937 * math/libm-test.inc (fma_test): Add more tests.
25938 (fma_test_towardzero): Likewise.
25939 (fma_test_downward): Likewise.
25940 (fma_test_upward): Likewise.
25942 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25944 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25946 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25948 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25951 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25953 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25955 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25962 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25965 Fix the order of the list for glibc 2.17.
25966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25969 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25973 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25976 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25977 for low part of x being zero before using __atanl (y).
25978 * math/libm-test.inc (atan2_test): Add another test.
25980 * manual/install.texi (Configuring and compiling): Document
25981 general use of test-wrapper and test-wrapper-env.
25982 * INSTALL: Regenerated.
25984 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25985 (__fma): Do not extract and scale down low bits on after-rounding
25986 systems when result rounded to normal precision would have normal
25988 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25989 (__fmal): Do not extract and scale down low bits on after-rounding
25990 systems when result rounded to normal precision would have normal
25992 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25993 (__fmal): Do not extract and scale down low bits on after-rounding
25994 systems when result rounded to normal precision would have normal
25996 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25998 (fma_test): Add more tests.
25999 (fma_test_towardzero): Likewise.
26000 (fma_test_downward): Likewise.
26001 (fma_test_upward): Likewise.
26003 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26005 * sysdeps/i386/tininess.h: Renamed to ...
26006 * sysdeps/x86/tininess.h: This.
26007 * sysdeps/x86_64/tininess.h: Removed.
26009 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26011 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26012 input. Use $(build-program-cmd).
26013 ($(objpfx)tst-array1-static.out): Likewise.
26014 ($(objpfx)tst-array2.out): Likewise.
26015 ($(objpfx)tst-array3.out): Likewise.
26016 ($(objpfx)tst-array4.out): Likewise.
26017 ($(objpfx)tst-array5.out): Likewise.
26018 ($(objpfx)tst-array5-static.out): Likewise.
26020 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26022 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26025 * nss/nsswitch.h (nss_interface_function): Provide new
26026 macro for use with NSS functions.
26027 * grp/initgroups.c: Use new macro.
26028 * nss/getXXbyYY.c: Likewise.
26029 * nss/getXXbyYY_r.c: Likewise.
26030 * nss/getXXent.c: Likewise.
26031 * nss/getXXent_r.c: Likewise.
26032 * sysdeps/posix/getaddrinfo.c: Likewise.
26034 2012-10-30 Andreas Jaeger <aj@suse.de>
26036 * po/ru.po: Update Russion translation from translation project.
26038 2012-10-30 Joseph Myers <joseph@codesourcery.com>
26042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26043 result and shift together with sticky bit instead of replicating
26044 round-to-nearest rounding.
26045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26047 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26048 missing underflow exceptions.
26049 (fma_test_towardzero): Add more tests.
26050 (fma_test_downward): Likewise.
26051 (fma_test_upward): Likewise.
26054 * sysdeps/generic/tininess.h: New file.
26055 * sysdeps/i386/tininess.h: Likewise.
26056 * sysdeps/sh/tininess.h: Likewise.
26057 * sysdeps/x86_64/tininess.h: Likewise.
26058 * stdlib/tst-strtod-underflow.c: Likewise.
26059 * stdlib/tst-tininess.c: Likewise.
26060 * stdlib/strtod_l.c: Include <tininess.h>.
26061 (round_and_return): Do not set errno for exact underflow cases.
26062 Force an underflow exception when setting errno for underflow.
26063 Determine underflow based on rounding to normal precision if
26064 TININESS_AFTER_ROUNDING.
26065 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26066 ERANGE for exact underflow cases.
26067 * stdlib/Makefile (tests): Add tst-tininess and
26068 tst-strtod-underflow.
26069 ($(objpfx)tst-tininess): Use $(link-libm).
26070 ($(objpfx)tst-strtod-underflow): Likewise.
26072 2012-10-30 Andreas Jaeger <aj@suse.de>
26075 * elf/Makefile (tests): Remove conditional for have-initfini-array
26076 since this is now always required and the variable does not exist
26078 (tests-static): Likewise.
26079 (modules-names): Likewise.
26081 * po/eo.po: Add Esperanto translation from translation project.
26083 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26084 merged with constructor/destructor.
26085 (init_array): Likewise.
26086 * elf/tst-array2dep.c (fini_array): Likewise.
26087 (init_array): Likewise.
26089 2012-10-29 Mike Frysinger <vapier@gentoo.org>
26091 * manual/message.texi: Delete @cartouche tags.
26093 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26095 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26097 * sysdeps/mach/hurd/fsync.c: Likewise.
26099 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26100 [_POSIX_REALTIME_SIGNALS]: Change condition to
26101 [_POSIX_REALTIME_SIGNALS > 0].
26103 2012-10-27 Andreas Jaeger <aj@suse.de>
26105 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26106 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26108 [__WORDSIZE != 64]: Likewise.
26110 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26112 * iconvdata/tst-table.sh: Remove ${SHELL}.
26113 * iconvdata/tst-tables.sh: Likewise.
26115 2012-10-25 David S. Miller <davem@davemloft.net>
26117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26118 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26123 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26124 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26125 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26128 2012-10-25 Roland McGrath <roland@hack.frob.com>
26130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26131 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26134 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26135 Jim Blandy <jimb@codesourcery.com>
26137 * scripts/cross-test-ssh.sh: New file.
26138 * manual/install.texi (Configuring and compiling): Document use of
26140 * INSTALL: Regenerated.
26142 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26144 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26147 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26149 * Makeconfig (run-program-prefix): Fix comment.
26151 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26152 Jim Blandy <jimb@codesourcery.com>
26154 * Makeconfig (test-wrapper): New variable,
26155 (test-wrapper-env): Likewise.
26156 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26157 (run-built-tests): Define to yes.
26158 (run-program-prefix): Use $(test-wrapper).
26159 (built-program-cmd): Likewise.
26160 * Rules (make-test-out): Use $(test-wrapper-env) and
26161 $(host-built-program-cmd).
26162 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26163 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26165 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26166 $(test-wrapper-env) to tst-rtld-load-self.sh.
26167 ($(objpfx)order2.out): Use $(test-wrapper).
26168 ($(objpfx)tst-initorder.out): Likewise.
26169 ($(objpfx)tst-initorder2.out): Likewise.
26170 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26171 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26172 (test_wrapper_env): New variable. Use it to run ld.so.
26173 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26174 Use it to run ld.so.
26175 (test_wrapper_env): Likewise.
26176 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26177 $(test-wrapper) to run-iconv-test.sh.
26178 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26179 (ICONV): Use $test_wrapper.
26180 * posix/Makefile ($(objpfx)globtest.out): Pass
26181 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26182 globtest.sh, not $(run-program-prefix).
26183 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26184 (test_wrapper): Likewise.
26185 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26186 set together with run_via_rtld_prefix.
26187 (run_program_prefix): Define in terms of test_wrapper and
26188 run_via_rtld_prefix.
26190 2012-10-24 Roland McGrath <roland@hack.frob.com>
26192 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26193 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26197 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26198 Declare __clock_getres, __clock_gettime, __clock_settime,
26199 __clock_nanosleep, and __clock_getcpuclockid.
26200 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26201 Remove librt_hidden_def (clock_gettime).
26202 * sysdeps/unix/clock_gettime.c: Likewise.
26203 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26204 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26205 * rt/clock_getres.c: Define __clock_getres as an alias.
26206 * sysdeps/posix/clock_getres.c: Likewise.
26207 * rt/clock_settime.c: Define __clock_settime as an alias.
26208 * sysdeps/unix/clock_settime.c: Likewise.
26209 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26210 * sysdeps/unix/clock_nanosleep.c: Likewise.
26211 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26212 * rt/clock-compat.c: New file.
26213 * rt/Makefile (librt-routines): Add clock-compat and move
26214 $(clock-routines) to ...
26215 (routines): ... here, new variable.
26216 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26217 Don't add get_clockfreq here.
26218 * rt/Versions (libc: GLIBC_2.17): New version set.
26219 Add clock_* symbols here.
26220 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26222 (GLIBC_2.17): Add clock_* symbols.
26223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26234 * NEWS: Mention the move.
26236 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26237 Use __open, __read, __close rather than their public counterparts.
26238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26239 (__get_clockfreq_via_cpuinfo): Likewise.
26240 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26241 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26243 * config.h.in (HAVE_IFUNC): New #undef.
26244 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26246 * configure: Regenerated.
26248 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26250 * configure.in: Move READELF check to start of file.
26251 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26252 libc_cv_asm_gnu_indirect_function in the process.
26253 * configure: Regenerated.
26255 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26257 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26258 send the output to /dev/null.
26259 (libc_cv_cc_with_libunwind): Likewise.
26260 (libc_cv_as_noexecstack): Likewise.
26261 * configure: Regenerate.
26263 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26265 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26267 * posix/globtest.sh (TMPDIR): Do not set.
26268 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26269 (testout): Likewise.
26271 2012-10-24 Andreas Jaeger <aj@suse.de>
26273 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26274 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26275 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26276 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26277 posix_fadvise64, posix_fallocate64.
26279 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26280 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26281 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26283 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26285 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26288 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26289 <bits/fcntl-linux.h>.
26290 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26293 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26294 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26295 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26296 [__WORDSIZE != 64]: Likewise.
26298 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26300 * Makeconfig (run-built-tests): New variable.
26301 * Rules [$(cross-compiling) = yes]: Change condition to
26302 [$(run-built-tests) = no].
26303 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26304 to [$(run-built-tests) = yes].
26305 * elf/Makefile [$(cross-compiling) = no]: Likewise
26306 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26307 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26308 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26309 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26310 * io/Makefile [$(cross-compiling) = no]: Likewise.
26311 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26312 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26313 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26314 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26315 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26316 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26317 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26318 * string/Makefile [$(cross-compiling) = no]: Likewise.
26320 * posix/Makefile ($(objpfx)globtest.out): Pass
26321 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26322 $(rtld-installed-name).
26323 * posix/globtest.sh (elf_objpfx): Remove variable.
26324 (rtld_installed_name): Likewise.
26325 (library_path): Likewise.
26326 (run_program_prefix): New variable. Use for running globtest
26329 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26330 Joseph Myers <joseph@codesourcery.com>
26332 * Makeconfig (host-built-program-cmd): New variable.
26333 * elf/Makefile (tst-stackguard1-ARGS): Use
26334 $(host-built-program-cmd).
26335 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26336 (tst-spawn-ARGS): Likewise.
26337 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26339 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26340 Jim Blandy <jimb@codesourcery.com>
26342 * Makeconfig (run-via-rtld-prefix): New variable.
26343 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26344 (built-program-cmd): Likewise.
26346 2012-10-22 Andreas Jaeger <aj@suse.de>
26348 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26349 __O_RSYNC if it exists, otherwise to O_SYNC.
26351 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26352 Joseph Myers <joseph@codesourcery.com>
26354 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26356 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26358 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26361 2012-10-22 Andreas Jaeger <aj@suse.de>
26363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26368 bits/fcntl-linux.h.
26370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26371 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26378 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26379 Joseph Myers <joseph@codesourcery.com>
26381 * config.make.in (NM): New variable.
26383 2012-10-21 Andreas Jaeger <aj@suse.de>
26385 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26386 definitions and declarations that are provided by
26387 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26389 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26392 * elf/Makefile (tests-static): Add tst-leaks1-static.
26393 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26394 ($(objpfx)tst-leaks1-static): New rule.
26395 ($(objpfx)tst-leaks1-static-mem): Likewise.
26396 (tst-leaks1-static-ENV): New macro.
26397 * elf/dl-open.c (dl_open_worker): Check the main application
26398 only if SHARED is defined.
26399 * elf/tst-leaks1-static.c: New file.
26401 2012-10-20 Andreas Jaeger <aj@suse.de>
26403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26404 generic values for Linux.
26405 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26406 and declarations that are provided by <bits/fcntl-linux.h> and
26407 include <bits/fcntl-linux.h>.
26408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26409 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26411 2012-10-20 Roland McGrath <roland@hack.frob.com>
26413 * io/fcntl.h: Move include of <bits/types.h> to the top and
26414 include it unconditionally.
26416 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26418 * wcsmbs/Makefile (tests-ifunc): New variable.
26419 (tests): Add $(tests-ifunc).
26420 * wcsmbs/test-wcschr-ifunc.c: New file.
26421 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26422 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26423 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26424 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26425 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26427 * string/Makefile (tests-ifunc): New variable.
26428 (tests): Add $(tests-ifunc).
26429 * string/test-memccpy.c (TEST_NAME): New macro.
26430 * string/test-memchr.c (TEST_NAME): Likewise.
26431 * string/test-memcmp.c (TEST_NAME): Likewise.
26432 * string/test-memcpy.c (TEST_NAME): Likewise.
26433 * string/test-memmem.c (TEST_NAME): Likewise.
26434 * string/test-memmove.c (TEST_NAME): Likewise.
26435 * string/test-memset.c (TEST_NAME): Likewise.
26436 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26437 * string/test-stpcpy.c (TEST_NAME): Likewise.
26438 * string/test-stpncpy.c (TEST_NAME): Likewise.
26439 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26440 * string/test-strcasestr.c (TEST_NAME): Likewise.
26441 * string/test-strcat.c (TEST_NAME): Likewise.
26442 * string/test-strchr.c (TEST_NAME): Likewise.
26443 * string/test-strcmp.c(TEST_NAME): Likewise.
26444 * string/test-strcpy.c (TEST_NAME): Likewise.
26445 * string/test-strcspn.c (TEST_NAME): Likewise.
26446 * string/test-strlen.c (TEST_NAME): Likewise.
26447 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26448 * string/test-strncmp.c (TEST_NAME): Likewise.
26449 * string/test-strncpy.c (TEST_NAME): Likewise.
26450 * string/test-strnlen.c (TEST_NAME): Likewise.
26451 * string/test-strpbrk.c (TEST_NAME): Likewise.
26452 * string/test-strrchr.c (TEST_NAME): Likewise.
26453 * string/test-strspn.c (TEST_NAME): Likewise.
26454 * string/test-strstr.c (TEST_NAME): Likewise.
26455 * string/test-bcopy-ifunc.c: New file.
26456 * string/test-bzero-ifunc.c: Likewise.
26457 * string/test-memccpy-ifunc.c: Likewise.
26458 * string/test-memchr-ifunc.c: Likewise.
26459 * string/test-memcmp-ifunc.c: Likewise.
26460 * string/test-memcpy-ifunc.c: Likewise.
26461 * string/test-memmem-ifunc.c: Likewise.
26462 * string/test-memmove-ifunc.c: Likewise.
26463 * string/test-mempcpy-ifunc.c: Likewise.
26464 * string/test-memset-ifunc.c: Likewise.
26465 * string/test-rawmemchr-ifunc.c: Likewise.
26466 * string/test-stpcpy-ifunc.c: Likewise.
26467 * string/test-stpncpy-ifunc.c: Likewise.
26468 * string/test-strcasecmp-ifunc.c: Likewise.
26469 * string/test-strcasestr-ifunc.c: Likewise.
26470 * string/test-strcat-ifunc.c: Likewise.
26471 * string/test-strchr-ifunc.c: Likewise.
26472 * string/test-strchrnul-ifunc.c: Likewise.
26473 * string/test-strcmp-ifunc.c: Likewise.
26474 * string/test-strcpy-ifunc.c: Likewise.
26475 * string/test-strcspn-ifunc.c: Likewise.
26476 * string/test-strlen-ifunc.c: Likewise.
26477 * string/test-strncasecmp-ifunc.c: Likewise.
26478 * string/test-strncat-ifunc.c: Likewise.
26479 * string/test-strncmp-ifunc.c: Likewise.
26480 * string/test-strncpy-ifunc.c: Likewise.
26481 * string/test-strnlen-ifunc.c: Likewise.
26482 * string/test-strpbrk-ifunc.c: Likewise.
26483 * string/test-strrchr-ifunc.c: Likewise.
26484 * string/test-strspn-ifunc.c: Likewise.
26485 * string/test-strstr-ifunc.c: Likewise.
26487 * debug/Makefile (tests-ifunc): New variable.
26488 (tests): Add $(tests-ifunc).
26489 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26490 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26491 * debug/test-stpcpy_chk-ifunc.c: New file.
26492 * debug/test-strcpy_chk-ifunc.c: Likewise.
26494 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26497 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26498 header is not read in.
26500 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26502 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26503 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26504 directly. Pass built executable to script as
26505 $(built-program-cmd).
26506 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26507 $testprogram without using LD_LIBRARY_PATH and $ldso.
26509 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26510 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26511 $(rtld-installed-name).
26512 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26513 (rtld_installed_name): Likewise.
26514 (library_path): Likewise.
26515 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26516 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26517 $(run-program-prefix) to tst-tables.sh.
26518 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26519 it to run tst-table-from and tst-table-to.
26520 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26521 Pass it to tst-table.sh.
26522 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26523 $(run-program-prefix) to tst-gettext.sh.
26524 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26526 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26528 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26529 to run tst-gettext.
26530 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26531 to run tst-gettext2.
26532 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26533 to run tst-translit.
26534 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26535 $(run-program-prefix) to tst-mtrace.sh.
26536 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26538 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26539 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26540 $(rtld-installed-name).
26541 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26542 (rtld_installed_name): Likewise.
26543 (run_program_prefix): New variable. Use it to run wordexp-test.
26545 * Makeconfig (ARCH): Remove all definitions.
26546 (machine): Likewise.
26547 [ARCH]: Remove conditional code.
26548 [!objdir]: Give error.
26549 [!objdir] (objpfx): Remove.
26550 [!objdir] (common-objpfx): Likewise.
26551 [!objdir] (common-objdir): Likewise.
26552 * configure.in (config_makefile): Remove. Hardcode Makefile in
26553 AC_CONFIG_FILES call.
26554 * configure: Regenerated.
26557 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26559 (testout): Likewise.
26561 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26562 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26563 $(rtld-installed-name).
26564 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26565 (rtld_installed_name): Likwise.
26566 (runit): Remove function.
26567 (run_getconf): New variable, Use it for running getconf binary.
26569 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26572 * string/test-memmem.c (check_result): New function.
26573 (do_one_test): Use it.
26574 (check1): New function.
26575 (test_main): Use it.
26577 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26579 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26581 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26583 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26584 (_G_LSEEK64): Likewise.
26585 (_G_MMAP64): Likewise.
26586 (_G_FSTAT64): Likewise.
26587 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26588 (_G_LSEEK64): Likewise.
26589 (_G_MMAP64): Likewise.
26590 (_G_FSTAT64): Likewise.
26591 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26592 unconditional. Call __mmap64 directly.
26593 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26594 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26595 __lseek64 directly.
26596 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26597 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26599 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26600 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26601 __lseek64 directly.
26602 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26603 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26604 __lseek64 directly.
26605 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26606 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26607 __lseek64 directly.
26608 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26609 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26610 __fxstat64 directly.
26611 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26612 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26614 (freopen64) [!_G_OPEN64]: Remove conditional code.
26615 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26617 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26618 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26620 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26621 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26623 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26624 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26626 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26627 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26629 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26630 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26632 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26633 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26635 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26637 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26640 * manual/memory.texi (Malloc Tunable Parameters): Add note
26641 about free list pointers overwriting some perturb bytes.
26642 Wording suggested by Roland McGrath.
26644 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26646 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26647 (lgamma_test): Likewise.
26648 (tgamma_test): Likewise.
26650 2012-10-16 Florian Weimer <fweimer@redhat.com>
26653 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26654 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26656 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26658 * NEWS: Mention BZ #14716.
26659 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26660 when removing AVAILABLE1_USES_J macro.
26662 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26664 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26665 (__bswap_64): __uint64_t for unsigned 64-bit int.
26667 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26669 * include/string.h (memmem): Declare libc hidden alias.
26670 * string/memmem.c (memmem): Define libc hidden alias.
26671 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26672 __read, __close instead of open, read, close.
26674 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26677 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26679 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26680 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26681 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26683 (__rawmemchr_sse2): Likewise.
26684 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26685 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26686 (__strchr_sse2): Likewise.
26687 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26688 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26689 (__strcasecmp_sse2): Likewise.
26690 (__strncasecmp_sse2): Likewise.
26691 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26692 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26693 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26694 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26695 (__strrchr_sse2): Likewise.
26696 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26698 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26699 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26700 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26701 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26702 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26703 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26704 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26705 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26706 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26707 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26708 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26709 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26710 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26711 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26712 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26713 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26714 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26715 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26716 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26717 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26718 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26719 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26720 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26721 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26722 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26723 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26724 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26725 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26726 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26727 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26729 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26731 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26732 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26733 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26734 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26736 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26738 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26739 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26740 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26741 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26743 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26744 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26745 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26746 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26747 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26748 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26749 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26750 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26751 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26752 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26753 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26754 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26755 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26756 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26757 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26758 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26759 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26760 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26761 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26762 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26763 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26764 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26765 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26766 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26768 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26769 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26770 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26771 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26772 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26773 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26774 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26775 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26776 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26777 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26778 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26779 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26780 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26781 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26782 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26783 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26785 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26786 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26787 * include/ifunc-impl-list.h: New file.
26788 * misc/ifunc-impl-list.c: Likewise.
26789 * misc/Makefile (routines): Add ifunc-impl-list.
26790 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26791 * string/test-string.h: Include <ifunc-impl-list.h>.
26792 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26793 TEST_NAME]: New variables.
26794 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26796 (test_init): Call __libc_ifunc_impl_list to initialize
26797 func_list if TEST_IFUNC and TEST_NAME are defined.
26799 * string/Makefile (strop-tests): Add bcopy and bzero.
26800 * string/test-bcopy.c: New file.
26801 * string/test-bzero.c: Likewise.
26802 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26804 * string/test-memset.c: Support bzero test if TEST_BZERO is
26806 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26808 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26810 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26813 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26815 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26816 * configure: Regenerated.
26818 * Makeconfig (+link-static-before-libc): Don't include
26819 $(link-static-libc).
26821 * libio/libio.h (_IO_pos_t): Remove.
26823 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26825 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26828 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26830 * crypt/crypt-entry.c: Include fips-private.h.
26831 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26832 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26833 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26834 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26836 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26838 * crypt/crypt-private.h: Include stdbool.h.
26839 (_ufc_setup_salt_r): Return bool.
26840 * crypt/crypt-entry.c: Include errno.h.
26841 (__crypt_r): Return NULL with EINVAL for bad salt.
26842 * crypt/crypt_util.c (bad_for_salt): New.
26843 (_ufc_setup_salt_r): Check that salt is long enough and within
26844 the specified alphabet.
26845 * crypt/badsalttest.c: New file.
26846 * crypt/Makefile (tests): Add it.
26847 ($(objpfx)badsalttest): New.
26849 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26851 * NEWS: Add entry for BZ #14602.
26853 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26855 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26857 * math/libm-test.inc: Update comment listing what functions and
26859 (isgreater_test): New function.
26860 (isgreaterequal_test): Likewise.
26861 (isless_test): Likewise.
26862 (islessequal_test): Likewise.
26863 (islessgreater_test): Likewise.
26864 (isunordered_test): Likewise.
26865 (main): Call the new functions.
26867 2012-10-09 Roland McGrath <roland@hack.frob.com>
26869 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26870 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26871 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26872 * sysdeps/i386/configure: Regenerated.
26873 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26874 * sysdeps/mach/configure: Regenerated.
26875 * sysdeps/mach/hurd/configure: Regenerated.
26876 * sysdeps/powerpc/configure: Regenerated.
26877 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26878 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26879 * sysdeps/s390/s390-32/configure: Regenerated.
26880 * sysdeps/s390/s390-64/configure: Regenerated.
26881 * sysdeps/sh/configure: Regenerated.
26882 * sysdeps/sparc/configure: Regenerated.
26883 * sysdeps/unix/sysv/linux/configure: Regenerated.
26884 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26885 * sysdeps/x86_64/configure: Regenerated.
26887 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26888 defined. Don't check if MAP is NULL.
26890 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26893 (_G_stat64): Likewise.
26894 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26895 (_G_stat64): Likewise.
26896 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26897 instead of struct _G_stat64.
26898 * libio/fileops.c (mmap_remap_check): Likewise.
26899 (decide_maybe_mmap): Likewise.
26900 (_IO_new_file_seekoff): Likewise.
26901 (_IO_file_stat): Likewise.
26902 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26904 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26905 instead of struct _G_stat64.
26906 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26908 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26911 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26913 (CHECK_EOL): New macro.
26914 (two_way_short_needle): Check beginning of haystack for EOL. Use
26916 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26917 Replace with CHECK_EOL.
26918 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26919 Replace with CHECK_EOL.
26921 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26923 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26925 * math/libm-test.inc: Update comment listing what functions and
26927 (finite_test): New function.
26928 (isinf_test): Likewise.
26929 (isnan_test): Likewise.
26930 (fpclassify_test): Test subnormal input.
26931 (isfinite_test): Likewise.
26932 (isnormal_test): Likewise.
26933 (main): Call the new functions.
26935 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26938 * Makerules (%.dynsym): Force C locale when running
26939 $(OBJDUMP) --dynamic-syms.
26941 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26943 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26946 2012-10-06 David S. Miller <davem@davemloft.net>
26948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26949 upper 32-bits of the length value in %o2 since we use branch-on-register
26950 tests which consider the entire 64-bit register.
26952 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26954 * string/test-strstr.c (check2): Add a test for page boundary.
26956 2012-10-05 David S. Miller <davem@davemloft.net>
26958 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26959 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26961 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26963 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26964 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26965 and bzero when HWCAP_SPARC_CRYPTO is present.
26967 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26970 * string/test-strstr.c (check2): New function.
26971 (test_main): Call check2.
26973 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26975 * string/bug-strcasestr1.c (do_test): Moved to ...
26976 * string/test-strcasestr.c (check1): Here. New function.
26977 (do_one_test): Break out result checking code into ...
26978 (check_result): This. New function.
26979 (do_one_test): Call check_result.
26980 (test_main): Call check1.
26981 * string/bug-strchr1.c (do_test): Moved to ...
26982 * string/test-strchr.c (check1): Here. New function.
26983 (do_one_test): Break out result checking code into ...
26984 (check_result): This. New function.
26985 (do_one_test): Call check_result.
26986 (test_main): Call check1.
26987 * string/bug-strstr1.c (main): Moved to ...
26988 * string/test-strstr.c (check1): Here. New function.
26989 (do_one_test): Break out result checking code into ...
26990 (check_result): This. New function.
26991 (do_one_test): Call check_result.
26992 (test_main): Call check1.
26993 * string/bug-strcasestr1.c: Removed.
26994 * string/bug-strchr1.c: Likewise.
26995 * string/bug-strstr1.c: Likewise.
26997 * elf/Makefile (dl-routines): Add hwcaps.
26998 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26999 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27000 (_dl_important_hwcaps): Moved to ...
27001 * elf/dl-hwcaps.c: Here. New file.
27002 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27005 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27006 if IS_IN_rtld isn't defined.
27008 * elf/dl-support.c (_dl_sysinfo_map): New.
27009 Include "get-dynamic-info.h" and "setup-vdso.h".
27010 (_dl_non_dynamic_init): Call setup_vdso.
27011 * elf/dynamic-link.h: Don't include <assert.h>.
27012 (elf_get_dynamic_info): Moved to ...
27013 * elf/get-dynamic-info.h: Here. New file.
27014 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27015 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27016 * elf/setup-vdso.h: Here. New file.
27017 * elf/rtld.c: Include "setup-vdso.h".
27018 (dl_main): Call setup_vdso.
27020 2012-10-05 Joseph Myers <joseph@codesourcery.com>
27022 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27023 creal in comment listing functions tested. List finite, isinf,
27024 isnan, isless, islessequal, isgreater, isgreaterequal,
27025 islessgreater, isunordered, lgamma_r and pow10 as functions and
27026 macros not tested. Mention which functions not tested are aliases
27027 for other functions. Fix typo. Note that signs of NaNs are not
27030 * scripts/config.guess: Update from config.git.
27031 * scripts/config.sub: Likewise.
27033 2012-10-04 Roland McGrath <roland@hack.frob.com>
27035 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27036 * misc/madvise.c (madvise): Renamed to __madvise.
27037 Make madvise a weak alias.
27038 * include/sys/mman.h: Declare __madvise.
27039 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27040 * sysdeps/unix/syscalls.list
27041 (madvise): Make __madvise the strong name, and madvise a weak alias.
27042 * sysdeps/unix/sysv/linux/syscalls.list
27043 (madvise, mmap): Remove redundant entries.
27044 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27045 * malloc/malloc.c (mtrim): Likewise.
27046 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27048 2012-10-03 Roland McGrath <roland@hack.frob.com>
27050 * sysdeps/mach/hurd/dl-cache.c: File removed.
27051 * config.h.in (USE_LDCONFIG): New #undef.
27052 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27053 * configure: Regenerated.
27054 * elf/Makefile (dl-routines): Add dl-cache only under
27055 [$(use-ldconfig) = yes].
27056 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27057 cache on [USE_LDCONFIG].
27058 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27060 * elf/rtld.c (dl_main): Likewise.
27062 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27064 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27065 _SC_LEVEL4_CACHE_LINESIZE.
27067 2012-10-03 Roland McGrath <roland@hack.frob.com>
27069 * sysdeps/unix/bsd/confstr.h: File removed.
27071 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
27073 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27076 2012-10-02 Roland McGrath <roland@hack.frob.com>
27078 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27079 Make 'mapoff' field ElfW(Off) rather than off_t.
27081 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27083 * nscd/Makefile: Remove nscd-cflags and all its users.
27084 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27085 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27088 * malloc.c (malloc_printerr): Clarify error message.
27090 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27094 Set bit_FMA_Usable if FMA is supported.
27095 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27097 (bit_FMA4_Usable): Updated.
27098 (index_FMA_Usable): New macro.
27099 (CPUID_FMA): Likewise
27100 (HAS_FMA): Defined with bit_FMA_Usable.
27102 2012-10-01 Roland McGrath <roland@hack.frob.com>
27104 * bits/types.h (__swblk_t): Type removed.
27105 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27106 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27108 (__SWBLK_T_TYPE): Likewise.
27109 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27110 (__SWBLK_T_TYPE): Likewise.
27111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27112 (__SWBLK_T_TYPE): Likewise.
27113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27114 (__SWBLK_T_TYPE): Likewise.
27116 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
27117 Honza Horak <hhorak@redhat.com>
27119 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27120 (xdr_mapname): Use YPMAXMAP as maxsize.
27121 (xdr_peername): Use YPMAXPEER as maxsize.
27122 (xdr_keydat): Use YPAXRECORD as maxsize.
27123 (xdr_valdat): Use YPMAXRECORD as maxsize.
27125 2012-10-01 Roland McGrath <roland@hack.frob.com>
27127 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27129 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27130 * csu/init-first.c: ... here.
27131 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27132 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27133 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27135 * sysdeps/i386/init-first.c: File removed.
27136 * sysdeps/sh/init-first.c: File removed.
27138 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27142 if x * y might underflow to zero and z is zero.
27143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27145 * math/libm-test.inc (min_subnorm_value): New variable.
27146 (fma_test): Add more tests.
27147 (fma_test_towardzero): Likewise.
27148 (fma_test_downward): Likewise
27149 (fma_test_upward): Likewise.
27150 (initialize): Set min_subnorm_value.
27152 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27158 mode for addition resulting in exact zero.
27159 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27162 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27164 * math/libm-test.inc (fma_test): Add more tests.
27165 (fma_test_towardzero): New function.
27166 (fma_test_downward): Likewise.
27167 (fma_test_upward): Likewise.
27168 (main): Call the new functions.
27170 2012-09-28 David S. Miller <davem@davemloft.net>
27172 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27174 2012-09-28 Roland McGrath <roland@hack.frob.com>
27176 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27177 instead of SIGALRM.
27179 * sysdeps/gnu/_G_config.h: Moved to ...
27180 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27181 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27182 * sysdeps/generic/_G_config.h: ... here.
27184 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27186 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27188 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27189 Conditionalize target on [libnss_test1.so-version].
27191 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27193 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27194 (elfobjdir): Move out of conditionals.
27196 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27197 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27198 (__nss_lookup_function): Conditionalize label remove_from_tree on
27199 [!DO_STATIC_NSS || SHARED], matching its only use.
27201 2012-09-28 David S. Miller <davem@davemloft.net>
27203 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27206 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27208 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27210 when HWCAP_SPARC_CRYPTO is present.
27212 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27214 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27216 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27219 * stdio-common/vfprintf.c (process_string_arg): Revert
27222 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27224 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27226 * stdio-common/tst-sprintf.c: Include <locale.h>
27227 (main): Test sprintf's handling of incomplete multibyte
27230 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27232 * elf/dl-runtime.c (VERSYMIDX): Removed.
27233 * elf/dl-version.c (VERSYMIDX): Likewise.
27234 * elf/do-rel.h (VERSYMIDX): Likewise.
27235 (VALIDX): Likewise.
27236 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27237 * elf/rtld.c (VALIDX): Likewise.
27238 (ADDRIDX): Likewise.
27239 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27240 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27241 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27242 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27243 (VALIDX): Likewise.
27244 (ADDRIDX): Likewise.
27246 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27248 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27250 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27253 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27255 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27256 addresses are in the same scope as 192.0.2/24.
27257 * posix/gai.conf: Document new scope table defaults.
27259 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27262 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27263 for ftell. Compute offsets from write pointers instead.
27264 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27266 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27269 * libio/Makefile (tests): New test case tst-fseek.
27270 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27271 combination works in wide mode.
27272 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27273 state when the external buffer state changes.
27275 2012-09-27 David S. Miller <davem@davemloft.net>
27278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27279 pass reloc->r_addend in as the 'high' argument to
27280 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27284 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27286 * rt/tst-aio2.c: Include <pthread.h>.
27287 * rt/tst-aio3.c: Likewise.
27289 2012-09-27 Steve Ellcey <sellcey@mips.com>
27291 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27293 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27295 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27296 contents on [SHARED].
27298 2012-09-26 Marek Polacek <polacek@redhat.com>
27302 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27303 for C++ and GCC <4.3 as well as for non GCC compilers.
27305 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27309 2012-09-25 Roland McGrath <roland@hack.frob.com>
27311 * Makefile.in (all, install): Declare with .PHONY.
27312 Reported by Michael Hope <michael.hope@linaro.org>.
27314 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27316 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27317 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27319 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27321 (sydep_routines): Add the new and the internal functions.
27322 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27323 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27325 (GLIBC_2.17): Add the new function.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27327 (GLIBC_2.17): Likewise.
27328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27329 (GLIBC_2.17): Likewise.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27331 (GLIBC_2.17): Likewise.
27332 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27334 2012-09-25 Alan Modra <amodra@gmail.com>
27336 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27337 Add release barrier before setting once_control to say
27338 initialisation is done. Add hints on lwarx. Use macro in
27340 (clear_once_control): Add release barrier.
27342 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27345 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27347 * math/s_clog10.c (__clog10): Likewise.
27348 * math/s_clog10f.c (__clog10f): Likewise.
27349 * math/s_clog10l.c (__clog10l): Likewise.
27350 * math/s_clogf.c (__clogf): Likewise.
27351 * math/s_clogl.c (__clogl): Likewise.
27352 * math/Makefile (libm-calls): Add x2y2m1.
27353 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27354 (__x2y2m1): Likewise.
27355 (__x2y2m1l): Likewise.
27356 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27357 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27360 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27361 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27362 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27363 * sysdeps/i386/fpu/libm-test-ulps: Update.
27364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27367 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27368 int as type of variable DEPTH.
27369 (glob): Use size_t instead of int as type of variables NEWCOUNT
27372 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27374 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27375 Add s_sincosf-sse2.
27376 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27377 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27378 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27379 macros for using routine as __sincosf_ia32.
27380 Use macro for function declaration and weak_alias.
27381 * sysdeps/i386/fpu/libm-test-ulps: Update.
27383 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27384 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27386 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27387 subnormal argument.
27388 * math/s_cexpf.c (__cexpf): Likewise.
27389 * math/s_csinf.c (__csinf): Likewise.
27390 * math/s_csinhf.c (__csinhf): Likewise.
27391 * math/s_ctanf.c (__ctanf): Likewise.
27392 * math/s_ctanhf.c (__ctanhf): Likewise.
27393 * math/s_ccosh.c (__ccoshf): Likewise.
27394 * math/s_cexp.c (__cexpl): Likewise.
27395 * math/s_csin.c (__csin): Likewise.
27396 * math/s_csinh.c (__csinh): Likewise.
27397 * math/s_ctan.c (__ctan): Likewise.
27398 * math/s_ctanh.c (ctanh): Likewise.
27399 * math/s_ccoshl.c (__ccoshl): Likewise.
27400 * math/s_cexpl.c (__cexpl): Likewise.
27401 * math/s_csinl.c (__csinl): Likewise.
27402 * math/s_csinhl.c (__csinhl): Likewise.
27403 * math/s_ctanl.c (__ctanl): Likewise.
27404 * math/s_ctanhl.c (__ctanhl): Likewise.
27406 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27408 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27409 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27410 (_IO_off_t): Define to __off_t, not _G_off_t.
27411 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27412 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27413 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27414 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27415 type of __dummy and __dummy2 fields.
27416 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27417 (_G_ssize_t): Likewise.
27418 (_G_off_t): Likewise.
27419 (_G_pid_t): Likewise.
27420 (_G_uid_t): Likewise.
27421 (_G_wchar_t): Likewise.
27422 (_G_wint_t): Likewise.
27423 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27424 (_G_ssize_t): Likewise.
27425 (_G_off_t): Likewise.
27426 (_G_pid_t): Likewise.
27427 (_G_uid_t): Likewise.
27428 (_G_wchar_t): Likewise.
27429 (_G_wint_t): Likewise.
27430 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27431 (_G_ssize_t): Likewise.
27432 (_G_off_t): Likewise.
27433 (_G_pid_t): Likewise.
27434 (_G_uid_t): Likewise.
27435 (_G_wchar_t): Likewise.
27436 (_G_wint_t): Likewise.
27438 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27440 * malloc/arena.c: Include malloc-sysdep.h.
27441 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27442 is sufficient to shrink the heap or an unmap is needed.
27443 * sysdeps/generic/malloc-sysdep.h: New file. Define
27444 new function check_may_shrink_heap.
27445 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27446 new function check_may_shrink_heap.
27448 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27450 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27453 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27455 * catgets/test-gencat.sh: Add "set -e".
27456 * elf/tst-pathopt.sh: Likewise.
27457 * grp/tst_fgetgrent.sh: Likewise.
27458 * iconvdata/run-iconv-test.sh: Likewise.
27459 * intl/tst-gettext.sh: Likewise.
27460 * intl/tst-gettext2.sh: Likewise.
27461 * intl/tst-gettext4.sh: Likewise.
27462 * intl/tst-gettext6.sh: Likewise.
27463 * intl/tst-translit.sh: Likewise.
27464 * io/ftwtest-sh: Likewise.
27465 * libio/test-freopen.sh: Likewise.
27466 * malloc/tst-mtrace.sh: Likewise.
27467 * posix/globtest.sh: Likewise.
27468 * posix/tst-getconf.sh: Likewise.
27469 * posix/wordexp-tst.sh: Likewise.
27470 * stdio-common/tst-printf.sh: Likewise.
27471 * stdio-common/tst-unbputc.sh: Likewise.
27472 * stdlib/tst-fmtmsg.sh: Likewise.
27473 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27474 * catgets/Makefile: Do not specify -e option when running
27475 testsuite shell scripts.
27476 * elf/Makefile: Likewise.
27477 * grp/Makefile: Likewise.
27478 * iconvdata/Makefile: Likewise.
27479 * intl/Makefile: Likewise.
27480 * io/Makefile: Likewise.
27481 * libio/Makefile: Likewise.
27482 * malloc/Makefile: Likewise.
27483 * posix/Makefile: Likewise.
27484 * stdio-common/Makefile: Likewise.
27485 * stdlib/Makefile: Likewise.
27486 * sysdeps/x86_64/Makefile: Likewise.
27488 * io/ftwtest-sh: Add copyright header.
27489 * posix/globtest.sh: Likewise.
27490 * posix/tst-getconf.sh: Likewise.
27491 * posix/wordexp-tst.sh: Likewise.
27492 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27494 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27497 * Makeconfig (+link): Defined as $(+link-static) if
27498 $(build-shared) isn't yes.
27499 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27501 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27503 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27506 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27507 new chunk size with MALLOC_ALIGN_MASK.
27509 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27512 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27514 (__printf_fphex): Determine rounding using get_rounding_mode and
27516 * stdio-common/tst-printf-round.c (struct hex_test): New
27518 (hex_tests): New variable.
27519 (test_hex_in_one_mode): New function.
27520 (do_test): Also run tests for hex float output.
27522 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27524 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27525 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27526 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27527 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27528 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27529 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27530 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27531 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27533 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27535 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27536 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27537 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27538 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27540 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27543 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27545 * elf/tst-rtld-load-self.sh: New test.
27546 * elf/Makefile: Run it.
27548 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27550 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27551 (tst-writev-ENV): Remove.
27552 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27554 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27556 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27558 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27560 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27562 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27564 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27565 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27566 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27569 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27572 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27573 * config.make.in (have-cpp-asm-debuginfo): Removed.
27574 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27575 * configure: Regenerated.
27577 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27580 * stdio-common/printf_fp.c: Include <stdbool.h> and
27582 (___printf_fp): Determine rounding using get_rounding_mode and
27584 * stdio-common/tst-printf-round.c: New file.
27585 * stdio-common/Makefile (tests): Add tst-printf-round.
27586 (link-libm): New variable.
27587 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27589 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27592 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27593 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27595 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27598 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27600 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27601 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27602 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27603 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27605 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27608 * include/rounding-mode.h: New file.
27609 * sysdeps/generic/get-rounding-mode.h: Likewise.
27610 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27611 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27612 (MAX_VALUE): New macro.
27613 (MIN_VALUE): Likewise.
27614 (overflow_value): New function.
27615 (underflow_value): Likewise.
27616 (round_and_return): Use overflow_value and underflow_value to
27617 determine return values in overflow and underflow cases. Use
27618 round_away to determine rounding depending on rounding mode.
27619 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27620 determine return values in overflow and underflow cases.
27621 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27622 (struct test_results): New structure.
27623 (struct test): Use struct test_results to store expected results
27624 for all rounding modes.
27625 (TEST): Include expected results for all rounding modes.
27626 (test_in_one_mode): New function.
27627 (do_test): Use test_in_one_mode to compute and check results.
27628 Check results for all rounding modes.
27629 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27632 2012-12-09 Allan McRae <allan@archlinux.org>
27634 * sysdeps/i386/fpu/libm-test-ulps: Update
27636 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27638 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27639 (_G_int32_t): Likewise.
27640 (_G_uint16_t): Likewise.
27641 (_G_uint32_t): Likewise.
27642 (_G_HAVE_BOOL): Likewise.
27643 (_G_HAVE_ATEXIT): Likewise.
27644 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27645 (_G_HAVE_IO_FILE_OPEN): Likewise.
27646 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27647 (_G_int32_t): Likewise.
27648 (_G_uint16_t): Likewise.
27649 (_G_uint32_t): Likewise.
27650 (_G_HAVE_BOOL): Likewise.
27651 (_G_HAVE_ATEXIT): Likewise.
27652 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27653 (_G_HAVE_IO_FILE_OPEN): Likewise.
27654 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27655 (_G_int32_t): Likewise.
27656 (_G_uint16_t): Likewise.
27657 (_G_uint32_t): Likewise.
27658 (_G_HAVE_BOOL): Likewise.
27659 (_G_HAVE_ATEXIT): Likewise.
27660 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27661 (_G_HAVE_IO_FILE_OPEN): Likewise.
27663 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27665 * csu/libc-tls.c: Update copyright years.
27667 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27669 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27670 [!_G_USING_THUNKS]: Remove conditional code.
27671 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27672 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27674 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27675 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27676 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27677 (_G_VTABLE_LABEL_PREFIX): Likewise.
27678 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27679 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27680 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27681 (_G_VTABLE_LABEL_PREFIX): Likewise.
27682 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27683 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27684 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27685 (_G_VTABLE_LABEL_PREFIX): Likewise.
27686 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27688 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27690 * libio/Makefile: Include ../Makeconfig before tests.
27691 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27692 only if $(build-shared) is yes.
27694 * iconv/gconv_db.c: Update copyright years.
27696 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27698 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27699 unwind info if defined PIC. Fix special cases description.
27700 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27702 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27704 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27706 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27708 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27710 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27713 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27714 (LDLIBS-tst-chk4): This.
27715 (LDFLAGS-tst-chk5): Renamed to ...
27716 (LDLIBS-tst-chk5): This.
27717 (LDFLAGS-tst-chk6): Renamed to ...
27718 (LDLIBS-tst-chk6): This.
27719 (LDFLAGS-tst-lfschk4): Renamed to ...
27720 (LDLIBS-tst-lfschk4): This.
27721 (LDFLAGS-tst-lfschk5): Renamed to ...
27722 (LDLIBS-tst-lfschk5): This.
27723 (LDFLAGS-tst-lfschk6): Renamed to ...
27724 (LDLIBS-tst-lfschk6): This.
27726 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27727 on $(common-objpfx)soversions.mk.
27729 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27732 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27735 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27737 * malloc/arena.c (arena_get_retry): New function that gets
27738 another arena for the caller to try its request on.
27739 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27740 current arena cannot fulfill the request.
27741 (__libc_memalign): Likewise.
27742 (__libc_memalign): Likewise.
27743 (__libc_pvalloc): Likewise.
27744 (__libc_calloc): Likewise.
27746 2012-09-05 John Tobey <john.tobey@gmail.com>
27749 * manual/arith.texi (Operations on Complex): Fix description
27750 of carg branch cut.
27752 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27755 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27759 * manual/memory.texi (Memory): Make order of menu items match
27762 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27764 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27765 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27766 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27768 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27770 * csu/libc-tls.c (static_dtv): Renamed to ...
27771 (_dl_static_dtv): This. Make it global.
27772 (_dl_initial_dtv): Removed.
27773 (__libc_setup_tls): Updated.
27774 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27775 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27778 2012-09-06 Petr Machata <pmachata@redhat.com>
27780 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27781 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27782 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27783 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27785 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27788 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27789 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27792 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27795 * Makeconfig (link-static-before-libc): Replace $(+prector)
27797 (link-static-after-libc): Replace $(+postctor) with
27799 (link-bounded): Replace $(+prector)/$(+postctor) with
27800 $(+prectorT)/$(+postctorT).
27801 (+prectorT): New macro.
27802 (+postctorT): Likewise.
27804 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27806 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27807 (round_str): Handle values above the maximum for IBM long double
27809 * stdlib/tst-strtod-round.c (tests): Regenerated.
27811 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27813 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27815 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27816 zarch_nohighgprs around the zarch optimized routines.
27817 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27818 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27819 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27822 2012-09-05 David S. Miller <davem@davemloft.net>
27824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27826 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27827 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27828 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27829 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27832 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27834 * malloc/arena.c: Fold copyright years.
27835 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27837 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27839 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27841 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27843 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27845 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27847 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27848 change internal state upon failure.
27850 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27852 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27853 * malloc/memusage.c (mmap): Likewise.
27854 (mmap64, mremap): Likewise. Adjust name in comment.
27856 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27858 * libio/fileops.c: Fix typos in comments.
27859 * libio/oldfileops.c: Likewise.
27860 * libio/wfileops.c: Likewise.
27862 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27865 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27866 (tst-malloc-usable-ENV): Set environment for test case.
27867 * malloc/hooks.c (malloc_check_get_size): New function to get
27869 * malloc/malloc.c (musable): Use malloc_check_get_size.
27870 * malloc/tst-malloc-usable.c: New test case.
27872 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27874 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27876 2012-09-05 Allan McRae <allan@archlinux.org>
27879 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27880 determine header location.
27881 * configure: Regenerated.
27883 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27885 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27887 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27888 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27890 (test): Regenerate.
27892 2012-09-04 David S. Miller <davem@davemloft.net>
27894 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27895 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27896 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27898 2012-09-04 Florian Weimer <fweimer@redhat.com>
27900 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27903 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27905 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27908 * libio/iogetdelim.c: Include <limits.h>.
27909 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27910 + len + 1 would overflow.
27912 2012-09-03 Andreas Jaeger <aj@suse.de>
27914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27915 * sysdeps/i386/fpu/libm-test-ulps: Update.
27917 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27919 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27920 Add s_sinf-sse2, s_conf-sse2.
27922 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27923 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27924 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27925 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27927 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27928 for using routine as __sinf_ia32.
27929 Use macro for function declaration and weak_alias.
27930 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27931 for using routine as __cosf_ia32.
27932 Use macro for function declaration and weak_alias.
27934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27935 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27937 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27938 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27941 * math/libm-test.inc (cos_test): Add more test cases.
27942 (sin_test): Likewise.
27943 (sincos_test): Likewise.
27945 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27947 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27948 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27950 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27952 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27955 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27956 first element of the GOT.
27957 (elf_machine_load_address): Return the difference between
27958 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27960 2012-09-01 Allan McRae <allan@archlinux.org>
27963 * configure.in (AWK): Require gawk version 3.0 or later.
27964 * configure: Regenerated.
27966 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27968 * sysdeps/unix/sysv/linux/kernel-features.h
27969 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27970 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27971 [__NR_clock_getres]: Make code unconditional.
27972 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27973 (clock_getcpuclockid): Remove code left unreachable by removal of
27975 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27976 code unconditional.
27977 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27978 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27979 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27980 Make code unconditional.
27981 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27982 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27983 * sysdeps/unix/sysv/linux/clock_settime.c
27984 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27986 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27987 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27989 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27992 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27993 scripts/test-installation.pl.
27995 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27996 and $ld_so_version if it is set.
27998 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28001 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28002 failure if reading from procfs failed.
28003 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28005 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28007 * sysdeps/unix/sysv/linux/kernel-features.h
28008 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28009 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28010 Remove conditional code.
28011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28012 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28013 Remove conditional code.
28014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28015 * sysdeps/unix/sysv/linux/i386/fxstat.c
28016 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28018 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28019 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28021 * sysdeps/unix/sysv/linux/i386/lxstat.c
28022 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28024 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28025 Remove conditional code.
28026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28027 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28028 Remove conditional code.
28029 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28030 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28031 <kernel-features.h>.
28032 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28034 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28035 Remove conditional code.
28036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28037 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28038 Remove conditional.
28040 2012-08-27 Mike Frysinger <vapier@gentoo.org>
28043 * NEWS: Add fixed bug number.
28045 2012-08-27 Joseph Myers <joseph@codesourcery.com>
28048 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28049 underflowing exponent in case of negative sign.
28050 * stdlib/tst-strtod-round-data: Add more tests.
28051 * stdlib/tst-strtod-round.c (tests): Regenerated.
28054 * stdlib/strtod_l.c (NDIG): Remove.
28055 (HEXNDIG): Likewise.
28056 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28057 smallest representable value.
28058 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28059 lie within an exact representation of 1/2 ulp of the result.
28060 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28062 (TENS_P9_IDX): Define unconditionally.
28063 (TENS_P9_SIZE): Likewise.
28064 (TENS_P10_IDX): Likewise.
28065 (TENS_P10_SIZE): Likewise.
28066 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28067 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28068 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28069 entries for 10^2^13 and 10^2^14.
28070 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28071 (TENS_P13_IDX): Define.
28072 (TENS_P13_SIZE): Likewise.
28073 (TENS_P14_IDX): Likewise.
28074 (TENS_P14_SIZE): Likewise.
28075 (_fpioconst_pow10): Change array size to
28076 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28078 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28079 1024]: Add entries for 10^2^13 and 10^2^14.
28080 [LAST_POW10 > _LAST_POW10]: Remove #error.
28081 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28082 (_fpioconst_pow10): Change array size to
28083 FPIOCONST_POW10_ARRAY_SIZE.
28084 * stdlib/gen-fpioconst.c: New file.
28085 * stdlib/gen-tst-strtod-round.c: Likewise.
28086 * stdlib/tst-strtod-round-data: Likewise.
28087 * stdlib/tst-strtod-round.c: Likewise.
28088 * stdlib/Makefile (tests): Add tst-strtod-round.
28091 * stdlib/strtod_l.c: Include <stdint.h>.
28092 (NDEBUG): Do not define.
28093 (round_and_return): Change EXPONENT parameter to type intmax_t.
28094 Rearrange calculations to avoid internal overflow possibilities.
28095 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28096 Rearrange calculations to avoid internal overflow possibilities.
28097 Assert that number fits inside MPNSIZE limbs.
28098 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28099 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28100 calculations and add assertions to avoid internal overflow
28101 possibilities. Add casts to avoid signed/unsigned operations.
28102 * stdlib/tst-strtod-overflow.c: New file.
28103 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28105 2012-08-25 Marek Polacek <polacek@redhat.com>
28107 * time/time.h: Fix some typos in comments.
28109 2012-08-23 Roland McGrath <roland@hack.frob.com>
28111 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28112 * posix/tst-rfc3484-2.c: Likewise.
28113 * posix/tst-rfc3484-3.c: Likewise.
28115 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28117 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28118 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28120 2012-08-23 Joseph Myers <joseph@codesourcery.com>
28122 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28123 #include of fxstatat64.c.
28125 2012-08-22 Roland McGrath <roland@hack.frob.com>
28127 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28128 * shadow/getspent_r.c: Likewise.
28129 * shadow/getspnam.c: Likewise.
28130 * shadow/getspnam_r.c: Likewise.
28131 * gshadow/getsgent.c: Likewise.
28132 * gshadow/getsgent_r.c: Likewise.
28133 * gshadow/getsgnam.c: Likewise.
28134 * gshadow/getsgnam_r.c: Likewise.
28135 * inet/getnetbyad.c: Likewise.
28136 * inet/getnetbyad_r.c: Likewise.
28137 * inet/getnetbynm.c: Likewise.
28138 * inet/getnetbynm_r.c: Likewise.
28139 * inet/getnetent.c: Likewise.
28140 * inet/getnetent_r.c: Likewise.
28141 * inet/getproto.c: Likewise.
28142 * inet/getproto_r.c: Likewise.
28143 * inet/getprtent.c: Likewise.
28144 * inet/getprtent_r.c: Likewise.
28145 * inet/getprtname.c: Likewise.
28146 * inet/getprtname_r.c: Likewise.
28147 * inet/getrpcbyname.c: Likewise.
28148 * inet/getrpcbyname_r.c: Likewise.
28149 * inet/getrpcbynumber.c: Likewise.
28150 * inet/getrpcbynumber_r.c: Likewise.
28151 * inet/getrpcent.c: Likewise.
28152 * inet/getrpcent_r.c: Likewise.
28153 * inet/getaliasent.c: Likewise.
28154 * inet/getaliasent_r.c: Likewise.
28155 * inet/getaliasname.c: Likewise.
28156 * inet/getaliasname_r.c: Likewise.
28157 * nscd/getgrgid_r.c: Likewise.
28158 * nscd/getgrnam_r.c: Likewise.
28159 * nscd/gethstbyad_r.c: Likewise.
28160 * nscd/gethstbynm3_r.c: Likewise.
28161 * nscd/getpwnam_r.c: Likewise.
28162 * nscd/getpwuid_r.c: Likewise.
28163 * nscd/getsrvbynm_r.c: Likewise.
28164 * nscd/getsrvbypt_r.c: Likewise.
28165 * nscd/gai.c: Likewise.
28167 * configure.in (build_nscd): New substituted variable, set
28168 by --disable-build-nscd and defaults to $use_nscd.
28169 * configure: Regenerated.
28170 * config.make.in (build-nscd): New substituted variable.
28171 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28172 Change conditional to require [$(build-nscd) = yes] as well.
28173 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28176 * configure.in (use_nscd): New substituted variable, set by
28177 --disable-nscd. If enabled, define USE_NSCD.
28178 * configure: Regenerated.
28179 * config.h.in: Add USE_NSCD.
28180 * config.make.in (use-nscd): New substituted variable.
28181 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28182 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28183 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28184 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28185 (CFLAGS-getgrnam_r.c): Likewise.
28186 (CFLAGS-initgroups.c): Likewise.
28187 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28188 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28190 * inet/getnetgrent_r.c
28191 (nscd_setnetgrent): New function, broken out of ...
28192 (setnetgrent): ... here. Call it.
28193 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28194 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28195 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28196 * nscd/Makefile (routines, aux): Move definitions after include of
28197 Makeconfig. Conditionalize on [$(use-nscd) != no].
28198 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28199 Conditionalize on [USE_NSCD].
28200 (is_nscd, nscd_init_cb): Likewise.
28201 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28202 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28203 * nss/nss_db/db-init.c: Likewise.
28204 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28206 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28207 (make_request): Use it.
28208 (cache_valid_p): New function.
28209 (__check_pf): Use it.
28210 * NEWS: Add item for --disable-nscd.
28212 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28214 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28215 to support sed >= 4.2.1-20-ga9bf076.
28216 * configure: Regenerated.
28218 2012-08-22 Roland McGrath <roland@hack.frob.com>
28220 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28221 Conditionalize whole body on [IREL].
28223 2012-08-22 Jeff Law <law@redhat.com>
28226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28227 if the family is PF_UNSPEC.
28229 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28231 * Makerules (lib-version): Rename from V.
28232 (install-lib-nosubdir): Change V to lib-version.
28234 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28237 * powerpc32/power6/wcschr.c: New file.
28238 * powerpc32/power6/wcscpy.c: New file.
28239 * powerpc32/power6/wcsrchr.c: New file.
28240 * powerpc64/power6/wcschr.c: New file.
28241 * powerpc64/power6/wcscpy.c: New file.
28242 * powerpc64/power6/wcsrchr.c: New file.
28244 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28246 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28247 (two_way_short_needle): Use it.
28248 * string/strstr.c (AVAILABLE1_USES_J): Define.
28249 * string/strcasestr.c: Likewise.
28251 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28253 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28256 * NEWS: Add an entry.
28257 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28258 define their defaults.
28259 (two_way_short_needle): Detect end-of-string on-the-fly.
28260 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28261 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28262 * string/bug-strcasestr1.c: New test.
28263 * string/Makefile: Run it.
28265 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28268 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28269 the first character.
28271 2012-08-21 Roland McGrath <roland@hack.frob.com>
28273 * csu/elf-init.c (__libc_csu_irel): Function removed.
28274 * csu/libc-start.c (apply_irel): New function.
28275 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28277 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28279 * sysdeps/unix/sysv/linux/kernel-features.h
28280 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28281 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28282 <kernel-features.h>.
28283 [__NR_fadvise64_64]: Make code unconditional.
28284 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28285 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28286 !__NR_fadvise64_64)]: Likewise.
28287 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28288 !__NR_fadvise64_64))]: Likewise.
28289 [__NR_fadvise64]: Make code unconditional.
28290 [!__NR_fadvise64]: Remove conditional code.
28291 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28292 <kernel-features.h>.
28293 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28295 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28298 not include <kernel-features.h>.
28299 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28301 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28303 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28304 include <kernel-features.h>.
28305 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28307 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28310 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28312 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28313 slight instruction rearrangements per scrollpipe analysis.
28314 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28316 2012-08-20 Roland McGrath <roland@hack.frob.com>
28318 * manual/syslog.texi (syslog; vsyslog, closelog):
28319 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28320 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28322 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28323 DSOCAPS to match condition on defining it.
28325 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28327 * sysdeps/unix/sysv/linux/kernel-features.h
28328 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28330 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28331 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28333 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28334 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28336 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28337 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28339 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28340 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28342 * sysdeps/unix/sysv/linux/kernel-features.h
28343 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28344 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28346 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28347 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28348 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28349 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28350 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28351 Make code unconditional.
28352 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28353 (__mmap64) [!__NR_mmap2]: Likewise.
28354 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28355 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28356 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28357 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28358 [__NR_mmap2]: Make code unconditional.
28359 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28360 (__mmap64) [!__NR_mmap2]: Likewise.
28362 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28364 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28366 2012-08-18 Andreas Jaeger <aj@suse.de>
28368 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28370 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28372 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28373 * include/unistd.h (__have_sock_cloexec): Likewise.
28374 (__have_pipe2): Likewise.
28375 (__have_dup3): Likewise.
28377 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28380 * include/unistd.h (__have_pipe2): Change define into an extern int.
28381 (__have_dup3): Likewise.
28382 * socket/have_sock_cloexec.c: Include fcntl.h.
28383 (__have_pipe2): New variable.
28384 (__have_dup3): Likewise.
28386 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28388 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28390 2012-08-17 Marek Polacek <polacek@redhat.com>
28392 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28393 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28395 2012-08-17 Roland McGrath <roland@hack.frob.com>
28397 * configure.in: Add AC_SUBST for sysheaders.
28398 * configure: Regenerated.
28399 * config.make.in (sysheaders): New substituted variable.
28401 * sysdeps/unix/mkfifo.c: Moved ...
28402 * sysdeps/posix/mkfifo.c: ... here.
28403 * sysdeps/unix/mkfifoat.c: Moved ...
28404 * sysdeps/posix/mkfifoat.c: ... here.
28406 * sysdeps/unix/utime.c: Moved ...
28407 * sysdeps/posix/utime.c: ... here.
28409 * sysdeps/unix/time.c: Moved ...
28410 * sysdeps/posix/time.c: ... here.
28411 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28412 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28414 * sysdeps/unix/nice.c: Moved ...
28415 * sysdeps/posix/nice.c: ... here.
28417 * sysdeps/unix/alarm.c: Moved ...
28418 * sysdeps/posix/alarm.c: ... here.
28420 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28422 2012-08-17 Jeff Law <law@redhat.com>
28424 * intl/Makefile (codeset_mo): New variable.
28425 ($(codeset_mo)): New target.
28426 (tst-codeset.out): Depend on that. Remove explicit rule.
28427 (tst-gettext3.out, tst-gettext5.out): Likewise.
28428 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28429 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28430 * intl/tst-codeset.sh: Remove.
28431 * intl/tst-gettext3.sh: Likewise.
28432 * intl/tst-gettext5.sh: Likewise.
28434 2012-08-17 Roland McGrath <roland@hack.frob.com>
28436 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28437 * sysdeps/unix/syscalls.list: ... here.
28439 * sysdeps/posix/getaddrinfo.c
28440 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28441 (gaiconf_init, gaiconf_reload): Use them.
28442 [!_STATBUF_ST_NSEC]
28443 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28444 Define using time_t rather than struct timespec.
28446 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28447 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28449 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28451 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28452 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28455 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28456 __libc_cleanup_push argument.
28458 * bits/param.h: New file.
28459 * misc/sys/param.h: New file.
28460 * include/sys/param.h: New file.
28461 * misc/Makefile (headers): Add bits/param.h.
28462 * sysdeps/generic/sys/param.h: File removed.
28463 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28464 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28465 * sysdeps/mach/hurd/bits/param.h: New file.
28466 * sysdeps/mach/hurd/sys/param.h: File removed.
28468 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28471 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28473 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28474 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28477 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28478 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28479 rather than -D_IO_MTSAFE_IO conditionally.
28480 * stdio-common/Makefile (CPPFLAGS): Likewise.
28481 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28482 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28483 Use $(libio-mtsafe).
28484 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28485 of -D_IO_MTSAFE_IO.
28486 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28487 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28488 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28489 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28490 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28491 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28492 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28493 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28494 (CFLAGS-fread_u_chk.c): Likewise.
28495 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28496 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28497 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28498 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28499 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28500 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28501 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28502 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28503 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28505 * libio/Makefile: Test [$(libc-reentrant) = yes]
28506 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28509 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28510 * sysdeps/pthread/configure: File removed.
28511 * sysdeps/pthread/Makeconfig: New file.
28512 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28513 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28515 2012-08-16 Gary Benson <gbenson@redhat.com>
28517 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28518 unmapping the first object in a namespace.
28520 2012-08-16 Roland McGrath <roland@hack.frob.com>
28522 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28523 (__internal_setnetgrent): ... this. Add internal_function to
28524 definition. Add libc_hidden_def.
28525 (setnetgrent): Update caller.
28526 (internal_endnetgrent): Renamed to ...
28527 (__internal_endnetgrent): ... this. Add internal_function to
28528 definition. Add libc_hidden_def.
28529 (endnetgrent): Update caller.
28530 (internal_getnetgrent_r): Renamed to ...
28531 (__internal_getnetgrent_r): ... this. Add internal_function to
28532 definition. Add libc_hidden_def.
28533 (__getnetgrent_r): Update caller.
28534 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28536 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28538 * stdlib/longlong.h: Update from GCC.
28540 2012-08-16 Roland McGrath <roland@hack.frob.com>
28542 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28543 on _QL, which is set by umul_ppmm but never used.
28544 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28545 variables, which are set by GMP macros but never used.
28546 * stdio-common/_itowa.c (_itowa): Likewise.
28547 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28548 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28550 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28552 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28553 struct La_sh_regs is not constant.
28554 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28555 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28556 and struct La_sparc64_regs are not constant.
28558 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28560 * sysdeps/unix/sysv/linux/kernel-features.h
28561 (__ASSUME_POSIX_TIMERS): Remove.
28562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28563 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28564 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28565 Make code unconditional.
28566 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28567 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28568 Make code unconditional.
28569 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28570 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28571 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28572 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28573 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28574 Make code unconditional.
28575 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28576 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28577 (__libc_missing_posix_timers): Remove.
28579 2012-08-15 Roland McGrath <roland@hack.frob.com>
28581 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28582 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28584 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28586 * elf/dl-sym.c: Include <stdlib.h>.
28588 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28589 constants, which avoids warnings in 32-bit builds.
28591 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28592 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28594 * misc/lseek.c: File moved to ...
28595 * io/lseek.c: ... here.
28597 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28599 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28600 shifting LEN more than 31 bits at once.
28602 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28605 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28606 segmentation fault for a case of two empty input strings.
28607 * string/test-strncasecmp.c (check1): Renamed to...
28608 (bz12205): ...this.
28609 (bz14195): Add new testcase for two empty input strings and N > 0.
28610 (test_main): Call new testcase, adapt for renamed function.
28612 2012-08-15 Andreas Jaeger <aj@suse.de>
28615 * crypt/md5test2.c: New test, based on test supplied by Serge
28616 Belyshev <belyshev@depni.sinp.msu.ru>.
28617 * crypt/Makefile (xtests): Add md5test-giant..
28618 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28620 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28623 * crypt/md5.c (md5_process_block): Don't assume the buffer
28624 length is less than 2**32.
28625 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28626 length is less than 2**64.
28628 2012-08-15 Roland McGrath <roland@hack.frob.com>
28630 * string/str-two-way.h: Include <sys/param.h>.
28631 (MAX): Macro removed.
28633 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28634 Move #define and #undef of memmove to just before and after
28635 including <string.h>.
28637 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28638 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28639 and after including <string.h>. Move declarations of
28640 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28641 to before #include "string/memmove.c".
28643 * include/dirent.h: Declare __getdirentries.
28645 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28646 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28648 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28650 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28651 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28652 * sysdeps/i386/configure: Regenerated.
28653 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28654 STABS_CURRENT_FILE, and STABS_FUN.
28655 (END): Remove call to STABS_FUN_END.
28656 (STABS_CURRENT_FILE1): Delete.
28657 (STABS_CURRENT_FILE): Likewise.
28658 (STABS_FUN): Likewise.
28659 (STABS_FUN_END): Likewise.
28660 (STABS_FUN2): Likewise.
28661 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28662 * sysdeps/x86_64/configure: Regenerated.
28664 2012-08-14 Roland McGrath <roland@hack.frob.com>
28666 * elf/dl-open.c: Include <atomic.h>.
28667 * elf/dl-lookup.c: Likewise.
28669 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28671 * sysdeps/unix/sysv/linux/kernel-features.h
28672 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28673 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28675 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28677 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28678 condition on __ASSUME_CLONE_THREAD_FLAGS.
28680 2012-08-14 Andreas Jaeger <aj@suse.de>
28682 * sysdeps/i386/fpu/libm-test-ulps: Update.
28684 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28686 * include/atomic.h (atomic_exchange_and_add): Split into ...
28687 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28690 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28694 2012-08-13 Jeff Law <law@redhat.com>
28696 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28697 null byte in the output string.
28699 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28701 * sysdeps/unix/sysv/linux/kernel-features.h
28702 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28703 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28704 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28705 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28706 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28707 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28708 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28710 2012-08-09 Jeff Law <law@redhat.com>
28713 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28714 When avoid_arena is set, don't retry in the that arena. Pick the
28715 next one, whatever it might be.
28716 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28717 (arena_lock): Pass in new parameter to arena_get2.
28718 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28720 (__libc_malloc): Unify retrying after main arena failure with
28721 __libc_memalign version.
28722 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28724 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28727 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28728 to __redirect_strstr.
28729 (__strstr_sse42): Use typeof __redirect_strstr.
28730 (__strstr_ia32): Likewise.
28731 (__libc_strstr): New prototype.
28732 (strstr): Renamed to ...
28733 (__libc_strstr): This.
28734 (strstr): New strong alias of __libc_strstr.
28735 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28736 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28739 (__libc_time): New prototype.
28740 (time_ifunc): Replace time with __libc_time.
28741 (time): New strong alias and hidden definition of __libc_time.
28742 (__GI_time): Remove strong alias.
28743 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28744 Include <stddef.h>.
28745 (memmove): Redefined to __redirect_memmove.
28746 (__memmove_sse2): Use typeof __redirect_memmove.
28747 (__memmove_ssse3): Likewise.
28748 (__memmove_ssse3_back): Likewise.
28749 (__libc_memmove): New prototype.
28750 (memmove): Renamed to ...
28751 (__libc_memmove): This.
28752 (memmove): New strong alias of __libc_memmove.
28754 2012-08-08 Mark Salter <msalter@redhat.com>
28757 (R_MN10300_TLS_GD): Define.
28758 (R_MN10300_TLS_LD): Likewise.
28759 (R_MN10300_TLS_LDO): Likewise.
28760 (R_MN10300_TLS_GOTIE): Likewise.
28761 (R_MN10300_TLS_IE): Likewise.
28762 (R_MN10300_TLS_LE): Likewise.
28763 (R_MN10300_TLS_DTPMOD): Likewise.
28764 (R_MN10300_TLS_DTPOFF): Likewise.
28765 (R_MN10300_TLS_TPOFF): Likewise.
28766 (R_MN10300_SYM_DIFF): Likewise.
28767 (R_MN10300_ALIGN): Likewise.
28768 (R_MN10300_NUM): Update.
28770 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28775 2012-08-08 Roland McGrath <roland@hack.frob.com>
28777 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28779 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28780 sysdeps/unix -> sysdeps/posix move.
28781 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28783 2012-08-07 Allan McRae <allan@archlinux.org>
28786 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28787 (SUNOS_CPP): Likewise.
28788 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28790 (open_input): Call CPP using execvp.
28792 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28794 * sysdeps/unix/sysv/linux/kernel-features.h
28795 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28796 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28797 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28798 (__ASSUME_WAITID_SYSCALL): Likewise.
28799 * sysdeps/unix/sysv/linux/dl-execstack.c
28800 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28801 code unconditional.
28802 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28805 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28806 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28808 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28810 [__ASSUME_WAITID_SYSCALL]: Likewise.
28811 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28813 2012-08-07 Roland McGrath <roland@hack.frob.com>
28815 * sysdeps/unix/closedir.c: Renamed to ...
28816 * sysdeps/posix/closedir.c: ... here.
28817 * sysdeps/unix/dirfd.c: Renamed to ...
28818 * sysdeps/posix/dirfd.c: ... here.
28819 * sysdeps/unix/dirstream.h: Renamed to ...
28820 * sysdeps/posix/dirstream.h: ... here.
28821 * sysdeps/unix/fdopendir.c: Renamed to ...
28822 * sysdeps/posix/fdopendir.c: ... here.
28823 * sysdeps/unix/opendir.c: Renamed to ...
28824 * sysdeps/posix/opendir.c: ... here.
28825 * sysdeps/unix/readdir.c: Renamed to ...
28826 * sysdeps/posix/readdir.c: ... here.
28827 * sysdeps/unix/readdir_r.c: Renamed to ...
28828 * sysdeps/posix/readdir_r.c: ... here.
28829 * sysdeps/unix/rewinddir.c: Renamed to ...
28830 * sysdeps/posix/rewinddir.c: ... here.
28831 * sysdeps/unix/seekdir.c: Renamed to ...
28832 * sysdeps/posix/seekdir.c: ... here.
28833 * sysdeps/unix/telldir.c: Renamed to ...
28834 * sysdeps/posix/telldir.c: ... here.
28835 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28836 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28837 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28838 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28840 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28841 * bits/fcntl.h: ... here.
28843 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28845 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28846 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28847 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28848 (struct flock): Move l_start, l_len to the beginning.
28849 Use __pid_t for l_pid.
28850 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28851 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28852 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28853 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28854 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28855 [__USE_LARGEFILE64] (struct flock64): New type.
28856 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28858 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28859 * bits/dirent.h: ... here.
28861 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28862 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28864 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28866 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28867 Change from 2.6.0 to 2.6.16.
28868 * sysdeps/unix/sysv/linux/configure: Regenerated.
28869 * sysdeps/unix/sysv/linux/kernel-features.h
28870 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28871 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28873 (__ASSUME_UTIMES): Likewise.
28874 (__ASSUME_CLONE_STOPPED): Remove.
28875 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28876 architectures, not kernel version.
28877 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28878 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28879 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28880 (__ASSUME_WAITID_SYSCALL): Likewise.
28881 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28882 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28883 * README: State 2.6.16 as minimum Linux kernel version. Do not
28884 refer to older versions.
28886 2012-08-06 Roland McGrath <roland@hack.frob.com>
28888 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28889 Define alphasort64 as an alias.
28890 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28891 Define versionsort64 as an alias.
28892 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28893 Define scandir64 as an alias.
28894 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28895 Define scandirat64 as an alias.
28896 * dirent/alphasort64.c (alphasort64):
28897 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28898 * dirent/versionsort64.c: Likewise.
28899 * dirent/scandir64.c: Likewise.
28900 * dirent/scandirat64.c: Likewise.
28901 * sysdeps/wordsize-64/alphasort.c: File removed.
28902 * sysdeps/wordsize-64/alphasort64.c: File removed.
28903 * sysdeps/wordsize-64/scandir.c: File removed.
28904 * sysdeps/wordsize-64/scandir64.c: File removed.
28905 * sysdeps/wordsize-64/scandirat.c: File removed.
28906 * sysdeps/wordsize-64/scandirat64.c: File removed.
28907 * sysdeps/wordsize-64/versionsort.c: File removed.
28908 * sysdeps/wordsize-64/versionsort64.c: File removed.
28909 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28910 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28911 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28912 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28913 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28915 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28916 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28918 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28919 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28920 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28922 [defined __arch64__ || defined __sparcv9]
28923 (__INO_T_MATCHES_INO64_T): New macro.
28924 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28925 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28926 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28927 * sysdeps/unix/sysv/linux/bits/dirent.h
28928 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28929 (_DIRENT_MATCHES_DIRENT64): New macro.
28931 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28932 Define lockf64 as an alias.
28933 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28934 Define fseeko64 as an alias.
28935 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28936 Define ftello64 as an alias.
28937 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28938 Define _IO_fgetpos64 and fgetpos64 as aliases.
28939 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28940 Define _IO_fsetpos64 and fsetpos64 as aliases.
28941 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28942 Conditionalize body on this.
28943 * libio/fseeko64.c: Likewise.
28944 * libio/ftello64.c: Likewise.
28945 * libio/iofgetpos64.c: Likewise.
28946 * libio/iofsetpos64.c: Likewise.
28947 * sysdeps/wordsize-64/lockf.c: File removed.
28948 * sysdeps/wordsize-64/lockf64.c: File removed.
28949 * sysdeps/wordsize-64/fseeko.c: File removed.
28950 * sysdeps/wordsize-64/fseeko64.c: File removed.
28951 * sysdeps/wordsize-64/ftello.c: File removed.
28952 * sysdeps/wordsize-64/ftello64.c: File removed.
28953 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28954 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28955 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28956 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28958 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28959 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28960 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28961 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28962 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28963 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28964 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28965 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28966 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28968 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28970 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28971 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28972 [defined __arch64__ || defined __sparcv9]
28973 (__OFF_T_MATCHES_OFF64_T): New macro.
28974 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28975 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28977 (__OFF_T_MATCHES_OFF64_T): New macro.
28979 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28981 * stdlib/secure-getenv.c (__secure_getenv): Replace
28982 GLIBC_2_16 with GLIBC_2_17.
28984 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28986 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28987 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28989 2012-08-03 David S. Miller <davem@davemloft.net>
28991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28993 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28995 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28997 (__ASSUME_CORRECT_SI_PID): Likewise.
28998 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28999 (__ASSUME_TMPFS_NAME): Likewise.
29000 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29001 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29002 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29003 (HAVE_AUX_SECURE): Make definition unconditional.
29004 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29005 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29007 2012-08-03 Roland McGrath <roland@hack.frob.com>
29009 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29010 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29011 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29012 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29013 __eloop_threshold instead of SYMLOOP_MAX.
29015 * sysdeps/generic/eloop-threshold.h: New file.
29016 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29018 * elf/chroot_canon.c (chroot_canon): Likewise.
29020 2012-08-03 Joseph Myers <joseph@codesourcery.com>
29023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29024 Change to 2.6.0 everywhere.
29025 * sysdeps/unix/sysv/linux/configure: Regenerated.
29026 * sysdeps/unix/sysv/linux/kernel-features.h
29027 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29028 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29030 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29031 (__ASSUME_FUTEX_REQUEUE): Remove.
29032 (__ASSUME_STATFS64): Define unconditionally.
29033 (__ASSUME_AT_SECURE): Likewise.
29034 (__ASSUME_CORRECT_SI_PID): Likewise.
29035 (__ASSUME_TGKILL): Define without depending on kernel version for
29037 (__ASSUME_UTIMES): Likewise.
29038 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29040 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29041 (__ASSUME_TMPFS_NAME): Likewise.
29042 * README: Update reference to Linux kernel versions.
29044 2012-08-02 Marek Polacek <polacek@redhat.com>
29047 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29048 libc_cv_asm_type_prefix with %.
29049 * configure: Regenerated.
29050 * include/libc-symbols.h: Remove comment about
29051 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29052 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29053 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29054 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29055 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29056 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29057 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29058 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29059 * elf/tst-unique2mod1.c: Likewise.
29060 * elf/tst-unique1mod2.c: Likewise.
29061 * elf/tst-unique1mod1.c: Likewise.
29062 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29063 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29064 Replace ASM_TYPE_DIRECTIVE with .type.
29065 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29066 * sysdeps/i386/sysdep.h: Likewise.
29067 * sysdeps/x86_64/sysdep.h: Likewise.
29068 * sysdeps/sh/sysdep.h: Likewise.
29069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29070 Do not define ASM_TYPE_DIRECTIVE.
29071 * sysdeps/powerpc/sysdep.h: Likewise.
29072 * sysdeps/powerpc/powerpc32/sysdep.h:
29073 Replace ASM_TYPE_DIRECTIVE with .type.
29074 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29075 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29076 * sysdeps/i386/fpu/e_powf.S: Likewise.
29077 * sysdeps/i386/fpu/e_expl.S: Likewise.
29078 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29079 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29080 * sysdeps/i386/fpu/e_pow.S: Likewise.
29081 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29082 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29083 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29084 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29085 * sysdeps/i386/fpu/e_log2.S: Likewise.
29086 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29087 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29088 * sysdeps/i386/fpu/e_powl.S: Likewise.
29089 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29090 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29091 * sysdeps/i386/fpu/e_logl.S: Likewise.
29092 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29093 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29094 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29095 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29096 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29097 * sysdeps/i386/fpu/e_log.S: Likewise.
29098 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29099 * sysdeps/i386/fpu/e_logf.S: Likewise.
29100 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29101 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29102 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29103 * sysdeps/i386/fpu/e_log10.S: Likewise.
29104 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29105 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29106 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29107 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29108 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29109 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29110 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29111 * sysdeps/i386/i686/strtok.S: Likewise.
29112 * sysdeps/i386/i386-mcount.S: Likewise.
29113 * sysdeps/i386/strtok.S: Likewise.
29114 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29115 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29116 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29117 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29118 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29119 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29120 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29121 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29122 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29123 * sysdeps/x86_64/_mcount.S: Likewise.
29124 * sysdeps/x86_64/strtok.S: Likewise.
29125 * sysdeps/sh/_mcount.S: Likewise.
29127 2012-08-01 Roland McGrath <roland@hack.frob.com>
29129 * libio/iofopen.c: Include <fcntl.h>.
29130 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29131 (_IO_fopen64, fopen64): Define as aliases.
29132 * libio/iofopen64.c: Include <fcntl.h>.
29133 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29134 Conditionalize body on this.
29135 * sysdeps/wordsize-64/iofopen.c: File removed.
29136 * sysdeps/wordsize-64/iofopen64.c: File removed.
29138 2012-08-01 Marek Polacek <polacek@redhat.com>
29140 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29141 Use dlfcn directly instead of a variable.
29142 (binfmt-subdir): Do not define.
29145 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29148 Remove all definitions.
29149 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29150 <kernel-features.h>.
29151 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29152 (miss_F_GETOWN_EX): Remove all definitions.
29153 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29155 [!__ASSUME_FCNTL64]: Remove conditional code.
29156 [__ASSUME_FCNTL64]: Make code unconditional.
29157 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29158 <kernel-features.h>.
29159 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29160 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29161 (lockf64) [__NR_fcntl64]: Make code unconditional.
29162 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29164 * sysdeps/unix/sysv/linux/kernel-features.h
29165 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29166 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29167 Make code unconditional.
29168 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29169 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29171 [__NR_vfork]: Make code unconditional.
29172 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29173 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29175 [__NR_vfork]: Make code unconditional.
29176 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29177 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29179 2012-08-01 Roland McGrath <roland@hack.frob.com>
29181 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29182 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29184 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29185 Define mkstemp64 as an alias.
29186 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29187 Define mkstemps64 as an alias.
29188 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29189 Define mkostemp64 as an alias.
29190 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29191 Define mkostemps64 as an alias.
29192 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29193 Conditionalize body on this.
29194 * misc/mkostemp64.c: Likewise.
29195 * misc/mkostemps64.c: Likewise.
29196 * misc/mkstemps64.c: Likewise.
29197 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29198 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29199 * sysdeps/wordsize-64/mkostemp.c: File removed.
29200 * sysdeps/wordsize-64/mkstemp.c: File removed.
29201 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29202 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29203 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29207 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29208 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29209 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29210 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29212 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29213 compat_symbol macros from <shlib-compat.h> rather than the underlying
29214 default_symbol_version and symbol_version macros, so that DEFAULT
29215 lines in shlib-versions are respected.
29216 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29218 2012-08-01 Florian Weimer <fweimer@redhat.com>
29220 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29221 Declare with warn_unused_result.
29222 (setgid, setregid, setegid, setresgid): Likewise.
29223 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29225 * WUR-REPORT: Remove set*id functions.
29227 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29229 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29231 2012-07-31 Roland McGrath <roland@hack.frob.com>
29234 * include/sys/socket.h (__libc_accept, __libc_accept4):
29235 Add attribute_hidden.
29236 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29238 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29240 * inet/getnetgrent_r.c (setup): Likewise.
29242 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29244 2012-07-31 David S. Miller <davem@davemloft.net>
29246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29248 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29251 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29252 value between 1.0 and 2.0 and smaller part has absolute value less
29254 * math/s_clog10.c (__clog10): Likewise.
29255 * math/s_clog10f.c (__clog10f): Likewise.
29256 * math/s_clog10l.c (__clog10l): Likewise.
29257 * math/s_clogf.c (__clogf): Likewise.
29258 * math/s_clogl.c (__clogl): Likewise.
29259 * math/libm-test.inc (clog_test): Add more tests.
29260 (clog10_test): Likewise.
29261 * sysdeps/i386/fpu/libm-test-ulps: Update.
29262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29264 2012-07-31 Florian Weimer <fweimer@redhat.com>
29266 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29267 Exit with zero in case no suitable GID is found, and write a
29268 message to standard error.
29270 2012-07-30 Roland McGrath <roland@hack.frob.com>
29272 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29274 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29275 (MAXPATHLEN): Removed.
29276 (NOGROUP, NODEV): New macros.
29277 (setbit, clrbit, isset, isclr): New macros.
29278 (howmany, roundup, powerof2): New macros.
29279 (DEV_BSIZE): New macro.
29281 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29282 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29284 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29285 definition on [!__NO_LONG_DOUBLE_MATH].
29287 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29288 PTR_MANGLE and PTR_DEMANGLE.
29290 * socket/accept4.c (accept4): Rename to __libc_accept4.
29291 Define accept4 as a weak alias.
29293 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29294 on [_DIRENT_HAVE_D_TYPE].
29295 * io/ftw.c (ftw_dir): Likewise.
29297 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29299 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29301 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29302 Use the BSD numbers rather than the arbitrary ones we had.
29303 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29304 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29305 (SIGXCPU, SIGXFSZ): New macros.
29308 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29309 initializer on [_LIBC_REENTRANT].
29311 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29312 definitions inside [_POSIX_MAPPED_FILES].
29314 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29316 * dirent/opendir.c: Include <fcntl.h>.
29318 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29319 (__libc_getspecific): Likewise.
29320 (__libc_key_create): Likewise.
29322 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29323 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29324 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29325 (tmpfile64): Define as alias.
29326 * sysdeps/wordsize-64/tmpfile.c: File removed.
29327 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29328 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29329 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29331 * stdio-common/vfscanf.c: Include <stdbool.h>.
29332 * nss/makedb.c: Likewise.
29333 * stdio-common/_i18n_number.h: Likewise.
29334 * argp/argp-help.c: Likewise.
29335 * posix/wordexp.c: Likewise.
29336 * sysdeps/posix/spawni.c: Likewise.
29337 * nss/nss_files/files-initgroups.c: Likewise.
29338 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29339 * nss/nss_files/files-initgroups.c: Likewise.
29340 * nss/nss_db/db-netgrp.c: Likewise.
29341 * nss/nss_db/db-initgroups.c: Likewise.
29342 * io/fchmodat.c: Include <sys/stat.h>.
29344 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29345 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29347 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29350 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29351 Add multiple inclusion protection.
29353 2012-07-27 David S. Miller <davem@davemloft.net>
29355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29357 2012-07-27 Gary Benson <gbenson@redhat.com>
29360 * elf/rtld.c: Include <stap-probe.h>.
29361 (dl_main): Added static probes "init_start" and "init_complete".
29362 * elf/dl-load.c: Include <stap-probe.h>.
29363 (lose): Take new parameter "nsid".
29364 Added static probe "map_failed".
29365 (_dl_map_object_from_fd): Pass namespace id to lose.
29366 Added static probe "map_start".
29367 (open_verify): Pass namespace id to lose.
29368 * elf/dl-open.c: Include <stap-probe.h>.
29369 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29370 and "reloc_complete".
29371 * elf/dl-close.c: Include <stap-probe.h>.
29372 (_dl_close_worker): Added static probes "unmap_start" and
29374 * elf/rtld-debugger-interface.txt: New file documenting the above.
29376 2012-07-26 Roland McGrath <roland@hack.frob.com>
29378 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29379 rather than a string variable.
29380 * sunrpc/rpc_main.c (h_output): Likewise.
29381 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29383 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29385 * inet/check_native.c: New file.
29387 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29390 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29391 if larger part has absolute value 1.0.
29392 * math/s_clog10.c (__clog10): Likewise.
29393 * math/s_clog10f.c (__clog10f): Likewise.
29394 * math/s_clog10l.c (__clog10l): Likewise.
29395 * math/s_clogf.c (__clogf): Likewise.
29396 * math/s_clogl.c (__clogl): Likewise.
29397 * math/libm-test.inc (clog_test): Add more tests.
29398 (clog10_test): Likewise.
29399 * sysdeps/i386/fpu/libm-test-ulps: Update.
29400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29402 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29403 (pltexit): Likewise.
29404 (La_regs): Likewise.
29405 (La_retval): Likewise.
29406 (int_retval): Likewise.
29407 Update #error for removed macros to refer only to definitions in
29409 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29411 (pltexit): Likewise.
29412 (La_regs): Likewise.
29413 (La_retval): Likewise.
29414 (int_retval): Likewise.
29415 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29417 (pltexit): Likewise.
29418 (La_regs): Likewise.
29419 (La_retval): Likewise.
29420 (int_retval): Likewise.
29421 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29423 (pltexit): Likewise.
29424 (La_regs): Likewise.
29425 (La_retval): Likewise.
29426 (int_retval): Likewise.
29427 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29429 (pltexit): Likewise.
29430 (La_regs): Likewise.
29431 (La_retval): Likewise.
29432 (int_retval): Likewise.
29433 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29435 (pltexit): Likewise.
29436 (La_regs): Likewise.
29437 (La_retval): Likewise.
29438 (int_retval): Likewise.
29439 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29441 (pltexit): Likewise.
29442 (La_regs): Likewise.
29443 (La_retval): Likewise.
29444 (int_retval): Likewise.
29445 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29446 macro definitions in tst-audit.h.
29447 * sysdeps/i386/tst-audit.h: New file.
29448 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29449 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29450 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29451 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29452 * sysdeps/sh/tst-audit.h: Likewise.
29453 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29454 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29455 * sysdeps/x86_64/tst-audit.h: Likewise.
29457 2012-07-26 Andreas Jaeger <aj@suse.de>
29459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29462 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29463 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29464 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29466 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29467 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29468 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29470 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29473 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29475 (si_call_addr, si_syscall, si_arch): Define new macro.
29476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29478 (si_call_addr, si_syscall, si_arch): Define new marcro.
29479 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29481 (si_call_addr, si_syscall, si_arch): Define new macro.
29482 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29484 (si_call_addr, si_syscall, si_arch): Define new macro.
29486 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29490 Change to 2.4.21 where previously 2.4.1.
29491 * sysdeps/unix/sysv/linux/configure: Regenerated.
29492 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29493 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29494 Linux kernel version.
29495 (__ASSUME_STD_AUXV): Remove.
29496 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29498 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29499 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29500 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29501 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29502 (__ASSUME_NETLINK_SUPPORT): Likewise.
29503 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29504 (__no_netlink_support): Remove conditional definition.
29505 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29507 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29508 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29509 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29510 (if_nameindex_ioctl): Remove.
29511 (if_nameindex_netlink): Do not handle __no_netlink_support.
29512 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29514 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29515 Remove conditional code.
29516 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29518 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29520 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29521 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29522 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29524 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29525 [!__ASSUME_STD_AUXV]: Remove conditional code.
29526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29527 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29528 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29530 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29531 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29533 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29535 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29536 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29538 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29540 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29543 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29546 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29547 code unconditional.
29548 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29550 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29552 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29555 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29557 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29560 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29561 code unconditional.
29562 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29564 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29566 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29569 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29570 code unconditional.
29571 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29573 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29575 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29578 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29580 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29581 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29582 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29583 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29584 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29585 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29586 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29587 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29588 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29589 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29590 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29591 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29592 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29593 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29594 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29595 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29596 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29598 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29600 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29601 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29604 2012-07-25 Florian Weimer <fweimer@redhat.com>
29606 * Versions.def: Add GLIBC_2.17.
29607 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29608 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29609 Introduce __libc_secure_getenv.
29610 * stdlib/Versions (2.17): Add secure_getenv
29611 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29612 * stdlib/secure-getenv.c: Rename __secure_getenv to
29613 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29614 symbol __secure_getenv for GLIBC_2.0.
29615 * stdlib/tst-secure-getenv.c: New.
29616 * stdlib/Makefile (tests): Add testcase.
29617 * manual/startup.texi (Environment Access): Document
29619 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29620 __libc_secure_getenv.
29621 * inet/ruserpass.c (ruserpass): Likewise.
29622 * malloc/mtrace.c (mtrace): Likewise.
29623 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29624 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29625 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29626 * sysdeps/posix/tempname.c: Likewise. Evaluate
29627 HAVE_SECURE_GETENV.
29628 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29629 __secure_getenv to __libc_secure_getenv.
29630 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29643 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29645 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29646 (struct La_i86_retval): Likewise.
29647 (struct La_x86_64_regs): Likewise.
29648 (struct La_x86_64_retval): Likewise.
29649 (struct La_x32_regs): Likewise.
29650 (struct La_x32_retval): Likewise.
29651 (struct La_ppc32_regs): Likewise.
29652 (struct La_ppc32_retval): Likewise.
29653 (struct La_ppc64_regs): Likewise.
29654 (struct La_ppc64_retval): Likewise.
29655 (struct La_sh_regs): Likewise.
29656 (struct La_sh_retval): Likewise.
29657 (struct La_s390_32_regs): Likewise.
29658 (struct La_s390_32_retval): Likewise.
29659 (struct La_s390_64_regs): Likewise.
29660 (struct La_s390_64_retval): Likewise.
29661 (struct La_sparc32_regs): Likewise.
29662 (struct La_sparc32_retval): Likewise.
29663 (struct La_sparc64_regs): Likewise.
29664 (struct La_sparc64_retval): Likewise.
29665 (struct audit_ifaces): Remove architecture-specific pltenter and
29667 * sysdeps/i386/ldsodefs.h: New file.
29668 * sysdeps/powerpc/ldsodefs.h: Likewise.
29669 * sysdeps/s390/ldsodefs.h: Likewise.
29670 * sysdeps/sh/ldsodefs.h: Likewise.
29671 * sysdeps/sparc/ldsodefs.h: Likewise.
29672 * sysdeps/x86_64/ldsodefs.h: Likewise.
29674 2012-07-25 Marek Polacek <polacek@redhat.com>
29677 * math/libm-test.inc (yn_test): Add another test.
29678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29679 to ERANGE when the result is +-Inf.
29680 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29681 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29682 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29683 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29685 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29687 * conform/data/time.h-data (NULL): Use macro-constant. Require
29689 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29691 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29693 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29695 * configure.in <sysdeps resolving>: Correct printing
29697 * configure: Regenerate.
29699 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29701 * math/w_ilogb.c: Include <limits.h>.
29702 * math/w_ilogbl.c: Likewise.
29704 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29706 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29707 va_copy. Document allowing for unavailable va_copy only as
29708 pre-C99 compatibility.
29709 * manual/string.texi (Copying and Concatenation): Use va_copy
29710 instead of __va_copy in concat example.
29712 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29714 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29715 (__sendto): Use create_address_port. Initialize APORT and deallocate
29718 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29719 with O_NOLINK passed to __file_name_lookup.
29721 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29722 with O_NOLINK passed to __file_name_lookup.
29724 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29725 negative N or less than NGIDS.
29727 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29728 type to string_t. Set ERANGE as errno and return it if NAME is not big
29729 enough. Use memcpy instead of strncpy.
29731 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29733 * elf/Makefile (check-data): Remove.
29734 (localplt.data): New vpath directive.
29735 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29736 instead of $(check-data).
29737 * scripts/data/localplt-generic.data: Move to ...
29738 * sysdeps/generic/localplt.data: ... here.
29739 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29740 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29741 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29744 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29747 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29750 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29753 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29756 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29760 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29762 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29763 PPC32 and PPC64 files.
29764 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29765 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29767 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29769 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29770 __makecontext_ret to ...
29771 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29772 ... here and call exit if uc_link is NULL. New file.
29773 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29774 __makecontext_ret.S.
29775 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29776 __makecontext_ret to ...
29777 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29778 ... here and call exit if uc_link is NULL. New file.
29779 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29780 __makecontext_ret.S.
29782 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29784 * elf/elf.h (R_390_IRELATIVE): New definition.
29785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29786 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29787 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29788 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29789 (elf_machine_lazy_rel): Likewise.
29790 * sysdeps/s390/dl-irel.h: New file.
29791 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29792 * sysdeps/s390/s390-64/memset.S: New asm code.
29793 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29794 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29795 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29796 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29797 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29798 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29799 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29800 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29801 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29802 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29803 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29804 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29805 * sysdeps/s390/s390-32/memset.S: New asm code.
29806 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29808 2012-07-17 Marek Polacek <polacek@redhat.com>
29811 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29812 * sysdeps/s390/s390-64/configure.in: Likewise.
29813 * sysdeps/sparc/configure.in: Likewise.
29814 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29815 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29816 * sysdeps/i386/configure.in: Likewise.
29817 * sysdeps/x86_64/configure.in: Likewise.
29818 * sysdeps/sh/configure.in: Likewise.
29819 * sysdeps/s390/s390-32/configure: Regenerated.
29820 * sysdeps/s390/s390-64/configure: Likewise.
29821 * sysdeps/x86_64/configure: Likewise.
29822 * sysdeps/sh/configure: Likewise.
29823 * sysdeps/powerpc/powerpc64/configure: Likewise.
29824 * sysdeps/powerpc/powerpc32/configure: Likewise.
29825 * sysdeps/sparc/configure: Likwise.
29826 * sysdeps/i386/configure: Likewise.
29828 * elf/dl-open.c: Comment fixes.
29830 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29832 * Makefile [CXX] (check-data): Remove.
29833 [CXX] (c++-types.data): New vpath directive.
29834 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29835 vpath. Do not allow for C++ type data being missing.
29836 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29837 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29838 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29839 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29840 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29841 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29842 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29845 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29848 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29851 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29854 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29857 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29860 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29863 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29866 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29867 definitions to architecture-specific files.
29868 (TLS_IE): Likewise.
29869 (TLS_LD): Likewise.
29870 (TLS_GD): Likewise.
29871 * sysdeps/i386/tls-macros.h: New file.
29872 * sysdeps/powerpc/tls-macros.h: Likewise.
29873 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29874 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29875 * sysdeps/sh/tls-macros.h: Likewise.
29876 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29877 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29878 * sysdeps/x86_64/tls-macros.h: Likewise.
29880 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29882 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29883 zero value for regular exit case.
29885 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29886 (__start_context): Preserve zero value for regular exit case.
29888 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29889 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29891 * manual/setjmp.texi (setcontext): Clarify normal process
29892 termination when uc_link is the null pointer.
29893 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29896 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29898 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29899 preprocessor. Test for each exception mask separately.
29901 2012-07-16 Andreas Jaeger <aj@suse.de>
29903 * po/ru.po: Update from translation team.
29905 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29907 * conform/data/string.h-data (NULL): Use macro-constant. Require
29909 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29910 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29911 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29912 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29915 2012-07-13 Andreas Jaeger <aj@suse.de>
29917 * po/fr.po: Update from translation team.
29919 2012-07-12 Marek Polacek <polacek@redhat.com>
29922 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29923 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29926 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29930 Change to 2.4.1 where previously 2.4.0.
29931 * sysdeps/unix/sysv/linux/configure: Regenerated.
29932 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29933 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29935 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29936 (__ASSUME_AT_CLKTCK): Remove.
29937 (__ASSUME_AT_PAGESIZE): Likewise.
29938 (__ASSUME_AT_XID): Likewise.
29939 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29940 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29941 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29943 (HAVE_AUX_PAGESIZE): Likewise.
29944 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29945 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29946 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29948 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29952 the temporary buffer used to invoke __gethostbyname2_r,
29953 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29954 host_data / struct gaih_addrtuple.
29955 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29956 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29957 header file nss/nsswitch.h.
29958 * nss/nsswitch.h (global scope): Add definition of implementation
29959 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29960 resolv/nss_dns/dns-host.c).
29962 2012-07-11 Andreas Jaeger <aj@suse.de>
29964 * po/fr.po: Update from translation team.
29966 * po/sv.po: Update from translation team
29967 * po/fr.po: Another update from translation team.
29969 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29972 for subnormals or multiply small sinh result by itself.
29973 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29976 2012-07-11 David S. Miller <davem@davemloft.net>
29978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29980 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29983 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29984 (INTERNAL_MARK): Shift it here.
29986 2012-07-10 Marek Polacek <polacek@redhat.com>
29989 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29990 libc_cv_asm_global_directive with .globl.
29991 * configure: Regenerated.
29992 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29994 * sysdeps/i386/configure: Regenerated.
29995 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29997 * sysdeps/x86_64/configure: Regenerated.
29998 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29999 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30000 * elf/tst-unique2mod2.c: Likewise.
30001 * elf/tst-unique2mod1.c: Likewise.
30002 * elf/tst-unique1mod2.c: Likewise.
30003 * elf/tst-unique1mod1.c: Likewise.
30004 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30005 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30007 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30008 * sysdeps/mach/sysdep.h: Likewise.
30009 * sysdeps/i386/sysdep.h: Likewise.
30010 * sysdeps/i386/i386-mcount.S: Likewise.
30011 * sysdeps/x86_64/_mcount.S: Likewise.
30012 * sysdeps/x86_64/sysdep.h: Likewise.
30013 * sysdeps/sh/_mcount.S: Likewise.
30014 * sysdeps/sh/sysdep.h: Likewise.
30015 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30016 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30017 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30018 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30019 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30020 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30021 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30022 * locale/localeinfo.h: Likewise.
30023 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30024 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30026 2012-07-09 Roland McGrath <roland@hack.frob.com>
30029 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30031 * manual/message.texi (The Uniforum approach): Likewise.
30032 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30033 (glibc iconv Implementation): Likewise.
30035 2012-07-09 Joseph Myers <joseph@codesourcery.com>
30038 * math/s_clog.c (__clog): Avoid scaling a value down where that
30039 could result in underflow.
30040 * math/s_clog10.c (__clog10): Likewise.
30041 * math/s_clog10f.c (__clog10f): Likewise.
30042 * math/s_clog10l.c (__clog10l): Likewise.
30043 * math/s_clogf.c (__clogf): Likewise.
30044 * math/s_clogl.c (__clogl): Likewise.
30045 * math/libm-test.inc (clog_test): Add more tests.
30046 (clog10_test): Likewise.
30047 * sysdeps/i386/fpu/libm-test-ulps: Update.
30048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30050 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30053 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30054 by 7 not 8 to examine high bit of fractional part.
30057 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30058 for call to __mcount_internal.
30059 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30060 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30061 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30063 2012-07-06 Joseph Myers <joseph@codesourcery.com>
30066 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30067 approximation for values within 0x1p-13f of an odd multiple of
30069 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30070 exception. Add more tests.
30071 * sysdeps/i386/fpu/libm-test-ulps: Update.
30074 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30075 inputs and return -1 for them. Do not check for +Inf in case not
30076 reachable for +Inf.
30077 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30078 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30079 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30080 and return -1 for them. Do not check for +Inf in case not
30081 reachable for +Inf.
30082 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30084 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30085 and return -1 for them. Do not check for +Inf in case not
30086 reachable for +Inf.
30087 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30088 spurious underflow.
30089 * sysdeps/i386/fpu/libm-test-ulps: Update.
30090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30092 2012-07-06 Mike Frysinger <vapier@gentoo.org>
30094 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30096 2012-07-05 Joseph Myers <joseph@codesourcery.com>
30100 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30101 could result in spurious underflow. Scale down values above
30102 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30103 * math/s_csqrtf.c (__csqrtf): Likewise.
30104 * math/s_csqrtl.c (__csqrtl): Likewise.
30105 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30106 spurious underflow.
30107 * sysdeps/i386/fpu/libm-test-ulps: Update.
30108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30110 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30112 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30114 * catgets/xopen-msg.awk: New file.
30115 * catgets/xopen-msg.sed: Removed.
30117 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30119 * intl/po2test.awk: New file.
30120 * intl/po2test.sed: Removed.
30122 2012-07-04 Joseph Myers <joseph@codesourcery.com>
30125 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30126 or multiply small sinh result by itself.
30127 * math/s_ctanf.c (__ctanf): Likewise.
30128 * math/s_ctanh.c (__ctanh): Likewise.
30129 * math/s_ctanhf.c (__ctanhf): Likewise.
30130 * math/s_ctanhl.c (__ctanhl): Likewise.
30131 * math/s_ctanl.c (__ctanl): Likewise.
30132 * math/libm-test.inc (ctan_test_tonearest): New function.
30133 (ctan_test_towardzero): Likewise.
30134 (ctan_test_downward): Likewise.
30135 (ctan_test_upward): Likewise.
30136 (ctanh_test_tonearest): Likewise.
30137 (ctanh_test_towardzero): Likewise.
30138 (ctanh_test_downward): Likewise.
30139 (ctanh_test_upward): Likewise.
30140 (main): Call these new functions.
30141 * sysdeps/i386/fpu/libm-test-ulps: Update.
30142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30144 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30146 * .gitignore: Delete /ports entry.
30148 2012-07-03 Andreas Jaeger <aj@suse.de>
30150 * po/bg.po: Update from translation team.
30151 * po/cs.po: Likewise.
30152 * po/de.po: Likewise.
30153 * po/hr.po: Likewise.
30154 * po/nl.pl: Likewise.
30155 * po/pl.po: Likewise.
30156 * po/vi.po: Likewise.
30158 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30160 * Makeconfig [!+link] (+link-before-libc): New variable.
30161 [!+link] (+link-after-libc): Likewise.
30162 [!+link] (+link-tests): Likewise.
30163 [!+link] (+link): Define in terms of $(+link-before-libc) and
30164 $(+link-after-libc).
30165 [!+link-static] (+link-static-before-libc): New variable.
30166 [!+link-static] (+link-static-after-libc): Likewise.
30167 [!+link-static] (+link-static-tests): Likewise.
30168 [!+link-static] (+link-static): Define in terms of
30169 $(+link-static-before-libc) and $(+link-static-after-libc).
30170 [build-shared] (link-libc-before-gnulib): New variable.
30171 [build-shared] (link-libc-tests): Likewise.
30172 [build-shared] (link-libc): Define in terms of
30173 $(link-libc-before-gnulib).
30174 [!build-shared] (link-libc-tests): New variable.
30175 (link-libc-static-tests): New variable.
30176 [!gnulib] (gnulib-arch): New variable.
30177 [!gnulib] (gnulib-tests): Likewise.
30178 [!gnulib] (static-gnulib-arch): Likewise.
30179 [!gnulib] (static-gnulib-tests): Likewise.
30180 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30181 Define with "=" instead of ":=".
30182 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30183 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30184 * Rules (binaries-all-notests): New variable.
30185 (binaries-all-tests): Likewise.
30186 (binaries-static-notests): Likewise.
30187 (binaries-static-tests): Likewise.
30188 (binaries-all): Define using $(binaries-all-notests) and
30189 $(binaries-all-tests).
30190 (binaries-static): Define using $(binaries-static-notests) and
30191 $(binaries-static-tests).
30192 (binaries-shared-tests): New variable.
30193 (binaries-shared-notests): Likewise.
30194 (binaries-shared): Remove variable.
30195 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30196 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30197 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30198 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30199 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30200 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30201 * elf/Makefile (sln-modules): New variable.
30202 (extra-objs): Add $(sln-modules:=.o).
30203 (ldconfig-modules): Add static-stubs.
30204 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30205 * elf/static-stubs.c: New file.
30208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30209 by 7 not 8 to examine high bit of fractional part. Use volatile
30210 variables when splitting into final array of floats if
30211 __FLT_EVAL_METHOD__ != 0.
30212 * math/libm-test.inc (cos_test): Add another test.
30213 (sin_test): Likewise.
30214 * sysdeps/i386/fpu/libm-test-ulps: Update.
30217 * math/libm-test.inc (cosh_test): Add more tests.
30219 * version.h (RELEASE): Set to "development".
30220 (VERSION): Set to "2.16.90".
30222 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30224 * NEWS: Update copyright. Remove last-updated date.
30225 Mention math library bug fixes and timezone data changes.
30226 * README: Mention GNU/Hurd, x32, and HPPA support status.
30228 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30230 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30232 2012-06-27 Andreas Jaeger <aj@suse.de>
30234 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30236 2012-06-25 Andreas Jaeger <aj@suse.de>
30238 * sysdeps/s390/fpu/libm-test-ulps: Update.
30240 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30241 Thomas Schwinge <thomas@codesourcery.com>
30243 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30244 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30248 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30250 * sysdeps/mach/start.c: Remove file.
30251 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30252 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30253 * sysdeps/sh/init-first.c: Likewise.
30255 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30256 registers for frame unwinding purposes, add CFI directives.
30257 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30258 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30259 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30262 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30263 __fortify_fail returning.
30264 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30266 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30267 sysdeps/sh/____longjmp_chk.S.
30268 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30269 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30270 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30271 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30273 * sysdeps/sh/abort-instr.h: New file.
30274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30275 process in case exit returns.
30277 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30278 initialize the GOT register before use.
30280 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30281 calculation of ARGC > 4.
30283 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30284 meaningful names to some local labels.
30286 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30287 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30289 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30290 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30291 (__arch_compare_and_exchange_val_16_acq): Likewise.
30292 (__arch_compare_and_exchange_val_32_acq): Likewise.
30293 (atomic_exchange_and_add): Fix gUSA sequence.
30294 (atomic_add): Likewise.
30295 (atomic_add_negative): Likewise.
30296 (atomic_add_zero): Likewise.
30297 (atomic_bit_test_set): Likewise.
30299 2012-06-22 Andreas Schwab <schwab@redhat.com>
30302 * include/link.h (struct link_map): Add l_free_initfini.
30303 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30305 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30306 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30307 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30310 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30312 * configure.in: Use AC_LANG_SOURCE.
30313 * configure: Regenerate.
30315 2012-06-22 Roland McGrath <roland@hack.frob.com>
30317 * configure.in (libc_cv_localstatedir): New substituted variable.
30318 * configure: Regenerated.
30319 * config.make.in (localstatedir): New variable, substituted from
30320 libc_cv_localstatedir.
30321 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30322 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30323 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30324 * sysdeps/gnu/configure: Regenerated.
30326 2012-06-21 Jeff Law <law@redhat.com>
30329 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30330 free. Simplify list management for _LIBC case.
30332 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30335 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30336 Clear sign bit of 64-bit integer value before comparing against
30339 * sysdeps/mach/configure: Regenerated.
30341 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30344 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30346 2012-06-21 Jeff Law <law@redhat.com>
30349 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30350 uint16_t for elements in the "seen" array to avoid char overflows.
30351 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30352 * elf/dl-open.c (dl_open_worker): Likewise.
30354 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30356 * scripts/list-sources.sh: Scan PORTS for translations.
30357 * po/libc.pot: Regenerated.
30359 2012-06-21 Andreas Jaeger <aj@suse.de>
30362 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30364 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30365 * bits/byteswap-16.h (__bswap_16): Likewise.
30366 * bits/byteswap.h (__bswap_constant_16): Likewise.
30368 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30371 * sysdeps/i386/fpu_control.h: Removed.
30372 * sysdeps/x86_64/fpu_control.h: Moved to ...
30373 * sysdeps/x86/fpu_control.h: Here.
30375 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30376 (_FPU_SETCW): Likewise.
30378 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30381 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30382 * sysdeps/x86/fpu/bits/mathinline.h: This.
30383 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30387 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30388 functions if __x86_64__ is defined.
30390 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30392 * string/endian.h: Add !__ASSEMBLER__ condition for including
30393 conversion interfaces.
30395 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30398 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30399 of ABS(x) in calculating zero to negative powers other than odd
30401 * math/libm-test.inc (pow_test): Add more tests.
30403 2012-06-15 Andreas Jaeger <aj@suse.de>
30405 * manual/contrib.texi (Contributors): Update entry of Liubov
30406 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30409 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30411 * string/string.h: Add __wur to GNU version of strerror_r.
30413 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30416 * string/Makefile (tests): Add tst-strtok_r.
30417 * string/tst-strtok_r.c: New file.
30418 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30419 RAX_LP/RDX_LP on SAVE_PTR.
30421 2012-06-14 Roland McGrath <roland@hack.frob.com>
30423 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30425 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30427 * libm_test.inc (csqrt_test): Allow more spurious underflow
30429 (j0_test): Likewise.
30430 (j1_test): Likewise.
30431 (y0_test): Likewise.
30432 (y1_test): Likewise.
30434 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30436 * po/Makefile (libc.pot): Use UTF-8 charset.
30438 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30441 Suppress sign-conversion warning from FD_SET.
30442 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30443 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30444 not unsigned long int.
30445 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30447 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30451 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30452 __extern_always_inline instead of __extern_inline.
30453 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30454 (__signbit): Likewise.
30455 (__signbitl): Support C++ namespace.
30456 (lrintf): New inline function.
30458 (llrintf): Likewise.
30459 (llrint): Likewise.
30469 (floorf): Likewise.
30470 (nearbyint): Likewise.
30471 (nearbyintf): Likewise.
30473 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30475 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30476 non-default versions.
30478 2012-06-11 Roland McGrath <roland@hack.frob.com>
30481 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30483 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30485 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30486 (FE_UPWARD, FE_DOWNWARD): Don't define.
30487 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30488 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30490 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30492 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30493 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30495 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30497 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30499 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30500 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30502 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30505 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30506 * sysdeps/i386/fpu/Implies: New file.
30507 * sysdeps/x86_64/fpu/Implies: Likewise.
30508 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30509 * sysdeps/x86/fpu/bits/fenv.h: This.
30511 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30514 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30517 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30518 character 0xffff that matches the last element of the
30521 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30526 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30528 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30529 values higher than 25.6283.
30531 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30534 subnormal exponent extraction and add some __builtin_expect.
30535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30536 Fix for subnormal mantissa calculation.
30538 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30540 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30541 cpu2 is -1 and errno is not ENOSYS.
30543 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30546 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30547 * sysdeps/x86/bits/string.h: This.
30548 * sysdeps/x86_64/bits/string.h: Removed.
30550 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30551 if not compiling for x86-64, but compiling for >= i486.
30553 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30554 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30556 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30557 New macro from Linux kernel 3.4.0.
30558 (FP_XSTATE_MAGIC2): Likewise.
30559 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30560 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30561 (struct _fpx_sw_bytes): New struct.
30562 (struct _xsave_hdr): Likewise.
30563 (struct _ymmh_state): Likewise.
30564 (struct _xstate): Likewise.
30566 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30567 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30568 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30569 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30570 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30571 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30573 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30574 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30575 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30576 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30577 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30578 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30580 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30583 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30584 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30585 (sysdep_headers): Include sys/platform/ppc.h.
30586 * sysdeps/powerpc/test-gettimebase.c: Test for
30587 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30588 * manual/Makefile (appendices): Include platform.texi.
30589 * manual/contrib.texi (Contributors): Update @node pointers.
30590 * manual/maint.texi (Maintenance): Likewise.
30591 (Platform): New node.
30592 * manual/platform.texi: New file. Document the new features.
30594 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30595 Jakub Jelinek <jakub@redhat.com>
30598 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30599 where __builtin_expect is unavailable.
30601 2012-06-03 David S. Miller <davem@davemloft.net>
30603 * stdlib/longlong.h: Updated from GCC.
30605 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30608 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30609 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30612 (GLIBC_2.16): Likewise.
30614 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30616 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30618 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30621 (default-abi): New variable.
30622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30623 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30625 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30627 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30629 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30632 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30633 definition. Document in comment.
30635 2012-06-01 David S. Miller <davem@davemloft.net>
30637 * stdlib/longlong.h: Updated from GCC.
30639 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30642 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30643 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30644 sys/debugreg.h sys/io.h here.
30645 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30646 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30648 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30649 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30650 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30651 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30652 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30653 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30655 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30656 Define only if __x86_64__ is defined.
30658 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30661 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30662 Use int64_t for variable i.
30663 * math/libm-test.inc (fmod_test): Add more tests.
30665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30666 z computation is not scheduled after fetestexcept.
30667 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30668 Use math_force_eval instead of asm to ensure calculation scheduled
30669 before exception test.
30670 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30671 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30673 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30676 computation is not scheduled after fetestexcept.
30678 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30681 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30682 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30684 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30686 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30687 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30689 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30692 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30694 (__WCHAR_MIN): Support __WORDSIZE == 64.
30695 (__WCHAR_MAX): Likewise.
30697 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30702 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30705 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30706 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30708 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30709 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30711 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30712 Defined to 1 if __x86_64__ isn't defined.
30713 (_STAT_VER_LINUX_OLD): New.
30714 (st_atime): Remove duplicate.
30715 (st_mtime): Likewise.
30716 (st_ctime): Likewise.
30718 2012-05-31 David S. Miller <davem@davemloft.net>
30720 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30723 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30725 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30729 * elf/dl-reloc.c: Include <_itoa.h>.
30730 (_dl_reloc_bad_type): Remove use of INTUSE.
30731 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30732 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30733 * stdio-common/psiginfo.c (psiginfo): Likewise.
30734 * stdio-common/psignal.c (psignal): Likewise.
30735 * string/strsignal.c (strsignal): Likewise.
30736 * include/signal.h (_sys_siglist): Declare hidden proto.
30737 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30738 INTVARDEF with libc_hidden_data_def.
30739 * stdio-common/itoa-udigits.c: Likewise.
30740 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30741 (_itoa_lower_digits_internal): Remove declaration.
30742 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30743 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30744 (_sys_sigabbrev_internal): Remove aliases.
30745 (_sys_siglist): Define hidden alias.
30747 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30752 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30755 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30756 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30758 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30759 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30760 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30761 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30762 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30763 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30765 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30766 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30767 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30769 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30777 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30778 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30779 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30781 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30782 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30783 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30784 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30785 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30786 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30788 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30789 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30791 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30792 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30796 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30798 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30799 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30801 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30803 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30804 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30805 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30807 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30809 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30811 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30813 * math/math.h (M_El): Use two more decimal places.
30814 (M_LOG2El): Likewise.
30815 (M_LOG10El): Likewise.
30816 (M_LN2l): Likewise.
30817 (M_LN10l): Likewise.
30819 (M_PI_2l): Likewise.
30820 (M_PI_4l): Likewise.
30821 (M_1_PIl): Likewise.
30822 (M_2_PIl): Likewise.
30823 (M_2_SQRTPIl): Likewise.
30824 (M_SQRT2l): Likewise.
30825 (M_SQRT1_2l): Likewise.
30827 2012-05-31 David S. Miller <davem@davemloft.net>
30829 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30830 values between float registers.
30831 * sysdeps/sparc/sparc64/memset.S: Likewise.
30832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30834 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30836 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30837 -D_FORTIFY_SOURCE=1.
30838 (CPPFLAGS-tst-longjmp_chk.c): Define.
30839 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30840 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30841 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30842 CFLAGS-tst-wchar-h.c.
30844 2012-05-31 Marek Polacek <polacek@redhat.com>
30847 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30848 __endmntent_internal): Remove declaration.
30849 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30850 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30851 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30853 2012-05-30 David S. Miller <davem@davemloft.net>
30855 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30856 (___Q_simulate_exceptions): Use real FP ops rather than writing
30858 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30861 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30864 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30865 * sysdeps/x86/bits/xtitypes.h: This.
30867 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30868 * sysdeps/x86/bits/wordsize.h: This.
30870 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30871 * sysdeps/x86/bits/huge_vall.h: This.
30873 * sysdeps/i386/bits/select.h: Removed.
30874 * sysdeps/x86_64/bits/select.h: Renamed to ...
30875 * sysdeps/x86/bits/select.h: This.
30877 * sysdeps/i386/bits/setjmp.h: Removed.
30878 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30879 * sysdeps/x86/bits/setjmp.h: This.
30881 * sysdeps/i386/bits/mathdef.h: Removed.
30882 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30883 * sysdeps/x86/bits/mathdef.h: This.
30885 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30888 * include/sys/socket.h (__connect_internal)
30889 (__libc_sa_len_internal): Remove declaration.
30890 (__connect, __libc_sa_len): Declare hidden_proto.
30891 (SA_LEN): Remove use of INTUSE.
30892 * socket/connect.c: Add libc_hidden_def.
30893 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30894 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30895 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30897 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30898 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30899 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30900 of adding _internal alias.
30902 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30905 * sysdeps/i386/bits/link.h: Removed.
30906 * sysdeps/i386/bits/linkmap.h: Likewise.
30907 * sysdeps/x86_64/bits/link.h: Renamed to ...
30908 * sysdeps/x86/bits/link.h: This.
30909 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30910 * sysdeps/x86/bits/linkmap.h: This.
30912 * sysdeps/i386/bits/endian.h: Removed.
30913 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30914 * sysdeps/x86/bits/endian.h: This.
30916 * sysdeps/i386/bits/byteswap.h: Removed.
30917 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30918 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30919 * sysdeps/x86/bits/byteswap.h: This.
30920 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30921 * sysdeps/x86/bits/byteswap-16.h: This.
30922 * sysdeps/i386/Implies: Add x86.
30923 * sysdeps/x86_64/Implies: Likewise.
30925 2012-05-30 David S. Miller <davem@davemloft.net>
30927 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30928 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30930 (FP_TRAPPING_EXCEPTIONS): Define.
30931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30932 (FP_TRAPPING_EXCEPTIONS): Define.
30933 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30934 subnormals only when inexact has been signalled or underflow
30935 exceptions are enabled.
30936 (_FP_PACK_CANONICAL): Likewise.
30938 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30942 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30944 2012-05-30 Richard Henderson <rth@twiddle.net>
30946 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30947 with #ifndef NOT_IN_libc.
30949 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30950 marked to avoid plt entry.
30952 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30955 * Makeconfig (default-abi): New macro.
30956 (abi-includes): Likewise.
30957 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30958 $(abi-$(default-abi)-lib-soname) for soname if defined.
30959 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30961 * Makefile (installed-stubs): Likewise.
30962 * include/stubs-biarch.h: Removed.
30963 * scripts/lib-names.awk: Only handle one library at a time.
30964 * scripts/soversions.awk: Remove WORDSIZE support.
30965 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30967 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30969 (syscall-list-default-condition): Likewise.
30970 (syscall-list-default-condition): Likewise.
30971 (syscall-list-includes): Likewise.
30972 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30973 syscall-list-* with abi-*. Handle undefined abi-variants.
30974 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30975 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30976 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30977 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30978 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30979 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30981 (syscall-list-32-options): Likewise.
30982 (syscall-list-32-condition): Likewise.
30983 (syscall-list-64-options): Likewise.
30984 (syscall-list-64-condition): Likewise.
30985 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30987 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30990 (abi-64-ld-soname): New macro.
30991 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30992 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30995 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30996 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30998 2012-05-30 Joseph Myers <joseph@codesourcery.com>
31000 * sysdeps/unix/sysv/linux/kernel-features.h
31001 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31002 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31003 include <kernel-features.h>.
31004 [!__NR_ftruncate64]: Remove conditional code.
31005 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31006 [__NR_ftruncate64]: Make code unconditional.
31007 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31008 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31009 include <kernel-features.h>.
31010 [!__NR_ftruncate64]: Remove conditional code.
31011 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31012 [__NR_ftruncate64]: Make code unconditional.
31013 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31015 include <kernel-features.h>.
31016 [!__NR_ftruncate64]: Remove conditional code.
31017 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31018 [__NR_ftruncate64]: Make code unconditional.
31019 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31021 include <kernel-features.h>.
31022 [!__NR_ftruncate64]: Remove conditional code.
31023 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31024 [__NR_ftruncate64]: Make code unconditional.
31025 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31027 * configure.in (libc_cv_fpie): Weaken to a compile test using
31028 LIBC_TRY_CC_OPTION.
31029 * configure: Regenerated.
31031 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31046 2012-05-27 David S. Miller <davem@davemloft.net>
31048 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31050 (__Q_simulate_exceptions): Return void. Change to simulate
31051 exceptions by writing into the %fsr.
31052 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31053 (__Qp_handle_exceptions): Likewise.
31055 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31056 __Qp_handle_exceptions.
31057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31058 __Qp_handle_exceptions.
31059 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31060 as unused and give dummy FP_RND_NEAREST initializer.
31061 (FP_INHIBIT_RESULTS): Define.
31062 (___Q_simulate_exceptions): Update declaration.
31063 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31066 as unused and give dummy FP_RND_NEAREST initializer.
31067 (__Qp_handle_exceptions): Update declaration.
31068 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31071 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31073 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31074 the temporary FPU control word.
31075 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31076 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31077 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31078 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31079 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31080 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31081 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31082 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31083 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31084 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31085 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31087 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31089 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31092 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31094 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31095 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31096 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31097 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31099 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31100 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31103 2012-05-27 Ulrich Drepper <drepper@gmail.com>
31105 * po/h.po: Update from translation team.
31107 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31109 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31111 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31112 handling of denormals.
31113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31114 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31115 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31116 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31122 2012-05-26 Marek Polacek <polacek@redhat.com>
31125 * math/libm-test.inc (fma_test): Don't always expect underflow
31128 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31131 * elf/tst-execstack.c: Include stackinfo.h.
31132 (do_test): Adjust test case to ensure that pthread_getattr_np
31133 behaviour remains the same after marking stack executable.
31135 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31137 * sysdeps/unix/sysv/linux/kernel-features.h
31138 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31139 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31141 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31142 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31143 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31145 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31146 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31148 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31150 * configure.in: Define the default includes to being none.
31151 * configure: Regenerated.
31153 2012-05-25 Roland McGrath <roland@hack.frob.com>
31155 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31156 * sysdeps/x86_64/setjmp.S: Likewise.
31157 * sysdeps/i386/bsd-setjmp.S: Likewise.
31158 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31159 * sysdeps/i386/setjmp.S: Likewise.
31160 * sysdeps/i386/__longjmp.S: Likewise.
31161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31162 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31164 * include/stap-probe.h: New file.
31165 * configure.in: Handle --enable-systemtap.
31166 * configure: Regenerated.
31167 * config.h.in (USE_STAP_PROBE): New #undef.
31168 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31169 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31170 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31172 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31175 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31176 to 2.4.0 where earlier.
31177 * sysdeps/unix/sysv/linux/configure: Regenerated.
31178 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31179 <kernel-features.h>.
31180 [__ASSUME_32BITUIDS]: Make code unconditional.
31181 [!__ASSUME_32BITUIDS]: Remove conditional code.
31182 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31183 <kernel-features.h>.
31184 [__ASSUME_32BITUIDS]: Make code unconditional.
31185 [!__ASSUME_32BITUIDS]: Remove conditional code.
31186 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31187 [__ASSUME_32BITUIDS]: Make code unconditional.
31188 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31189 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31190 <kernel-features.h>.
31191 [__ASSUME_32BITUIDS]: Make code unconditional.
31192 [!__ASSUME_32BITUIDS]: Remove conditional code.
31193 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31194 <kernel-features.h>.
31195 [__ASSUME_32BITUIDS]: Make code unconditional.
31196 [!__ASSUME_32BITUIDS]: Remove conditional code.
31197 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31198 <kernel-features.h>.
31199 [__ASSUME_32BITUIDS]: Make code unconditional.
31200 [!__ASSUME_32BITUIDS]: Remove conditional code.
31201 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31202 <kernel-features.h>.
31203 [__ASSUME_32BITUIDS]: Make code unconditional.
31204 [!__ASSUME_32BITUIDS]: Remove conditional code.
31205 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31206 <kernel-features.h>.
31207 [__ASSUME_32BITUIDS]: Make code unconditional.
31208 [!__ASSUME_32BITUIDS]: Remove conditional code.
31209 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31210 <kernel-features.h>.
31211 [__ASSUME_32BITUIDS]: Make code unconditional.
31212 [!__ASSUME_32BITUIDS]: Remove conditional code.
31213 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31214 <kernel-features.h>.
31215 [__ASSUME_32BITUIDS]: Make code unconditional.
31216 [!__ASSUME_32BITUIDS]: Remove conditional code.
31217 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31218 <kernel-features.h>.
31219 [__ASSUME_32BITUIDS]: Make code unconditional.
31220 [!__ASSUME_32BITUIDS]: Remove conditional code.
31221 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31222 <kernel-features.h>.
31223 [__ASSUME_32BITUIDS]: Make code unconditional.
31224 [!__ASSUME_32BITUIDS]: Remove conditional code.
31225 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31226 <kernel-features.h>.
31227 [__ASSUME_32BITUIDS]: Make code unconditional.
31228 [!__ASSUME_32BITUIDS]: Remove conditional code.
31229 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31230 <kernel-features.h>.
31231 [__NR_setresgid] (__setresgid): Do not declare.
31232 [__ASSUME_32BITUIDS]: Make code unconditional.
31233 [!__ASSUME_32BITUIDS]: Remove conditional code.
31234 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31235 <kernel-features.h>.
31236 [__NR_setresuid] (__setresuid): Do not declare.
31237 [__ASSUME_32BITUIDS]: Make code unconditional.
31238 [!__ASSUME_32BITUIDS]: Remove conditional code.
31239 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31240 <kernel-features.h>.
31241 [__ASSUME_32BITUIDS]: Make code unconditional.
31242 [!__ASSUME_32BITUIDS]: Remove conditional code.
31243 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31244 <kernel-features.h>.
31245 [__ASSUME_32BITUIDS]: Make code unconditional.
31246 [!__ASSUME_32BITUIDS]: Remove conditional code.
31247 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31248 <kernel-features.h>.
31249 [__ASSUME_32BITUIDS]: Make code unconditional.
31250 [!__ASSUME_32BITUIDS]: Remove conditional code.
31251 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31252 <kernel-features.h>.
31253 [__ASSUME_32BITUIDS]: Make code unconditional.
31254 [!__ASSUME_32BITUIDS]: Remove conditional code.
31255 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31256 <kernel-features.h>.
31257 [__ASSUME_32BITUIDS]: Make code unconditional.
31258 [!__ASSUME_32BITUIDS]: Remove conditional code.
31259 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31260 <kernel-features.h>.
31261 [__ASSUME_32BITUIDS]: Make code unconditional.
31262 [!__ASSUME_32BITUIDS]: Remove conditional code.
31263 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31264 <kernel-features.h>.
31265 [__ASSUME_32BITUIDS]: Make code unconditional.
31266 [!__ASSUME_32BITUIDS]: Remove conditional code.
31267 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31268 <kernel-features.h>.
31269 [__ASSUME_32BITUIDS]: Make code unconditional.
31270 [!__ASSUME_32BITUIDS]: Remove conditional code.
31271 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31272 <kernel-features.h>.
31273 [__ASSUME_32BITUIDS]: Make code unconditional.
31274 [!__ASSUME_32BITUIDS]: Remove conditional code.
31275 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31276 <kernel-features.h>.
31277 [__ASSUME_32BITUIDS]: Make code unconditional.
31278 [!__ASSUME_32BITUIDS]: Remove conditional code.
31279 * sysdeps/unix/sysv/linux/kernel-features.h
31280 (__ASSUME_SETRESUID_SYSCALL): Remove.
31281 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31282 (__ASSUME_32BITUIDS): Likewise.
31283 (__ASSUME_LDT_WORKS): Likewise.
31284 (__ASSUME_O_DIRECTORY): Likewise.
31285 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31286 architecture but not kernel version.
31287 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31288 (__ASSUME_MMAP2_SYSCALL): Likewise.
31289 (__ASSUME_STAT64_SYSCALL): Likewise.
31290 (__ASSUME_IPC64): Likewise.
31291 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31292 <kernel-features.h>.
31293 [__ASSUME_32BITUIDS]: Make code unconditional.
31294 [!__ASSUME_32BITUIDS]: Remove conditional code.
31295 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31296 <kernel-features.h>.
31297 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31298 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31299 132096]: Remove conditional code.
31300 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31301 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31302 <kernel-features.h>.
31303 [__ASSUME_32BITUIDS]: Make code unconditional.
31304 [!__ASSUME_32BITUIDS]: Remove conditional code.
31305 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31306 <kernel-features.h>.
31307 [__ASSUME_32BITUIDS]: Make code unconditional.
31308 [!__ASSUME_32BITUIDS]: Remove conditional code.
31309 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31310 <kernel-features.h>.
31311 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31313 (__setresgid): Do not declare.
31314 [__ASSUME_32BITUIDS]: Make code unconditional.
31315 [!__ASSUME_32BITUIDS]: Remove conditional code.
31316 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31317 <kernel-features.h>.
31318 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31320 (__setresuid): Do not declare.
31321 [__ASSUME_32BITUIDS]: Make code unconditional.
31322 [!__ASSUME_32BITUIDS]: Remove conditional code.
31323 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31324 <kernel-features.h>.
31325 [__ASSUME_32BITUIDS]: Make code unconditional.
31326 [!__ASSUME_32BITUIDS]: Remove conditional code.
31327 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31328 <kernel-features.h>.
31329 [__ASSUME_32BITUIDS]: Make code unconditional.
31330 [!__ASSUME_32BITUIDS]: Remove conditional code.
31332 2012-05-25 Richard Henderson <rth@twiddle.net>
31334 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31335 dl_hwcap to ifunc resolver.
31336 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31338 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31339 dl_hwcap to ifunc resolver.
31340 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31342 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31345 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31346 for |x| <= 2**-26, not 2**-57.
31347 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31350 2012-05-24 Jeff Law <law@redhat.com>
31352 * stdio-common/Makefile (tests): Add bug25.
31353 * stdio-common/bug25.c: New test.
31355 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31358 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31359 multiple of MALLOC_ALIGNMENT in size.
31360 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31362 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31364 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31366 (FILENAME_MAX): Use macro-int-constant.
31367 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31368 (_IOFBF): Use macro-int-constant.
31369 (_IOLBF): Likewise.
31370 (_IONBF): Likewise.
31371 (SEEK_CUR): Likewise.
31372 (SEEK_END): Likewise.
31373 (SEEK_SET): Likewise.
31374 (TMP_MAX): Likewise.
31375 (EOF): Use macro-int-constant. Require < 0.
31376 (NULL): Use macro-constant. Require == 0.
31377 (stdin): Require type to be FILE *.
31378 (stdout): Likewise.
31379 (stderr): Likewise.
31380 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31381 macro-int-constant.
31382 (EXIT_SUCCESS): Likewise.
31383 (NULL): Use macro-constant. Require == 0.
31384 (RAND_MAX): Use macro-int-constant.
31385 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31386 [C99-based standards] (strtof): Require function.
31387 [C99-based standards] (strtold): Likewise.
31388 [C99-based standards] (strtoll): Likewise.
31389 [C99-based standards] (strtoull): Likewise.
31390 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31391 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31392 [ISO || ISO99 || ISO11] (math.h): Likewise.
31393 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31394 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31397 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31400 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31401 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31402 * intl/dgettext.c (DCGETTEXT): Likewise.
31403 * intl/gettext.c (DCGETTEXT): Likewise.
31404 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31405 * posix/regex_internal.h (gettext): Likewise.
31406 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31407 Remove declaration.
31408 * include/argz.h (__argz_count_internal)
31409 (__argz_stringify_internal): Remove declaration.
31410 (__argz_count, __argz_stringify): Declare hidden proto.
31411 * intl/dcgettext.c: Remove use of INTDEF.
31412 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31413 * string/argz-stringify.c: Likewise.
31414 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31415 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31416 Declare hidden proto.
31417 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31418 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31419 Declare hidden proto.
31420 * include/stdio.h (__asprintf_internal): Don't declare.
31421 (__asprintf): Don't define as macro. Declare hidden proto.
31422 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31423 (__fsetlocking): Declare hidden proto.
31424 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31425 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31427 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31428 (_IO_setlinebuf): Remove use of INTUSE.
31429 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31430 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31431 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31432 Remove declaration.
31433 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31434 (_IO_do_flush): Remove use of INTUSE.
31435 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31436 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31437 (_IO_adjust_column, _IO_least_wmarker)
31438 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31439 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31440 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31441 (_IO_default_doallocate, _IO_wdefault_doallocate)
31442 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31443 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31444 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31445 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31446 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31447 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31448 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31449 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31450 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31451 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31452 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31453 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31454 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31456 (_IO_flush_all_internal, _IO_adjust_column_internal)
31457 (_IO_default_uflow_internal, _IO_default_finish_internal)
31458 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31459 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31460 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31461 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31462 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31463 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31464 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31465 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31466 (_IO_file_close_internal, _IO_file_close_it_internal)
31467 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31468 (_IO_file_init_internal, _IO_file_attach_internal)
31469 (_IO_file_fopen_internal, _IO_file_read_internal)
31470 (_IO_file_sync_internal, _IO_file_seek_internal)
31471 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31472 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31473 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31474 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31475 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31476 (_IO_list_all_internal, _IO_link_in_internal)
31477 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31478 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31479 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31480 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31481 (_IO_do_write_internal, _IO_padn_internal)
31482 (_IO_getline_info_internal, _IO_getline_internal)
31483 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31484 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31485 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31486 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31487 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31488 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31489 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31490 with libc_hidden_ver, remove use of INTUSE.
31491 * libio/genops.c: Likewise.
31492 * libio/freopen.c: Likewise.
31493 * libio/freopen64.c: Likewise.
31494 * libio/iofclose.c: Likewise.
31495 * libio/iofdopen.c: Likewise.
31496 * libio/iofflush.c: Likewise.
31497 * libio/iofflush_u.c: Likewise.
31498 * libio/iofgets.c: Likewise.
31499 * libio/iofgets_u.c: Likewise.
31500 * libio/iofopen.c: Likewise.
31501 * libio/iofopncook.c: Likewise.
31502 * libio/iofread.c: Likewise.
31503 * libio/iofread_u.c: Likewise.
31504 * libio/ioftell.c: Likewise.
31505 * libio/iofwrite.c: Likewise.
31506 * libio/iogetline.c: Likewise.
31507 * libio/iogets.c: Likewise.
31508 * libio/iogetwline.c: Likewise.
31509 * libio/iopadn.c: Likewise.
31510 * libio/iopopen.c: Likewise.
31511 * libio/ioseekoff.c: Likewise.
31512 * libio/ioseekpos.c: Likewise.
31513 * libio/iosetbuffer.c: Likewise.
31514 * libio/iosetvbuf.c: Likewise.
31515 * libio/ioungetc.c: Likewise.
31516 * libio/ioungetwc.c: Likewise.
31517 * libio/iovdprintf.c: Likewise.
31518 * libio/iovsprintf.c: Likewise.
31519 * libio/iovsscanf.c: Likewise.
31520 * libio/memstream.c: Likewise.
31521 * libio/obprintf.c: Likewise.
31522 * libio/oldfileops.c: Likewise.
31523 * libio/oldiofclose.c: Likewise.
31524 * libio/oldiofdopen.c: Likewise.
31525 * libio/oldiofopen.c: Likewise.
31526 * libio/oldiopopen.c: Likewise.
31527 * libio/oldstdfiles.c: Likewise.
31528 * libio/putc.c: Likewise.
31529 * libio/setbuf.c: Likewise.
31530 * libio/setlinebuf.c: Likewise.
31531 * libio/stdfiles.c: Likewise.
31532 * libio/strops.c: Likewise.
31533 * libio/vasprintf.c: Likewise.
31534 * libio/vscanf.c: Likewise.
31535 * libio/vsnprintf.c: Likewise.
31536 * libio/vswprintf.c: Likewise.
31537 * libio/wfiledoalloc.c: Likewise.
31538 * libio/wfileops.c: Likewise.
31539 * libio/wgenops.c: Likewise.
31540 * libio/wmemstream.c: Likewise.
31541 * libio/wstrops.c: Likewise.
31542 * libio/__fpurge.c: Likewise.
31543 * libio/__fsetlocking.c: Likewise.
31544 * assert/assert.c: Likewise.
31545 * debug/fgets_chk.c: Likewise.
31546 * debug/fgets_u_chk.c: Likewise.
31547 * debug/fread_chk.c: Likewise.
31548 * debug/fread_u_chk.c: Likewise.
31549 * debug/gets_chk.c: Likewise.
31550 * debug/obprintf_chk.c: Likewise.
31551 * debug/vasprintf_chk.c: Likewise.
31552 * debug/vdprintf_chk.c: Likewise.
31553 * debug/vsnprintf_chk.c: Likewise.
31554 * debug/vsprintf_chk.c: Likewise.
31555 * malloc/mtrace.c: Likewise.
31556 * misc/error.c: Likewise.
31557 * misc/syslog.c: Likewise.
31558 * stdio-common/asprintf.c: Likewise.
31559 * stdio-common/fxprintf.c: Likewise.
31560 * stdio-common/getw.c: Likewise.
31561 * stdio-common/isoc99_fscanf.c: Likewise.
31562 * stdio-common/isoc99_scanf.c: Likewise.
31563 * stdio-common/isoc99_vfscanf.c: Likewise.
31564 * stdio-common/isoc99_vscanf.c: Likewise.
31565 * stdio-common/isoc99_vsscanf.c: Likewise.
31566 * stdio-common/printf-prs.c: Likewise.
31567 * stdio-common/printf_fp.c: Likewise.
31568 * stdio-common/printf_fphex.c: Likewise.
31569 * stdio-common/printf_size.c: Likewise.
31570 * stdio-common/putw.c: Likewise.
31571 * stdio-common/scanf.c: Likewise.
31572 * stdio-common/sprintf.c: Likewise.
31573 * stdio-common/tmpfile.c: Likewise.
31574 * stdio-common/vfprintf.c: Likewise.
31575 * stdio-common/vfscanf.c: Likewise.
31576 * stdlib/strfmon_l.c: Likewise.
31577 * sunrpc/openchild.c: Likewise.
31578 * sunrpc/xdr_stdio.c: Likewise.
31579 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31580 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31582 2012-05-24 Roland McGrath <roland@hack.frob.com>
31584 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31586 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31587 in the third column, to generate for the shared library an IFUNC
31588 that uses _dl_vdso_vsym.
31589 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31590 * Makeconfig (object-suffixes-noshared): New variable.
31592 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31593 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31594 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31595 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31598 * include/sys/time.h (__gettimeofday): Remove macro.
31599 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31600 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31602 (__gettimeofday): Add libc_hidden_def.
31603 (gettimeofday): Add libc_hidden_weak.
31604 * sysdeps/mach/gettimeofday.c: Likewise.
31605 * sysdeps/posix/gettimeofday.c: Likewise.
31606 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31607 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31609 (__gettimeofday_internal): Remove strong_alias.
31610 (__gettimeofday): Add libc_hidden_def.
31611 (gettimeofday): Add libc_hidden_weak.
31612 * sysdeps/unix/syscalls.list (gettimeofday):
31613 Remove __gettimeofday_internal alias.
31615 2012-05-24 Daniel Jacobowitz <drow@false.org>
31616 H.J. Lu <hongjiu.lu@intel.com>
31619 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31620 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31621 (largebin_index_32_big): New.
31622 (largebin_index): Use it for 16-byte alignment.
31623 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31624 correction with front_misalign.
31626 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31654 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31655 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31657 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31661 * math/libm-test.inc (exp_test): Add test from bug 14036.
31662 (pow_test): Add test from bug 10846.
31664 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31666 (special_function): Do not include flags in test name.
31667 (parse_args): Likewise.
31668 * sysdeps/i386/fpu/libm-test-ulps: Update.
31669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31670 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31671 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31674 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31676 * math/libm-test.inc ("Philosophy"): Update comment about
31678 (UNDERFLOW_EXCEPTION): New macro.
31679 (UNDERFLOW_EXCEPTION_OK): Likewise.
31680 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31681 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31682 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31683 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31684 (INVALID_EXCEPTION_OK): Update value.
31685 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31686 (OVERFLOW_EXCEPTION_OK): Likewise.
31687 (IGNORE_ZERO_INF_SIGN): Likewise.
31688 (test_exceptions): Handle underflow exceptions.
31689 (acos_test): Update for underflow exception expectations.
31690 (cexp_test): Likewise.
31691 (clog_test): Likewise.
31692 (clog10_test): Likewise.
31693 (csqrt_test): Likewise.
31694 (ctan_test): Likewise.
31695 (ctanh_test): Likewise.
31696 (exp_test): Likewise.
31697 (exp10_test): Likewise.
31698 (exp2_test): Likewise.
31699 (expm1_test): Likewise.
31700 (fma_test): Likewise.
31701 (j0_test): Likewise.
31702 (jn_test): Likewise.
31703 (nexttoward_test): Likewise.
31704 (pow_test): Likewise.
31705 (scalbn_test): Likewise.
31706 (scalbln_test): Likewise.
31707 (tan_test): Likewise.
31708 (y1_test): Likewise.
31709 * sysdeps/i386/fpu/libm-test-ulps: Update.
31710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31712 2012-05-23 David S. Miller <davem@davemloft.net>
31714 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31715 (__libc_sigaction): Remove unused local variables.
31717 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31719 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31721 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31723 mktime: avoid signed integer overflow
31724 * time/mktime.c (__mktime_internal): Do not mishandle the case
31725 where diff == INT_MIN.
31727 mktime: simplify computation of average
31728 * time/mktime.c (ranged_convert): Use new time_t_avg function
31729 instead of rolling our own (probably-slower) code.
31731 mktime: do not assume signed right shift propagates sign bit
31732 * time/mktime.c (isdst_differ): New static function.
31733 (__mktime_internal): No need to normalize tm_isdst now.
31734 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31737 mktime: merge another wrapv change from gnulib
31738 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31739 from some compilers.
31741 mktime: remove incorrect attempt at unusual arithmetics
31742 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31743 The code didn't really work on such machines anyway.
31744 (TYPE_MINIMUM): Assume two's complement.
31745 (twos_complement_arithmetic): Verify that long_int and time_t
31746 are two's complement (or unsigned, in the latter case).
31748 mktime: check signed shifts on long_int and time_t, too
31749 * time/mktime.c (SHR): Check that shifts work as desired
31750 on the types long_int and time_t too, as SHR is used on
31753 mktime: do not assume 'long' is wide enough
31754 * time/mktime.c (verify): Move decl up.
31755 (long_int): New type.
31756 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31757 to remove assumption in the code that 'long' is wide enough to
31758 store year values. This assumption is not true on x32 and on
31759 some non-glibc platforms.
31761 mktime: merge wrapv change from gnulib
31762 * time/mktime.c (WRAPV): New macro.
31763 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31764 (guess_time_tm, __mktime_internal): Do not assume that signed
31765 integer overflow wraps around; modern compilers generate code
31766 where this assumption is no longer valid.
31768 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31770 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31771 Replace "jmp L(pseudo_end)" with "ret".
31772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31775 2012-05-23 Andreas Jaeger <aj@suse.de>
31777 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31778 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31780 2012-05-23 Andreas Jaeger <aj@suse.de>
31781 Maximilian Attems <max@stro.at>
31783 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31786 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31788 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31789 code so that pseudo_end is just ret and the stack pointer is
31790 correct also for static library in error case.
31792 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31794 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31795 move to syscalls.list.
31796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31801 * manual/install.texi (Running make install): Do not mention Linux
31802 kernel version for which pt_chown is not needed.
31803 (Linux): Do not mention problems with nscd with 2.0 kernels.
31804 * INSTALL: Regenerated.
31806 2012-05-23 Andreas Jaeger <aj@suse.de>
31808 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31809 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31811 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31812 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31813 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31814 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31815 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31816 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31818 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31819 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31820 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31821 * sysdeps/unix/sysv/linux/bits/in.h
31822 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31824 2012-05-22 Roland McGrath <roland@hack.frob.com>
31826 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31827 (PREPARE_VERSION): Just use assert instead, it will be elided
31828 under [NDEBUG] anyway.
31830 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31832 * sysdeps/unix/sysv/linux/Makefile: Include
31833 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31834 (sysdep_routines): Remove sysctl.
31835 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31836 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31837 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31838 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31839 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31841 2012-05-22 Andreas Jaeger <aj@suse.de>
31843 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31844 that pseudo_end is just ret and the stack pointer is correct also
31845 for static library in error case.
31847 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31850 * nss/nsswitch.c (defconfig_entries): New variable.
31851 (__nss_database_lookup): Don't leak defconfig entries.
31852 (nss_parse_service_list): Don't leak on error paths.
31853 (free_database_entries): New function.
31854 (free_defconfig): New function.
31855 (free_mem): Move common code to free_database_entries.
31857 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31859 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31861 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31863 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31864 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31867 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31868 (INTERNAL_SYSCALL_TYPES): Likewise.
31869 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31870 (LOAD_REGS_TYPES_[1-6]): Likewise.
31871 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31872 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31874 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31876 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31877 copysignl for GLIBC_2_0.
31878 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31879 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31881 logbl for GLIBC_2_0.
31882 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31883 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31885 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31887 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31888 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31890 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31893 * time/mktime.c: Update copyright years.
31895 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31897 mktime: merge comment-quoting-style change from gnulib
31898 * time/mktime.c: Quote 'like this' in comments.
31899 The GNU coding standards suggest that we no longer quote `like this',
31900 as "`" and "'" are typically rendered asymmetrically nowadays.
31901 The typical gnulib style is to quote 'like this' when quoting
31902 code, and "like this" when quoting English.
31904 * time/mktime.c (compile-command): Add "-I.".
31906 mktime: merge mktime-internal.h change from gnulib
31907 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31909 mktime: merge time_r change from gnulib
31910 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31912 mktime: merge DEBUG change from gnulib
31913 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31914 case system <time.h> has a #define.
31916 mktime: merge <sys/types.h> change from gnulib
31917 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31918 since <time.t> is now guaranteed to define time_t.
31920 mktime: merge HAVE_CONFIG_H change from gnulib
31921 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31923 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31928 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31930 (struct rusage): Use anonymous union to pad each field to
31933 2012-05-21 David S. Miller <davem@davemloft.net>
31935 * Makefules (o-iterator): Remove .s cases.
31936 (compile-command.s): Delete.
31937 (COMPILE.s): Delete.
31938 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31940 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31942 * configure.in (libc_cv_predef_stack_protector): Only consider
31943 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31944 * configure: Regenerated.
31946 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31949 New macro. Use R*LP on int and pointer.
31950 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31951 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31952 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31953 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31955 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31956 [__WORDSIZE_TIME64_COMPAT32] instead of
31957 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31958 (struct utmp): Likewise.
31959 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31960 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31962 (__WORDSIZE_TIME64_COMPAT32): This.
31963 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31964 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31965 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31966 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31967 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31968 (__WORDSIZE_TIME64_COMPAT32): New macro.
31970 2012-05-21 Andreas Jaeger <aj@suse.de>
31972 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31973 only if [SHARED]. Add prototype for __wcschr_ia32.
31975 2012-05-21 Roland McGrath <roland@hack.frob.com>
31977 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31978 of %rbp unmolested in the jmp_buf while mangling the low bits.
31979 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31980 unmolested high bits of %rbp while demangling the low bits.
31981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31983 2012-05-21 Andreas Jaeger <aj@suse.de>
31985 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31986 * sunrpc/svc_simple.c: Use it for registerrpc.
31987 * sunrpc/xcrypt.c: Use it for passwd2des.
31989 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31991 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31993 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31994 Don't define if [__SYSCALL_WORDSIZE != 32].
31995 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31998 2012-05-21 Bruno Haible <bruno@clisp.org>
31999 Andreas Jaeger <aj@suse.de>
32001 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32002 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32003 inptr and inend for must_buffer_ch.
32004 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32005 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32006 * stdio-common/Makefile (tests): Remove bug15.
32007 (bug15-ENV): Remove macro.
32008 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32011 2012-05-19 Andreas Jaeger <aj@suse.de>
32012 Roland McGrath <roland@hack.frob.com>
32014 * manual/contrib.texi: Completely rewritten. It contains now an
32015 alphabetical list of contributors and their contributions.
32017 2012-05-21 Richard Henderson <rth@twiddle.net>
32019 * misc/getauxval.c (__getauxval): Use unsigned long int.
32020 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32021 (getauxval): Use unsigned long int.
32023 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32025 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32027 2012-05-21 Roland McGrath <roland@hack.frob.com>
32029 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32030 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32031 __alignof__ (long double).
32033 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32037 2012-05-20 Richard Henderson <rth@twiddle.net>
32039 * misc/getauxval.c: New file.
32040 * misc/sys/auxv.h: New file.
32041 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32042 (routines): Add getauxval.
32043 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32044 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32045 * elf/dl-sysdep.c (_dl_auxv): Remove.
32046 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32047 * elf/dl-support.c (_dl_auxv): New variable.
32048 (_dl_aux_init): Initialize it.
32049 * manual/startup.texi (Auxiliary Vector): New node.
32050 * sysdeps/generic/bits/hwcap.h: New file.
32051 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32052 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32053 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32054 * sysdeps/sparc/sysdep.h: ... here. Include it.
32055 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32068 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32072 2012-05-19 David S. Miller <davem@davemloft.net>
32074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32076 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32079 * math/s_ccosh.c: Include <float.h>
32080 (__ccosh): Avoid internal overflow calculating sinh and cosh
32081 values before multiplying by sin and cos values.
32082 * math/s_ccoshf.c: Likewise.
32083 * math/s_ccoshl.c: Likewise.
32084 * math/s_csin.c: Likewise.
32085 * math/s_csinf.c: Likewise.
32086 * math/s_csinl.c: Likewise.
32087 * math/s_csinh.c: Likewise.
32088 * math/s_csinhf.c: Likewise.
32089 * math/s_csinhl.c: Likewise.
32090 * math/libm-test.inc (ccos_test): Add more tests.
32091 (ccosh_test): Likewise.
32092 (csin_test): Likewise.
32093 (csinh_test): Likewise.
32094 * sysdeps/i386/fpu/libm-test-ulps: Update.
32095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32097 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32099 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32100 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32102 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32104 2012-05-19 Joseph Myers <joseph@codesourcery.com>
32106 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32107 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32108 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32109 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32110 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32111 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32112 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32113 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32114 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32115 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32116 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32117 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32118 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32119 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32120 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32121 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32122 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32123 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32124 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32125 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32126 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32127 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32128 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32129 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32130 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32131 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32132 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32133 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32134 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32135 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32136 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32138 2012-05-18 Andreas Jaeger <aj@suse.de>
32140 * csu/.gitignore: Delete.
32142 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32144 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32145 (timex): Use __syscall_slong_t.
32147 2012-05-18 Andreas Jaeger <aj@suse.de>
32148 Carlos O'Donell <carlos_odonell@mentor.com>
32150 * manual/install.texi (Configuring and compiling): Update
32151 description about files modified in the source directory.
32152 * INSTALL: Regenerated.
32154 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32156 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32157 value. Use "or" to set return value to -1.
32158 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32159 negate return value.
32161 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32163 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32164 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32165 failure if the compiler has Graphite support disabled.
32166 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32168 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32169 (CFLAGS-memmove.c): Likewise.
32170 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32173 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32175 * sysdeps/x86_64/x32/_itoa.h: New file.
32177 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32178 getdents system call only if kernel and user dirents have the
32179 same d_ino and d_off.
32181 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32182 LLONG_MAX != LONG_MAX.
32183 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32184 (_fitoa_word): Likewise.
32186 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32188 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32189 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32190 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32193 include <bits/wordsize.h>. Check __x86_64__ instead of
32195 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32196 if __x86_64__ is defined. Use anonymous union on fpstate.
32198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32201 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32203 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32204 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32205 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32206 Refer to _rtld_local_ro instead of _rtld_global_ro.
32207 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32209 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32211 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32213 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32214 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32215 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32217 * sysdeps/powerpc/powerpc32/dl-machine.c
32218 (__elf_machine_runtime_setup) [PROF]: Don't reference
32221 2012-05-18 Andreas Jaeger <aj@suse.de>
32223 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32224 function only available for GCCs before 3.4 since GCC 3.4
32225 introduced a builtin.
32227 (llrintf): Likewise.
32228 (llrint): Likewise.
32235 (nearbyint): Likewise.
32236 (nearbyintf): Likewise.
32240 (floorf): Likewise.
32242 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32244 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32245 on both fields and cast pointer to __syscall_ulong_t.
32247 * bits/types.h (__fsword_t): New type.
32248 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32249 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32251 (__FSWORD_T_TYPE): Likewise.
32252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32253 (__FSWORD_T_TYPE): Likewise.
32254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32255 (__FSWORD_T_TYPE): Likewise.
32256 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32257 (__FSWORD_T_TYPE): Likewise.
32258 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32259 __SWORD_TYPE with __fsword_t.
32260 (statfs64): Likewise.
32262 2012-05-17 David S. Miller <davem@davemloft.net>
32264 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32266 2012-05-17 Andreas Jaeger <aj@suse.de>
32268 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32271 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32273 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32275 2012-05-17 Andreas Jaeger <aj@suse.de>
32277 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32280 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32282 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32284 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32286 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32287 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32289 2012-05-17 Andreas Jaeger <aj@suse.de>
32290 Carlos O'Donell <carlos_odonell@mentor.com>
32293 * sysdeps/x86_64/multiarch/init-arch.h
32294 (bit_YMM_Usable): Rename to...
32295 (bit_AVX_Usable): ... this.
32296 (bit_FMA4_Usable): New macro.
32297 (bit_XMM_state): New macro.
32298 (bit_YMM_state): New macro.
32299 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32300 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32301 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32302 (CPUID_OSXSAVE): New macro.
32303 (CPUID_AVX): New macro.
32304 (CPUID_FMA4): New macro.
32305 (index_YMM_Usable): Rename to...
32306 (index_AVX_Usable): ... this.
32307 (HAS_AVX): Use HAS_ARCH_FEATURE.
32308 (HAS_FMA4): Likewise.
32309 (HAS_YMM_USABLE): Remove.
32310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32311 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32313 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32314 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32315 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32316 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32317 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32319 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32321 * math/libm-test.c: Support platforms without multiple rounding modes.
32322 * math/bug-nextafter.c: Support platforms without FP exceptions.
32323 * math/bug-nexttoward.c: Likewise.
32324 * math/test-fenv.c: Likewise.
32325 * math/test-misc.c: Likewise.
32326 * stdlib/bug-getcontext.c: Likewise.
32328 2012-05-17 Andreas Jaeger <aj@suse.de>
32330 * manual/examples/search.c (critter_cmp): Change signature to
32332 * manual/string.texi (Collation Functions): Likewise.
32334 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32336 * bits/types.h: Fold copyright years.
32337 * bits/typesizes.h: Likewise.
32338 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32342 * time/time.h: Likewise.
32344 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32347 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32348 in instead of returning them. Return void.
32349 (__libc_mallinfo): Accumulate over all arenas.
32350 (__malloc_stats): Adjust for change in int_mallinfo interface.
32352 2012-05-16 Roland McGrath <roland@hack.frob.com>
32355 * configure.in (NM): Add AC_CHECK_TOOL for it.
32356 (libc_extra_cflags): New substituted variable.
32357 Check for -fstack-protector being used implicitly.
32358 * configure: Regenerated.
32359 * config.make.in (config-extra-cflags): New variable,
32360 gets @libc_extra_cflags@.
32361 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32364 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32365 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32366 * configure: Regenerated.
32367 * config.make.in (CPPUNDEFS): New substituted variable.
32368 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32369 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32370 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32372 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32374 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32375 (mq_attr): Use __syscall_slong_t.
32377 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32379 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32380 Check __x86_64__ instead of __WORDSIZE.
32381 (_STAT_VER_LINUX): Likewise.
32382 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32383 __syscall_ulong_t and __syscall_slong_t.
32384 (stat64): Likewise.
32386 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32388 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32390 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32392 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32394 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32396 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32399 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32400 include <bits/wordsize.h>. Check __x86_64__ instead of
32402 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32404 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32406 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32407 include <bits/wordsize.h>. Check __x86_64__ instead of
32409 (user_regs_struct): Use "__extension__ unsigned long long"
32410 instead of "unsigned long" if __x86_64__ is defined.
32411 (user): Likewise. Pad after pointer field if __ILP32__ is
32414 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32416 * configure.in (makeinfo): Require version 4.5 or later. Allow
32418 * configure: Regenerated.
32419 * manual/install.texi (texinfo): Increase version requirement to
32421 * INSTALL: Regenerated.
32423 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32425 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32427 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32429 * sysdeps/x86_64/x32/ffs.c: New file.
32431 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32433 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32434 defined. Use __syscall_ulong_t.
32435 (shminfo): Use __syscall_ulong_t.
32436 (shm_info): Likewise.
32438 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32441 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32443 (msgqnum_t): Use __syscall_ulong_t.
32444 (msglen_t): Likewise.
32445 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32448 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32449 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32451 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32453 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32454 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32456 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32459 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32460 include <bits/wordsize.h>. Check __x86_64__ instead of
32463 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32464 "unsigned long long int" if __x86_64__ is defined.
32465 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32467 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32468 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32469 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32471 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32473 (GET_PC): Cast to uintptr_t first.
32474 (GET_FRAME): Likewise.
32475 (GET_STACK): Likewise.
32477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32478 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32479 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32480 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32482 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32483 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32484 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32485 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32486 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32487 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32488 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32489 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32490 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32492 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32496 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32497 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32498 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32499 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32500 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32501 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32502 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32503 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32504 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32505 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32507 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32509 * Makerules (+depfiles): Also collect depfiles from .oS in
32511 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32512 .oS, $(libnldbl-routines)).
32514 * Makerules (native-compile-mkdep-flags): Define.
32515 * sunrpc/Makefile (extra-objs): Add $(addprefix
32516 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32517 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32518 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32519 calling $(make-target-directory).
32521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32523 * bits/types.h (__snseconds_t): Removed.
32524 * time/time.h (struct timespec): Replace __snseconds_t with
32526 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32527 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32530 (__SNSECONDS_T_TYPE): Likewise.
32531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32532 (__SNSECONDS_T_TYPE): Likewise.
32533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32534 (__SNSECONDS_T_TYPE): Likewise.
32536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32538 * sysdeps/mach/hurd/bits/typesizes.h
32539 (__SYSCALL_SLONG_TYPE): New macro.
32540 (__SYSCALL_ULONG_TYPE): Likewise.
32542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32544 * bits/types.h (__syscall_slong_t): New type.
32545 (__syscall_ulong_t): Likewise.
32547 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32548 (__SYSCALL_ULONG_TYPE): Likewise.
32549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32550 (__SYSCALL_SLONG_TYPE): Likewise.
32551 (__SYSCALL_ULONG_TYPE): Likewise.
32552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32553 (__SYSCALL_SLONG_TYPE): Likewise.
32554 (__SYSCALL_ULONG_TYPE): Likewise.
32555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32556 (__SYSCALL_SLONG_TYPE): Likewise.
32557 (__SYSCALL_ULONG_TYPE): Likewise.
32559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32561 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32562 Add sigaltstack-offsets.sym.
32563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32564 <sigaltstack-offsets.h>.
32565 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32566 longjmp_msg pointer.
32567 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32568 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32570 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32572 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32574 * elf/stackguard-macros.h: Remove file.
32575 * sysdeps/generic/stackguard-macros.h: New file.
32576 * sysdeps/i386/stackguard-macros.h: Likewise.
32577 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32578 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32579 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32580 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32581 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32582 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32583 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32584 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32585 <elf/stackguard-macros.h>.
32588 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32589 __aligned__ in attribute.
32590 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32591 (gregset_t): Likewise.
32593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32595 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32596 * sysdeps/x86_64/64/Implies-after: Here. New file.
32597 * sysdeps/x86_64/x32/Implies-after: New file.
32599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32601 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32602 and access return value for _dl_profile_fixup. Use R10_LP to
32605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32607 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32611 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32612 * sysdeps/x86_64/x32/sysdep.h: New file.
32614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32616 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32617 * sysdeps/x86_64/setjmp.S: Likewise.
32619 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32621 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32622 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32623 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32624 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32625 remove unused global constant.
32627 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32629 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32630 include of <not-cancel.h>.
32632 2012-05-15 Roland McGrath <roland@hack.frob.com>
32634 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32636 2012-05-15 Jeff Law <law@redhat.com>
32637 Andreas Jaeger <aj@suse.de>
32640 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32642 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32643 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32644 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32645 code changing __hst_map_handle.map.
32647 2012-05-15 Roland McGrath <roland@hack.frob.com>
32649 * configure.in (sysnames): Look for Implies-before and Implies-after
32651 * configure: Regenerated.
32653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32655 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32656 8-byte data alignment with LP_SIZE alignment.
32658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32660 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32665 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32670 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32671 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32677 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32678 (stackinfo_sub_sp): Likewise.
32680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32682 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32692 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32697 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32701 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32702 into R11_LP and load __x86_64_shared_cache_size_half into
32705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32710 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32714 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32718 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32719 powerpc32/power7/fpu/s_logb.c via #include.
32720 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32721 powerpc32/power7/fpu/s_logbf.c via #include.
32722 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32723 powerpc32/power7/fpu/s_logbl.c via #include.
32725 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32727 * README.libm: Remove file.
32729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32731 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32732 count for x32. Use R*_LP and omit operand-size suffix.
32734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32736 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32737 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32738 * sysdeps/x86_64/x32/shlib-versions: New file.
32740 2012-05-14 Roland McGrath <roland@hack.frob.com>
32742 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32743 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32744 Use _dl_fatal_printf instead.
32746 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32748 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32749 set if not set by the user. Do not allow for being unset.
32750 * sysdeps/unix/sysv/linux/configure: Regenerated.
32752 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32754 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32755 the `q' suffix from lea and replace .quad with ASM_ADDR.
32757 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32760 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32762 (PTR_DEMANGLE): Likewise.
32764 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32766 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32768 (ASM_ADDR): Likewise.
32769 (RAX_LP): Likewise.
32770 (RBP_LP): Likewise.
32771 (RBX_LP): Likewise.
32772 (RCX_LP): Likewise.
32773 (RDI_LP): Likewise.
32774 (RSI_LP): Likewise.
32775 (RSP_LP): Likewise.
32778 (R10_LP): Likewise.
32779 (R10_LP): Likewise.
32780 (R11_LP): Likewise.
32781 (R12_LP): Likewise.
32782 (R13_LP): Likewise.
32783 (R14_LP): Likewise.
32784 (R15_LP): Likewise.
32786 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32788 * sysdeps/x86_64/x32/dl-machine.h: New file.
32790 2012-05-14 Andreas Jaeger <aj@suse.de>
32792 * manual/Makefile (subdir): Remove export of subdir.
32793 (all): Remove target.
32794 (.PHONY): Remove all from list.
32795 (mkinstalldirs): Remove.
32796 (.PHONY): Remove installdirs from list.
32797 ($(inst_infodir)/libc.info): Use make-target-directory.
32798 (installdirs): Remove.
32799 (subdir_%): Remove.
32800 (glibc-targets): Remove.
32803 ($(objpfx)stubs ../po/manual.pot): Remove.
32804 ($(objpfx)stamp%): Remove.
32805 (make-target-directory): Remove.
32806 (subdir_install): Remove.
32807 (routines): Remove.
32814 * manual/.gitignore: Remove, it's not needed anymore.
32815 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32817 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32819 (texis): Renamed to $(objpfx)texis.
32820 (texis-path): New, contains path to generated files.
32821 (chapters.%): Use texis-path for complete path, add extra argument
32823 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32824 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32825 (summary,texi, stamp-summary): Use complete path of
32826 files. Generate files in build dir.
32827 (dir-add.texi): Build in build dir.
32828 (libm-err.texi,stamp-libm-err): Likewise.
32829 (version.texi, stamp-version): Likewise.
32830 (.%c.texi): Likewise.
32831 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32832 (mostlyclean): Remove target.
32833 (realclean): Remove target.
32834 (generated): Add new variable with contents from mostlyclean and
32835 realclean, remove entries duplicated in common-mostlyclean, add
32836 stamp-libm-err and stamp-version.
32837 (generated-dirs): Add libc directory.
32838 ($(inst_infodir)/libc.info): Install files from build dir.
32840 * manual/install.texi (Configuring and compiling): Adjust since
32841 the info files are not part of the tar ball anymore.
32843 2012-05-14 Andreas Jaeger <aj@suse.de>
32845 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32848 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32851 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32852 to 2.2.0 where earlier.
32853 * sysdeps/unix/sysv/linux/configure: Regenerated.
32854 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32855 Remove conditional code.
32856 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32857 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32858 Remove conditional code.
32859 [!__NR_lchown]: Likewise.
32860 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32861 [__NR_lchown]: Likewise.
32862 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32863 comment referencing __ASSUME_LCHOWN_SYSCALL.
32864 * sysdeps/unix/sysv/linux/i386/sigaction.c
32865 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32866 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32867 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32868 Remove conditional code.
32869 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32870 (__protocol_available): Remove #if 0 code.
32871 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32873 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32874 * sysdeps/unix/sysv/linux/kernel-features.h
32875 (__ASSUME_GETCWD_SYSCALL): Don't define.
32876 (__ASSUME_REALTIME_SIGNALS): Likewise.
32877 (__ASSUME_PREAD_SYSCALL): Likewise.
32878 (__ASSUME_PWRITE_SYSCALL): Likewise.
32879 (__ASSUME_POLL_SYSCALL): Likewise.
32880 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32881 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32883 (__ASSUME_SIOCGIFNAME): Don't define.
32884 (__ASSUME_MSG_NOSIGNAL): Likewise.
32885 (__ASSUME_SENDFILE): Define unconditionally.
32886 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32887 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32889 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32890 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32891 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32892 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32893 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32894 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32895 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32897 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32900 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32901 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32903 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32906 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32909 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32912 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32915 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32918 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32920 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32921 Remove conditional code.
32922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32923 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32924 Remove conditional code.
32925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32926 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32927 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32928 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32929 Remove conditional code.
32930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32931 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32932 Remove conditional code.
32933 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32934 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32935 Remove conditional code.
32936 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32937 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32938 Remove conditional code.
32939 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32940 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32941 Remove conditional code.
32942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32943 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32944 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32945 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32946 * sysdeps/unix/sysv/linux/sigaction.c
32947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32949 * sysdeps/unix/sysv/linux/sigpending.c
32950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32952 * sysdeps/unix/sysv/linux/sigprocmask.c
32953 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32954 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32955 * sysdeps/unix/sysv/linux/sigsuspend.c
32956 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32957 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32958 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32959 (__libc_missing_rt_sigs): Remove.
32960 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32961 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32962 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32963 Remove conditional code.
32964 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32965 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32967 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32968 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32969 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32970 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32972 2012-05-14 Andreas Jaeger <aj@suse.de>
32974 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32975 it's not used in glibc.
32976 (__coshm1): Likewise.
32977 (__acosh1p): Likewise.
32980 * manual/string.texi (Copying and Concatenation): Add missing
32981 variable in concat example.
32982 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32984 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32987 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32988 __builtin_clzl with __builtin_clzll.
32990 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32993 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32996 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32998 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32999 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33000 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33001 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33003 2012-05-14 Mike Frysinger <vapier@gentoo.org>
33005 * NEWS: Update ia64 info.
33007 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33009 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33012 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33014 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33015 * sysdeps/unix/syscalls.list (dup3): Likewise.
33016 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33017 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33019 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33021 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33022 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33024 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33026 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33028 (TLS_IE): Use mov/add instead of movq/addq to load thread
33030 (TLS_GD_PREFIX): New.
33033 2012-05-11 David S. Miller <davem@davemloft.net>
33035 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33036 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33037 (_FPU_SETCW): Likewise.
33039 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33041 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33042 is 32-byte aligned.
33044 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33047 * iconvdata/gb18030.c: Update tables.
33048 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33049 characters specially.
33050 (BODY for TO_LOOP): Add encoding of missing ranges.
33052 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33055 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33056 * sysdeps/mach/hurd/dup3.c: Likewise.
33057 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33058 * sysdeps/powerpc/memmove.c:: Likewise.
33060 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33063 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33065 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33067 * elf/elf.h (R_X86_64_RELATIVE64): New.
33068 (R_X86_64_NUM): Updated.
33069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33070 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33071 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33072 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33073 tst-quad1pie tst-quad2pie
33074 (modules-names): Add tst-quadmod1 tst-quadmod2.
33075 ($(objpfx)tst-quad1): New dependency.
33076 ($(objpfx)tst-quad2): Likewise.
33077 ($(objpfx)tst-quad1pie): Likewise.
33078 ($(objpfx)tst-quad2pie): Likewise.
33079 * sysdeps/x86_64/tst-quad1.c: New file.
33080 * sysdeps/x86_64/tst-quad1pie.c: New file.
33081 * sysdeps/x86_64/tst-quad2.c: Likewise.
33082 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33083 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33084 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33085 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33086 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33090 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33091 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33092 * streams/stropts.h (t_scalar_t): Define type.
33094 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33095 (_PATH_PRESERVE): Set to "/var/lib".
33096 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33098 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33101 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33102 if __dir_mkfile succeeded.
33104 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33105 checking for _hurd_dtablesize. Unlock it right after having
33106 finished _hurd_dtable allocation.
33108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33110 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33111 * sysdeps/mach/hurd/configure: Regenerated.
33112 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33113 special-casing to...
33114 * sysdeps/gnu/configure.in: ... this new file.
33115 * sysdeps/unix/sysv/linux/configure: Regenerated.
33116 * sysdeps/gnu/configure: New generated file.
33118 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33119 for Linux: use nsec instead of usec, as well as:
33120 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33121 members of type struct timespec.
33122 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33124 (struct stat64): Likewise.
33125 (_STATBUF_ST_NSEC): New macro.
33126 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33128 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33129 __strtoul_internal rather than strtoul.
33131 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33133 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33136 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33138 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33139 which preserves existing values.
33140 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33142 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33144 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33145 TIMEOUT values. Return EINVAL for NFDS values either negative or
33146 greater than FD_SETSIZE.
33148 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33150 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33151 allocated, call __vm_protect to finish enabling the existing space, and
33152 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33153 allocate the remainder.
33155 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33157 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33158 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33160 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33162 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33163 sysdeps/mach/hurd/readlink.c.
33165 * posix/tst-sysconf.c (posix_options): Only use
33166 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33167 _POSIX_SYNCHRONIZED_IO when they are defined
33168 * sysdeps/mach/hurd/bits/posix_opt.h:
33169 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33170 (_XOPEN_REALTIME): Undefine macro.
33171 (_XOPEN_REALTIME_THREADS): Undefine macro.
33172 (_XOPEN_SHM): Undefine macro.
33173 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33175 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33177 (_POSIX_ASYNC_IO): Undefine macro.
33178 (_POSIX_PRIORITIZED_IO): Undefine macro.
33179 (_POSIX_SPIN_LOCKS): Define macro to -1.
33181 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33182 SA_NODEFER, SA_RESETHAND.
33183 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33184 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33187 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33189 * elf/Makefile (pldd-modules): Define unconditionally.
33191 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33193 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33195 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33197 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33198 Return ENOENT when name is empty.
33199 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33201 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33203 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33205 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33207 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33209 Fix mlock in all cases except non-readable pages.
33210 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33211 instead of VM_PROT_ALL as parameter to __vm_wire function.
33213 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33214 (__mkdir): When path is `/', just fail with EEXIST.
33215 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33219 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33220 <sys/uio.h> (for writev).
33221 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33222 and <sys/param.h> (for MIN).
33224 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33226 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33227 REQUESTED_TIME. Properly set the remaining time and return EINTR
33230 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33232 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33233 Depend on against $(link-rpcuserlibs).
33235 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33237 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33238 (__libc_stack_end): Do not use attribute_relro.
33239 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33240 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33241 to libthread-provided value.
33242 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33248 * bits/libc-lock.h (__libc_once_get): New macro.
33249 * sysdeps/mach/bits/libc-lock.h: Likewise.
33250 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33252 instead of using implementation details.
33254 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33255 * libio/freopen.c: Likewise.
33256 * libio/freopen64.c: Likewise.
33257 * misc/syslog.c: Likewise.
33258 * nscd/connections.c: Likewise.
33259 * nscd/netgroupcache.c: Likewise.
33260 * sysdeps/posix/getcwd.c: Likewise.
33262 2012-05-10 Roland McGrath <roland@hack.frob.com>
33264 * math/w_ilogbf.c: Add #include <limits.h>.
33266 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33268 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33269 path instead of returning without unlocking.
33271 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33272 immediate-write ioctls.
33273 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33275 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33277 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33278 __builtin_frame_address instead of making assumptions about the
33279 location of the return address relative to DATA. Force early load of
33280 the return address.
33281 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33282 __builtin_frame_address.
33285 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33286 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33287 implement dup3 and do some further code clean-ups.
33288 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33289 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33293 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33295 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33296 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33297 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33298 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33299 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33302 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33303 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33304 when handler == SIG_ERR, not when handler != SIG_ERR.
33306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33308 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33309 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33312 accept4 for GNU Hurd.
33313 * include/sys/socket.h (__libc_accept4): New prototype.
33314 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33315 to implement __libc_accept4.
33316 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33318 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33320 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33321 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33322 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33323 signal-defines.sym.
33325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33327 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33331 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33332 assertion on O_CLOEXEC flag.
33333 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33334 * hurd/intern-fd.c: Likewise.
33335 * hurd/port2fd.c: Likewise.
33337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33340 * bits/in.h (IPV6_PKTINFO): Define new macro.
33341 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33343 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33348 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33349 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33350 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33351 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33353 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33354 * math/libm-test.inc (logb_test) : Additional logb tests.
33356 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33357 Andreas Jaeger <aj@suse.de>
33359 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33360 * configure: Regenerated.
33361 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33362 * config.make.in (link-obsolete-rpc): New substituted variable.
33363 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33364 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33365 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33366 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33367 so that libc.a contains the symbols.
33368 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33369 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33370 * sunrpc/auth_none.c: Likewise.
33371 * sunrpc/auth_unix.c: Likewise.
33372 * sunrpc/authdes_prot.c: Likewise.
33373 * sunrpc/authuxprot.c: Likewise.
33374 * sunrpc/clnt_gen.c: Likewise.
33375 * sunrpc/clnt_perr.c: Likewise.
33376 * sunrpc/clnt_raw.c: Likewise.
33377 * sunrpc/clnt_simp.c: Likewise.
33378 * sunrpc/clnt_tcp.c: Likewise.
33379 * sunrpc/clnt_udp.c: Likewise.
33380 * sunrpc/clnt_unix.c: Likewise.
33381 * sunrpc/des_crypt.c: Likewise.
33382 * sunrpc/des_soft.c: Likewise.
33383 * sunrpc/get_myaddr.c: Likewise.
33384 * sunrpc/key_call.c: Likewise.
33385 * sunrpc/key_prot.c: Likewise.
33386 * sunrpc/netname.c: Likewise.
33387 * sunrpc/pm_getmaps.c: Likewise.
33388 * sunrpc/pm_getport.c: Likewise.
33389 * sunrpc/pmap_clnt.c: Likewise.
33390 * sunrpc/pmap_prot.c: Likewise.
33391 * sunrpc/pmap_prot2.c: Likewise.
33392 * sunrpc/pmap_rmt.c: Likewise.
33393 * sunrpc/publickey.c: Likewise.
33394 * sunrpc/rpc_cmsg.c: Likewise.
33395 * sunrpc/rpc_common.c: Likewise.
33396 * sunrpc/rpc_dtable.c: Likewise.
33397 * sunrpc/rpc_prot.c: Likewise.
33398 * sunrpc/rpc_thread.c: Likewise.
33399 * sunrpc/rtime.c: Likewise.
33400 * sunrpc/svc.c: Likewise.
33401 * sunrpc/svc_auth.c: Likewise.
33402 * sunrpc/svc_raw.c: Likewise.
33403 * sunrpc/svc_run.c: Likewise.
33404 * sunrpc/svc_tcp.c: Likewise.
33405 * sunrpc/svc_udp.c: Likewise.
33406 * sunrpc/svc_unix.c: Likewise.
33407 * sunrpc/svcauth_des.c: Likewise.
33408 * sunrpc/xcrypt.c: Likewise.
33409 * sunrpc/xdr.c: Likewise.
33410 * sunrpc/xdr_array.c: Likewise.
33411 * sunrpc/xdr_float.c: Likewise.
33412 * sunrpc/xdr_intXX_t.c: Likewise.
33413 * sunrpc/xdr_mem.c: Likewise.
33414 * sunrpc/xdr_rec.c: Likewise.
33415 * sunrpc/xdr_ref.c: Likewise.
33416 * sunrpc/xdr_sizeof.c: Likewise.
33417 * sunrpc/xdr_stdio.c: Likewise.
33419 2012-05-10 Roland McGrath <roland@hack.frob.com>
33421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33422 change. Update copyright years.
33424 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33426 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33428 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33429 Joseph Myers <joseph@codesourcery.com>
33430 Paul Pluzhnikov <ppluzhnikov@google.com>
33433 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33435 [cross-compiling] (extra-libs): Likewise.
33436 [cross-compiling] (extra-libs-others): Likewise.
33437 [cross-compiling] (librpcsvc-routines): Likewise.
33438 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33439 [cross-compiling] (omit-deps): Likewise.
33440 (sunrpc-CPPFLAGS): New variable.
33441 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33442 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33443 (cross-rpcgen-objs): New variable.
33444 (extra-objs): Append $(cross-rpcgen-objs).
33445 ($(cross-rpcgen-objs)): New rule.
33446 ($(objpfx)cross-rpcgen): Likewise.
33447 (rpcgen-cmd): Define to use $(built-program-file). Expand
33449 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33450 ($(objpfx)x%.stmp): Likewise.
33451 * sunrpc/proto.h [IS_IN_build] (_): Define.
33452 [IS_IN_build] (_libc_intl_domainname): Likewise.
33454 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33456 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33457 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33458 and R_X86_64_TPOFF64.
33460 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33462 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33463 sysdeps/unix/sysv/syscalls.list.
33466 * sysdeps/unix/sysv/syscalls.list: Remove file.
33468 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33471 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33472 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33473 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33474 (__LC_IDENTIFICATION): Make these macros useful in #if
33475 expressions, as required by C99.
33477 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33479 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33480 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33483 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33485 * stdlib/longlong.h: Updated from GCC.
33487 2012-05-09 Andreas Jaeger <aj@suse.de>
33489 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33490 default is first entry.
33491 (run_mode): Set type.
33492 (main): Remove informal message about syslog.
33493 (options): Fix typo.
33496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33499 (llrintf): Likewise.
33500 (llrint): Likewise.
33503 (nearbyint): Likewise.
33504 (nearbyintf): Likewise.
33506 2012-05-09 Andreas Jaeger <aj@suse.de>
33507 Pedro Alves <palves@redhat.com>
33509 * nscd/nscd.c (run_mode): Use enum.
33510 (main): Cleanup coding style issue.
33512 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33513 Andreas Jaeger <aj@suse.de>
33515 * nscd/nscd.c (go_background): Replaced with...
33516 (run_mode): ... this.
33517 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33518 (options): Add -F --foreground.
33519 (main): Implement it.
33520 (parse_opt): Parse it.
33522 2012-05-09 Andreas Jaeger <aj@suse.de>
33525 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33526 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33527 -Wconversion warning.
33528 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33531 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33533 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33535 (LC_ALL): Use macro-int-constant.
33536 (LC_COLLATE): Likewise.
33537 (LC_CTYPE): Likewise.
33538 (LC_MESSAGES): Likewise.
33539 (LC_MONETARY): Likewise.
33540 (LC_NUMERIC): Likewise.
33541 (LC_TIME): Likewise.
33542 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33543 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33545 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33547 [C99-based standards] (float_t): Expect type.
33548 [C99-based standards] (double_t): Expect type.
33549 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33551 [C99-based standards] (HUGE_VALL): Likewise.
33552 [C99-based standards] (INFINITY): Likewise.
33553 [C99-based standards] (NAN): Likewise.
33554 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33555 [C99-based standards] (FP_NAN): Likewise.
33556 [C99-based standards] (FP_NORMAL): Likewise.
33557 [C99-based standards] (FP_SUBNORMAL): Likewise.
33558 [C99-based standards] (FP_ZERO): Likewise.
33559 [C99-based standards] (FP_FAST_FMA): Use
33560 optional-macro-int-constant. Specify type. Require == 1.
33561 [C99-based standards] (FP_FAST_FMAF): Likewise.
33562 [C99-based standards] (FP_FAST_FMAL): Likewise.
33563 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33564 [C99-based standards] (FP_ILOGBNAN): Likewise.
33565 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33567 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33568 [C99-based standards] (math_errhandling): Specify type.
33569 [ISO99 || ISO11] (signgam): Do not allow.
33570 [non-C99-based standards] (copysignf): Do not allow.
33571 [non-C99-based standards] (exp2f): Likewise.
33572 [non-C99-based standards] (log2f): Likewise.
33573 [non-C99-based standards] (modff): Allow.
33574 [non-C99-based standards] (erff): Do not allow.
33575 [non-C99-based standards] (erfcf): Likewise.
33576 [non-C99-based standards] (gammaf): Likewise.
33577 [non-C99-based standards] (hypotf): Likewise.
33578 [non-C99-based standards] (j0f): Likewise.
33579 [non-C99-based standards] (j1f): Likewise.
33580 [non-C99-based standards] (jnf): Likewise.
33581 [non-C99-based standards] (lgammaf): Likewise.
33582 [non-C99-based standards] (tgammaf): Likewise.
33583 [non-C99-based standards] (y0f): Likewise.
33584 [non-C99-based standards] (y1f): Likewise.
33585 [non-C99-based standards] (ynf): Likewise.
33586 [non-C99-based standards] (isnanf): Likewise.
33587 [non-C99-based standards] (acoshf): Likewise.
33588 [non-C99-based standards] (asinhf): Likewise.
33589 [non-C99-based standards] (atanhf): Likewise.
33590 [non-C99-based standards] (cbrtf): Likewise.
33591 [non-C99-based standards] (expm1f): Likewise.
33592 [non-C99-based standards] (ilogbf): Likewise.
33593 [non-C99-based standards] (log1pf): Likewise.
33594 [non-C99-based standards] (logbf): Likewise.
33595 [non-C99-based standards] (nextafterf): Likewise.
33596 [non-C99-based standards] (remainderf): Likewise.
33597 [non-C99-based standards] (rintf): Likewise.
33598 [non-C99-based standards] (scalbf): Likewise.
33599 [non-C99-based standards] (copysignl): Likewise.
33600 [non-C99-based standards] (exp2l): Likewise.
33601 [non-C99-based standards] (log2l): Likewise.
33602 [non-C99-based standards] (modfl): Allow.
33603 [non-C99-based standards] (erfl): Do not allow.
33604 [non-C99-based standards] (erfcl): Likewise.
33605 [non-C99-based standards] (gammal): Likewise.
33606 [non-C99-based standards] (hypotl): Likewise.
33607 [non-C99-based standards] (j0l): Likewise.
33608 [non-C99-based standards] (j1l): Likewise.
33609 [non-C99-based standards] (jnl): Likewise.
33610 [non-C99-based standards] (lgammal): Likewise.
33611 [non-C99-based standards] (tgammal): Likewise.
33612 [non-C99-based standards] (y0l): Likewise.
33613 [non-C99-based standards] (y1l): Likewise.
33614 [non-C99-based standards] (ynl): Likewise.
33615 [non-C99-based standards] (isnanl): Likewise.
33616 [non-C99-based standards] (acoshl): Likewise.
33617 [non-C99-based standards] (asinhl): Likewise.
33618 [non-C99-based standards] (atanhl): Likewise.
33619 [non-C99-based standards] (cbrtl): Likewise.
33620 [non-C99-based standards] (expm1l): Likewise.
33621 [non-C99-based standards] (ilogbl): Likewise.
33622 [non-C99-based standards] (log1pl): Likewise.
33623 [non-C99-based standards] (logbl): Likewise.
33624 [non-C99-based standards] (nextafterl): Likewise.
33625 [non-C99-based standards] (remainderl): Likewise.
33626 [non-C99-based standards] (rintl): Likewise.
33627 [non-C99-based standards] (scalbl): Likewise.
33628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33629 [non-C99-based standards] (FP_*): Do not allow.
33630 [C99-based standards] (FP_*): Change to
33631 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33632 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33634 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33635 (SIG_ERR): Likewise.
33636 [X/Open-based standards] (SIG_HOLD): Likewise.
33637 (SIG_IGN): Likewise.
33638 (SIGABRT): Use macro-int-constant. Specify type. Require
33640 (SIGFPE): Likewise.
33641 (SIGILL): Likewise.
33642 (SIGINT): Likewise.
33643 (SIGSEGV): Likewise.
33644 (SIGTER): Likewise.
33645 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33646 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33647 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33648 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33649 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33650 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33651 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33652 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33653 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33654 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33655 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33656 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33657 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33658 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33659 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33660 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33661 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33662 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33663 [X/Open-based standards] (SIGTRAP): Likewise.
33664 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33665 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33666 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33667 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33668 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33671 2012-05-08 Ian Wienand <ianw@vmware.com>
33674 * time/tzset.c (__tzset_parse_tz): Update default rules for
33675 daylight time changes in the Energy Policy Act of 2005.
33677 2012-05-09 Andreas Jaeger <aj@suse.de>
33680 * elf/ldconfig.c (parse_conf): Change string to make clear that
33681 ldconfig only issued a warning if ld.so.conf does not exist.
33683 2012-05-08 David S. Miller <davem@davemloft.net>
33685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33686 movxtod instead of popping the value on the stack.
33688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33690 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33692 * config.h.in: Add HAVE_ARM_PCS_VFP.
33694 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33697 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33698 checking but the checks are disabled for any reason.
33700 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33702 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33703 and ELF64_R_TYPE with ELFW(R_TYPE).
33705 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33707 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33708 (ulimit): Likewise.
33710 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33711 (settimeofday): Likewise.
33713 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33715 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33716 a struct th_u2 inside the union, and move tu_block/tu_code into
33717 a new th_u3 union of tu_block/tu_code inside of that. Move
33718 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33719 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33720 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33721 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33722 (th_stuff): Change to th_u1.tu_stuff.
33724 (th_msg): Change to th_u1.th_u2.tu_data.
33726 2012-05-07 David S. Miller <davem@davemloft.net>
33728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33731 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33732 (SETUP_PIC_REG): Use it.
33733 (SETUP_PIC_REG_LEAF): Use it.
33735 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33739 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33741 (EXPL_FINITE): Likewise.
33742 (FLDLOG): Likewise.
33743 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33744 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33746 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33748 (EXPL_FINITE): Likewise.
33749 (FLDLOG): Likewise.
33750 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33751 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33753 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33754 test of -max_value argument for long double.
33755 * sysdeps/i386/fpu/libm-test-ulps: Update.
33756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33758 2012-05-06 David S. Miller <davem@davemloft.net>
33760 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33761 quad soft-float symbols whose references which are compiler
33763 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33765 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33769 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33771 (EXPL_FINITE): Likewise.
33772 (FLDLOG): Likewise.
33775 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33776 Adjust comments for base varying.
33777 (__expl_finite): Change alias to EXPL_FINITE.
33778 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33780 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33781 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33783 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33784 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33786 (EXPL_FINITE): Likewise.
33787 (FLDLOG): Likewise.
33790 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33791 Adjust comments for base varying.
33792 (__expl_finite): Change alias to EXPL_FINITE.
33793 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33798 * math/libm-test.inc (check_float_internal): Correct ulp
33799 calculation for subnormal expected results.
33801 2012-05-06 Andreas Jaeger <aj@suse.de>
33803 * Makeconfig (+math-flags): New, set to -frounding-math.
33804 (+cflags): Add +math-flags so that all of glibc gets compiled with
33807 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33809 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33811 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33817 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33818 (__ieee754_expl): Allow for and saturate large arguments.
33819 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33820 (u_threshold): Likewise.
33821 (__exp): Call __ieee754_exp before checking for overflow and
33823 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33824 (u_threshold): Likewise.
33825 (__expf): Call __ieee754_expf before checking for overflow and
33827 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33828 (u_threshold): Likewise.
33829 (__expl): Call __ieee754_expl before checking for overflow and
33831 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33832 (__ieee754_expl): Allow for and saturate large arguments.
33833 * math/libm-test.inc (exp_test): Add another test. Do not allow
33834 missing overflow exception on overflow.
33835 (expm1_test): Do not allow missing overflow exception on overflow.
33837 * sysdeps/i386/fpu/e_expl.c: Move to ...
33838 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33839 rather than using inline asm.
33840 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33841 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33842 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33844 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33847 (signal): Likewise.
33851 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33853 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33854 sysdeps/unix/common/syscalls.list.
33855 (fchmod): Likewise.
33856 (fchown): Likewise.
33857 (ftruncate): Likewise.
33858 (getrusage): Likewise.
33859 (gettimeofday): Likewise.
33860 (setpgid): Likewise.
33861 (setregid): Likewise.
33862 (setreuid): Likewise.
33863 (sigaction): Likewise.
33864 (truncate): Likewise.
33865 (vhangup): Likewise.
33866 * sysdeps/unix/common/syscalls.list: Remove file.
33867 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33868 * sysdeps/unix/sysv/linux/Implies: Likewise.
33870 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33872 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33874 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33878 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33881 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33884 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33887 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33890 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33893 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33896 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33900 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33904 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33907 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33911 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33915 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33917 * sysdeps/unix/common/bits/dirent.h: Remove file.
33918 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33920 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33921 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33922 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33923 * sysdeps/unix/bsd/isatty.c: Likewise.
33924 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33925 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33926 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33928 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33931 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33932 long double comparison inaccuracies.
33933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33936 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33938 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33941 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33945 nonzero digits before rounding a hex value.
33946 * stdlib/tst-strtod.c (tests): Add another test.
33948 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33950 * sysdeps/s390/fpu/libm-test-ulps: Update.
33952 2012-05-03 Andreas Jaeger <aj@suse.de>
33954 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33955 does not get optimized out.
33956 (malloc_opt_barrier): New.
33958 2012-05-03 Andreas Jaeger <aj@suse.de>
33959 Roland McGrath <roland@hack.frob.com>
33961 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33962 intermediate file deletion.
33963 (generated): Add .symlist files.
33965 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33968 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33969 Redirect under this condition.
33970 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33971 [__USE_GNU] (__dprintf_chk): Not under this condition.
33972 [__USE_GNU] (__vdprintf_chk): Likewise.
33973 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33974 under this condition.
33975 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33976 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33977 [__USE_XOPEN2K8] (vdprintf): Likewise.
33978 [__USE_GNU] (__dprintf_chk): Not under this condition.
33979 [__USE_GNU] (__vdprintf_chk): Likewise.
33980 [__USE_GNU] (dprintf): Likewise.
33981 [__USE_GNU] (vdprintf): Likewise.
33983 2012-05-03 Roland McGrath <roland@hack.frob.com>
33985 * elf/Makefile (common-generated): Set this instead of generated for
33986 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33987 $(all-built-dso)-derived lists.
33989 2012-05-03 Andreas Jaeger <aj@suse.de>
33991 * sysdeps/i386/fpu/libm-test-ulps: Update.
33994 * FAQ.in: Likewise.
33995 * scripts/gen-FAQ.pl: Likewise.
33996 * manual/install.texi (Installation): Point to online location of
33998 * Makefile (files-for-dist): Remove FAQ.
34001 2012-05-02 Allan McRae <allan@archlinux.org>
34003 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34004 (LDFLAGS-reldepmod5.so): Likewise.
34005 (LDFLAGS-reldep6mod1.so): Likewise.
34006 (LDFLAGS-reldep6mod4.so): Likewise.
34007 (LDFLAGS-reldep8mod3.so): Likewise.
34008 (LDFLAGS-unload4mod1.so): Likewise.
34009 (LDFLAGS-unload4mod2.so): Likewise.
34010 (LDFLAGS-tst-initorder): Likewise.
34011 (LDFLAGS-tst-initordera2.so): Likewise.
34012 (LDFLAGS-tst-initordera3.so): Likewise.
34013 (LDFLAGS-tst-initordera4.so): Likewise.
34014 (LDFLAGS-tst-initorderb2.so): Likewise.
34015 (LDFLAGS-noload): Likewise.
34016 (LDFLAGS-next): Likewise.
34017 (LDFLAGS-order2mod1.so): Likewise.
34018 (LDFLAGS-order2mod2.so): Likewise.
34019 (LDFLAGS-tst-initorder2): Likewise.
34020 (LDFLAGS-tst-initorder2a.so): Likewise.
34021 (LDFLAGS-tst-initorder2b.so): Likewise.
34022 (LDFLAGS-tst-initorder2c.so): Likewise.
34023 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34025 2012-05-02 David S. Miller <davem@davemloft.net>
34027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34029 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34032 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34034 2012-05-02 Andreas Jaeger <aj@suse.de>
34036 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34037 since we manipulate rounding mode.
34038 (CPPFLAGS-test-idouble.c): Likewise.
34039 (CPPFLAGS-test-ifloat.c): Likewise.
34040 (CFLAGS-test-ldouble.c): Likewise.
34041 (CFLAGS-test-double.c): Likewise.
34042 (CFLAGS-test-float.c): Likewise.
34043 (CFLAGS-test-misc.c): Likewise.
34044 (CFLAGS-test-test-fenv.c): Likewise.
34046 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34050 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34051 comparisons to determine direction to adjust input.
34053 2012-05-01 Roland McGrath <roland@hack.frob.com>
34055 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34056 output to the target.
34058 * scripts/localplt.awk: New file.
34059 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34060 (check-localplt-CFLAGS): Variable removed.
34061 ($(all-built-dso:=.jmprel)): New static pattern rule.
34062 (generated): Add those targets.
34063 (localplt-built-dso): New variable.
34064 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34066 * elf/check-localplt.c: File removed.
34068 * scripts/check-execstack.awk: New file.
34069 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34070 (check-execstack-CFLAGS): Variable removed.
34071 ($(objpfx)check-execstack.h): Target removed.
34072 ($(objpfx)execstack-default): New target.
34073 (generated): Add that instead of check-execstack.h.
34074 ($(all-built-dso:=.phdr)): New static pattern rule.
34075 (generated): Add those targets.
34076 * elf/check-execstack.c: File removed.
34078 * scripts/check-textrel.awk: New file.
34079 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34080 (check-textrel-CFLAGS): Variable removed.
34081 (all-built-dso): Use := to define.o
34082 ($(all-built-dso:=.dyn)): New static pattern rule.
34083 (generated): Add those targets.
34084 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34085 * config.make.in (READELF): New substituted variable.
34086 * elf/check-textrel.c: File removed.
34088 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34090 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34092 * conform/data/ctype.h-data [C99-based standards] (isblank):
34094 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34095 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34097 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34098 Specify type. Require positive value.
34099 (EILSEQ): Likewise.
34100 (ERANGE): Likewise.
34101 [ISO || POSIX] (EILSEQ): Do not expect.
34102 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34103 Specify type. Require positive value.
34104 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34105 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34106 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34107 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34108 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34109 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34110 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34111 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34112 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34113 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34114 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34115 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34116 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34117 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34118 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34119 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34120 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34121 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34122 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34123 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34124 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34125 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34126 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34127 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34128 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34129 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34130 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34131 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34132 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34133 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34134 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34135 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34136 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34137 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34138 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34139 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34140 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34141 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34142 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34143 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34144 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34145 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34146 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34147 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34148 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34149 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34150 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34151 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34152 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34153 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34154 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34155 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34156 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34157 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34158 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34159 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34160 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34161 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34162 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34163 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34164 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34165 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34166 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34167 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34168 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34169 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34170 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34171 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34172 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34173 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34174 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34175 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34176 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34177 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34178 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34179 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34180 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34182 (FLT_ROUNDS): Expect as macro, not constant.
34183 (FLT_MANT_DIG): Use macro-int-constant.
34184 (DBL_MANT_DIG): Likewise.
34185 (LDBL_MANT_DIG): Likewise.
34186 (FLT_DIG): Likewise.
34187 (DBL_DIG): Likewise.
34188 (LDBL_DIG): Likewise.
34189 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34190 (DBL_MIN_EXP): Likewise.
34191 (LDBL_MIN_EXP): Likewise.
34192 (FLT_MAX_EXP): Use macro-int-constant.
34193 (DBL_MAX_EXP): Likewise.
34194 (LDBL_MAX_EXP): Likewise.
34195 (FLT_MAX_10_EXP): Likewise.
34196 (DBL_MAX_10_EXP): Likewise.
34197 (LDBL_MAX_10_EXP): Likewise.
34198 (FLT_MAX): Use macro-constant.
34199 (DBL_MAX): Likewise.
34200 (LDBL_MAX): Likewise.
34201 (FLT_EPSILON): Use macro-constant. Give upper bound.
34202 (DBL_EPSILON): Likewise.
34203 (LDBL_EPSILON): Likewise.
34204 (FLT_MIN): Likewise.
34205 (DBL_MIN): Likewise.
34206 (LDBL_MIN): Likewise.
34207 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34208 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34209 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34210 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34211 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34212 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34213 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34214 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34215 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34216 [ISO11] (FLT_TRUE_MIN): Likewise.
34217 [ISO11] (LDBL_TRUE_MIN): Likewise.
34218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34219 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34220 (SCHAR_MIN): Use macro-int-constant. Specify type.
34221 (SCHAR_MAX): Likewise.
34222 (UCHAR_MAX): Likewise.
34223 (CHAR_MIN): Likewise.
34224 (CHAR_MAX): Likewise.
34225 (MB_LEN_MAX): Use macro-int-constant.
34226 (SHRT_MIN): Use macro-int-constant. Specify type.
34227 (SHRT_MAX): Likewise.
34228 (USHRT_MAX): Likewise.
34229 (INT_MAX): Likewise.
34230 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34232 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34234 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34236 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34237 bound negative. Suffix upper bound with "L".
34238 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34240 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34242 [C99-based standards] (LLONG_MAX): Likewise.
34243 [C99-based standards] (ULLONG_MAX): Likewise.
34244 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34246 [ISO11] (max_align_t): Require type.
34247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34249 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34250 from $CFLAGS, without defining away __attribute__ calls.
34251 (checknamespace): Use $CFLAGS_namespace.
34253 * conform/conformtest.pl (@keywords): Only include C99 keywords
34254 for standards based on C99 or C11.
34256 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34258 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34261 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34262 usability of symbols in #if.
34264 * conform/conformtest.pl: If macro or constant types start
34265 "promoted:", expect the symbol to be of the following type
34266 promoted by the integer promotions.
34268 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34269 in one place. Also handle "macro-constant".
34271 * conform/conformtest.pl: Only accept expected macro values with
34272 "==". Parse all "macro" lines in one place.
34273 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34275 * conform/conformtest.pl: Handle braced types on "constant" lines
34276 instead of handling "typed-constant".
34277 * conform/data/signal.h-data: Use "constant" instead of
34280 * conform/conformtest.pl: Handle "optional-" at start of lines in
34281 one place rather than duplicating several cases. Handle each
34282 format of "macro" line with initial "optional-".
34284 * conform/conformtest.pl: Only accept expected constant or
34285 optional-constant values with "==". Parse all "constant" lines in
34286 one place. Parse all "optional-constant" lines in one place.
34287 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34288 * conform/data/fmtmsg.h-data: Likewise.
34289 * conform/data/netinet/in.h-data: Likewise.
34290 * conform/data/tar.h-data: Likewise.
34291 * conform/data/limits.h-data: Use "==" form on "constant" and
34292 "optional-constant" lines.
34294 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34295 Use -std=c99 for XOPEN2K.
34296 (@knownproblems): Remove.
34297 (newtoken): Don't check %isknown.
34299 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34300 Do not expect macro.
34301 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34313 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34314 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34331 [XPG3] (acosh): Likewise.
34332 [XPG3] (asinh): Likewise.
34333 [XPG3] (atanh): Likewise.
34334 [XPG3] (cbrt): Likewise.
34335 [XPG3] (expm1): Likewise.
34336 [XPG3] (ilogb): Likewise.
34337 [XPG3] (log1p): Likewise.
34338 [XPG3] (logb): Likewise.
34339 [XPG3] (nextafter): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34342 [XPG3] (remainder): Likewise.
34343 [XPG3] (rint): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34351 [UNIX98 || XOPEN2K] (scalb): Expect.
34352 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34353 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34354 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34355 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34356 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34357 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34358 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34359 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34360 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34361 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34362 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34363 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34364 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34365 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34366 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34367 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34368 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34369 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34370 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34371 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34372 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34373 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34374 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34375 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34376 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34377 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34378 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34379 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34380 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34381 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34382 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34383 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34384 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34385 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34386 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34387 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34388 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34389 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34390 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34391 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34392 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34393 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34394 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34395 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34396 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34397 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34398 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34399 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34400 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34401 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34402 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34403 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34404 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34405 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34406 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34407 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34408 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34409 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34410 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34411 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34412 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34413 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34414 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34415 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34416 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34417 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34418 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34419 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34420 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34421 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34422 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34423 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34424 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34425 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34426 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34427 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34428 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34429 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34430 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34431 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34432 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34433 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34434 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34435 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34436 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34437 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34438 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34439 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34440 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34441 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34442 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34443 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34444 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34445 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34446 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34447 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34448 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34449 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34450 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34451 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34452 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34453 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34454 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34455 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34456 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34457 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34458 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34459 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34460 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34461 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34462 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34463 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34464 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34465 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34466 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34467 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34468 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34469 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34470 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34471 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34472 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34473 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34474 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34475 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34476 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34477 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34478 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34479 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34480 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34481 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34482 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34483 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34484 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34485 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34486 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34487 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34488 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34490 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34491 _XOPEN_SOURCE_EXTENDED for XPG4.
34493 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34495 * Makeconfig (localtime): Remove variable.
34496 (inst_localtime-file): Likewise.
34498 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34519 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34523 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34524 comparisons to determine direction to adjust input.
34525 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34526 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34527 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34529 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34533 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34534 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34536 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34538 * math/libm-test.inc (nexttoward_test): Add more tests.
34540 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34543 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34544 in version GLIBC_2.1, not GLIBC_2.0.
34545 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34548 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34551 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34553 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34554 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34555 * math/libm-test.inc (acos_test): Add more tests.
34556 (asin_test): Likewise.
34557 * sysdeps/i386/fpu/libm-test-ulps: Update.
34558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34561 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34563 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34564 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34565 * math/libm-test.inc (acos_test_tonearest): New function.
34566 (acos_test_towardzero): Likewise.
34567 (acos_test_downward): Likewise.
34568 (acos_test_upward): Likewise.
34569 (asin_test_tonearest): Likewise.
34570 (asin_test_towardzero): Likewise.
34571 (asin_test_downward): Likewise.
34572 (asin_test_upward): Likewise.
34573 (main): Call the new functions.
34574 * sysdeps/i386/fpu/libm-test-ulps: Update.
34575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34579 * math/e_exp10.c: Include <float.h>.
34580 (__ieee754_exp10): Handle underflow here rather than multiplying
34581 large negative argument by M_LN10.
34582 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34584 * math/e_exp10l.c: Include <float.h>.
34585 (__ieee754_exp10l): Handle underflow here rather than multiplying
34586 large negative argument by M_LN10l.
34587 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34588 spurious overflow exception on underflow.
34590 2012-04-29 Marek Polacek <polacek@redhat.com>
34592 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34593 (__fortify_function): New macro.
34594 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34595 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34596 __extern_always_inline.
34597 * libio/bits/stdio2.h: Likewise.
34598 * libio/bits/stdio.h: Likewise.
34599 * string/string.h: Likewise.
34600 * string/bits/string3.h: Likewise.
34601 * include/stdio.h: Likewise.
34602 * stdlib/bits/stdlib.h: Likewise.
34603 * stdlib/stdlib.h: Likewise.
34604 * rt/bits/mqueue2.h: Likewise.
34605 * rt/mqueue.h: Likewise.
34606 * posix/bits/unistd.h: Likewise.
34607 * posix/unistd.h: Likewise.
34608 * io/bits/poll2.h: Likewise.
34609 * io/bits/fcntl2.h: Likewise.
34610 * io/fcntl.h: Likewise.
34611 * io/sys/poll.h: Likewise.
34612 * misc/bits/syslog.h: Likewise.
34613 * misc/bits/syslog-ldbl.h: Likewise.
34614 * misc/sys/syslog.h: Likewise.
34615 * socket/bits/socket2.h: Likewise.
34616 * socket/sys/socket.h: Likewise.
34617 * debug/tst-chk1.c: Likewise.
34618 * wcsmbs/bits/wchar2.h: Likewise.
34619 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34620 * wcsmbs/wchar.h: Likewise.
34622 2012-04-29 Andreas Jaeger <aj@suse.de>
34624 * Makerules (tests): Remove enable-check-abi protection.
34625 (check-abi-warn): Remove.
34626 (check-abi-%): Remove check-abi-warn usage.
34628 * configure.in: Remove check-abi configure option.
34629 * configure: Regenerated.
34630 * config.make.in (enable-check-abi): Remove.
34632 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34635 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34636 double functions to double *_finite functions.
34639 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34640 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34642 * stdio-common/Makefile (tests): Add tst-sprintf3.
34643 * stdio-common/tst-sprintf3.c: New file.
34645 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34646 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34648 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34650 * conform/conformtest.pl: Remove duplicate typed-constant
34653 2012-04-28 David S. Miller <davem@davemloft.net>
34655 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34656 (check-abi-%): Remove AWK script prerequisite and explicit
34658 (check-abi): Rewrite to just diff the symlist with the abilist.
34659 (config-tls, config-abi-config): Delete, no longer used.
34660 (update-abi-%): Remove AWK script and explicit abilist directory.
34661 (update-abi): Rewrite to simply compare and conditionally copy the
34662 symlist and the sysdep abilist file. Remove update-abi-config
34664 * abilist/ld.abilist: Remove.
34665 * abilist/libBrokenLocale.abilist: Remove.
34666 * abilist/libanl.abilist: Remove.
34667 * abilist/libcrypt.abilist: Remove.
34668 * abilist/libdl.abilist: Remove.
34669 * abilist/librt.abilist: Remove.
34670 * abilist/libthread_db.abilist: Remove.
34671 * abilist/libutil.abilist: Remove.
34672 * scripts/extract-abilist.awk: Remove.
34673 * scripts/merge-abilist.awk: Remove.
34674 * sysdeps/generic/libcidn.abilist: New file.
34675 * sysdeps/generic/libnss_compat.abilist: New file.
34676 * sysdeps/generic/libnss_db.abilist: New file.
34677 * sysdeps/generic/libnss_dns.abilist: New file.
34678 * sysdeps/generic/libnss_files.abilist: New file.
34679 * sysdeps/generic/libnss_hesiod.abilist: New file.
34680 * sysdeps/generic/libnss_nis.abilist: New file.
34681 * sysdeps/generic/libnss_nisplus.abilist: New file.
34682 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34683 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34684 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34687 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34688 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34689 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34690 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34691 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34692 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34693 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34694 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34696 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34697 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34698 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34699 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34701 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34702 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34703 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34704 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34705 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34706 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34708 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34709 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34710 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34712 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34815 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34816 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34817 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34820 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34821 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34822 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34823 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34824 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34825 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34826 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34827 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34828 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34880 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34882 * conform/conformtest.pl: Fix typo in handling typed-constant from
34885 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34887 * README: Cut down references to pre-2.6 Linux kernels and
34888 Linuxthreads. Update lists of configurations in libc and ports
34889 and sort alphabetically. Say "or newer" with Linux kernel version
34892 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34894 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34897 * math/libm-test.inc (logb_test_downward): New test to expose
34898 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34901 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34904 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34906 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34907 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34909 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34911 * sysdeps/unix/i386/brk.S: Remove file.
34912 * sysdeps/unix/i386/dl-brk.S: Likewise.
34913 * sysdeps/unix/i386/pipe.S: Likewise.
34914 * sysdeps/unix/i386/sigreturn.S: Likewise.
34915 * sysdeps/unix/i386/syscall.S: Likewise.
34916 * sysdeps/unix/i386/vfork.S: Likewise.
34917 * sysdeps/unix/i386/wait.S: Likewise.
34919 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34920 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34922 * configure.in (arm*-none*): Do not allow without
34923 --enable-hacker-mode.
34924 (netbsd*): Remove case setting base_os.
34925 (386bsd*): Likewise.
34926 (freebsd*): Likewise.
34929 (sunos*): Likewise.
34930 (ultrix*): Likewise.
34931 (newsos*): Likewise.
34932 (dynix*): Likewise.
34938 (minix*): Likewise.
34939 (irix4*): Likewise.
34940 (irix6*): Likewise.
34941 (solaris[2-9]*): Likewise.
34943 * configure: Regenerated.
34945 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34948 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34949 overflow or cancellation in calculating denominator.
34950 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34951 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34952 down expression to avoid unexpected rounding in newer GCCs.
34953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34955 2012-04-26 David S. Miller <davem@davemloft.net>
34957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34958 long-double compat symbols.
34959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34973 2012-04-25 David S. Miller <davem@davemloft.net>
34975 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34976 HWCAP_* values only after the memory barriers have been defined.
34977 (atomic_full_barrier): Define.
34978 (atomic_read_barrier): Define.
34979 (atomic_write_barrier): Define.
34981 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34983 * shlib-versions: Add libgcc_s version information.
34984 * sysdeps/generic/libgcc_s.h: Remove.
34985 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34987 * sysdeps/gnu/unwind-resume.c: Likewise.
34988 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34990 2012-04-25 David S. Miller <davem@davemloft.net>
34992 * sysdeps/unix/sparc/brk.S: Delete.
34993 * sysdeps/unix/sparc/dl-brk.S: Delete.
34994 * sysdeps/unix/sparc/pipe.S: Delete.
34995 * sysdeps/unix/sparc/sysdep.S: Delete.
34996 * sysdeps/unix/sparc/sysdep.h: Delete.
34997 * sysdeps/unix/sparc/vfork.S: Delete.
34998 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34999 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35001 (ret_ERRVAL, r0, r1, MOVE): Define.
35002 (JUMPTARGET): Remove.
35003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35004 sysdeps/unix/sparc/sysdep.h
35005 (ENTRY, END): Remove.
35006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35008 2012-04-25 Joseph Myers <joseph@codesourcery.com>
35010 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35011 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35014 * timezone/README: Update upstream location and email address for
35016 * timezone/zdump.c: Update from tzcode 2012b.
35017 * timezone/zic.c: Likewise.
35019 * configure.in (libc_cv_as_needed): Remove test.
35020 * configure: Regenerated.
35021 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35022 conditional definition.
35023 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35024 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35025 * config.make.in (have-as-needed): Remove variable.
35027 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35028 Paul Pluzhnikov <ppluzhnikov@google.com>
35030 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35033 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35035 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35036 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35037 * sysdeps/sh/strlen.S: Likewise.
35039 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35041 * sysdeps/unix/fork.S: Remove file.
35042 * sysdeps/unix/i386/fork.S: Likewise.
35043 * sysdeps/unix/sparc/fork.S: Likewise.
35045 * sysdeps/unix/system.c: Remove file.
35046 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35048 * sysdeps/unix/getegid.S: Remove file.
35049 * sysdeps/unix/geteuid.S: Likewise.
35051 2012-04-24 Roland McGrath <roland@hack.frob.com>
35053 * scripts/check-localplt.awk: New file.
35054 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35056 * scripts/data/localplt-generic.data: Add a comment.
35058 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35059 NODE when __dir_mkfile failed.
35060 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35061 Reported by Ludovic Courtès <ludo@gnu.org>.
35063 2012-04-24 Andreas Jaeger <aj@suse.de>
35065 * Makerules (common-clean): Also remove gen-as-const-headers
35068 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35070 * Makerules (native-compile): Do not change working directory for
35071 build. Use $(OUTPUT_OPTION) in command.
35072 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35074 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35077 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35078 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35079 * math/libm-test.inc (floor_test): Add more tests.
35080 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35082 2012-04-24 Joseph Myers <joseph@codesourcery.com>
35084 * sysdeps/unix/getdents.c: Remove file.
35085 * sysdeps/unix/sysv/getdents.c: Likewise.
35086 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35088 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35089 sysdeps/unix/mman/syscalls.list.
35091 (mprotect): Likewise.
35093 (munmap): Likewise.
35094 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35095 * sysdeps/unix/mman/syscalls.list: Remove.
35096 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35098 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35099 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35100 * configure: Regenerated.
35101 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35102 $(libgcc_s_suffix).
35103 * config.make.in (libgcc_s_suffix): Remove variable.
35105 2012-04-23 Joseph Myers <joseph@codesourcery.com>
35107 * sysdeps/unix/sysv/gethostname.c: Move to ...
35108 * sysdeps/posix/gethostname.c: ... here.
35110 * sysdeps/unix/execve.S: Remove file.
35112 * sysdeps/unix/_exit.S: Remove file.
35114 2012-04-23 Andreas Jaeger <aj@suse.de>
35117 * manual/Makefile: Remove make dist support, there's no
35118 need for a stand-alone documentation tar ball.
35119 (TEXI2DVI): Define always, it's not in Makeconfig.
35122 (edition): Removed.
35123 (glibc-doc-$(edition).tar): Removed
35127 (ETAGS): Remove, it's in Makeconfig.
35128 (move-if-change): Remove, it's in Makeconfig.
35130 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
35133 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35134 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35135 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35136 (strtod_l, strtof_l, strtold_l): Remove __wur.
35137 It is not necessarily an error to ignore strtol's return value.
35138 One can reliably look at the stored endptr to decide whether
35139 the number had valid syntax.
35141 2012-04-21 Andreas Jaeger <aj@suse.de>
35144 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35146 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35149 * sysdeps/unix/sysv/Versions: Remove file.
35151 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35156 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35160 version from __vm86.
35162 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35164 * sysdeps/unix/common/lxstat.c: Remove file.
35165 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35167 * sysdeps/unix/sysv/Makefile: Remove file.
35169 * sysdeps/unix/sysv/direct.h: Remove file.
35171 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35172 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35173 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35174 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35175 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35176 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35177 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35179 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35181 * sysdeps/unix/xmknod.c: Remove file.
35182 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35184 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35186 * sysdeps/unix/sysv/i386/time.S: Remove file.
35188 * sysdeps/unix/fxstat.c: Remove file.
35189 * sysdeps/unix/xstat.c: Likewise.
35190 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35192 * sysdeps/unix/sysv/sigaction.c: Remove file.
35194 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35195 (sysdep_headers): Remove variable.
35196 [termio.h not in sysdep_headers] (generated): Likewise.
35197 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35198 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35199 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35200 * sysdeps/unix/sysv/tcflow.c: Likewise.
35201 * sysdeps/unix/sysv/tcflush.c: Likewise.
35202 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35203 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35204 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35205 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35206 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35208 * sysdeps/unix/siglist.c: Remove file.
35210 * sysdeps/unix/getppid.S: Remove file.
35212 * sysdeps/unix/mkdir.c: Remove file.
35213 * sysdeps/unix/rmdir.c: Likewise.
35215 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35217 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35219 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35220 errlist-compat value.
35222 2012-04-18 David S. Miller <davem@davemloft.net>
35224 * sysdeps/generic/memcopy.h (reg_char): Delete.
35225 * debug/strcat_chk.c: Use char, not reg_char.
35226 * debug/strcpy_chk.c: Likewise.
35227 * debug/strncat_chk.c: Likewise.
35228 * debug/strncpy_chk.c: Likewise.
35229 * string/memchr.c: Likewise.
35230 * string/memrchr.c: Likewise.
35231 * string/rawmemchr.c: Likewise.
35232 * string/strcat.c: Likewise.
35233 * string/strchr.c: Likewise.
35234 * string/strchrnul.c: Likewise.
35235 * string/strcmp.c: Likewise.
35236 * string/strcpy.c: Likewise.
35237 * string/strncat.c: Likewise.
35238 * string/strncmp.c: Likewise.
35239 * string/strncpy.c: Likewise.
35241 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35243 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35244 __builtin_memcopy is called when src and dest ranges are known to not
35247 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35249 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35250 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35251 fwd_align_merge macro call.
35252 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35253 bwd_align_merge macro call.
35254 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35256 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35258 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35259 bwd_align_merge macros.
35260 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35261 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35264 2012-04-18 David S. Miller <davem@davemloft.net>
35266 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35268 2012-04-18 Andreas Jaeger <aj@suse.de>
35271 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35272 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35273 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35275 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35276 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35277 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35279 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35280 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35281 Adjust for changed ldbl-128 files.
35283 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35284 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35285 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35287 2012-04-17 David S. Miller <davem@davemloft.net>
35289 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35291 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35293 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35294 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35295 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35296 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35297 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35298 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35300 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35303 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35304 * math/libm-test.inc: Add ilogb errno and exception tests.
35305 * math/w_ilogb.c: New file: ilogb wrapper.
35306 * math/w_ilogbf.c: New file: ilogbf wrapper.
35307 * math/w_ilogbl.c: New file: ilogbl wrapper.
35308 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35309 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35310 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35311 exception being thrown with 0.0 as argument.
35312 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35313 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35314 exception being thrown with 0.0 as argument.
35315 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35316 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35317 exception being thrown with 0.0 as argument.
35318 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35319 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35320 exception being thrown with 0.0 as argument.
35321 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35322 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35324 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35325 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35326 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35327 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35328 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35329 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35331 2012-04-17 Petr Baudis <pasky@ucw.cz>
35333 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35336 2012-04-16 Marek Polacek <polacek@redhat.com>
35338 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35340 2012-04-16 Marek Polacek <polacek@redhat.com>
35342 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35343 operands of fdivp instruction.
35345 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35347 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35348 * elf/tst-auditmod3b.c: Likewise.
35349 * elf/tst-auditmod4b.c: Likewise.
35350 * elf/tst-auditmod5b.c: Likewise.
35351 * elf/tst-auditmod6b.c: Likewise.
35352 * elf/tst-auditmod6c.c: Likewise.
35353 * elf/tst-auditmod7b.c: Likewise.
35354 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35355 * sysdeps/x86_64/preconfigure.in: Likewise.
35356 * sysdeps/x86_64/preconfigure: Regenerated.
35358 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35360 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35363 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35365 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35366 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35368 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35371 * locale/iso-639.def: Fix gl language name. Spotted by
35374 2012-04-12 Roland McGrath <roland@hack.frob.com>
35377 * libio/libio.h (__io_write_fn): Update comment.
35379 2012-04-12 Petr Baudis <pasky@ucw.cz>
35382 * stdio.texi (Hook Functions): The user provided writer function
35383 is not allowed to return -1.
35385 2012-04-11 David S. Miller <davem@davemloft.net>
35387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35389 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35391 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35392 Add a leading slash to rtkaio.
35394 2012-04-11 Jim Meyering <meyering@redhat.com>
35397 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35398 It is not necessarily an error to ignore fwrite's return
35399 value. One can reliably use ferror to test for errors after
35402 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35404 * bits/types.h (__snseconds_t): New type.
35405 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35407 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35409 (__SNSECONDS_T_TYPE): Likewise.
35410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35411 (__SNSECONDS_T_TYPE): Likewise.
35412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35413 (__SNSECONDS_T_TYPE): Likewise.
35415 2012-04-10 Andreas Jaeger <aj@suse.de>
35418 * manual/time.texi (Processor Time): Return type of times is
35419 elapsed real time since an arbitrary point in the past.
35420 (CPU Time): Move CLK_TCK from here...
35421 (Processor Time): ...to here. Correct description.
35422 * manual/conf.texi (Constants for Sysconf): Correct description of
35425 2012-04-10 David S. Miller <davem@davemloft.net>
35428 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35429 where the is a gap between DT_REL(A) and DT_JMPREL.
35431 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35433 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35434 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35435 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35437 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35439 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35440 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35441 (dl_main): Handle --inhibit-cache.
35442 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35444 * elf/dl-load.c (_dl_map_object): Use it.
35445 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35447 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35450 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35451 (__ieee754_powl): Saturate large exponents rather than testing for
35452 overflow of y*log2(x).
35453 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35454 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35458 * math/s_ctan.c: Include <float.h>.
35459 (__ctan): Avoid internal overflow or cancellation in calculating
35461 * math/s_ctanf.c: Likewise.
35462 * math/s_ctanl.c: Likewise.
35463 * math/s_ctanh.c: Likewise.
35464 * math/s_ctanhf.c: Likewise.
35465 * math/s_ctanhl.c: Likewise.
35466 * math/libm-test.inc (ctan_test): Add more tests.
35467 (ctanh_test): Likewise.
35468 * sysdeps/i386/fpu/libm-test-ulps: Update.
35469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35471 2012-04-09 Andreas Jaeger <aj@suse.de>
35474 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35475 is an optional BSD extension.
35478 * manual/stdio.texi (Opening Streams): Document additional fopen
35481 2012-04-09 Roland McGrath <roland@hack.frob.com>
35483 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35484 %eax without telling the compiler.
35486 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35489 * manual/install.texi: Use sourceware.org.
35491 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35494 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35495 (__ieee754_pow): Generate overflow and underflow using huge*huge
35496 and tiny*tiny rather than just returning constant infinity or zero
35497 for large exponents.
35498 * math/libm-test.inc (pow_test): Require overflow exceptions for
35499 applicable cases of large exponents.
35502 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35503 (__ieee754_pow): Use iterative multiplication algorithm only for
35504 integer exponents with absolute value below 1024. Check for odd
35505 integer exponents when using algorithm for real exponents.
35506 * math/libm-test.inc (pow_test): Add more tests.
35507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35509 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35512 * math/libm-test.inc (exp_test): Do not allow overflow exception
35515 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35518 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35519 instead of __kernel_standard_f.
35521 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35523 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35524 * sysdeps/x86_64/memset_chk.S: Likewise.
35526 2012-04-08 Andreas Jaeger <aj@suse.de>
35529 * manual/startup.texi (Environment Access): Describe return value
35530 for putenv and setenv.
35533 * manual/filesys.texi (Directory Entries): Add description for
35537 * manual/filesys.texi (Directory Entries): Clarify that it's file
35538 system not operating system in the description of DT_UNKNOWN.
35541 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35543 2012-04-08 Stephen Compall <s11@member.fsf.org>
35546 * manual/llio.texi (Opening and Closing Files): Add cross
35547 reference to explain mode argument.
35549 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35551 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35552 * sysdeps/x86_64/memset_chk.S: Likewise.
35554 2012-04-07 David S. Miller <davem@davemloft.net>
35556 * elf/elf.h (R_SPARC_WDISP10): Define.
35557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35560 R_SPARC_SIZE64 and R_SPARC_H34.
35562 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35565 conditions and remove no longer applicable assertion.
35567 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35569 * bits/byteswap.h: Include <features.h>.
35570 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35571 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35573 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35575 * bits/byteswap.h (__bswap_16): Removed.
35576 Include <bits/byteswap-16.h> to get __bswap_16.
35577 * sysdeps/i386/bits/byteswap.h: Likewise.
35578 * sysdeps/s390/bits/byteswap.h: Likewise.
35579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35580 * bits/byteswap-16.h: New file.
35581 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35582 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35583 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35584 * string/Makefile (headers): Add bits/byteswap-16.h.
35586 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35589 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35591 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35592 * nss/tst-nss-static.c: New.
35594 2012-04-06 Robert Millan <rmh@gnu.org>
35597 * manual/llio.texi (File Position Primitive): lseek
35598 refers to WHENCE when it really means OFFSET.
35600 2012-04-06 Andreas Jaeger <aj@suse.de>
35602 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35603 strncmp declarations.
35605 * abilist/libc.abilist: Add __poll and __ppoll.
35607 2012-04-05 David S. Miller <davem@davemloft.net>
35609 * scripts/check-local-headers.sh: Accept a host triplet in the
35610 path matched by the exclude regexp.
35612 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35614 * sysdeps/powerpc/powerpc32/dl-machine.h
35615 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35616 * sysdeps/s390/s390-32/dl-machine.h
35617 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35618 * sysdeps/sparc/sparc32/dl-machine.h
35619 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35620 * sysdeps/sparc/sparc64/dl-machine.h
35621 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35623 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35625 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35626 undefined symbol errors.
35628 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35631 2012-04-05 Michael Matz <matz@suse.de>
35634 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35636 2012-04-05 Andreas Jaeger <aj@suse.de>
35639 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35642 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35644 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35645 which ROUND is no valid rounding mode.
35647 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35651 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35653 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35655 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35656 an exception using FPU order intentionally.
35658 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35660 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35661 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35662 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35663 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35665 2012-04-05 Simon Josefsson <simon@josefsson.org>
35668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35669 EINVAL when BUFLEN is too smal.
35671 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35674 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35675 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35677 2012-04-03 Andreas Jaeger <aj@suse.de>
35680 * manual/setjmp.texi (System V contexts): Fix sentence.
35683 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35684 New macro for this case.
35685 [!__GNUC__] (__bswap_64): New inline function for this case.
35686 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35687 * bits/byteswap.h: Likewise.
35688 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35689 ull, guard with __GLIBC_HAVE_LONG_LONG.
35691 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35692 __GLIBC_HAVE_LONG_LONG.
35694 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35695 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35697 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35700 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35701 inptr and inend, rather than using last_ch.
35703 2012-04-02 David S. Miller <davem@davemloft.net>
35705 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35706 * stdio-common/printf-parse.h (read_int): Change return type to
35707 'int', return -1 on INT_MAX overflow.
35708 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35709 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35710 overflows INT_MAX. Check for overflow of in-format-string precision
35711 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35712 SIZE_MAX not INT_MAX for integer overflow test.
35713 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35714 skip the construct in the format string but do not record anything.
35715 * stdio-common/bug22.c: Adjust to test both width/prevision
35716 INT_MAX overflow as well as total length INT_MAX overflow. Check
35717 explicitly for proper errno values.
35719 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35721 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35723 * string/test-strcmp.c [! WIDE]: Likewise.
35724 * time/tst-mktime2.c: Likewise for INT_MAX.
35725 * string/test-string.h: #include <sys/param.h> for MIN.
35727 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35728 * sysdeps/i386/init-first.c (init): Likewise.
35729 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35730 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35731 * sysdeps/sh/init-first.c (init): Likewise.
35733 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35735 * po/ru.po: Update from translation team.
35736 * po/vi.po: Likewise.
35738 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35740 * resolv/nss_dns/dns-host.c: Merge copyright years.
35742 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35744 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35745 Optimize memcpy with prefetch if
35746 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35747 src, dst pointers have unequal 16 byte alignments.
35749 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35752 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35753 from a CNAME entry and return the minimum ttl for the query.
35754 (gaih_getanswer_slice): Likewise.
35756 2012-03-30 Jeff Law <law@redhat.com>
35758 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35760 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35761 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35763 * resolv/nss_dns/dns-host.c: Update copyright year.
35765 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35767 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35768 requests to save a system call. Fix check that all bytes are sent.
35770 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35771 comments for sendmmsg.
35773 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35776 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35777 with only 1 character between 0x0041 and 0x01b0.
35778 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35779 * wcsmbs/tst-mbsnrtowcs.c: New file.
35781 2012-03-29 David S. Miller <davem@davemloft.net>
35783 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35784 small copies by hand.
35786 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35789 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35790 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35793 2012-03-28 David S. Miller <davem@davemloft.net>
35795 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35796 that branches into memcpy.
35797 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35799 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35800 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35803 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35804 implementation too.
35805 * sysdeps/sparc/mempcpy.S: New file.
35807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35808 the IFUNC routine in the libc case.
35809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35811 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35812 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35813 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35814 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35815 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35816 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35817 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35818 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35820 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35821 loop to 256 bytes instead of 64 bytes and fix test signedness.
35823 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35824 * sysdeps/sparc/sparc32/Makefile: rather than here...
35825 * sysdeps/sparc/sparc64/Makefile: and here.
35827 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35829 * malloc/mallocbug.c: Avoid warnings about unused variables.
35831 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35834 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35835 in the right place. Discard and retry query if response is
35836 larger than input buffer size.
35838 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35843 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35844 x for large integer exponent.
35845 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35846 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35847 sign of result as needed afterwards.
35848 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35849 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35850 result for underflowing pow the same as for overflow.
35851 (__kernel_standard_l): Handle powl overflow and underflow here
35852 rather than calling __kernel_standard.
35853 * math/libm-test.inc (pow_test): Add more tests.
35868 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35869 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35870 (__kernel_standard_l): New function.
35871 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35873 * math/w_acosl.c (__acosl): Likewise.
35874 * math/w_asinl.c (__asinl): Likewise.
35875 * math/w_atan2l.c (__atan2l): Likewise.
35876 * math/w_atanhl.c (__atanhl): Likewise.
35877 * math/w_coshl.c (__coshl): Likewise.
35878 * math/w_exp10l.c (__exp10l): Likewise.
35879 * math/w_exp2l.c (__exp2l): Likewise.
35880 * math/w_fmodl.c (__fmodl): Likewise.
35881 * math/w_hypotl.c (__hypotl): Likewise.
35882 * math/w_j0l.c (__j0l, __y0l): Likewise.
35883 * math/w_j1l.c (__j1l, __y1l): Likewise.
35884 * math/w_jnl.c (__jnl, __ynl): Likewise.
35885 * math/w_lgammal.c (__lgammal): Likewise.
35886 * math/w_log10l.c (__log10l): Likewise.
35887 * math/w_log2l.c (__log2l): Likewise.
35888 * math/w_logl.c (__logl): Likewise.
35889 * math/w_powl.c (__powl): Likewise.
35890 * math/w_remainderl.c (__remainderl): Likewise.
35891 * math/w_scalbl.c (sysv_scalbl): Likewise.
35892 * math/w_sinhl.c (__sinhl): Likewise.
35893 * math/w_sqrtl.c (__sqrtl): Likewise.
35894 * math/w_tgammal.c (__tgammal): Likewise.
35895 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35896 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35897 * math/libm-test.inc (acos_test): Add more tests.
35898 (acosh_test): Likewise.
35899 (asin_test): Likewise.
35900 (atanh_test): Likewise.
35901 (exp_test): Likewise.
35902 (exp10_test): Likewise.
35903 (exp2_test): Likewise.
35904 (expm1_test): Likewise.
35905 (lgamma_test): Likewise.
35906 (log_test): Likewise.
35907 (log10_test): Likewise.
35908 (log1p_test): Likewise.
35909 (log2_test): Likewise.
35910 (pow_test): Do not allow some spurious overflow exceptions.
35911 (sqrt_test): Add more tests.
35912 (tgamma_test): Likewise.
35913 (y0_test): Likewise.
35914 (y1_test): Likewise.
35915 (yn_test): Likewise.
35917 2012-03-27 Anton Blanchard <anton@samba.org>
35919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35921 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35925 2012-03-27 David S. Miller <davem@davemloft.net>
35927 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35929 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35930 have-as-vis3 check.
35932 2012-03-27 Andreas Jaeger <aj@suse.de>
35934 * sysdeps/x86_64/elf/configure.in: Moved to ...
35935 * sysdeps/x86_64/configure.in: ... here.
35936 * sysdeps/x86_64/elf/start.S: Moved to ...
35937 * sysdeps/x86_64/start.S: ... here.
35938 * sysdeps/x86_64/elf/configure: Delete.
35940 * sysdeps/x86_64/configure.in: Merge contents from
35941 sysdeps/i386/configure.in (without i686 check).
35943 * sysdeps/i386/elf/Versions: Merge into ...
35944 * sysdeps/i386/Versions: ... this.
35945 * sysdeps/i386/elf/Versions: Delete file.
35946 * sysdeps/i386/elf/start.S: Moved to ...
35947 * sysdeps/i386/start.S: ...here.
35948 * sysdeps/i386/elf/configure.in: Merge into...
35949 * sysdeps/i386/configure.in: ...here.
35950 * sysdeps/i386/elf/configure.in: Delete file.
35951 * sysdeps/i386/elf/configure: Delete file.
35953 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35954 * debug/backtracesyms.c: ... here.
35955 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35956 * debug/backtracesymsfd.c: ... here.
35957 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35958 * sysdeps/generic/ifunc-sel.h: ... here.
35960 * sysdeps/unix/i386/start.c: Delete file.
35961 * sysdeps/unix/sparc/start.c: Delete file.
35962 * sysdeps/unix/start.c: Delete file.
35964 * sysdeps/sh/elf/configure.in: Moved to ...
35965 * sysdeps/sh/configure.in: ... here.
35966 * sysdeps/sh/elf/start.S: Moved to ...
35967 * sysdeps/sh/start.S: ... here.
35968 * sysdeps/sh/elf/configure: Delete file.
35970 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35971 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35972 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35973 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35974 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35975 * sysdeps/powerpc/powerpc64/start.S: here.
35976 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35977 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35978 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35979 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35980 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35982 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35983 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35984 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35985 * sysdeps/powerpc/powerpc32/start.S: ... here.
35986 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35987 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35988 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35990 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35991 * sysdeps/powerpc/ifunc-sel.h: ... here.
35992 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35993 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35995 * sysdeps/sparc/elf/configure.in: Moved to ...
35996 * sysdeps/sparc/configure.in: ... here.
35997 * sysdeps/sparc/elf/configure: Delete file.
35998 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35999 * sysdeps/sparc/sparc32/start.S: ... here.
36000 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36001 * sysdeps/sparc/sparc64/start.S: ... here.
36002 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36003 * sysdeps/sparc/sparc32/Makefile: ... this.
36004 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36005 * sysdeps/sparc/sparc64/Makefile: ... this.
36007 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36008 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36009 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36010 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36011 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36012 * sysdeps/s390/s390-32/setjmp.S: ... here.
36013 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36014 * sysdeps/s390/s390-32/configure.in: ... here.
36015 * sysdeps/s390/s390-32/elf/configure: Delete file.
36016 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36017 * sysdeps/s390/s390-32/start.S: ... here.
36019 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36020 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36021 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36022 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36023 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36024 * sysdeps/s390/s390-64/setjmp.S: ... here.
36025 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36026 * sysdeps/s390/s390-64/configure.in: ... here
36027 * sysdeps/s390/s390-64/elf/configure: Delete file.
36028 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36029 * sysdeps/s390/s390-64/start.S: ... here.
36030 * sysdeps/s390/s390-64/elf/configure: Delete.
36032 * configure.in: Remove support for elf directories in sysdeps.
36034 * configure: Regenerated.
36035 * sysdeps/i386/configure: Regenerated.
36036 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36037 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36038 * sysdeps/s390/s390-32/configure: Regenerated.
36039 * sysdeps/s390/s390-64/configure: Regenerated.
36040 * sysdeps/sh/configure: Regenerated.
36041 * sysdeps/sparc/configure: Regenerated.
36042 * sysdeps/x86_64/configure: Regenerated.
36044 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36048 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36049 denormal result into account.
36051 2012-03-25 Roland McGrath <roland@hack.frob.com>
36053 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36054 Reported by Allan McRae <allan@archlinux.org>.
36056 2012-03-23 Jeff Law <law@redhat.com>
36058 * nss/getnssent.c (__nss_getent): Fix typo.
36060 2012-03-23 David S. Miller <davem@davemloft.net>
36062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36064 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36066 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36067 to pad to uint64_t for each field.
36068 (dl_tls_index): Replace unsigned long with uint64_t.
36070 2012-03-23 Daniel Jacobowitz <dmj@google.com>
36071 Paul Pluzhnikov <ppluzhnikov@google.com>
36074 * grp/Makefile (otherlibs): Don't set it.
36075 * inet/Makefile (otherlibs): Likewise.
36076 * login/Makefile (otherlibs): Likewise.
36077 * nscd/Makefile (otherlibs): Likewise.
36078 * posix/Makefile (otherlibs): Likewise.
36079 * pwd/Makefile (otherlibs): Likewise.
36080 * rt/Makefile (otherlibs): Likewise.
36081 * sunrpc/Makefile (otherlibs): Likewise.
36082 * nss/Makefile (otherlibs): Likewise.
36083 Add libnss_files to routines and static-only-routines.
36084 ($(objpfx)getent): Remove rule.
36085 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36086 static-only-routines.
36088 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36091 * math/s_cexp.c: Include <float.h>.
36092 (__cexp): Handle exp result overflowing not necessarily
36093 overflowing both real and imaginary parts of result.
36094 * math/s_cexpf.c: Likewise.
36095 * math/s_cexpl.c: Likewise.
36096 * math/libm-test.inc (cexp_test): Add more tests.
36097 * sysdeps/i386/fpu/libm-test-ulps: Update.
36098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36100 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36102 * include/link.h (ELFW): New macro.
36103 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36104 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36106 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36108 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36111 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36113 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36115 (struct La_x32_retval): Likewise.
36117 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36119 * sysdeps/x86_64/preconfigure.in: New file.
36120 * sysdeps/x86_64/preconfigure: New generated file.
36122 2012-03-22 Joseph Myers <joseph@codesourcery.com>
36125 * math/e_exp2l.c: Include <float.h>.
36126 (__ieee754_exp2l): Handle overflow and underflow cases
36127 separately. Only pass fractional part of argument to
36129 * math/libm-test.inc (exp2_test): Add more tests.
36131 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36132 negating x to take absolute value.
36133 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36135 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36136 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36138 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36139 computing low part if x was negated.
36140 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36142 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36144 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36145 la_x32_gnu_pltexit.
36146 (pltexit): Cast int_retval to ptrdiff_t.
36147 * elf/tst-auditmod3b.c: Likewise.
36148 * elf/tst-auditmod4b.c: Likewise.
36149 * elf/tst-auditmod5b.c: Likewise.
36150 * elf/tst-auditmod6b.c: Likewise.
36151 * elf/tst-auditmod6c.c: Likewise.
36152 * elf/tst-auditmod7b.c: Likewise.
36154 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36155 and x32_gnu_pltexit.
36157 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36158 __ELF_NATIVE_CLASS.
36159 (La_x32_regs): New macro.
36160 (La_x32_retval): Likewise.
36161 (la_x32_gnu_pltenter): New function prototype.
36162 (la_x32_gnu_pltexit): Likewise.
36164 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36171 * configure.in (libc_cv_cc_nofma): Check for option to disable
36172 generation of FMA instructions.
36173 * configure: Regenerate.
36174 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36175 * sysdeps/ieee754/dbl-64/Makefile: New file.
36176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36177 Remove brandred-fma4.
36178 (CFLAGS-brandred-fma4.c): Remove.
36179 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36180 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36182 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36185 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36187 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36188 LLONG_MAX != LONG_MAX.
36189 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36190 (_fitoa_word): Likewise.
36191 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36192 LLONG_MAX != LONG_MAX.
36193 * stdio-common/_itowa.h: Include <_itoa.h>.
36194 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36195 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36196 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36197 only if not defined.
36198 (_ITOA_WORD_TYPE): Likewise.
36199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36200 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36202 2012-03-21 David S. Miller <davem@davemloft.net>
36204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36206 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36208 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36209 of x86_64 when setting libc_cv_slibdir, libdir and
36211 * sysdeps/unix/sysv/linux/configure: Regenerated.
36213 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36215 * manual/lang.texi (Old Varargs): Remove section.
36216 (How Variadic): Update menu.
36217 (va_start): Do not mention varargs.h.
36219 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36220 Joseph Myers <joseph@codesourcery.com>
36222 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36224 * configure: Regenerated.
36226 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36228 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36229 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36232 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36235 * Makefile (files-for-dist): Remove NOTES.
36236 (NOTES): Remove rule.
36237 * README: Don't refer to NOTES.
36238 * manual/creature.texi: Don't include macros.texi.
36239 * manual/intro.texi (creature.texi): Remove comment referring to
36242 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36243 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36244 * configure: Regenerated.
36245 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36246 LIBC_TRY_CC_OPTION.
36247 (libc_cv_as_i686): Likewise.
36248 (libc_cv_cc_avx): Likewise.
36249 (libc_cv_cc_sse2avx): Likewise.
36250 (libc_cv_cc_fma4): Likewise.
36251 (libc_cv_cc_novzeroupper): Likewise.
36252 * sysdeps/i386/configure: Regenerated.
36255 * sysdeps/i386/fpu/s_cexp.S: Remove.
36256 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36257 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36258 * math/libm-test.inc (cexp_test): Add more tests.
36259 * sysdeps/i386/fpu/libm-test-ulps: Update.
36260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36262 2012-03-21 Allan McRae <allan@archlinux.org>
36264 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36266 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36269 * math/w_exp2.c: Do not include <float.h>.
36270 (o_threshold, u_threshold): Remove.
36271 (__exp2): Calculate result before checking finiteness and calling
36273 * math/w_exp2f.c: Likewise.
36274 * math/w_exp2l.c: Likewise.
36275 * math/libm-test.inc (exp2_test): Require overflow exception for
36279 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36280 range of signed 64-bit integers before using fistpll. Remove
36281 checks for whether integers fit in mantissa bits.
36282 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36283 the range of signed 32-bit integers before using fistpl. Remove
36284 checks for whether integers fit in mantissa bits.
36285 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36286 (__ieee754_powl): Test for y outside the range of signed 64-bit
36287 integers before using fistpll. Reduce 64-bit values to 63-bit
36289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36290 divide-by-zero is raised for zero to large negative powers.
36291 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36292 (__ieee754_powl): Test for y outside the range of signed 64-bit
36293 integers before using fistpll. Reduce 64-bit values to 63-bit
36295 * math/libm-test.inc (pow_test): Add more tests.
36297 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36299 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36300 <stdio-common/_itoa.h>.
36301 * debug/segfault.c: Likewise.
36302 * elf/dl-cache.c: Likewise.
36303 * elf/dl-minimal.c: Likewise.
36304 * elf/dl-misc.c: Likewise.
36305 * elf/dl-sysdep.c: Likewise.
36306 * elf/dl-version.c: Likewise.
36307 * elf/rtld.c: Likewise.
36308 * hurd/hurdsock.c: Likewise.
36309 * hurd/lookup-retry.c: Likewise.
36310 * malloc/malloc.c: Likewise.
36311 * malloc/mtrace.c: Likewise.
36312 * nscd/nscd_getgr_r.c: Likewise.
36313 * nscd/nscd_getpw_r.c: Likewise.
36314 * nscd/nscd_getserv_r.c: Likewise.
36315 * posix/getopt_init.c: Likewise.
36316 * posix/wordexp.c: Likewise.
36317 * stdio-common/_itoa.c: Likewise.
36318 * stdio-common/printf_fphex.c: Likewise.
36319 * stdio-common/vfprintf.c: Likewise.
36320 * string/_strerror.c: Likewise.
36321 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36322 * sysdeps/i386/i686/hp-timing.h: Likewise.
36323 * sysdeps/mach/_strerror.c: Likewise.
36324 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36325 * sysdeps/mach/hurd/sethostid.c: Likewise.
36326 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36327 * sysdeps/mach/xpg-strerror.c: Likewise.
36328 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36329 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36330 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36331 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36332 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36333 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36335 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36336 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36337 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36338 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36339 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36340 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36341 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36342 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36343 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36344 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36345 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36346 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36347 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36348 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36350 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36352 * stdio-common/_itoa.h: Moved to ...
36353 * sysdeps/generic/_itoa.h: Here.
36355 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36357 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36358 instead of "_itoa.h" and "_itowa.h".
36359 * stdio-common/vfprintf.: Likewise.
36361 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36363 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36365 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36366 (__signbit): Likwise.
36367 (llrintf): Likwise.
36370 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36372 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36375 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36377 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36378 OVERFLOW_EXCEPTION_OK.
36379 * math/libm-test.inc ("Philosophy"): Update comment about
36381 (OVERFLOW_EXCEPTION): Define.
36382 (OVERFLOW_EXCEPTION_OK): Likewise.
36383 (INVALID_EXCEPTION_OK): Renumber.
36384 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36385 (IGNORE_ZERO_INF_SIGN): Likewise.
36386 (test_exceptions): Handle FE_OVERFLOW.
36387 (exp10_test): Expect overflow exceptions.
36388 (exp2_test): Likewise.
36389 (expm1_test): Likewise.
36390 (nextafter_test): Likewise.
36391 (pow_test): Likewise.
36392 (scalbn_test): Likewise.
36393 (scalbln_test): Likewise.
36395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36397 * sysdeps/x86_64/bits/atomic.h
36398 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36400 (atomic_exchange_acq): Likewise.
36401 (__arch_exchange_and_add_body): Likewise.
36402 (__arch_add_body): Likewise.
36403 (atomic_add_negative): Likewise.
36404 (atomic_add_zero): Likewise.
36406 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36408 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36409 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36413 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36414 Check __x86_64__ instead of __WORDSIZE.
36416 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36418 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36420 2012-03-19 David S. Miller <davem@davemloft.net>
36422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36424 * sysdeps/sparc/fpu/fenv_private.h: New file.
36425 * sysdeps/sparc/fpu/math_private.h: Use it.
36426 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36428 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36429 (libc_feholdexcept_setroundl): Remove.
36430 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36432 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36433 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36435 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36437 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36438 int64_t instead of long int.
36439 (INSERT_WORDS64): Likwise.
36441 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36443 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36444 _Unwind_GetCFA return to _Unwind_Ptr first.
36446 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36449 * math/s_clog.c: Include <float.h>.
36450 (__clog): Scale large or subnormal inputs.
36451 * math/s_clogf.c: Likewise.
36452 * math/s_clogl.c: Likewise.
36453 * math/s_clog10.c: Include <float.h>.
36454 (M_LOG10_2): Define.
36455 (__clog10): Scale large or subnormal inputs.
36456 * math/s_clog10f.c: Likewise.
36457 * math/s_clog10l.c: Likewise.
36458 * math/libm-test.inc (clog_test): Add more tests.
36459 (clog10_test): Likewise.
36460 * sysdeps/i386/fpu/libm-test-ulps: Update.
36461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36464 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36466 * math/libm-test.inc (atan2_test): Add another test.
36468 * Makerules (common-objdir-compile): Remove.
36469 * sysdeps/unix/Makefile (config-generated): Do not add
36470 $(unix-generated) to variable.
36471 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36472 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36474 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36476 [generic bits/local_lim.h] (before-compile): Do not append to
36478 [generic bits/local_lim.h] (common-generated): Likewise.
36479 [generic sys/param.h] (before-compile): Do not append to variable.
36480 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36481 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36482 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36483 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36485 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36486 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36487 [generic sys/param.h] ($(addprefix
36488 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36489 [generic sys/param.h] (common-generated): Do not append to
36491 [generic sys/param.h] (sysdep_headers): Likewise.
36492 [generic bits/errno.h] (before-compile): Do not append to
36494 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36496 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36497 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36498 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36499 [generic bits/errno.h] (common-generated): Do not append to
36501 [generic bits/ioctls.h] (before-compile): Do not append to
36503 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36505 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36506 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36507 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36509 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36510 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36511 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36512 [generic bits/ioctls.h] (common-generated): Do not append to
36514 [generic sys/syscall.h] (syscall.h): Remove variable.
36515 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36517 [generic sys/syscall.h] (before-compile): Do not append to
36519 [generic sys/syscall.h] (common-generated): Likewise.
36520 * sysdeps/unix/errnos-tmpl.c: Remove file.
36521 * sysdeps/unix/errnos.awk: Likewise.
36522 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36523 * sysdeps/unix/ioctls.awk: Likewise.
36524 * sysdeps/unix/mk-local_lim.c: Likewise.
36525 * sysdeps/unix/snarf-ioctls: Likewise.
36527 2012-03-19 Richard Henderson <rth@twiddle.net>
36529 * sysdeps/i386/fpu/fenv_private.h: New file.
36530 * sysdeps/i386/fpu/math_private.h: Use it.
36531 (math_opt_barrier, math_force_eval): Remove.
36532 (libc_feholdexcept_setround_53bit): Remove.
36533 (libc_feupdateenv_53bit): Remove.
36534 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36535 (math_opt_barrier, math_force_eval): Remove.
36536 (libc_feholdexcept): Remove.
36537 (libc_feholdexcept_setround): Remove.
36538 (libc_fetestexcept, libc_fesetenv): Remove.
36539 (libc_feupdateenv_test): Remove.
36540 (libc_feupdateenv, libc_feholdsetround): Remove.
36541 (libc_feresetround): Remove.
36543 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36544 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36546 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36547 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36548 (libc_feupdateenv_testl): New.
36549 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36550 (libc_feupdateenv_testf): New.
36551 (libc_feupdateenv): Use libc_feupdateenv_test.
36552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36555 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36556 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36557 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36558 (libc_feresetround_noex): New.
36559 (libc_feresetround_noexf): New.
36560 (libc_feresetround_noexl): New.
36561 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36562 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36563 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36564 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36569 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36570 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36571 SET_RESTORE_ROUND_NOEX.
36572 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36573 SET_RESTORE_ROUND_NOEXF.
36574 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36575 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36576 (libc_feholdsetroundf): New.
36577 (libc_feresetround, libc_feresetroundf): New.
36579 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36580 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36581 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36583 * sysdeps/generic/math_private.h: Include <fenv.h>.
36584 (default_libc_feholdexcept): New.
36585 (default_libc_feholdexcept_setround): New.
36586 (default_libc_fesetenv, default_libc_feupdateenv): New.
36587 (libc_feholdexcept): Only define if undefined.
36588 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36589 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36590 (libc_feholdexcept_setroundl): Likewise.
36591 (libc_feholdexcept_setround_53bit): Likewise.
36592 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36593 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36594 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36595 (libc_feupdateenv_53bit): Likewise.
36596 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36597 (libc_feholdexcept): Convert from macro to inline function.
36598 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36599 (libc_fesetenv, libc_feupdateenv): Likewise.
36601 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36602 not previously defined.
36603 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36604 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36605 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36606 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36607 * sysdeps/ieee754/flt-32/math_private.h: New file.
36608 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36609 math_private.h below SET_FLOAT_WORD.
36610 (__isnan, __isinf_ns, __finite): Remove.
36611 (__isnanf, __isinf_nsf, __finitef): Remove.
36613 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36617 2012-03-17 David S. Miller <davem@davemloft.net>
36620 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36623 2012-03-16 David S. Miller <davem@davemloft.net>
36625 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36629 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36631 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36632 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36633 sysdep_routines when subdir is sysvipc.
36634 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36635 __getshmlba helper.
36637 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36639 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36641 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36644 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36647 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36648 (__lround): Renamed to ...
36649 (__llround): This. Replace long int with long long int.
36650 Define lround functions as aliases of llround functions.
36651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36653 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36655 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36656 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36657 adresses to uintptr_t. Replace "long int" and "unsigned long
36658 int" with "greg_t" on va_arg.
36660 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36662 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36663 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36665 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36666 Move e_machine check before EI_CLASS check. Handle x32
36667 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36668 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36669 SKIP_EM_IA_64 and include
36670 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36672 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36673 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36674 (add_system_dir): New macro.
36676 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36677 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36679 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36690 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36692 * math/w_j0f.c (j0f): Likewise.
36694 * math/w_j0l.c (__j0l): Likewise.
36696 * math/w_j1.c (j1): Likewise.
36698 * math/w_j1f.c (j1f): Likewise.
36700 * math/w_j1l.c (__j1l): Likewise.
36702 * math/w_jn.c (jn): Likewise.
36704 * math/w_jnf.c (jnf): Likewise.
36706 * math/w_jnl.c (__jnl): Likewise.
36708 * math/libm-test.inc (j0_test): Add more tests.
36709 (j1_test): Likewise.
36710 (jn_test): Likewise. Add trailing semicolon to existing test.
36711 (y0_test): Likewise.
36712 (y1_test): Likewise.
36713 * sysdeps/i386/fpu/libm-test-ulps: Update.
36714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36718 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36719 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36720 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36722 (__tanl): Set errno for infinite argument.
36723 * sysdeps/i386/fpu/mptan.c: Remove.
36724 * sysdeps/i386/fpu/s_tan.S: Likewise.
36725 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36726 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36727 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36728 * math/libm-test.inc (tan_test): Add more tests and enable more
36729 tests for double and long double.
36730 * sysdeps/i386/fpu/libm-test-ulps: Update.
36731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36733 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36735 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36736 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36738 2012-03-16 Roland McGrath <roland@hack.frob.com>
36740 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36741 * configure.in: Use it for both main tree and add-ons.
36742 * configure: Regenerated.
36744 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36746 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36748 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36750 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36754 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36755 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36756 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36760 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36762 != 0 for prec == 2.
36763 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36764 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36765 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36766 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36767 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36768 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36769 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36770 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36771 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36772 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36773 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36774 * math/libm-test.inc (cos_test): Add more tests and enable more
36775 tests for long double.
36776 (sin_test): Likewise.
36777 (sincos_test): Likewise.
36778 * sysdeps/i386/fpu/libm-test-ulps: Update.
36779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36781 2012-03-16 David S. Miller <davem@davemloft.net>
36783 * sysdeps/sparc/fpu/math_private.h: New file.
36785 2012-03-15 David S. Miller <davem@davemloft.net>
36787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36801 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36802 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36804 * sysdeps/sparc/sparc-ifunc.h: New file.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36850 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36852 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36856 2012-03-15 Andreas Jaeger <aj@suse.de>
36859 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36860 ieee754/flt-32 implementation for sin, cos and sincos.
36861 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36862 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36863 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36864 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36865 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36866 ieee754/flt-32 implementation for tan.
36868 * math/libm-test.inc (cos_test): Enable some large input tests for
36870 (sin_test): Likewise.
36871 (sincos_test): Likewise.
36872 (tan_test): Add tests for large input.
36874 * sysdeps/i386/fpu/libm-test-ulps: Update.
36876 2012-03-15 Andreas Jaeger <aj@suse.de>
36879 * math/libm-test.inc (cos_test): Add more test cases.
36880 (sin_test): Likewise.
36881 (sincos_test): Likewise.
36883 2012-03-15 Andreas Jaeger <aj@suse.de>
36886 * math/libm-test.inc (cos_test): Add a test case for large input
36888 (sin_test): Likewise.
36889 (sincos_test): Likewise.
36891 2012-03-15 Andreas Jaeger <aj@suse.de>
36892 Joseph Myers <joseph@codesourcery.com>
36895 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36896 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36897 * sysdeps/i386/fpu/branred.c: Likewise.
36898 * sysdeps/i386/fpu/dosincos.c: Likewise.
36899 * sysdeps/i386/fpu/mpa.c: Likewise.
36900 * sysdeps/i386/fpu/s_cos.S: Likewise.
36901 * sysdeps/i386/fpu/s_sin.S: Likewise.
36902 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36903 * sysdeps/i386/fpu/sincos32.c: Likewise.
36905 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36907 (libc_feupdateenv_53bit): Define.
36908 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36910 (libc_feupdateenv_53bit): Define.
36912 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36913 53 bit (without extend i386 double precision).
36915 * math/libm-test.inc (sincos_test): Add tests for large input.
36919 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36921 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36925 2012-03-15 David S. Miller <davem@davemloft.net>
36927 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36928 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36929 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36930 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36955 fmin/fmax sysdep routines.
36956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36958 2012-03-14 David S. Miller <davem@davemloft.net>
36960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36971 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36982 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36983 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37032 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37037 * sysdeps/sparc/configure.in: New file.
37038 * sysdeps/sparc/configure: Generate.
37039 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37040 * configure: Regenerate.
37041 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37042 * config.make.in (have-as-vis3): New.
37043 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37044 available use -Av9d instead of -Av9a.
37045 * sysdeps/sparc/sparc64/Makefile: Likewise.
37046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37059 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37061 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37062 fzeros/fnegs to load 0x80000000 into a float register instead of
37064 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37066 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37070 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37071 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37072 ($(inst_includedir)/bits/syscall.h): Remove rule.
37073 ($(objpfx)bits/syscall.d): Include instead of
37074 $(objpfx)syscall-list.d.
37075 (generated): Change syscall-list.h and syscall-list.d to
37076 bits/syscall.h and bits/syscall.d.
37078 2012-03-14 Roland McGrath <roland@hack.frob.com>
37081 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37083 2012-03-14 Joseph Myers <joseph@codesourcery.com>
37086 * math/s_csqrt.c: Include <float.h>.
37087 (__csqrt): Scale large or subnormal inputs.
37088 * math/s_csqrtf.c: Likewise.
37089 * math/s_csqrtl.c: Likewise.
37090 * math/libm-test.inc (csqrt_test): Add more tests.
37091 * sysdeps/i386/fpu/libm-test-ulps: Update.
37092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37095 * math/libm-test.inc (hypot_test): Add more tests.
37097 2012-03-13 David S. Miller <davem@davemloft.net>
37100 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37101 double-precision for the calculation instead of scaling.
37103 2012-03-13 Joseph Myers <joseph@codesourcery.com>
37105 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37106 manipulate bits before adding and subtracting TWO52[sx].
37107 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37108 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37110 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37112 2012-03-13 David S. Miller <davem@davemloft.net>
37114 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37115 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37117 rtld-global-offsets.h
37118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37120 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37123 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37125 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37126 'err' in the ifdef scope in which it is actually used.
37128 * nss/nss_db/db-init.c: Include string.h
37130 2012-03-12 David S. Miller <davem@davemloft.net>
37132 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37133 masking out of the most significant byte of random value used.
37134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37135 Fix coding style in previous change.
37137 * sysdeps/unix/sysv/linux/kernel-features.h
37138 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37139 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37141 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37144 2012-03-11 David S. Miller <davem@davemloft.net>
37146 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37147 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37148 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37149 for 'resultvar' otherwise things get truncated on 64-bit.
37151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37152 Fix masking out of the most significant byte of random value used.
37154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37156 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37160 2012-03-09 David S. Miller <davem@davemloft.net>
37162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37163 variables with appropriate CPP guards.
37164 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37165 from the frame pointer, not the stack pointer. Correct layout
37166 comments. Fix test on resulting framesize and the management of
37167 the outregs buffer for pltexit. Preserve floating point return
37168 values across _dl_call_pltexit call.
37169 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37170 framesize and the management of the outregs buffer for pltexit.
37171 Preserve floating point return values across _dl_call_pltexit
37173 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37174 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37175 (la_sparc64_gnu_pltexit): New functions.
37176 (print_exit): Fix format string for return register value.
37178 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37180 * sunrpc/Makefile (others): Add rpcgen.
37181 ($(objpfx)rpcgen): Remove special build rule and dependency on
37183 * sunrpc/rpcgen.c: New file.
37185 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37188 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37189 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37190 * sysdeps/i386/crti.S: Likewise.
37191 * sysdeps/i386/crtn.S: Likewise.
37192 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37193 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37194 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37195 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37196 * sysdeps/sh/crti.S: Likewise.
37197 * sysdeps/sh/crtn.S: Likewise.
37198 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37201 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37203 * locale/programs/locfile-kw.gperf: Likewise.
37204 * locale/programs/charmap-kw.h: Regenerated.
37205 * locale/programs/locfile-kw.h: Likewise.
37208 * intl/plural.y: Replace FSF snail mail address with URL.
37209 * intl/plural.c: Regenerated.
37211 2012-03-09 Richard Henderson <rth@twiddle.net>
37213 * include/math_private.h: Remove file.
37214 * math/math_private.h: Move file ...
37215 * sysdeps/generic/math_private.h: ... here.
37217 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37218 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37219 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37221 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37222 and <math_private.h>.
37223 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37224 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37225 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37226 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37227 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37228 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37231 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37232 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37234 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37235 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37237 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37238 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37239 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37240 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37241 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37242 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37244 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37245 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37248 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37249 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37250 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37252 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37253 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37255 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37256 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37257 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37258 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37259 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37260 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37261 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37263 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37264 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37265 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37266 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37267 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37268 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37269 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37270 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37272 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37273 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37274 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37275 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37276 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37277 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37278 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37279 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37280 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37281 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37282 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37284 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37287 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37288 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37289 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37290 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37291 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37292 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37293 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37294 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37295 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37296 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37297 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37298 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37303 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37304 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37305 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37306 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37307 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37310 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37311 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37312 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37313 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37314 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37316 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37317 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37318 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37319 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37320 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37322 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37323 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37324 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37325 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37326 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37327 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37328 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37329 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37330 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37331 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37332 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37333 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37334 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37335 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37336 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37337 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37338 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37339 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37340 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37341 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37342 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37343 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37344 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37345 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37346 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37347 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37348 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37349 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37350 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37351 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37352 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37353 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37354 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37355 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37356 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37357 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37358 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37359 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37360 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37361 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37362 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37363 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37364 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37365 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37366 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37367 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37368 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37369 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37370 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37371 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37372 * sysdeps/ieee754/k_standard.c: Likewise.
37373 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37377 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37382 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37383 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37385 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37386 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37387 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37390 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37399 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37400 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37404 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37405 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37406 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37407 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37411 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37412 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37413 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37414 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37415 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37416 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37417 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37418 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37419 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37421 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37422 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37424 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37425 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37426 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37427 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37428 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37429 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37430 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37431 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37433 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37434 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37435 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37436 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37439 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37440 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37441 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37442 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37443 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37445 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37446 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37447 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37449 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37452 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37453 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37455 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37456 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37457 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37458 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37459 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37460 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37461 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37462 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37463 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37464 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37465 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37466 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37467 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37468 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37469 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37470 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37471 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37472 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37474 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37477 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37478 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37479 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37480 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37481 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37482 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37483 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37484 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37485 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37486 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37487 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37488 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37489 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37490 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37492 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37493 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37494 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37495 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37496 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37498 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37499 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37500 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37501 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37502 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37503 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37504 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37505 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37506 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37507 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37508 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37509 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37510 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37511 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37512 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37513 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37514 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37515 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37516 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37517 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37518 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37519 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37520 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37521 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37522 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37523 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37524 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37526 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37527 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37528 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37529 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37530 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37531 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37532 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37533 * sysdeps/ieee754/s_lib_version.c: Likewise.
37534 * sysdeps/ieee754/s_matherr.c: Likewise.
37535 * sysdeps/ieee754/s_signgam.c: Likewise.
37536 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37537 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37538 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37539 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37540 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37541 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37542 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37543 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37544 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37545 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37546 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37547 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37548 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37549 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37550 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37551 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37552 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37553 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37554 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37558 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37560 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37561 * sunrpc/rpc_main.c: Likewise.
37562 * sunrpc/rpc_svcout.c: Likewise.
37564 2012-03-09 David S. Miller <davem@davemloft.net>
37566 * include/math_private.h: New file.
37568 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37570 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37571 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37572 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37573 from <bits/socket_type.h>.
37574 (enum __socket_type): Don't define here.
37575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37577 bits/socket_type.h.
37580 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37581 checking __USE_GNU.
37583 * Makerules ($(inst_includedir)/%.h): New rule.
37584 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37585 (install-others): Remove variable setting.
37586 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37588 2012-03-08 Richard Henderson <rth@twiddle.net>
37590 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37591 from macro to inline function; merge with the
37592 !__LIBC_INTERNAL_MATH_INLINES version.
37593 (__ieee754_sqrtf): Likewise.
37595 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37596 to inline function.
37597 (__rintf, __floor, __floorf): Likewise.
37599 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37600 macro to inline function.
37601 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37603 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37604 not <math/math_private.h>.
37606 2012-03-08 David S. Miller <davem@davemloft.net>
37608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37610 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37612 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37614 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37616 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37617 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37619 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37621 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37622 be defined individually, they must be defined as a block. Define
37623 S for printing a string instead of hidint the different by using a
37624 macro for adding the 'l'.
37625 * stdio-common/tst-fphex-wide.c: Adjust.
37627 2012-03-07 Marek Polacek <polacek@redhat.com>
37629 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37631 2012-03-08 Marek Polacek <polacek@redhat.com>
37634 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37635 * stdio-common/tst-fphex.c: Define a few macros to make the
37636 test reusable. Use them.
37637 * stdio-common/tst-fphex-wide.c: New file.
37639 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37642 * manual/macros.texi (gnusystems): New macro.
37643 (nongnusystems): Likewise.
37644 (gnulinuxhurdsystems): Likewise.
37645 (gnuhurdsystems): Likewise..
37646 (gnulinuxsystems): Likewise.
37647 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37648 variants of the GNU system, not "GNU system".
37649 * manual/conf.texi: Likewise.
37650 * manual/errno.texi: Likewise. Update example of errno macro
37652 * manual/filesys.texi: Likewise.
37653 (getumask): Document as specific to GNU/Hurd.
37654 * manual/install.texi: Likewise. Reword some references to
37656 * manual/intro.texi: Likewise.
37657 * manual/io.texi: Likewise.
37658 (File Name Portability): Detail which constraints are inapplicable
37659 to all GNU systems and which are only inapplicable to GNU/Hurd.
37660 * manual/job.texi: Likewise.
37661 * manual/llio.texi: Likewise.
37662 (O_NOCTTY): Document as present on GNU/Linux.
37663 * manual/maint.texi: Likewise.
37664 * manual/memory.texi: Likewise.
37665 * manual/pattern.texi: Likewise.
37666 * manual/pipe.texi: Likewise.
37667 * manual/process.texi: Likewise.
37668 * manual/resource.texi: Likewise.
37669 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37671 * manual/setjmp.texi: Likewise.
37672 * manual/signal.texi: Likewise.
37673 * manual/startup.texi: Likewise.
37674 * manual/stdio.texi: Likewise.
37675 * manual/terminal.texi: Likewise.
37676 (ONLCR): Document as POSIX.
37677 (OXTABS): Document availability on GNU/Linux as XTABS.
37678 (ONOEOT): Document availability separately from other bits.
37679 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37680 * manual/time.texi: Likewise.
37681 * manual/users.texi: Likewise.
37682 * INSTALL: Regenerated.
37683 * sysdeps/gnu/errlist.c: Regenerated.
37685 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37686 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37687 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37689 * configure: Regenerated.
37691 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37693 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37694 default includes instead of AC_HEADER_CHECK.
37695 * sysdeps/i386/configure: Regenerated.
37698 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37699 * math/s_cacoshf.c (__cacoshf): Likewise.
37700 * math/s_cacoshl.c (__cacoshl): Likewise.
37701 * math/s_casinh.c (__casinh): Set signs of result from argument.
37702 * math/s_casinhf.c (__casinhf): Likewise.
37703 * math/s_casinhl.c (__casinhl): Likewise.
37704 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37705 (casinh_test): Add more tests.
37706 * sysdeps/i386/fpu/libm-test-ulps: Update.
37707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37709 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37711 * po/zh_TW.po: Update from translation team.
37713 * login/Makefile (distribute): Remove variable.
37714 * catgets/Makefile: Likewise.
37715 * mach/Makefile: Likewise.
37716 * malloc/Makefile: Likewise.
37717 * misc/Makefile: Likewise.
37718 * iconv/Makefile: Likewise.
37719 * nscd/Makefile: Likewise.
37720 * hurd/Makefile: Likewise.
37721 * manual/Makefile: Likewise.
37722 * locale/Makefile: Likewise.
37723 * intl/Makefile: Likewise.
37724 * conform/Makefile: Likewise.
37725 * nss/Makefile: Likewise.
37726 * time/Makefile: Likewise.
37727 * soft-fp/Makefile: Likewise.
37728 * dirent/Makefile: Likewise.
37729 * gmon/Makefile: Likewise.
37730 * po/Makefile: Likewise.
37731 * rt/Makefile: Likewise.
37732 * socket/Makefile: Likewise.
37733 * math/Makefile: Likewise.
37734 * signal/Makefile: Likewise.
37735 * debug/Makefile: Likewise.
37736 * elf/Makefile: Likewise.
37737 * timezone/Makefile: Likewise.
37738 * stdlib/Makefile: Likewise.
37739 * iconvdata/Makefile: Likewise.
37740 * sunrpc/Makefile: Likewise.
37741 * io/Makefile: Likewise.
37742 * argp/Makefile: Likewise.
37743 * inet/Makefile: Likewise.
37744 * hesiod/Makefile: Likewise.
37745 * grp/Makefile: Likewise.
37746 * csu/Makefile: Likewise.
37747 * wctype/Makefile: Likewise.
37748 * crypt/Makefile: Likewise.
37749 * libio/Makefile: Likewise.
37750 * string/Makefile: Likewise.
37751 * nis/Makefile: Likewise.
37752 * resolv/Makefile: Likewise.
37753 * stdio-common/Makefile: Likewise.
37754 * wcsmbs/Makefile: Likewise.
37755 * dlfcn/Makefile: Likewise.
37756 * posix/Makefile: Likewise.
37759 * timezone/Makefile: Don't install timezone files, just the programs
37762 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37764 * nss/databases.def: Add missing gshadow entry.
37766 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37768 2012-03-06 Marek Polacek <polacek@redhat.com>
37771 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37772 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37773 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37774 * stdio-common/tst-long-dbl-fphex.c: New file.
37776 2012-03-06 David S. Miller <davem@davemloft.net>
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37779 (set_obp_int): New function.
37780 (get_obp_int): New function.
37781 (__get_clockfreq_via_dev_openprom): Likewise.
37782 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37783 Avoid unused variable warnings on 'val' and use builtin_expect.
37784 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37786 (INLINE_CLONE_SYSCALL): Likewise.
37788 2012-03-05 David S. Miller <davem@davemloft.net>
37790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37792 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37796 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37797 only for |x| >= 40.
37798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37800 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37803 Replace gettimeofday with __vdso_gettimeofday.
37805 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37806 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37807 __vdso_clock_gettime and __vdso_getcpu.
37809 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37810 time with __vdso_time.
37812 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37814 * manual/lang.texi (size_t): Note types to which size_t may be
37815 equivalent with the GNU C Library, but do not describe when
37816 differences between them are significant.
37818 2012-03-05 Andreas Jaeger <aj@suse.de>
37820 * sysdeps/i386/fpu/libm-test-ulps: Update.
37822 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37825 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37826 (__ieee754_pow): Save and restore rounding mode and use
37827 round-to-nearest for main computations.
37828 * math/libm-test.inc (pow_test_tonearest): New function.
37829 (pow_test_towardzero): Likewise.
37830 (pow_test_downward): Likewise.
37831 (pow_test_upward): Likewise.
37832 (main): Call the new functions.
37833 * sysdeps/i386/fpu/libm-test-ulps: Update.
37834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37837 * math/libm-test.inc (cosh_test_tonearest): New function.
37838 (cosh_test_towardzero): Likewise.
37839 (cosh_test_downward): Likewise.
37840 (cosh_test_upward): Likewise.
37841 (sinh_test_tonearest): Likewise.
37842 (sinh_test_towardzero): Likewise.
37843 (sinh_test_downward): Likewise.
37844 (sinh_test_upward): Likewise.
37845 (main): Call the new functions.
37846 * sysdeps/i386/fpu/libm-test-ulps: Update.
37847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37849 2012-03-05 Tom de Vries <tom@codesourcery.com>
37851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37852 default stack guard is set in last bytes.
37853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37855 2012-03-05 Kees Cook <keescook@chromium.org>
37857 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37860 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37861 possibly allocate from heap instead of stack.
37862 * stdio-common/bug-vfprintf-nargs.c: New file.
37863 * stdio-common/Makefile (tests): Add nargs overflow test.
37865 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37869 2012-03-03 Marek Polacek <polacek@redhat.com>
37871 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37872 * math/math_private.h: Likewise.
37873 * stdlib/tst-strtod.c: Likewise.
37874 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37875 * sysdeps/x86_64/bits/atomic.h: Likewise.
37877 2012-03-02 David S. Miller <davem@davemloft.net>
37879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37883 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37884 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37885 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37886 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37888 2012-03-02 Roland McGrath <roland@hack.frob.com>
37891 * manual/examples/README: New file, says the example source files
37892 can be used under GPL>=2.
37893 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37894 line containing just "*/".
37895 * manual/examples/add.c: Add copyright header (GPL>=2).
37896 * manual/examples/argp-ex1.c: Likewise.
37897 * manual/examples/argp-ex2.c: Likewise.
37898 * manual/examples/argp-ex3.c: Likewise.
37899 * manual/examples/argp-ex4.c: Likewise.
37900 * manual/examples/atexit.c: Likewise.
37901 * manual/examples/db.c: Likewise.
37902 * manual/examples/dir.c: Likewise.
37903 * manual/examples/dir2.c: Likewise.
37904 * manual/examples/execinfo.c: Likewise.
37905 * manual/examples/filecli.c: Likewise.
37906 * manual/examples/filesrv.c: Likewise.
37907 * manual/examples/fmtmsgexpl.c: Likewise.
37908 * manual/examples/genpass.c: Likewise.
37909 * manual/examples/inetcli.c: Likewise.
37910 * manual/examples/inetsrv.c: Likewise.
37911 * manual/examples/isockad.c: Likewise.
37912 * manual/examples/longopt.c: Likewise.
37913 * manual/examples/memopen.c: Likewise.
37914 * manual/examples/memstrm.c: Likewise.
37915 * manual/examples/mkfsock.c: Likewise.
37916 * manual/examples/mkisock.c: Likewise.
37917 * manual/examples/mygetpass.c: Likewise.
37918 * manual/examples/pipe.c: Likewise.
37919 * manual/examples/popen.c: Likewise.
37920 * manual/examples/rprintf.c: Likewise.
37921 * manual/examples/search.c: Likewise.
37922 * manual/examples/select.c: Likewise.
37923 * manual/examples/setjmp.c: Likewise.
37924 * manual/examples/sigh1.c: Likewise.
37925 * manual/examples/sigusr.c: Likewise.
37926 * manual/examples/stpcpy.c: Likewise.
37927 * manual/examples/strdupa.c: Likewise.
37928 * manual/examples/strftim.c: Likewise.
37929 * manual/examples/strncat.c: Likewise.
37930 * manual/examples/subopt.c: Likewise.
37931 * manual/examples/swapcontext.c: Likewise.
37932 * manual/examples/termios.c: Likewise.
37933 * manual/examples/testopt.c: Likewise.
37934 * manual/examples/testpass.c: Likewise.
37935 * manual/examples/timeval_subtract.c: Likewise.
37938 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37940 * manual/timeval_subtract.c.texi: ... here, new file.
37942 2012-03-02 David S. Miller <davem@davemloft.net>
37944 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37946 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37949 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37950 (__sin): Save and restore rounding mode and use round-to-nearest
37951 for all computations.
37952 (__cos): Save and restore rounding mode and use round-to-nearest
37953 for all computations.
37954 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37956 (tan): Save and restore rounding mode and use round-to-nearest for
37958 * math/libm-test.inc (cos_test_tonearest): New function.
37959 (cos_test_towardzero): Likewise.
37960 (cos_test_downward): Likewise.
37961 (cos_test_upward): Likewise.
37962 (sin_test_tonearest): Likewise.
37963 (sin_test_towardzero): Likewise.
37964 (sin_test_downward): Likewise.
37965 (sin_test_upward): Likewise.
37966 (tan_test_tonearest): Likewise.
37967 (tan_test_towardzero): Likewise.
37968 (tan_test_downward): Likewise.
37969 (tan_test_upward): Likewise.
37970 (main): Call the new functions.
37971 * sysdeps/i386/fpu/libm-test-ulps: Update.
37972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37975 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37976 small n, then large n, before computing and testing k+n.
37977 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37982 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37983 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37984 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37985 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37986 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37987 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37988 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37990 * math/libm-test.inc (scalbn_test): Add more tests.
37991 (scalbln_test): Likewise.
37993 * manual/filesys.texi (mode_t): Describe constraints on size and
37994 signedness, not exact equivalence to a particular type.
37996 (ino64_t): Likewise.
37998 (nlink_t): Likewise.
37999 (blkcnt_t): Likewise.
38000 (blkcnt64_t): Likewise.
38001 * manual/llio.texi (off_t): Likewise.
38004 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38005 (__ieee754_exp): Save and restore rounding mode and use
38006 round-to-nearest for all computations.
38007 * math/libm-test.inc (exp_test_tonearest): New function.
38008 (exp_test_towardzero): Likewise.
38009 (exp_test_downward): Likewise.
38010 (exp_test_upward): Likewise.
38011 (main): Call the new functions.
38012 * sysdeps/i386/fpu/libm-test-ulps: Update.
38013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38015 2012-03-01 Chris Demetriou <cgd@google.com>
38017 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38018 have predictable order.
38020 2012-03-01 David S. Miller <davem@davemloft.net>
38022 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38024 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38025 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38026 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38027 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38029 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38030 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38031 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38033 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38034 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38035 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38036 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38037 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38041 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38042 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38043 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38045 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38046 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38047 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38048 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38049 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38050 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38051 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38052 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38053 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38054 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38055 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38056 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38058 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38059 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38061 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38062 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38063 * sysdeps/sparc/elf/configure: Regenerated.
38065 2012-03-01 Joseph Myers <joseph@codesourcery.com>
38067 * configure.in (AS, LD): Require binutils 2.20 or later.
38068 * configure: Regenerated.
38069 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38070 as required minimum version.
38071 * INSTALL: Regenerated.
38075 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38076 before squaring exponent.
38077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38078 bottom long double and 27 bits of top long double before squaring
38080 * math/libm-test.inc (erfc_test): Add more tests.
38081 * sysdeps/i386/fpu/libm-test-ulps: Update.
38082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38085 2012-03-01 Kai Tietz <ktietz@redhat.com>
38087 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38088 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38089 containing bit-fields.
38090 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38091 * soft-fp/single.h (_FP_UNION_S): Likewise.
38092 * soft-fp/double.h (_FP_UNION_D): Likewise.
38094 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38097 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38098 not include ../strcmp.S.
38099 [USE_AS_STRNCASECMP_L]: Likewise.
38100 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38101 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38102 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38103 (__strncasecmp_l_ia32): Define as alias to
38104 __strncasecmp_l_nonascii.
38107 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38108 * sysdeps/i386/fpu/libm-test-ulps: Update.
38109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38111 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38114 2012-02-29 Jeff Law <law@redhat.com>
38116 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38117 out of bounds read.
38119 2012-02-29 Marek Polacek <polacek@redhat.com>
38122 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38123 * elf/Makefile: Add rules to run tst-unused-dep.out.
38125 2012-02-28 David S. Miller <davem@davemloft.net>
38127 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38128 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38129 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38131 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38132 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38134 2012-02-29 Joseph Myers <joseph@codesourcery.com>
38136 * math/libm-test.inc (llround_test): Move one test from
38137 lround_test. Use TEST_f_L in moved test.
38138 (lround_test): Move misplaced test to llround_test. Add testcase
38141 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38143 * sysdeps/x86_64/fpu/e_expf.S: New file.
38144 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38146 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38149 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38150 of remain_len that may cause incomplete multi-byte character and
38152 * posix/bug-regex33.c: New file.
38153 * posix/Makefile (tests): Add bug-regex33.
38155 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38157 * manual/macros.texi: New file.
38158 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38159 * manual/libc.texinfo: Include macros.texi.
38160 * manual/creatute.texi: Likewise.
38161 * manual/install.texi: Likewise.
38162 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38163 @glibcadj{} in references to the GNU C Library.
38164 * manual/charset.texi: Likewise.
38165 * manual/conf.texi: Likewise.
38166 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38167 when not using those macros.
38168 * manual/creature.texi: Likewise.
38169 * manual/crypt.texi: Likewise.
38170 * manual/errno.texi: Likewise.
38171 * manual/filesys.texi: Likewise.
38172 * manual/header.texi: Likewise.
38173 * manual/install.texi: Likewise.
38174 * manual/intro.texi: Likewise.
38175 * manual/io.texi: Likewise.
38176 * manual/job.texi: Likewise.
38177 * manual/lang.texi: Likewise.
38178 * manual/libc.texiinfo: Likewise.
38179 * manual/llio.texi: Likewise.
38180 * manual/locale.texi: Likewise.
38181 * manual/maint.texi: Likewise.
38182 * manual/math.texi: Likewise.
38183 * manual/memory.texi: Likewise.
38184 * manual/message.texi: Likewise.
38185 * manual/nss.texi: Likewise.
38186 * manual/pattern.texi: Likewise.
38187 * manual/process.texi: Likewise.
38188 * manual/resource.texi: Likewise.
38189 * manual/search.texi: Likewise.
38190 * manual/setjmp.texi: Likewise.
38191 * manual/signal.texi: Likewise.
38192 * manual/socket.texi: Likewise.
38193 * manual/startup.texi: Likewise.
38194 * manual/stdio.texi: Likewise.
38195 * manual/string.texi: Likewise.
38196 * manual/sysinfo.texi: Likewise.
38197 * manual/syslog.texi: Likewise.
38198 * manual/terminal.texi: Likewise.
38199 * manual/time.texi: Likewise.
38200 * manual/users.texi: Likewise.
38201 * INSTALL: Regenerated.
38202 * NOTES: Regenerated.
38203 * sysdeps/gnu/errlist.c: Regenerated.
38205 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38207 * include/dirent.h: Include <dirstream.h> before
38210 2012-02-28 David S. Miller <davem@davemloft.net>
38212 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38213 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38214 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38215 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38217 2012-02-27 David S. Miller <davem@davemloft.net>
38219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38221 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38222 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38225 frame pointer instead of stack pointer relative arg slot.
38226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38227 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38228 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38230 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38233 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38235 2012-02-27 David S. Miller <davem@davemloft.net>
38237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38241 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38242 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38243 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38244 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38246 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38248 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38249 later. Allow versions 5-9.
38250 * configure: Regenerated.
38251 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38252 required minimum version and 4.6 as recommended version. Do not
38253 mention bugs in GCC 2.7 and 2.8.
38254 * INSTALL: Regenerated.
38256 2012-02-27 David S. Miller <davem@davemloft.net>
38258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38262 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38263 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38264 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38265 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38268 manipulate bits before adding and subtracting TWO112[sx].
38269 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38271 2012-02-27 Roland McGrath <roland@hack.frob.com>
38274 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38275 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38276 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38277 being in POSIX, because they are in 1003.1-2008.
38279 * rt/tst-aio.c: Include <fcntl.h>.
38280 * rt/tst-aio7.c: Likewise.
38281 * rt/tst-aio64.c: Likewise.
38283 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38285 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38287 * manual/install.texi (--with-headers): Describe headers as
38288 interface headers, not private headers.
38289 (Specific advice for GNU/Linux systems): Describe use of headers
38290 from "make headers_install", not private headers from older
38292 * INSTALL: Regenerated.
38293 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38295 * sysdeps/unix/sysv/linux/configure: Regenerated.
38297 * manual/llio.texi (fclean): Remove documentation.
38299 * manual/Makefile (libc-texi-generated): New variable. Include
38301 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38302 $(libc-texi-generated), not duplicated list of files.
38303 (version.texi, stamp-version): New rules.
38304 (realclean): Remove $(libc-texi-generated), not individual files
38305 from that list. Do not remove dir-add.texinfo.
38306 * manual/libc.texinfo: Comment out uses of edition numbers and
38307 references to printed manual. Remove last-updated dates.
38308 (EDITION): Comment out.
38310 (VERSION, UPDATED): Remove.
38311 (version.texi): Include.
38313 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38315 * sysdeps/posix/spawni.c: Include <signal.h>.
38316 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38317 * sysdeps/pthread/aio_fsync.c: Likewise.
38319 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38321 * conform/Makefile (tests): Run only when not cross-compiling and
38322 when fast-check is not defined.
38324 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38325 * conform/data/limits.h-data: Fixes for POSIX2008.
38326 * conform/run-conformtest.sh: Run all tests.
38327 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38329 * include/bits/dlfcn.h: Likewise.
38330 * include/langinfo.h: Likewise.
38331 * include/monetary.h: Likewise.
38332 * include/sys/poll.h: Likewise.
38334 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38336 * posix/spawn.h: Define __need_sigset_t.
38337 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38338 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38339 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38340 to get sigevent_t only.
38341 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38342 only for __USE_GNU.
38343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38344 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38345 process_vm_writev only for __USE_GNU.
38346 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38348 * conform/Makefile: For now ignore errors from run-conformtest.
38349 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38350 POSIX to avoid namespace pollution. Don't prepend headers.
38351 * conform/data/aio.h-data: Fixes for POSIX testing.
38352 * conform/data/fcntl.h-data: Likewise.
38353 * conform/data/glob.h-data: Likewise.
38354 * conform/data/grp.h-data: Likewise.
38355 * conform/data/pthread.h-data: Likewise.
38356 * conform/data/pwd.h-data: Likewise.
38357 * conform/data/signal.h-data: Likewise.
38358 * conform/data/spawn.h-data: Likewise.
38359 * conform/data/stdio.h-data: Likewise.
38360 * conform/data/stdlib.h-data: Likewise.
38361 * conform/data/stropts.h-data: Likewise.
38362 * conform/data/sys/mman.h-data: Likewise.
38363 * conform/data/sys/stat.h-data: Likewise.
38364 * conform/data/sys/types.h-data: Likewise.
38365 * conform/data/sys/wait.h-data: Likewise.
38366 * conform/data/time.h-data: Likewise.
38367 * conform/data/unistd.h-data: Likewise.
38368 * conform/data/utime.h-data: Likewise.
38370 * io/sys/stat.h: fchmod was always in POSIX.
38371 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38372 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38373 * rt/aio.h: Define __need_timespec before including <time.h>.
38374 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38375 struct. Add forward declaration of pthread_attr_t and use it in
38377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38379 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38380 always remove CLK_TCK definition.
38382 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38384 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38386 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38388 * conform/run-conformtest.sh: New file.
38389 * conform/Makefile: Run run-conformtest for tests.
38390 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38393 * conform/data/uchar.h-data: New file.
38394 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38395 * conform/data/arpa/inet.h-data: Likewise.
38396 * conform/data/assert.h-data: Likewise.
38397 * conform/data/complex.h-data: Likewise.
38398 * conform/data/cpio.h-data: Likewise.
38399 * conform/data/ctype.h-data: Likewise.
38400 * conform/data/dirent.h-data: Likewise.
38401 * conform/data/dlfcn.h-data: Likewise.
38402 * conform/data/errno.h-data: Likewise.
38403 * conform/data/fcntl.h-data: Likewise.
38404 * conform/data/float.h-data: Likewise.
38405 * conform/data/fmtmsg.h-data: Likewise.
38406 * conform/data/fnmatch.h-data: Likewise.
38407 * conform/data/ftw.h-data: Likewise.
38408 * conform/data/glob.h-data: Likewise.
38409 * conform/data/grp.h-data: Likewise.
38410 * conform/data/iconv.h-data: Likewise.
38411 * conform/data/inttypes.h-data: Likewise.
38412 * conform/data/langinfo.h-data: Likewise.
38413 * conform/data/libgen.h-data: Likewise.
38414 * conform/data/limits.h-data: Likewise.
38415 * conform/data/locale.h-data: Likewise.
38416 * conform/data/math.h-data: Likewise.
38417 * conform/data/monetary.h-data: Likewise.
38418 * conform/data/mqueue.h-data: Likewise.
38419 * conform/data/ndbm.h-data: Likewise.
38420 * conform/data/net/if.h-data: Likewise.
38421 * conform/data/netdb.h-data: Likewise.
38422 * conform/data/netinet/in.h-data: Likewise.
38423 * conform/data/nl_types.h-data: Likewise.
38424 * conform/data/poll.h-data: Likewise.
38425 * conform/data/pthread.h-data: Likewise.
38426 * conform/data/pwd.h-data: Likewise.
38427 * conform/data/regex.h-data: Likewise.
38428 * conform/data/sched.h-data: Likewise.
38429 * conform/data/search.h-data: Likewise.
38430 * conform/data/semaphore.h-data: Likewise.
38431 * conform/data/setjmp.h-data: Likewise.
38432 * conform/data/signal.h-data: Likewise.
38433 * conform/data/spawn.h-data: Likewise.
38434 * conform/data/stdarg.h-data: Likewise.
38435 * conform/data/stdio.h-data: Likewise.
38436 * conform/data/stdlib.h-data: Likewise.
38437 * conform/data/string.h-data: Likewise.
38438 * conform/data/strings.h-data: Likewise.
38439 * conform/data/stropts.h-data: Likewise.
38440 * conform/data/sys/ipc.h-data: Likewise.
38441 * conform/data/sys/mman.h-data: Likewise.
38442 * conform/data/sys/msg.h-data: Likewise.
38443 * conform/data/sys/resource.h-data: Likewise.
38444 * conform/data/sys/select.h-data: Likewise.
38445 * conform/data/sys/sem.h-data: Likewise.
38446 * conform/data/sys/shm.h-data: Likewise.
38447 * conform/data/sys/socket.h-data: Likewise.
38448 * conform/data/sys/stat.h-data: Likewise.
38449 * conform/data/sys/statvfs.h-data: Likewise.
38450 * conform/data/sys/time.h-data: Likewise.
38451 * conform/data/sys/timeb.h-data: Likewise.
38452 * conform/data/sys/times.h-data: Likewise.
38453 * conform/data/sys/types.h-data: Likewise.
38454 * conform/data/sys/uio.h-data: Likewise.
38455 * conform/data/sys/un.h-data: Likewise.
38456 * conform/data/sys/utsname.h-data: Likewise.
38457 * conform/data/sys/wait.h-data: Likewise.
38458 * conform/data/syslog.h-data: Likewise.
38459 * conform/data/tar.h-data: Likewise.
38460 * conform/data/termios.h-data: Likewise.
38461 * conform/data/utime.h-data: Likewise.
38462 * conform/data/utmpx.h-data: Likewise.
38463 * conform/data/varargs.h-data: Likewise.
38464 * conform/data/wchar.h-data: Likewise.
38465 * conform/data/wctype.h-data: Likewise.
38466 * conform/data/wordexp.h-data: Likewise.
38468 * include/stropts.h: New file.
38469 * include/uchar.h: New file.
38470 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38471 * include/assert.h: Likewise.
38472 * include/ctype.h: Likewise.
38473 * include/dirent.h: Likewise.
38474 * include/dlfcn.h: Likewise.
38475 * include/fcntl.h: Likewise.
38476 * include/fnmatch.h: Likewise.
38477 * include/glob.h: Likewise.
38478 * include/grp.h: Likewise.
38479 * include/libio.h: Likewise.
38480 * include/locale.h: Likewise.
38481 * include/math.h: Likewise.
38482 * include/net/if.h: Likewise.
38483 * include/netdb.h: Likewise.
38484 * include/netinet/in.h: Likewise.
38485 * include/pthread.h: Likewise.
38486 * include/pwd.h: Likewise.
38487 * include/regex.h: Likewise.
38488 * include/sched.h: Likewise.
38489 * include/search.h: Likewise.
38490 * include/setjmp.h: Likewise.
38491 * include/signal.h: Likewise.
38492 * include/stdio.h: Likewise.
38493 * include/stdlib.h: Likewise.
38494 * include/string.h: Likewise.
38495 * include/sys/cdefs.h: Likewise.
38496 * include/sys/mman.h: Likewise.
38497 * include/sys/msg.h: Likewise.
38498 * include/sys/resource.h: Likewise.
38499 * include/sys/select.h: Likewise.
38500 * include/sys/socket.h: Likewise.
38501 * include/sys/stat.h: Likewise.
38502 * include/sys/statvfs.h: Likewise.
38503 * include/sys/time.h: Likewise.
38504 * include/sys/times.h: Likewise.
38505 * include/sys/uio.h: Likewise.
38506 * include/sys/utsname.h: Likewise.
38507 * include/sys/wait.h: Likewise.
38508 * include/termios.h: Likewise.
38509 * include/time.h: Likewise.
38510 * include/ulimit.h: Likewise.
38511 * include/unistd.h: Likewise.
38512 * include/utime.h: Likewise.
38513 * include/wchar.h: Likewise.
38514 * include/wctype.h: Likewise.
38515 * include/wordexp.h: Likewise.
38517 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38519 * time/time.h: TIME_UTC must be a macro.
38520 Make timespec_get available for ISO C11 only as well.
38522 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38524 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38525 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38527 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38529 * configure.in: Use -o not -a in test for unsupported multi-arch.
38531 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38533 * manual/texinfo.tex: Update to version 2012-01-19.16.
38535 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38537 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38539 2012-02-24 Roland McGrath <roland@hack.frob.com>
38542 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38543 * manual/fdl-1.3.texi: New file.
38544 * manual/fdl-1.1.texi: File removed.
38547 * manual/libc.texinfo (FDL_VERSION): New @set.
38548 Use it for mention of FDL in cover text.
38549 (Documentation License): Use it in @include file name.
38551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38552 Roland McGrath <roland@hack.frob.com>
38555 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38556 (not LONG_LONG_MAX and LONG_LONG_MIN.
38557 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38558 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38560 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38562 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38566 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38567 manipulate bits before adding and subtracting TWO23[sx].
38568 * math/libm-test.inc (nearbyint_test): Add more tests.
38570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38573 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38574 bits before adding and subtracting TWO23[sx].
38575 * math/libm-test.inc (rint_test): Add more tests.
38576 (rint_test_tonearest): Likewise.
38577 (rint_test_towardzero): Likewise.
38578 (rint_test_downward): Likewise.
38579 (rint_test_upward: Likewise.
38581 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38584 * include/stdc-predef.h: New file. Extracted from features.h.
38585 * include/features.h: Include stdc-predef.h.
38586 * Makefile (headers): Add stdc-predef.h.
38587 * CONFORMANCE (Compiler limitations): Update.
38589 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38591 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38593 2012-02-21 David S. Miller <davem@davemloft.net>
38595 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38598 2012-02-20 David S. Miller <davem@davemloft.net>
38600 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38601 using a normal save/restore sequence, rather than allocating a
38602 dummy stack frame just to store a frame pointer and restore.
38603 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38605 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38607 * manual/install.texi: Fix stray word in line-wrapped comment.
38609 2012-02-20 David S. Miller <davem@davemloft.net>
38611 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38612 both binutils and gcc support GOTDATA.
38614 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38615 "rd %pc" in the PIC register setup sequences.
38617 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38618 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38619 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38620 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38621 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38623 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38624 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38625 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38626 (SYSCALL_ERROR_HANDLER): Likewise.
38627 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38628 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38630 (SYSCALL_ERROR_HANDLER): Likewise.
38632 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38633 (HAVE_GCC_GOTDATA): New.
38634 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38635 relocation support in both binutils and gcc.
38636 * sysdeps/sparc/elf/configure: Regenerate.
38638 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38639 * sysdeps/sparc/sparc32/elf/configure: Delete.
38640 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38641 * sysdeps/sparc/sparc64/elf/configure: Delete.
38642 * sysdeps/sparc/elf/configure.in: New file.
38643 * sysdeps/sparc/elf/configure: Generate.
38645 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38646 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38647 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38648 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38649 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38651 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38653 * manual/install.texi: Do not mention specific glibc version
38655 * manual/libc.texinfo (VERSION, UPDATED): Update.
38656 (@copying): Use @copyright{} and range of years.
38658 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38661 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38662 [crti.S not in sysdirs] (generated): Do not append.
38663 [crti.S not in sysdirs] (omit-deps): Likewise.
38664 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38665 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38666 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38667 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38668 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38670 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38671 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38672 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38673 * csu/defs.awk: Remove file.
38674 * sysdeps/generic/initfini.c: Likewise.
38675 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38677 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38680 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38682 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38683 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38684 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38685 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38687 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38689 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38690 (__EPOLL_PACKED): Define to empty if not defined by
38692 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38696 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38698 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38699 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38700 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38701 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38703 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38707 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38709 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38712 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38713 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38716 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38718 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38719 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38721 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38723 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38724 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38726 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38728 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38731 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38733 * math/w_acos.c: Use non-signaling floating-point comparisons.
38734 * math/w_acosf.c: Likewise.
38735 * math/w_acosh.c: Likewise.
38736 * math/w_acoshf.c: Likewise.
38737 * math/w_acoshl.c: Likewise.
38738 * math/w_acosl.c: Likewise.
38739 * math/w_asin.c: Likewise.
38740 * math/w_asinf.c: Likewise.
38741 * math/w_asinl.c: Likewise.
38742 * math/w_atanh.c: Likewise.
38743 * math/w_atanhf.c: Likewise.
38744 * math/w_atanhl.c: Likewise.
38745 * math/w_exp2.c: Likewise.
38746 * math/w_exp2f.c: Likewise.
38747 * math/w_exp2l.c: Likewise.
38748 * math/w_j0.c: Likewise.
38749 * math/w_j0f.c: Likewise.
38750 * math/w_j0l.c: Likewise.
38751 * math/w_j1.c: Likewise.
38752 * math/w_j1f.c: Likewise.
38753 * math/w_j1l.c: Likewise.
38754 * math/w_jn.c: Likewise.
38755 * math/w_jnf.c: Likewise.
38756 * math/w_log.c: Likewise.
38757 * math/w_log10.c: Likewise.
38758 * math/w_log10f.c: Likewise.
38759 * math/w_log10l.c: Likewise.
38760 * math/w_log2.c: Likewise.
38761 * math/w_log2f.c: Likewise.
38762 * math/w_log2l.c: Likewise.
38763 * math/w_logf.c: Likewise.
38764 * math/w_logl.c: Likewise.
38765 * math/w_sqrt.c: Likewise.
38766 * math/w_sqrtf.c: Likewise.
38767 * math/w_sqrtl.c: Likewise.
38768 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38769 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38770 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38771 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38772 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38774 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38777 * manual/string.texi (strnlen): Use correct parameter name in
38778 equivalent expression.
38780 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38783 * manual/users.texi (seteuid): Consistently use neweuid for
38786 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38789 * manual/nss.texi (Services in the NSS configuration): Correct
38790 list of services in example configuration file.
38792 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38795 * manual/arith.texi: Remove statements about negative zero
38796 behaving identically to zero.
38798 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38801 * manual/install.texi: Do not document upgrading from libc5.
38803 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38806 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38808 2012-02-18 David S. Miller <davem@davemloft.net>
38810 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38811 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38812 %o7 across the call.
38813 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38816 SETUP_PIC_REG_LEAF.
38817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38818 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38819 * sysdeps/sparc/crtn.S: Likewise.
38821 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38823 * aout/Makefile: Remove.
38825 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38828 * manual/examples/argp-ex1.c (main): Format definition in GNU
38830 * manual/examples/argp-ex2.c (main): Likewise.
38831 * manual/examples/argp-ex3.c (main): Likewise.
38832 * manual/examples/argp-ex4.c (main): Likewise.
38833 * manual/examples/longopt.c (main): Use new-style prototype
38835 * manual/examples/strncat.c (main): Specify return type and use
38836 (void) for arguments.
38837 * manual/examples/subopt.c (main): Use char **argv argument.
38839 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38842 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38845 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38848 * manual/string.texi (strchr): Change when strchrnul is
38851 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38854 * manual/locale.texi (setlocale): Document LOCPATH.
38856 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38859 * manual/process.texi (execle): Move @dots{} before last argument.
38861 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38864 * manual/charset.texi (Generic Charset Conversion): Fix typo
38865 (LC_TYPE -> LC_CTYPE).
38867 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38870 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38871 (scalbnf): Likewise.
38872 (scalbnl): Likewise.
38873 (scalbln): Likewise.
38874 (scalblnf): Likewise.
38875 (scalblnl): Likewise.
38876 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38877 (vwarnx): Likewise.
38880 * manual/filesys.texi (telldir): Use braces around return type.
38881 * manual/llio.texi (mmap): Add space after comma.
38882 (mmap64): Likewise.
38883 * manual/math.texi (jn): Use @var{} on parameter names.
38889 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38891 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38893 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38894 (sched_get_priority_max): Likewise.
38895 * manual/signal.texi (sigvec): Add space after comma.
38896 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38898 (if_indextoname): Likewise.
38899 (if_freenameindex): Likewise.
38900 (sendto): Use ',' instead of '.' in prototype.
38901 * manual/startup.texi (syscall): Use @dots{} instead of literal
38903 * manual/stdio.texi (__fpending): Separate initial words of
38904 paragraph from @deftypefun line.
38905 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38907 (vsyslog): Use @var{} on parameter names.
38908 * manual/terminal.texi (stty): Use @var{} on parameter names.
38909 * manual/users.texi (getutmp): Use @var{} on parameter names.
38910 (getutmpx): Likewise.
38912 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38915 * manual/stdio.texi (fopen): Fix typos in description of
38918 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38921 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38922 get clock_id definition.
38924 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38927 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38928 (madvise): Cast every argument to void on its own.
38930 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38933 * manual/startup.texi (Exit Status): Fix typo.
38935 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38938 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38939 * manual/examples/argp-ex2.c: Likewise.
38940 * manual/examples/argp-ex3.c: Likewise.
38942 2012-02-16 Richard Henderson <rth@redhat.com>
38944 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38945 * sysdeps/s390/s390-32/initfini.c: Remove.
38946 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38947 * sysdeps/s390/s390-64/initfini.c: Remove.
38949 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38951 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38952 compiler output for sysdeps/generic/initfini.c.
38953 * sysdeps/sh/elf/initfini.c: Remove file.
38955 2012-02-16 David S. Miller <davem@davemloft.net>
38958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38960 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38961 * sysdeps/sparc/crti.S: New file.
38962 * sysdeps/sparc/crtn.S: New file.
38963 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38964 * sysdeps/sparc/sparc64/Makefile: Likewise.
38966 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38969 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38971 2012-02-15 Roland McGrath <roland@hack.frob.com>
38974 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38976 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38977 (write, read, close): Likewise.
38978 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38980 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38982 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38983 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38984 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38985 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38987 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38991 2012-02-14 Marek Polacek <polacek@redhat.com>
38993 * sysdeps/x86_64/crti.S: New file.
38994 * sysdeps/x86_64/crtn.S: New file.
38995 * sysdeps/x86_64/elf/initfini.c: Remove file.
38997 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38999 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39000 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39001 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39002 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39004 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39008 2012-02-13 Joseph Myers <joseph@codesourcery.com>
39010 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39011 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39012 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39013 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39015 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39019 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39021 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39022 __feraiseexcept instead of feraiseexcept.
39024 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39025 nanosleep invocations.
39026 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39027 strings, and add error checking for a nanosleep invocations.
39029 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39031 Replace FSF snail mail address with URLs, as per GNU coding standards.
39032 Most of the snail mail addresses were wrong anyway, and omitting
39033 them makes the source code easier to maintain. Almost all of the
39034 changes are to license notices and to locale LC_IDENTIFICATION
39035 addresses, except for this one:
39036 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39037 not its snail mail address.
39039 2012-02-09 Richard Henderson <rth@twiddle.net>
39041 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39042 of kernel-features.h.
39044 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39046 2012-02-08 Marek Polacek <polacek@redhat.com>
39048 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39049 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39050 * sysdeps/gnu/_G_config.h: Likewise.
39051 * sysdeps/generic/_G_config.h: Likewise.
39053 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39055 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39059 * sysdeps/powerpc/powerpc32/crti.S: New file.
39060 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39061 * sysdeps/powerpc/powerpc64/crti.S: New file.
39062 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39064 * Makeconfig (have-initfini): Don't set.
39065 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39066 * configure.in (nopic_initfini): Don't substitute.
39067 * config.h.in (HAVE_INITFINI): Don't #undef.
39068 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39069 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39071 2012-02-08 Joseph Myers <joseph@codesourcery.com>
39073 Support crti.S and crtn.S provided directly by architectures.
39074 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39075 [crti.S in sysdirs] (omit-deps): Likewise.
39076 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39077 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39078 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39079 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39080 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39081 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39082 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39083 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39084 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39085 compiler output for sysdeps/generic/initfini.c.
39086 * sysdeps/i386/elf/Makefile: Remove file.
39087 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39089 2012-02-07 Marek Polacek <polacek@redhat.com>
39091 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39092 * sysdeps/gnu/_G_config.h: Likewise.
39093 * sysdeps/mach/hurd/_G_config.h: Likewise.
39095 2012-02-07 Marek Polacek <polacek@redhat.com>
39097 * math/Makefile (tests): Add tst-CMPLX2.
39098 * math/tst-CMPLX2.c: New file.
39100 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39102 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39104 * math/libm-test.inc (jn_test): Add missing L suffix.
39106 2012-02-06 Marek Polacek <polacek@redhat.com>
39108 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39109 * sysdeps/i386/fpu/e_powf.S: Likewise.
39110 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39111 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39112 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39113 * sysdeps/i386/fpu/e_pow.S: Likewise.
39114 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39116 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39117 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39118 * sysdeps/i386/fpu/e_log2.S: Likewise.
39119 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39120 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39121 * sysdeps/i386/fpu/e_powl.S: Likewise.
39122 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39123 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39124 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39125 * sysdeps/i386/fpu/e_logl.S: Likewise.
39126 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39127 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39128 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39129 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39130 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39131 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39132 * sysdeps/i386/fpu/e_log.S: Likewise.
39133 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39134 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39135 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39136 * sysdeps/i386/fpu/e_logf.S: Likewise.
39137 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39138 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39139 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39140 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39141 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39142 * sysdeps/i386/fpu/e_log10.S: Likewise.
39143 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39145 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39146 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39147 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39148 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39149 * sysdeps/i386/asm-syntax.h: Likewise.
39150 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39151 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39152 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39153 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39154 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39155 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39156 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39157 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39158 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39159 * sysdeps/powerpc/sysdep.h: Likewise.
39160 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39161 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39163 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39166 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39168 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39170 * sysdeps/i386/sysdep.h: Include <features.h>.
39171 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39174 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39176 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39178 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39181 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39183 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39184 (SETUP_PIC_REG): Use GET_PC_THUNK.
39185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39188 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39190 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39191 for non-PIC compilation.
39192 (SETUP_PIC_REG): Add .p2align directive.
39193 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39194 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39195 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39196 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39197 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39198 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39199 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39200 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39201 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39202 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39203 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39204 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39205 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39206 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39207 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39208 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39209 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39210 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39211 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39212 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39213 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39215 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39216 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39217 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39218 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39219 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39220 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39221 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39222 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39223 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39225 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39226 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39227 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39228 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39229 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39230 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39231 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39232 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39233 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39235 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39237 * math/tst-CMPLX.c: Include <stdio.h>.
39239 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39241 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39243 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39244 * sysdeps/sparc/bits/mathdef.h: Likewise.
39246 2012-01-31 Marek Polacek <polacek@redhat.com>
39248 * libio/libio.h: Don't define _PARAMS.
39249 * locale/programs/config.h: Don't define PARAMS.
39250 * stdlib/strtol_l.c: Likewise.
39251 (__strtol_l): Remove PARAMS from the prototype.
39253 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39255 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39256 names. Just use the correct names. Remove unnecessary wrapper
39258 * malloc/arena.c: Likewise.
39259 * malloc/hooks.c: Likewise.
39261 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39262 ARENA_TEST says not to. Simplify test for creation of a new arena.
39263 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39265 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39267 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39269 (update_get_addr): New function.
39270 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39271 GET_ADDR_MODULE parameter.
39273 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39275 * crypt/cert.c: Remove __STDC__ conditionals.
39276 * crypt/crypt-entry.c: Likewise.
39277 * crypt/crypt_util.c: Likewise.
39278 * libio/filedoalloc.c: Likewise.
39279 * libio/fileops.c: Likewise.
39280 * libio/genops.c: Likewise.
39281 * libio/iofclose.c: Likewise.
39282 * libio/iofdopen.c: Likewise.
39283 * libio/iofopen.c: Likewise.
39284 * libio/iofopen64.c: Likewise.
39285 * libio/iogetdelim.c: Likewise.
39286 * libio/iopopen.c: Likewise.
39287 * libio/obprintf.c: Likewise.
39288 * libio/oldfileops.c: Likewise.
39289 * libio/oldiofclose.c: Likewise.
39290 * libio/oldiofdopen.c: Likewise.
39291 * libio/oldiofopen.c: Likewise.
39292 * libio/oldiopopen.c: Likewise.
39293 * libio/wfiledoalloc.c: Likewise.
39294 * libio/wgenops.c: Likewise.
39295 * locale/programs/xmalloc.c: Likewise.
39296 * misc/syslog.c: Likewise.
39297 * stdio-common/xbug.c: Likewise.
39298 * string/memchr.c: Likewise.
39299 * string/memcmp.c: Likewise.
39300 * string/memrchr.c: Likewise.
39301 * string/rawmemchr.c: Likewise.
39302 * sysdeps/posix/getcwd.c: Likewise.
39303 * time/strftime_l.c: Likewise.
39305 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39307 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39308 * config.make.in (config-cflags-sse2avx): Define.
39309 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39312 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39314 * scripts/config.guess: Update from upstream config git repository.
39315 * scripts/config.sub: Likewise.
39317 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39319 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39321 (R_TILEPRO_*, R_TILEGX_*): New macros.
39323 * scripts/firstversions.awk: Fix bug in version range handling.
39325 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39327 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39329 * include/sys/epoll.h: New file.
39330 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39333 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39335 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39336 Avoid unnecessary __WORDSIZE == 64 test.
39337 (fmaxf): Use VEX format if possible.
39342 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39343 * math/math_private.h: Remove libc_fegetround* and
39345 * sysdeps/i386/configure.in: Check for -msse2avx.
39346 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39347 also if SSE2AVX is defined.
39348 Remove libc_fegetround* and libc_fesetround*.
39349 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39350 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39351 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39353 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39354 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39355 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39356 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39357 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39359 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39361 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39363 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39365 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39367 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39370 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39372 * Makeconfig (libm): Define.
39373 * elf/Makefile: Add rules to build and run tst-relsort1.
39374 * elf/tst-relsort1.c: New file.
39375 * elf/tst-relsort1mod1.c: New file.
39376 * elf/tst-relsort1mod2.c: New file.
39378 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39380 * math/s_ldexp.c: Remove __STDC__ conditionals.
39381 * math/s_ldexpf.c: Likewise.
39382 * math/s_ldexpl.c: Likewise.
39383 * math/s_nextafter.c: Likewise.
39384 * math/s_nexttowardf.c: Likewise.
39385 * math/s_significand.c: Likewise.
39386 * math/s_significandf.c: Likewise.
39387 * math/s_significandl.c: Likewise.
39388 * math/w_jnl.c: Likewise.
39389 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39390 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39391 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39392 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39393 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39410 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39411 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39413 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39414 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39415 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39416 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39417 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39418 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39419 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39420 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39421 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39422 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39423 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39424 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39425 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39426 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39427 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39428 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39429 * sysdeps/ieee754/k_standard.c: Likewise.
39430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39431 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39432 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39433 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39434 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39435 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39437 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39438 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39439 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39440 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39441 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39442 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39443 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39444 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39445 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39446 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39447 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39448 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39449 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39450 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39451 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39452 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39453 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39454 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39455 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39459 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39474 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39479 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39480 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39481 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39484 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39488 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39491 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39495 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39496 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39497 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39498 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39502 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39503 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39508 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39509 * sysdeps/ieee754/s_matherr.c: Likewise.
39510 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39511 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39512 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39513 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39515 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39517 * crypt/md5.h: Remove __STDC__ conditionals.
39518 * libio/libioP.h: Likewise.
39519 * locale/programs/config.h: Likewise.
39520 * sysdeps/generic/sysdep.h: Likewise.
39521 * sysdeps/i386/asm-syntax.h: Likewise.
39522 * sysdeps/s390/asm-syntax.h: Likewise.
39523 * sysdeps/unix/sysdep.h: Likewise.
39524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39527 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39529 * libio/libio.h: Remove __STDC__ conditionals.
39530 * malloc/obstack.h: Likewise.
39531 * math/complex.h: Likewise.
39532 * math/math.h: Likewise.
39533 * sysdeps/generic/_G_config.h: Likewise.
39534 * sysdeps/gnu/_G_config.h: Likewise.
39535 * sysdeps/mach/hurd/_G_config.h: Likewise.
39536 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39537 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39538 * sysdeps/sparc/bits/mathdef.h: Likewise.
39540 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39543 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39544 Clean up HAS_* macros.
39545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39546 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39548 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39550 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39551 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39553 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39554 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39556 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39558 * elf/tst-unique3.cc (gets): Remove declaration.
39559 * elf/tst-unique3lib.cc (gets): Likewise.
39560 * elf/tst-unique3lib2.cc (gets): Likewise.
39561 * elf/tst-unique4.cc (gets): Likewise.
39563 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39565 * include/stdio.h: Add C++ protection. Add gets declarations and
39567 * debug/tst-chk1.c: Don't declare gets here.
39568 * stdio-common/tst-gets.c: Likewise.
39570 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39572 * posix/glob: Remove directory.
39574 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39576 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39578 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39580 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39581 of the non-standard EPFNOSUPPORT.
39583 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39585 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39586 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39587 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39589 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39591 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39593 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39595 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39597 * nscd/grpcache.c (cache_addgr): Likewise.
39598 * nscd/hstcache.c (cache_addhst): Likewise.
39599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39600 * nscd/pwdcache.c (cache_addpw): Likewise.
39601 * nscd/servicescache.c (cache_addserv): Likewise.
39603 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39605 * malloc/malloc.c: Various cleanups.
39606 * malloc/hooks.c: Likewise.
39608 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39609 * stdlib/bug-fmtmsg1.c: New file.
39611 * stdlib/fmtmsg.c (init): Add missing unlock.
39612 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39614 2012-01-12 Marek Polacek <polacek@redhat.com>
39616 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39619 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39621 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39622 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39623 macro to ensure uniqueness of label name.
39624 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39625 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39627 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39629 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39631 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39632 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39636 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39638 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39640 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39641 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39642 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39644 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39646 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39647 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39648 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39651 * math/bits/math-finite.h: Add ldexp support.
39653 2012-01-10 Marek Polacek <polacek@redhat.com>
39655 * locale/programs/localedef.h (show_archive_content): Add noreturn
39658 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39660 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39662 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39664 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39666 * io/Makefile (headers): Add bits/poll2.h.
39668 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39671 typo #include statement.
39673 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39675 * include/sys/cdefs.h: Define __attribute_alloc_size.
39676 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39677 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39678 * elf/pldd.c: Likewise.
39679 * iconv/iconv_charmap.c: Likewise.
39680 * iconv/iconvconfig.c: Likewise.
39681 * iconv/strtab.c: Likewise.
39682 * locale/programs/locale.c: Likewise.
39683 * locale/programs/localedef.h: Likewise.
39684 * locale/programs/simple-hash.c: Likewise.
39685 * nscd/nscd.h: Likewise.
39686 * nss/makedb.c: Likewise.
39687 * sysdeps/generic/ldconfig.h: Likewise.
39688 * locale/programs/localedef.c: Remove xmalloc prototype.
39689 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39691 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39693 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39696 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39698 * math/Makefile (tests): Add tst-CMPLX.
39699 * math/tst-CMPLX.c: New file.
39701 * math/complex.h (CMPLXL): Fix typo.
39703 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39704 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39706 * debug/tst-chk1.c: Add poll and ppoll tests.
39707 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39708 * include/sys/poll.h: Add hidden proto for ppoll.
39709 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39710 * sysdeps/mach/hurd/ppoll.c: Likewise.
39711 * io/ppoll.c: Likewise.
39712 * debug/poll_chk.c: New file.
39713 * debug/ppoll_chk.c: New file.
39714 * include/bits/poll2.h: New file.
39715 * io/bits/poll2.h: New file.
39718 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39720 * configure.in: static is always set to yes. Remove.
39721 * config.make.in: Don't set build-static.
39722 * Makeconfig: Remove use of build-static.
39723 * dlfcn/Makefile: Likewise.
39724 * elf/Makefile: Likewise.
39725 * math/Makefile: Likewise.
39726 * misc/Makefile: Likewise.
39727 * nptl/Makefile: Likewise.
39728 * sysdeps/mach/hurd/Makefile: Likewise.
39730 * configure.in: PWD_P is not used anymore.
39731 * config.make.in: Remove PWD_P entry.
39733 * configure.in: Remove last remnants of RANLIB.
39734 No need to check for signed size_t anymore.
39735 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39737 Remove __builtin_expect test because we require at least gcc 3.4.
39738 * aclocal.m4: Likewise.
39740 * wcsmbs/mbrtoc16.c: Implement using towc function.
39741 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39742 * wcsmbs/wcsmbsload.c: Likewise.
39743 * iconv/gconv_simple.c: Likewise.
39744 * iconv/gconv_int.h: Likewise.
39745 * iconv/gconv_builtin.h: Likewise.
39746 * iconv/iconv_prog.c: Remove CHAR16 handling.
39748 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39750 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39752 * configure.in: Remove --with-elf and --enable-bounded options.
39753 Dont set base_machine for ia64. More non-ELF conditions removed.
39754 Remove testing and setting of leading underscore information.
39755 * config.make.in (build-bounded): Set to no.
39756 * config.h.in: Remove NO_UNDERSCORES entry.
39757 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39759 * csu/start.c: Remove !NO_UNDERSCORE code.
39760 * locale/localeinfo.h: Likewise.
39761 * sysdeps/generic/machine-gmon.h: Likewise.
39762 * sysdeps/generic/sysdep.h: Likewise.
39763 * sysdeps/i386/sysdep.h: Likewise.
39764 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39765 * sysdeps/mach/sysdep.h: Likewise.
39766 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39768 * sysdeps/sh/sysdep.h: Likewise.
39769 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39770 * sysdeps/unix/i386/sysdep.S: Likewise.
39771 * sysdeps/unix/sparc/start.c: Likewise.
39772 * sysdeps/unix/sparc/sysdep.S: Likewise.
39773 * sysdeps/unix/sparc/sysdep.h: Likewise.
39774 * sysdeps/unix/start.c: Likewise.
39775 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39776 * sysdeps/x86_64/sysdep.h: Likewise.
39778 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39781 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39783 * argp/argp-fmtstream.h: Use const instead __const.
39784 * argp/argp.h: Likewise.
39785 * assert/assert.h: Likewise.
39786 * bits/fenv.h: Likewise.
39787 * bits/sched.h: Likewise.
39788 * bits/sigset.h: Likewise.
39789 * bits/sigthread.h: Likewise.
39790 * catgets/nl_types.h: Likewise.
39791 * conform/data/pthread.h-data: Likewise.
39792 * crypt/crypt-private.h: Likewise.
39793 * crypt/crypt.h: Likewise.
39794 * crypt/crypt_util.c: Likewise.
39795 * ctype/ctype.h: Likewise.
39796 * debug/execinfo.h: Likewise.
39797 * debug/mbsnrtowcs_chk.c: Likewise.
39798 * debug/mbsrtowcs_chk.c: Likewise.
39799 * debug/wcsnrtombs_chk.c: Likewise.
39800 * debug/wcsrtombs_chk.c: Likewise.
39801 * debug/wcstombs_chk.c: Likewise.
39802 * dirent/dirent.h: Likewise.
39803 * dlfcn/dlfcn.h: Likewise.
39804 * elf/neededtest4.c: Likewise.
39805 * grp/grp.h: Likewise.
39806 * gshadow/gshadow.h: Likewise.
39807 * iconv/gconv.h: Likewise.
39808 * iconv/gconv_int.h: Likewise.
39809 * iconv/gconv_simple.c: Likewise.
39810 * iconv/iconv.h: Likewise.
39811 * iconv/loop.c: Likewise.
39812 * iconv/skeleton.c: Likewise.
39813 * include/aio.h: Likewise.
39814 * include/aliases.h: Likewise.
39815 * include/argz.h: Likewise.
39816 * include/arpa/inet.h: Likewise.
39817 * include/assert.h: Likewise.
39818 * include/dirent.h: Likewise.
39819 * include/dlfcn.h: Likewise.
39820 * include/execinfo.h: Likewise.
39821 * include/fcntl.h: Likewise.
39822 * include/fenv.h: Likewise.
39823 * include/glob.h: Likewise.
39824 * include/grp.h: Likewise.
39825 * include/libintl.h: Likewise.
39826 * include/mntent.h: Likewise.
39827 * include/netdb.h: Likewise.
39828 * include/pwd.h: Likewise.
39829 * include/rpc/netdb.h: Likewise.
39830 * include/sched.h: Likewise.
39831 * include/search.h: Likewise.
39832 * include/shadow.h: Likewise.
39833 * include/signal.h: Likewise.
39834 * include/stdio.h: Likewise.
39835 * include/stdlib.h: Likewise.
39836 * include/string.h: Likewise.
39837 * include/sys/socket.h: Likewise.
39838 * include/sys/stat.h: Likewise.
39839 * include/sys/statfs.h: Likewise.
39840 * include/sys/statvfs.h: Likewise.
39841 * include/sys/syslog.h: Likewise.
39842 * include/sys/time.h: Likewise.
39843 * include/sys/uio.h: Likewise.
39844 * include/time.h: Likewise.
39845 * include/unistd.h: Likewise.
39846 * include/utmp.h: Likewise.
39847 * include/wchar.h: Likewise.
39848 * include/wctype.h: Likewise.
39849 * inet/aliases.h: Likewise.
39850 * inet/arpa/inet.h: Likewise.
39851 * inet/netinet/ether.h: Likewise.
39852 * inet/netinet/in.h: Likewise.
39853 * intl/libintl.h: Likewise.
39854 * io/bits/fcntl2.h: Likewise.
39855 * io/fcntl.h: Likewise.
39856 * io/ftw.h: Likewise.
39857 * io/sys/poll.h: Likewise.
39858 * io/sys/stat.h: Likewise.
39859 * io/sys/statfs.h: Likewise.
39860 * io/sys/statvfs.h: Likewise.
39861 * io/utime.h: Likewise.
39862 * libio/bits/stdio.h: Likewise.
39863 * libio/bits/stdio2.h: Likewise.
39864 * libio/libio.h: Likewise.
39865 * libio/libioP.h: Likewise.
39866 * libio/stdio.h: Likewise.
39867 * locale/lc-ctype.c: Likewise.
39868 * locale/locale.h: Likewise.
39869 * login/utmp.h: Likewise.
39870 * malloc/arena.c: Likewise.
39871 * malloc/malloc.c: Likewise.
39872 * malloc/malloc.h: Likewise.
39873 * malloc/mcheck.c: Likewise.
39874 * malloc/mtrace.c: Likewise.
39875 * math/bits/mathcalls.h: Likewise.
39876 * math/fenv.h: Likewise.
39877 * math/math_private.h: Likewise.
39878 * misc/bits/error.h: Likewise.
39879 * misc/bits/syslog.h: Likewise.
39880 * misc/err.h: Likewise.
39881 * misc/error.h: Likewise.
39882 * misc/fstab.h: Likewise.
39883 * misc/mntent.h: Likewise.
39884 * misc/regexp.h: Likewise.
39885 * misc/search.h: Likewise.
39886 * misc/sgtty.h: Likewise.
39887 * misc/sys/mman.h: Likewise.
39888 * misc/sys/syslog.h: Likewise.
39889 * misc/sys/uio.h: Likewise.
39890 * misc/sys/xattr.h: Likewise.
39891 * misc/ttyent.h: Likewise.
39892 * nis/rpcsvc/ypclnt.h: Likewise.
39893 * nss/nss.h: Likewise.
39894 * posix/bits/unistd.h: Likewise.
39895 * posix/fnmatch.h: Likewise.
39896 * posix/glob.h: Likewise.
39897 * posix/sched.h: Likewise.
39898 * posix/spawn.h: Likewise.
39899 * posix/sys/wait.h: Likewise.
39900 * posix/unistd.h: Likewise.
39901 * posix/wordexp.h: Likewise.
39902 * pwd/pwd.h: Likewise.
39903 * resolv/netdb.h: Likewise.
39904 * resource/sys/resource.h: Likewise.
39905 * rt/aio.h: Likewise.
39906 * rt/bits/mqueue2.h: Likewise.
39907 * rt/mqueue.h: Likewise.
39908 * shadow/shadow.h: Likewise.
39909 * signal/signal.h: Likewise.
39910 * socket/send.c: Likewise.
39911 * socket/sendto.c: Likewise.
39912 * socket/sys/socket.h: Likewise.
39913 * stdio-common/printf.h: Likewise.
39914 * stdlib/bits/stdlib.h: Likewise.
39915 * stdlib/fmtmsg.h: Likewise.
39916 * stdlib/monetary.h: Likewise.
39917 * stdlib/stdlib.h: Likewise.
39918 * stdlib/ucontext.h: Likewise.
39919 * streams/stropts.h: Likewise.
39920 * string/argz.h: Likewise.
39921 * string/bits/string2.h: Likewise.
39922 * string/string.h: Likewise.
39923 * string/strings.h: Likewise.
39924 * sunrpc/rpc/auth.h: Likewise.
39925 * sunrpc/rpc/auth_des.h: Likewise.
39926 * sunrpc/rpc/clnt.h: Likewise.
39927 * sunrpc/rpc/netdb.h: Likewise.
39928 * sunrpc/rpc/pmap_clnt.h: Likewise.
39929 * sunrpc/rpc/xdr.h: Likewise.
39930 * sysdeps/generic/inttypes.h: Likewise.
39931 * sysdeps/generic/net/if.h: Likewise.
39932 * sysdeps/generic/sys/swap.h: Likewise.
39933 * sysdeps/gnu/net/if.h: Likewise.
39934 * sysdeps/gnu/utmpx.h: Likewise.
39935 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39936 * sysdeps/i386/i486/bits/string.h: Likewise.
39937 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39938 * sysdeps/s390/bits/string.h: Likewise.
39939 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39940 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39941 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39942 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39943 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39944 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39945 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39946 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39947 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39948 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39949 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39950 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39951 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39952 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39953 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39954 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39955 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39957 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39958 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39960 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39961 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39962 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39963 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39964 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39965 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39966 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39967 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39968 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39969 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39970 * sysvipc/sys/ipc.h: Likewise.
39971 * sysvipc/sys/msg.h: Likewise.
39972 * sysvipc/sys/sem.h: Likewise.
39973 * sysvipc/sys/shm.h: Likewise.
39974 * termios/termios.h: Likewise.
39975 * time/sys/time.h: Likewise.
39976 * time/time.h: Likewise.
39977 * wcsmbs/bits/wchar2.h: Likewise.
39978 * wcsmbs/uchar.h: Likewise.
39979 * wcsmbs/wchar.h: Likewise.
39980 * wctype/wctype.h: Likewise.
39983 * Makeconfig: Remove all but ELF support including AIX support.
39984 * Makerules: Likewise.
39985 * config.h.in: Likewise.
39986 * config.make.in: Likewise.
39987 * configure: Likewise.
39988 * configure.in: Likewise.
39989 * csu/Makefile: Likewise.
39990 * csu/version.c: Likewise.
39991 * debug/Makefile: Likewise.
39992 * dlfcn/Makefile: Likewise.
39993 * elf/Makefile: Likewise.
39994 * extra-lib.mk: Likewise.
39995 * iconv/Makefile: Likewise.
39996 * include/libc-symbols.h: Likewise.
39997 * include/shlib-compat.h: Likewise.
39998 * resolv/Makefile: Likewise.
39999 * resolv/res_libc.c: Likewise.
40000 * rt/Makefile: Likewise.
40001 * sysdeps/i386/asm-syntax.h: Likewise.
40002 * sysdeps/i386/sysdep.h: Likewise.
40003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40004 * sysdeps/mach/sysdep.h: Likewise.
40005 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40006 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40007 * sysdeps/s390/asm-syntax.h: Likewise.
40008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40010 * sysdeps/sh/sysdep.h: Likewise.
40011 * sysdeps/unix/sparc/sysdep.h: Likewise.
40012 * sysdeps/wordsize-32/divdi3.c: Likewise.
40013 * sysdeps/x86_64/sysdep.h: Likewise.
40015 * argp/Versions: Remove _argp_unlock_xxx.
40018 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40019 * abilist/libBrokenLocale.abilist: Likewise.
40020 * abilist/libanl.abilist: Likewise.
40021 * abilist/libc.abilist: Likewise.
40022 * abilist/libcrypt.abilist: Likewise.
40023 * abilist/libdl.abilist: Likewise.
40024 * abilist/libm.abilist: Likewise.
40025 * abilist/libnsl.abilist: Likewise.
40026 * abilist/libpthread.abilist: Likewise.
40027 * abilist/libresolv.abilist: Likewise.
40028 * abilist/librt.abilist: Likewise.
40029 * abilist/libthread_db.abilist: Likewise.
40030 * abilist/libutil.abilist: Likewise.
40031 * abilist/libnss_db.abilist: New file.
40033 * scripts/abilist.awk: Add support for indirect functions.
40035 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40037 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40039 * shlib-versions: Remove entries for ports architectures.
40041 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40043 * elf/stackguard-macros.h: Remove support for IA-64.
40044 * elf/tst-auditmod1.c: Likewise.
40045 * sysdeps/generic/ldsodefs.h: Likewise.
40047 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40048 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40052 * configure.in: Remove --enable-omitfp support.
40054 * config.make.in: Likewise.
40055 * Makeconfig: Likewise.
40056 * manual/install.texi: Likewise.
40058 In case anyone cares, the IA-64 architecture could move to ports.
40059 * sysdeps/ia64/*: Removed.
40060 * sysdeps/unix/sysv/linux/ia64/*: Removed.
40061 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40064 * configure.in: Remove entries for unsupported architectures.
40067 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40068 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40070 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40071 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40072 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40073 fall back to using wcrtomb.
40074 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40075 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40077 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40078 * wcsmbs/tst-c16c32-1.c: New file.
40080 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40083 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40085 * elf/tst-unique3.cc: Add explicit declaration of gets.
40086 * elf/tst-unique3lib.cc: Likewise.
40087 * elf/tst-unique3lib2.cc: Likewise.
40088 * elf/tst-unique4.cc: Likewise.
40090 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40092 2012-01-06 Joseph Myers <joseph@codesourcery.com>
40095 * assert/assert.h (static_assert): Don't define for C++.
40096 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40097 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40099 2012-01-03 Ulrich Drepper <drepper@gmail.com>
40101 * iconv/loop.c (single loop): Fix assertion in storing of
40104 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40106 2012-01-01 Ulrich Drepper <drepper@gmail.com>
40108 * posix/getconf.c: Update copyright year.
40109 * nss/getent.c: Likewise.
40110 * nss/makedb.c: Likewise.
40111 * iconv/iconvconfig.c: Likewise.
40112 * iconv/iconv_prog.c: Likewise.
40113 * elf/ldconfig.c: Likewise.
40114 * elf/pldd.c: Likewise.
40115 * elf/sotruss.ksh: Likewise.
40116 * catgets/gencat.c: Likewise.
40117 * csu/version.c: Likewise.
40118 * elf/ldd.bash.in: Likewise.
40119 * elf/sprof.c (print_version): Likewise.
40120 * locale/programs/locale.c: Likewise.
40121 * locale/programs/localedef.c: Likewise.
40122 * login/programs/pt_chown.c: Likewise.
40123 * nscd/nscd.c (print_version): Likewise.
40124 * debug/xtrace.sh: Likewise.
40125 * malloc/memusage.sh: Likewise.
40126 * malloc/mtrace.pl: Likewise.
40127 * debug/catchsegv.sh: Likewise.
40129 2011-12-30 Jakub Jelinek <jakub@redhat.com>
40131 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40134 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40137 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40138 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40140 * iconv/gconv_int.h: Likewise.
40141 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40142 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40143 from libc for GLIBC_2.16.
40144 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40145 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40146 * wcsmbs/uchar.h: Really define mbstate_t.
40147 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40148 * wcsmbs/c16rtomb.c: New file.
40149 * wcsmbs/mbrtoc16.c: New file.
40150 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40151 for C/POSIX locale.
40152 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40153 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40155 * wcsmbs/wchar.h: Add missing __restrict.
40157 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40160 * time/Makefile (routines): Add timespec_get.
40161 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40162 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40163 timespec for ISO C11.
40164 * time/timespec_get.c: New file.
40165 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40166 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40169 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40170 * stdlib/stdlib.h: Declare aligned_alloc.
40171 * Versions.def: Add GLIBC_2.16 for libc.
40172 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40175 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40178 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40182 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40185 * assert/assert.h (static_assert): Define.
40187 * version.h: Update for 2.16 development version.
40190 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40193 * version.h (RELEASE): Bump for 2.15 release.
40194 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40196 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40197 Patch by Marek Polacek <mpolacek@redhat.com>.
40199 * bits/byteswap.h: Protect long long constants with __extension__.
40200 * sysdeps/i386/bits/byteswap.h: Likewise.
40201 * sysdeps/ia64/bits/byteswap.h: Likewise.
40202 * sysdeps/s390/bits/byteswap.h: Likewise.
40203 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40205 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40209 destination buffer.
40210 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40212 2011-12-23 Marek Polacek <polacek@redhat.com>
40214 * elf/dl-addr.c (determine_info): Add inline keyword.
40215 * elf/tst-auditmod4b.c (check_avx): Likewise.
40216 * elf/tst-auditmod6b.c (check_avx): Likewise.
40217 * elf/tst-auditmod6c.c (check_avx): Likewise.
40218 * elf/tst-auditmod7b.c (check_avx): Likewise.
40220 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40222 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40225 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40228 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40229 processing for last bytes.
40231 2011-08-06 Bruno Haible <bruno@clisp.org>
40234 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40235 U+0385, not to U+1FEE.
40238 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40239 entry for U+00A5 U+0301.
40241 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40244 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40245 buffer for the output is too small.
40247 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40251 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40252 SSE flags if possible.
40254 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40258 processing for last bytes.
40260 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40262 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40263 (syscall-list-default-options, syscall-list-default-condition)
40264 (syscall-list-includes): Define.
40265 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40266 list of ABIs and options and #if conditions for each ABI. Do not
40267 handle common syscalls between ABIs specially.
40268 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40270 (syscall-list-variants, syscall-list-32bit-options)
40271 (syscall-list-32bit-condition, syscall-list-64bit-options)
40272 (syscall-list-64bit-condition): Define.
40273 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40274 (syscall-list-variants, syscall-list-32bit-options)
40275 (syscall-list-32bit-condition, syscall-list-64bit-options)
40276 (syscall-list-64bit-condition): Define.
40277 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40279 (syscall-list-variants, syscall-list-32bit-options)
40280 (syscall-list-32bit-condition, syscall-list-64bit-options)
40281 (syscall-list-64bit-condition): Define.
40282 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40284 (syscall-list-variants, syscall-list-32bit-options)
40285 (syscall-list-32bit-condition, syscall-list-64bit-options)
40286 (syscall-list-64bit-condition): Define.
40288 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40290 * locale/iso-639.def: Add brx entry.
40293 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40294 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40296 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40297 __feraiseexcept_renamed.
40299 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40302 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40303 EPOLLET with unsigned values.
40304 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40305 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40307 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40308 to large cancellation.
40309 * math/s_cacoshf.c: Likewise.
40310 * math/s_cacoshl.c: Likewise.
40312 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40316 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40317 * math/s_cacoshf.c: Likewise.
40318 * math/s_cacoshl.c: Likewise.
40320 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40323 * iconv/gconv.h: Define __GCONV_SWAP.
40324 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40325 * iconvdata/utf-16.c: Likewise.
40326 * iconvdata/utf-32.c: Likewise.
40328 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40332 numerator after shifting it by one limb.
40334 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40336 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40337 under [__USE_EXTERN_INLINES].
40339 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40342 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40344 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40346 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40347 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40349 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40350 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40351 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40352 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40353 for strncasecmp/strncasecmp_l compilation.
40354 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40355 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40357 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40360 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40363 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40366 * time/tzfile.c (__tzfile_read): Check values from file header.
40368 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40370 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40371 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40372 * powerpc/powerpc32/dl-start.S: Likewise.
40373 * powerpc/powerpc32/elf/start.S: Likewise.
40374 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40375 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40376 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40377 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40378 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40379 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40380 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40381 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40382 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40383 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40384 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40385 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40386 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40387 * powerpc/powerpc32/memset.S: Likewise.
40388 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40389 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40390 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40391 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40392 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40393 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40394 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40395 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40396 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40397 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40399 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40400 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40402 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40404 * math/libm-test.inc: Added more nearbyint tests.
40405 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40406 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40407 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40410 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40412 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40415 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40417 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40418 Add wcscpy-ssse3 wcscpy-c.
40419 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40420 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40421 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40422 * sysdeps/x86_64/wcschr.S: New file.
40423 * sysdeps/x86_64/wcsrchr.S: New file.
40424 * string/test-strcmp.c: Remove checking of wcscmp function for
40426 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40427 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40428 wcsrchr-sse2 wcsrchr-c.
40429 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40430 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40431 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40432 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40433 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40434 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40435 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40436 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40437 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40438 * wcsmbc/wcschr.c (WCSCHR): New macro.
40440 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40442 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40443 * wcsmbs/test-wcsrchr.c: New file.
40444 * string/test-strrchr.c: Add wcsrchr support.
40446 * wcsmbs/test-wcscpy.c: New file.
40447 * string/test-strcpy.c: Add wcscpy support.
40450 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40452 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40455 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40458 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40460 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40462 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40463 Minor optimizations.
40465 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40466 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40467 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40469 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40471 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40472 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40473 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40474 for gcc to avoid warnings.
40475 * inet/Makefile (tests): Add tst-checks.
40476 * inet/tst-checks.c: New file.
40478 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40481 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40484 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40485 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40487 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40489 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40491 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40494 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40496 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40498 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40499 conditional on GCC version.
40500 (__arch_compare_and_exchange_val_8_acq)
40501 (__arch_compare_and_exchange_val_16_acq)
40502 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40503 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40504 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40506 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40508 * sysdeps/sh/backtrace.c: New file.
40510 2011-12-02 Andreas Schwab <schwab@redhat.com>
40512 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40515 2011-12-01 Andreas Schwab <schwab@redhat.com>
40517 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40518 falling back to utime.
40520 2011-11-30 Andreas Schwab <schwab@redhat.com>
40522 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40523 expectations for float.
40525 2011-11-29 Andreas Schwab <schwab@redhat.com>
40527 * locale/weight.h (findidx): Add parameter len.
40528 * locale/weightwc.h (findidx): Likewise.
40529 * posix/fnmatch_loop.c (FCT): Adjust caller.
40530 * posix/regcomp.c (build_equiv_class): Likewise.
40531 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40532 * posix/regexec.c (check_node_accept_bytes): Likewise.
40533 * string/strcoll_l.c (STRCOLL): Likewise.
40534 * string/strxfrm_l.c (STRXFRM): Likewise.
40536 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40538 * Makefile.in: Remove CVSOPT handling.
40539 * configure.in: Remove use of AC_REVISION.
40540 * iconvdata/Makefile (distribute): No need to filter out CVS.
40541 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40544 2011-11-16 Andreas Schwab <schwab@redhat.com>
40546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40547 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40548 [USE_AS_STRNCASECMP_L]: Likewise.
40549 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40550 NO_TLS_DIRECT_SEG_REFS.
40551 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40552 Fix argument offsets for non-PIC.
40553 [USE_AS_STRNCASECMP_L]: Likewise.
40554 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40555 NO_TLS_DIRECT_SEG_REFS.
40557 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40559 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40561 * locale/loadlocale.c (_nl_load_locale): Likewise.
40563 2011-11-15 Andreas Schwab <schwab@redhat.com>
40565 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40566 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40567 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40568 (SYSCALL_GETTIME): Set errno on error.
40570 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40571 count references to noai6ai_cached.
40573 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40575 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40577 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40578 FD_CLOEXEC for /proc/self/maps.
40580 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40581 FD_CLOEXEC for /proc/meminfo.
40583 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40586 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40587 FD_CLOEXEC for given file.
40589 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40591 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40592 FD_CLOEXEC for /etc/hosts.
40593 (_gethtent): Likewise.
40595 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40597 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40598 cancellation and set FD_CLOEXEC for /etc/netgroup.
40600 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40601 reading /etc/publickey.
40603 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40604 allow cancellation when reading /etc/group.
40606 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40608 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40610 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40611 when using data file.
40613 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40615 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40616 (write_nis_obj): Use "c" and "e" in fopen.
40618 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40620 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40622 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40624 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40626 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40629 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40631 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40633 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40635 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40636 file parsing and set FD_CLOEXEC.
40638 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40640 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40642 2011-11-14 Andreas Schwab <schwab@redhat.com>
40644 * malloc/arena.c (arena_get2): Don't call reused_arena when
40645 _int_new_arena failed.
40647 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40649 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40650 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40651 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40652 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40653 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40654 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40655 to compile strcasecmp and strncasecmp.
40656 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40657 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40661 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40663 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40664 locale-defines.sym to gen-as-const-headers.
40665 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40666 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40668 to compile strcasecmp and strncasecmp.
40669 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40670 strcasecmp_l and strncasecmp_l.
40671 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40672 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40673 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40674 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40675 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40676 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40677 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40678 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40679 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40680 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40681 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40683 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40685 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40686 result of SYSDEP_GETTIME_CPU to retval.
40687 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40688 parameter list to macro. Remove trailing semicolon. Adjust users.
40690 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40693 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40695 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40697 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40698 from unused variable.
40700 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40702 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40705 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40708 * sunrpc/rpc_prot.c (rejected): Fix case value.
40710 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40711 unsigned long long int to avoid warnings in shift.
40713 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40715 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40718 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40719 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40720 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40722 * nis/nis_table.c (nis_list): Use variable of correct type for
40723 result of __follow_path call.
40725 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40727 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40728 of math functions ceil, trunc, floor, round, and sqrt, when
40729 avaliable on the platform.
40730 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40732 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40733 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40734 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40736 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40738 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40739 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40741 2011-11-11 Roland McGrath <roland@hack.frob.com>
40743 * include/unistd.h: Fix __readlink return type.
40744 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40746 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40748 * stdlib/ucontext.h: Undo last change for makecontext.
40750 2011-11-11 Andreas Schwab <schwab@redhat.com>
40752 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40754 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40755 * setjmp/setjmp.h: Mark functions as non-leaf.
40756 * setjmp/bits/setjmp2.h: Likewise.
40757 * stdlib/ucontext.h: Likewise.
40759 2011-11-10 Andreas Schwab <schwab@redhat.com>
40761 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40762 (reused_arena): Don't check arena limit.
40763 (arena_get2): Atomically check arena limit.
40765 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40767 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40768 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40770 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40773 2011-11-07 Andreas Schwab <schwab@redhat.com>
40775 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40776 handler when locking.
40778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40779 Fix size of allocated buffer.
40781 2011-11-04 Andreas Schwab <schwab@redhat.com>
40784 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40785 declarations for long double functions.
40786 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40788 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40790 2011-11-03 Andreas Schwab <schwab@redhat.com>
40792 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40795 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40798 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40800 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40802 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40804 * include/alloca.h (stackinfo_alloca_round): Define.
40805 (extend_alloca): Use it.
40806 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40807 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40810 * scripts/check-local-headers.sh: Ignore libaudit.h.
40812 * nscd/Makefile (extra-objs): Make recursively expanded.
40814 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40816 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40819 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40820 * posix/tst-rfc3484-2.c: Likewise.
40821 * posix/tst-rfc3484-3.c: Likewise.
40823 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40825 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40827 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40828 process_vm_writev from libc using GLIBC_2.15 version.
40830 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40832 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40834 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40837 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40840 * nss/getent.c (initgroups_keys): Show error message in case no group
40843 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40844 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40845 __bump_nl_timestamp.
40846 * nscd/connections (nscd_init): When host database is served open
40847 netlink socket and request notification about configuration changes.
40848 (main_loop_poll): Track netlink file descriptor and bump timestamp
40849 in case data becomes available.
40850 (main_loop_epoll): Likewise.
40851 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40852 (database_pers_head): Add extra_data fileds.
40853 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40854 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40855 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40857 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40858 in6ai data, call __free_in6ai.
40859 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40860 Add -DHAVE_NETLINK.
40861 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40862 interface information. Reuse previous data if netlink timestamp
40864 (__bump_nl_timestamp): New function.
40865 (__free_in6ai): New function.
40867 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40870 close_not_cancel_no_status here.
40871 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40873 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40876 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40879 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40880 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40881 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40883 2011-07-03 Andreas Jaeger <aj@suse.de>
40886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40887 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40888 * math/libm-test.inc (sin_test): Add test case.
40890 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40893 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40894 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40896 * elf/chroot_canon.c (chroot_canon): Cleanups.
40898 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40901 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40902 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40904 * string/test-strchr.c: Make usable for strchrnul testing.
40905 * string/test-strchrnul.c: New file.
40906 * string/Makefile (strop-tests): Add strchrnul.
40908 * po/it.po: Update from translation team.
40909 * po/es.po: Likewise.
40911 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40913 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40914 the three constants needed as parameters. Drop the others.
40915 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40916 __m128i_strloadu_tolower.
40917 Create and initialize variable zero and use it in all the places
40918 where _mm_setzero_si128 was used.
40920 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40921 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40922 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40923 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40925 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40926 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40927 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40928 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40929 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40930 __mpranred, __mptan.
40931 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40932 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40933 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40934 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40935 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40936 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40938 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40939 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40941 2011-10-28 Andreas Schwab <schwab@redhat.com>
40943 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40944 redefine if SHARED.
40945 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40948 wide char related routines to wcsmbs subdir.
40950 2011-10-27 Andreas Schwab <schwab@redhat.com>
40953 * misc/sys/cdefs.h (__THROWNL): Define.
40954 * posix/unistd.h: Use __THREADNL instead of __THREAD
40955 for memory synchronization functions.
40957 2011-10-26 Roland McGrath <roland@hack.frob.com>
40960 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40962 * manual/stdio.texi (Obstack Streams): Node removed.
40964 2011-10-26 Andreas Schwab <schwab@redhat.com>
40966 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40967 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40970 * math/math_private.h (math_force_eval): Allow non-addressable
40972 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40974 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40976 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40977 file is not needed.
40979 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40980 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40981 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40982 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40983 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40984 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40985 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40986 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40988 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40989 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40990 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40991 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40992 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40993 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40994 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40995 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40996 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40997 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40998 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40999 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41000 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41001 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41002 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41003 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41004 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41005 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41006 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41008 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41009 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41011 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41012 place. Use VEX encoding when compiling for AVX.
41014 2011-10-25 Andreas Schwab <schwab@redhat.com>
41016 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41017 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41019 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41021 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41023 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41024 useless if() expression.
41025 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41026 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41028 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41030 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41034 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41035 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41037 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41038 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41039 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41040 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41041 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41043 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41045 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41047 2011-10-25 Andreas Schwab <schwab@redhat.com>
41049 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41051 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41053 2011-10-25 Ulrich Drepper <drepper@gmail.com>
41055 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41056 .text section. Avoid duplicate constants.
41057 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41059 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41061 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41065 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41066 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41067 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41068 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41069 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41070 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41071 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41072 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41073 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41074 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41075 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41077 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41078 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41079 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41080 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41081 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41082 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41083 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41084 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41085 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41086 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41087 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41088 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41090 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41091 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41092 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41093 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41095 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41096 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41097 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41098 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41099 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41100 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41101 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41103 2011-10-24 Ulrich Drepper <drepper@gmail.com>
41105 * sysdeps/x86_64/dla.h: Move to ...
41106 * sysdeps/x86_64/fpu/dla.h: ...here.
41107 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41108 situations. Use __builtin_fma only for gcc 4.6 and up.
41110 * config.make.in: Add have-mfma4 entry.
41111 * configure.in: Substitute libc_cv_cc_fma4.
41112 * math/Makefile (dbl-only-routines): Add sincostab.
41113 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41114 Use __sincostab not sincos.
41115 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41122 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41123 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41124 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41125 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41127 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41128 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41130 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41131 define aliases when function name is a macro.
41132 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41133 sysdeps/ieee754/dbl-64/sincos.tbl.
41134 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41135 fma4-enabled routines.
41136 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41137 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41138 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41139 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41140 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41141 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41142 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41143 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41144 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41145 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41146 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41147 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41148 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41149 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41151 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41152 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41153 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41154 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41155 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41156 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41157 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41158 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41159 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41160 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41161 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41162 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41163 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41164 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41165 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41167 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41178 2011-10-24 Andreas Schwab <schwab@redhat.com>
41180 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41182 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41184 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41186 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41188 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41190 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41191 Remove unused variable magic_bits.
41192 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41194 * string/strnlen.c: Define and use STRNLEN macro.
41195 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41196 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41198 * wcsmbs/wcslen.c: Define and use WCSLEN.
41199 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41200 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41201 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41202 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41203 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41204 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41205 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41207 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41210 strnlen-sse2-no-bsf.
41211 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41212 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41213 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41214 Add strnlen support.
41215 (USE_AS_STRNLEN): New macro.
41216 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41217 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41218 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41219 * sysdeps/x86_64/wcslen.S: New file.
41221 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41223 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41224 XMM-moves are used for copying on small sizes.
41226 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41228 * wcsmbs/Makefile (strop-tests): Add wcschr.
41229 * wcsmbs/test-wcschr.c: New file.
41230 * string/test-strchr.c: Update.
41231 Add wcschr support.
41234 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41236 * wcsmbs/Makefile (strop-tests): Add wcslen.
41237 * wcsmbs/test-wcslen.c: New file.
41238 * string/test-strlen.c: Update.
41239 Add wcslen support.
41242 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41244 * po/it.po: Update from translation team.
41246 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41248 * sysdeps/x86_64/wcscmp.S: Update.
41249 Fix wrong comparison semantics.
41250 wcscmp shall use signed comparison not unsigned.
41251 Don't use substraction to avoid overflow bug.
41252 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41253 * wcsmbc/wcscmp.c: Likewise.
41254 * string/test-strcmp.c: Likewise.
41255 Add new tests to check cases with negative values.
41257 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41259 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41260 * sysdeps/x86_64/dla.h: ...here. New file.
41261 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41271 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41274 __ynl_finite aliases.
41276 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41280 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41282 [DLA_FMA] (EMULV): Use DLA_FMA.
41283 [DLA_FMA] (MUL12): Use EMULV.
41284 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41285 that are not needed.
41286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41290 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41291 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41294 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41296 * math/s_nan.c: Undef __nan.
41297 * math/s_nanf.c: Undef __nanf.
41298 * math/s_nanl.c: Undef __nanl.
41299 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41302 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41304 * math/s_catan.c: Add branch predictions.
41305 * math/s_catanf.c: Likewise.
41306 * math/s_catanh.c: Likewise.
41307 * math/s_catanhf.c: Likewise.
41308 * math/s_catanhl.c: Likewise.
41309 * math/s_catanl.c: Likewise.
41310 * math/s_cexp.c: Likewise.
41311 * math/s_cexpf.c: Likewise.
41312 * math/s_cexpl.c: Likewise.
41313 * math/s_clog.c: Likewise.
41314 * math/s_clog10.c: Likewise.
41315 * math/s_clog10f.c: Likewise.
41316 * math/s_clog10l.c: Likewise.
41317 * math/s_clogf.c: Likewise.
41318 * math/s_clogl.c: Likewise.
41319 * math/s_csqrt.c: Likewise.
41320 * math/s_csqrtf.c: Likewise.
41321 * math/s_csqrtl.c: Likewise.
41322 * math/s_ctanf.c: Likewise.
41323 * math/s_ctanh.c: Likewise.
41324 * math/s_ctanhf.c: Likewise.
41325 * math/s_ctanhl.c: Likewise.
41326 * math/s_ctanl.c: Likewise.
41328 * math/math_private.h: Define __nan, __nanf, __nanl.
41329 * math/s_cacosh.c: Include <math_private.h>.
41330 * math/s_cacoshl.c: Likewise.
41331 * math/s_casinh.c: Likewise.
41332 * math/s_casinhf.c: Likewise.
41333 * math/s_casinhl.c: Likewise.
41334 * math/s_ccos.c: Rely entire on ccosh.
41335 * math/s_ccosf.c: Rely entire on ccoshf.
41336 * math/s_ccosl.c: Rely entirely on ccoshl.
41337 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41338 Remove tests for FE_INVALID.
41339 * math/s_ccoshf.c: Likewise.
41340 * math/s_ccoshl.c: Likewise.
41341 * math/s_csin.c: Likewise.
41342 * math/s_csinf.c: Likewise.
41343 * math/s_csinh.c Likewise.
41344 * math/s_csinhf.c: Likewise.
41345 * math/s_csinhl.c: Likewise.
41346 * math/s_csinl.c: Likewise.
41347 * math/s_ctan.c: Likewise.
41348 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41349 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41350 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41352 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41355 compilation problems.
41357 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41360 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41362 * sysdeps/i386/configure.in: Test for -mfma4 option.
41363 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41364 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41365 COMMON_CPUID_INDEX_80000001.
41366 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41367 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41368 use it if FMA3 is not supported.
41369 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41371 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41372 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41374 2011-10-20 Andreas Schwab <schwab@redhat.com>
41377 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41378 it would create a cycle with a link time dependency.
41380 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41382 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41384 * string/Makefile (strop-tests): Add rawmemchr.
41385 * string/test-rawmemchr.c: New file.
41387 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41389 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41390 when compiling str{,n}casecmp and when AVX is available. Hook up
41391 new optimized code in initializers.
41393 2011-10-19 Andreas Schwab <schwab@redhat.com>
41395 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41396 __feraiseexcept instead of feraiseexcept.
41398 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41400 * math/math_private.h: Define defaults for libc_fetestexcept and
41402 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41403 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41404 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41405 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41406 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41407 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41408 libc_fetestexcept and libc_feupdateenv.
41410 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41411 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41412 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41413 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41414 libc_feholdexcept_setround.
41416 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41417 Add s_nearbyint-c and s_nearbyintf-c.
41418 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41419 nearbyintf inlines.
41420 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41421 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41422 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41423 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41425 * math/math_private.h: Define defaults for libc_fegetround,
41426 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41427 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41428 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41430 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41431 standard functions.
41432 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41433 Remove comments and hacks for old compiler versions.
41434 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41435 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41436 libc_feholdexceptl.
41438 2011-10-18 Andreas Schwab <schwab@redhat.com>
41440 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41441 (__feraiseexcept_renamed): Add __NTH.
41442 (feraiseexcept): Add __NTH. Rename local variables to fix
41443 namespace violations.
41445 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41447 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41449 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41451 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41452 recently added interfaces.
41453 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41455 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41456 about macro parameter expansion.
41458 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41459 __NO_MATH_INLINES is defined. Cleanups.
41461 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41462 and __floorf is target has SSE4.1.
41463 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41464 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41465 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41466 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41468 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41470 (floorf): Likewise.
41472 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41474 2011-10-17 Andreas Schwab <schwab@redhat.com>
41476 * misc/sys/cdefs.h: Fix last change.
41478 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41481 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41483 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41485 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41487 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41488 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41491 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41492 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41493 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41494 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41495 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41496 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41497 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41498 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41499 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41500 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41501 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41502 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41503 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41504 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41505 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41506 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41508 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41509 ceil, ceilf, floor, floorf.
41511 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41512 Perform IRELATIVE relocations last.
41514 * elf/do-rel.h: Add another parameter nrelative, replacing the
41515 local variable with the same name. Change name of the function
41516 to end in Rel or Rela (uppercase).
41517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41518 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41519 elf_dynamic_do_##reloc function.
41521 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41523 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41524 is sufficient, at least on modern CPUs.
41526 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41528 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41529 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41531 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41533 * math/bits/math-finite.h: Add entries for exp.
41534 * math/e_expl.c: Add __*_finite alias.
41535 * sysdeps/i386/fpu/e_exp.S: Likewise.
41536 * sysdeps/i386/fpu/e_expf.S: Likewise.
41537 * sysdeps/i386/fpu/e_expl.c: Likewise.
41538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41539 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41541 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41542 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41543 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41544 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41546 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41547 is sufficient, at least on modern CPUs.
41549 * ctype/ctype-info.c (__ctype_init): Define.
41550 * include/ctype.h (__ctype_init): Declare.
41551 (__ctype_b_loc): The variable is always initialized.
41552 (__ctype_toupper_loc): Likewise.
41553 (__ctype_tolower_loc): Likewise.
41554 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41555 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41557 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41559 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41561 * configure.in: Also look in $cxxmachine/include for C++ system
41564 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41566 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41567 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41568 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41569 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41571 (USE_AS_WMEMCMP): New macro.
41573 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41574 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41575 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41576 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41578 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41579 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41580 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41581 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41582 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41583 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41584 (USE_AS_WMEMCMP): New macro.
41585 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41586 * sysdeps/string/test-memcmp.c: Update.
41587 Fix simple_wmemcmp.
41589 * wcsmbs/wmemcmp.c: Update.
41590 (WMEMCMP): New macro.
41593 2011-10-12 Andreas Jaeger <aj@suse.de>
41596 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41598 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41600 * libio/iofwide.c (do_length): Avoid warning.
41602 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41604 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41606 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41608 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41609 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41610 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41611 * sysdeps/i386/i686/fpu/e_log.S: New file.
41612 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41613 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41615 * ctype/ctype.h: Add support for inlined isXXX functions when
41616 compiling C++ code.
41618 2011-10-14 Andreas Schwab <schwab@redhat.com>
41620 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41622 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41624 2011-10-13 Roland McGrath <roland@hack.frob.com>
41627 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41629 2011-10-13 Andreas Schwab <schwab@redhat.com>
41631 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41632 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41635 * sysdeps/x86_64/memrchr.S: Check for zero size.
41637 * string/stratcliff.c: Add memrchr tests.
41639 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41642 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41643 rawmemchr-sse2 rawmemchr-sse2-bsf.
41644 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41645 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41646 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41647 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41648 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41649 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41650 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41651 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41652 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41653 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41654 * string/memrchr.c (MEMRCHR): New macro.
41656 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41658 Add integration with gcc's -ffinite-math-only and optimize wrapper
41660 * Versions.def: Define GLIBC_2.15 version for libm.
41661 * math/Makefile (headers): Add bits/math-finite.h.
41662 * math/bits/math-finite.h: New file.
41663 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41664 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41665 * math/e_acoshl.c: Add __*_finite alias.
41666 * math/e_acosl.c: Likewise.
41667 * math/e_asinl.c: Likewise.
41668 * math/e_atan2l.c: Likewise.
41669 * math/e_atanhl.c: Likewise.
41670 * math/e_coshl.c: Likewise.
41671 * math/e_exp10.c: Likewise.
41672 * math/e_exp10f.c: Likewise.
41673 * math/e_exp10l.c: Likewise.
41674 * math/e_exp2l.c: Likewise.
41675 * math/e_fmodl.c: Likewise.
41676 * math/e_gammal_r.c: Likewise.
41677 * math/e_hypotl.c: Likewise.
41678 * math/e_j0l.c: Likewise.
41679 * math/e_j1l.c: Likewise.
41680 * math/e_jnl.c: Likewise.
41681 * math/e_lgammal_r.c: Likewise.
41682 * math/e_log10l.c: Likewise.
41683 * math/e_log2l.c: Likewise.
41684 * math/e_logl.c: Likewise.
41685 * math/e_powl.c: Likewise.
41686 * math/e_sinhl.c: Likewise.
41687 * math/e_sqrtl.c: Likewise.
41688 * math/e_scalb.c: Completely rewritten and optimized.
41689 * math/e_scalbf.c: Likewise.
41690 * math/e_scalbl.c: Likewise.
41691 * math/w_acos.c: Likewise.
41692 * math/w_acosf.c: Likewise.
41693 * math/w_acosl.c: Likewise.
41694 * math/w_acosh.c: Likewise.
41695 * math/w_acoshf.c: Likewise.
41696 * math/w_acoshl.c: Likewise.
41697 * math/w_asin.c: Likewise.
41698 * math/w_asinf.c: Likewise.
41699 * math/w_asinl.c: Likewise.
41700 * math/w_atan2.c: Likewise.
41701 * math/w_atan2f.c: Likewise.
41702 * math/w_atan2l.c: Likewise.
41703 * math/w_atanh.c: Likewise.
41704 * math/w_atanhf.c: Likewise.
41705 * math/w_atanhl.c: Likewise.
41706 * math/w_exp10.c: Likewise.
41707 * math/w_exp10f.c: Likewise.
41708 * math/w_exp10l.c: Likewise.
41709 * math/w_fmod.c: Likewise.
41710 * math/w_fmodf.c: Likewise.
41711 * math/w_fmodl.c: Likewise.
41712 * math/w_j0.c: Likewise.
41713 * math/w_j0f.c: Likewise.
41714 * math/w_j0l.c: Likewise.
41715 * math/w_j1.c: Likewise.
41716 * math/w_j1f.c: Likewise.
41717 * math/w_j1l.c: Likewise.
41718 * math/w_jn.c: Likewise.
41719 * math/w_jnf.c: Likewise.
41720 * math/w_log.c: Likewise.
41721 * math/w_logf.c: Likewise.
41722 * math/w_logl.c: Likewise.
41723 * math/w_log10.c: Likewise.
41724 * math/w_log10f.c: Likewise.
41725 * math/w_log10l.c: Likewise.
41726 * math/w_log2.c: Likewise.
41727 * math/w_log2f.c: Likewise.
41728 * math/w_log2l.c: Likewise.
41729 * math/w_pow.c: Likewise.
41730 * math/w_powf.c: Likewise.
41731 * math/w_powl.c: Likewise.
41732 * math/w_remainder.c: Likewise.
41733 * math/w_remainderf.c: Likewise.
41734 * math/w_remainderl.c: Likewise.
41735 * math/w_scalb.c: Likewise.
41736 * math/w_scalbf.c: Likewise.
41737 * math/w_scalbl.c: Likewise.
41738 * math/w_sqrt.c: Likewise.
41739 * math/w_sqrtf.c: Likewise.
41740 * math/w_sqrtl.c: Likewise.
41741 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41742 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41744 * math/math_private.h: Declare __kernel_standard_f.
41745 * math/w_cosh.c: Remove cruft and optimize a bit.
41746 * math/w_coshf.c: Likewise.
41747 * math/w_coshl.c: Likewise.
41748 * math/w_exp2.c: Likewise.
41749 * math/w_exp2f.c: Likewise.
41750 * math/w_exp2l.c: Likewise.
41751 * math/w_hypot.c: Likewise.
41752 * math/w_hypotf.c: Likewise.
41753 * math/w_hypotl.c: Likewise.
41754 * math/w_lgamma.c: Likewise.
41755 * math/w_lgamma_r.c: Likewise.
41756 * math/w_lgammaf.c: Likewise.
41757 * math/w_lgammaf_r.c: Likewise.
41758 * math/w_lgammal.c: Likewise.
41759 * math/w_lgammal_r.c: Likewise.
41760 * math/w_sinh.c: Likewise.
41761 * math/w_sinhf.c: Likewise.
41762 * math/w_sinhl.c: Likewise.
41763 * math/w_tgamma.c: Likewise.
41764 * math/w_tgammaf.c: Likewise.
41765 * math/w_tgammal.c: Likewise.
41766 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41768 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41769 Minor optimizations. Pretty printing. Remove cruft.
41770 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41771 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41772 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41773 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41774 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41775 * sysdeps/i386/fpu/e_asin.S: Likewise.
41776 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41777 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41778 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41779 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41780 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41781 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41782 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41783 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41784 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41785 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41786 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41787 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41788 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41789 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41790 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41791 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41792 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41793 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41794 * sysdeps/i386/fpu/e_log.S: Likewise.
41795 * sysdeps/i386/fpu/e_log10.S: Likewise.
41796 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41797 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41798 * sysdeps/i386/fpu/e_log2.S: Likewise.
41799 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41800 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41801 * sysdeps/i386/fpu/e_logf.S: Likewise.
41802 * sysdeps/i386/fpu/e_logl.S: Likewise.
41803 * sysdeps/i386/fpu/e_pow.S: Likewise.
41804 * sysdeps/i386/fpu/e_powf.S: Likewise.
41805 * sysdeps/i386/fpu/e_powl.S: Likewise.
41806 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41807 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41808 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41809 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41810 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41811 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41812 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41813 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41814 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41815 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41816 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41818 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41819 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41820 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41821 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41822 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41823 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41825 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41826 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41829 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41832 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41833 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41835 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41836 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41837 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41838 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41839 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41840 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41841 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41842 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41843 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41844 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41845 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41846 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41847 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41848 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41849 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41850 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41851 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41852 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41853 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41854 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41855 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41856 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41857 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41858 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41859 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41860 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41861 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41862 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41863 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41864 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41865 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41866 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41867 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41869 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41870 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41871 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41872 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41873 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41874 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41875 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41879 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41880 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41881 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41883 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41884 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41885 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41886 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41888 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41889 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41891 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41892 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41893 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41894 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41895 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41896 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41897 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41898 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41899 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41900 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41901 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41902 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41903 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41904 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41905 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41906 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41908 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41909 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41910 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41911 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41912 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41913 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41914 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41915 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41916 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41917 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41918 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41919 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41920 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41921 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41922 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41923 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41924 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41925 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41926 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41927 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41928 (__isnanf): Likewise.
41929 (__isinf_ns): Likewise.
41930 (__isinf_nsf): Likewise.
41931 (__finite): Likewise.
41932 (__finitef): Likewise.
41933 (__ieee754_sqrt): Define as macro.
41934 (__ieee754_sqrtf): Define as macro.
41935 (__ieee754_sqrtl): Define as macro.
41936 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41938 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41939 __FINITE_MATH_ONLY__ consistent.
41940 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41942 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41944 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41947 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41949 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41951 * po/ja.po: Update from translation team.
41953 2011-10-08 Roland McGrath <roland@hack.frob.com>
41955 * locale/programs/locarchive.c (prepare_address_space): New function.
41956 (create_archive, enlarge_archive, open_archive): Use it.
41958 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41959 inside [SHARED], where it is used.
41961 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41963 * nss/getent.c (netgroup_keys): Remove unused variable.
41964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41966 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41968 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41969 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41971 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41972 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41973 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41974 * math/Makefile (libm-calls): Add s_isinf_ns.
41975 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41976 * math/multc3.c: Likewise.
41977 * math/s_casin.c: Likewise.
41978 * math/s_casinf.c: Likewise.
41979 * math/s_casinl.c: Likewise.
41980 * math/s_ccos.c: Likewise.
41981 * math/s_ccosf.c: Likewise.
41982 * math/s_ccosl.c: Likewise.
41983 * math/s_ctan.c: Likewise.
41984 * math/s_ctanf.c: Likewise.
41985 * math/s_ctanh.c: Likewise.
41986 * math/s_ctanhf.c: Likewise.
41987 * math/s_ctanhl.c: Likewise.
41988 * math/s_ctanl.c: Likewise.
41989 * math/w_fmod.c: Likewise.
41990 * math/w_fmodf.c: Likewise.
41991 * math/w_fmodl.c: Likewise.
41992 * math/w_remainder.c: Likewise.
41993 * math/w_remainderf.c: Likewise.
41994 * math/w_remainderl.c: Likewise.
41995 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41996 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41997 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41999 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42000 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42001 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42002 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42004 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42006 * stdio-common/printf_fphex.c: Likewise.
42007 * stdio-common/printf_size.c: Likewise.
42009 * math/e_exp10.c: Include math_private.h using <...> not "...".
42010 * math/e_exp10f.c: Likewise.
42011 * math/e_exp10l.c: Likewise.
42012 * math/e_exp2l.c: Likewise.
42013 * math/e_j0l.c: Likewise.
42014 * math/e_j1l.c: Likewise.
42015 * math/e_jnl.c: Likewise.
42016 * math/e_lgammal_r.c: Likewise.
42017 * math/e_rem_pio2l.c: Likewise.
42018 * math/e_scalb.c: Likewise.
42019 * math/e_scalbf.c: Likewise.
42020 * math/e_scalbl.c: Likewise.
42021 * math/k_cosl.c: Likewise.
42022 * math/k_sinl.c: Likewise.
42023 * math/k_tanl.c: Likewise.
42024 * math/s_cacoshf.c: Likewise.
42025 * math/s_catan.c: Likewise.
42026 * math/s_catanf.c: Likewise.
42027 * math/s_catanh.c: Likewise.
42028 * math/s_catanhf.c: Likewise.
42029 * math/s_catanhl.c: Likewise.
42030 * math/s_catanl.c: Likewise.
42031 * math/s_ccosh.c: Likewise.
42032 * math/s_ccoshf.c: Likewise.
42033 * math/s_ccoshl.c: Likewise.
42034 * math/s_cexp.c: Likewise.
42035 * math/s_cexpf.c: Likewise.
42036 * math/s_cexpl.c: Likewise.
42037 * math/s_clog.c: Likewise.
42038 * math/s_clog10.c: Likewise.
42039 * math/s_clog10f.c: Likewise.
42040 * math/s_clog10l.c: Likewise.
42041 * math/s_clogf.c: Likewise.
42042 * math/s_clogl.c: Likewise.
42043 * math/s_csin.c: Likewise.
42044 * math/s_csinf.c: Likewise.
42045 * math/s_csinh.c: Likewise.
42046 * math/s_csinhf.c: Likewise.
42047 * math/s_csinhl.c: Likewise.
42048 * math/s_csinl.c: Likewise.
42049 * math/s_csqrt.c: Likewise.
42050 * math/s_csqrtf.c: Likewise.
42051 * math/s_csqrtl.c: Likewise.
42052 * math/s_ctan.c: Likewise.
42053 * math/s_ctanf.c: Likewise.
42054 * math/s_ctanh.c: Likewise.
42055 * math/s_ctanhf.c: Likewise.
42056 * math/s_ctanhl.c: Likewise.
42057 * math/s_ctanl.c: Likewise.
42058 * math/s_ldexp.c: Likewise.
42059 * math/s_ldexpf.c: Likewise.
42060 * math/s_ldexpl.c: Likewise.
42061 * math/s_significand.c: Likewise.
42062 * math/s_significandf.c: Likewise.
42063 * math/s_significandl.c: Likewise.
42064 * math/w_acos.c: Likewise.
42065 * math/w_acosf.c: Likewise.
42066 * math/w_acosh.c: Likewise.
42067 * math/w_acoshf.c: Likewise.
42068 * math/w_acoshl.c: Likewise.
42069 * math/w_acosl.c: Likewise.
42070 * math/w_asin.c: Likewise.
42071 * math/w_asinf.c: Likewise.
42072 * math/w_asinl.c: Likewise.
42073 * math/w_atan2.c: Likewise.
42074 * math/w_atan2f.c: Likewise.
42075 * math/w_atan2l.c: Likewise.
42076 * math/w_atanh.c: Likewise.
42077 * math/w_atanhf.c: Likewise.
42078 * math/w_atanhl.c: Likewise.
42079 * math/w_cosh.c: Likewise.
42080 * math/w_coshf.c: Likewise.
42081 * math/w_coshl.c: Likewise.
42082 * math/w_dremf.c: Likewise.
42083 * math/w_exp10.c: Likewise.
42084 * math/w_exp10f.c: Likewise.
42085 * math/w_exp10l.c: Likewise.
42086 * math/w_exp2.c: Likewise.
42087 * math/w_exp2f.c: Likewise.
42088 * math/w_fmod.c: Likewise.
42089 * math/w_fmodf.c: Likewise.
42090 * math/w_fmodl.c: Likewise.
42091 * math/w_hypot.c: Likewise.
42092 * math/w_hypotf.c: Likewise.
42093 * math/w_hypotl.c: Likewise.
42094 * math/w_j0.c: Likewise.
42095 * math/w_j0f.c: Likewise.
42096 * math/w_j0l.c: Likewise.
42097 * math/w_j1.c: Likewise.
42098 * math/w_j1f.c: Likewise.
42099 * math/w_j1l.c: Likewise.
42100 * math/w_jn.c: Likewise.
42101 * math/w_jnf.c: Likewise.
42102 * math/w_jnl.c: Likewise.
42103 * math/w_lgamma.c: Likewise.
42104 * math/w_lgamma_r.c: Likewise.
42105 * math/w_lgammaf.c: Likewise.
42106 * math/w_lgammaf_r.c: Likewise.
42107 * math/w_lgammal.c: Likewise.
42108 * math/w_lgammal_r.c: Likewise.
42109 * math/w_log.c: Likewise.
42110 * math/w_log10.c: Likewise.
42111 * math/w_log10f.c: Likewise.
42112 * math/w_log10l.c: Likewise.
42113 * math/w_log2.c: Likewise.
42114 * math/w_log2f.c: Likewise.
42115 * math/w_log2l.c: Likewise.
42116 * math/w_logf.c: Likewise.
42117 * math/w_logl.c: Likewise.
42118 * math/w_pow.c: Likewise.
42119 * math/w_powf.c: Likewise.
42120 * math/w_powl.c: Likewise.
42121 * math/w_remainder.c: Likewise.
42122 * math/w_remainderf.c: Likewise.
42123 * math/w_remainderl.c: Likewise.
42124 * math/w_scalb.c: Likewise.
42125 * math/w_scalbf.c: Likewise.
42126 * math/w_scalbl.c: Likewise.
42127 * math/w_sinh.c: Likewise.
42128 * math/w_sinhf.c: Likewise.
42129 * math/w_sinhl.c: Likewise.
42130 * math/w_sqrt.c: Likewise.
42131 * math/w_sqrtf.c: Likewise.
42132 * math/w_sqrtl.c: Likewise.
42133 * math/w_tgamma.c: Likewise.
42134 * math/w_tgammaf.c: Likewise.
42135 * math/w_tgammal.c: Likewise.
42137 * po/ja.po: Update from translation team.
42139 2011-09-29 Andreas Jaeger <aj@suse.de>
42142 * sunrpc/netname.c (netname2host): Fix logic.
42146 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42148 * math/w_remainder.c (__remainder): Likewise.
42149 * math/w_remainderf.c (__remainderf): Likewise.
42150 * math/libm-test.inc (remainder_test): Add test cases.
42152 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42154 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42157 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42159 * string/test-memcmp.c: Avoid unncessary #defines.
42160 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42162 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42164 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42165 Use new sse2 version for core i3 - i7 as it's faster
42166 than sse42 version.
42167 (bit_Prefer_PMINUB_for_stringop): New.
42168 * sysdeps/x86_64/rawmemchr.S: Update.
42169 Replace with faster SSE2 version.
42170 * sysdeps/x86_64/memrchr.S: New file.
42171 * sysdeps/x86_64/memchr.S: Update.
42172 Replace with faster SSE2 version.
42174 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42176 * elf/dl-load.c (lose): Add cast to avoid warning.
42178 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42180 * po/ca.po: Update from translation team.
42182 * inet/getnetgrent_r.c: Hook up nscd.
42183 * nscd/Makefile (routines): Add nscd_netgroup.
42184 (nscd-modules): Add netgroupcache.
42185 (CFLAGS-netgroupcache.c): Define.
42186 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42187 (cache_search): Add const to second parameter.
42188 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42190 (dbs): Add netgrdb entry.
42191 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42192 (verify_persistent_db): Handle netgrdb.
42193 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42194 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42196 (netgroup_response_header): Define.
42197 (innetgroup_response_header): Define.
42198 (datahead): Add netgroup_response_header and innetgroup_response_header
42200 * nscd/nscd.conf: Add entries for netgroup cache.
42201 * nscd/nscd.h (dbtype): Add netgrdb.
42202 (_PATH_NSCD_NETGROUP_DB): Define.
42203 (netgroup_iov_disabled): Declare.
42204 (xmalloc, xcalloc, xrealloc): Move declarations here.
42205 (cache_search): Adjust prototype.
42206 Add netgroup-related prototypes.
42207 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42208 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42209 (__nscd_innetgr): Declare.
42210 * nscd/selinux.c (perms): Use access_vector_t as element type and
42211 add netgroup-related initializers.
42212 * nscd/netgroupcache.c: New file.
42213 * nscd/nscd_netgroup.c: New file.
42214 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42215 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42216 For four parameters use innetgr.
42217 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42218 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42219 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42220 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42222 * nscd/connections.c (register_traced_file): Don't register file
42223 for disabled databases.
42225 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42227 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42229 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42230 from tree and freeing node.
42232 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42234 * nss/nsswitch.c (__nss_database_lookup): Handle
42235 nss_parse_service_list out of memory case.
42237 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42239 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42240 out of memory case.
42242 2011-10-04 Andreas Schwab <schwab@redhat.com>
42244 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42245 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42247 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42248 elf_machine_rela, elf_machine_lazy_rel.
42249 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42250 (ELF_DYNAMIC_DO_REL): Likewise.
42251 (ELF_DYNAMIC_DO_RELA): Likewise.
42252 (ELF_DYNAMIC_RELOCATE): Likewise.
42253 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42254 to ELF_DYNAMIC_DO_REL.
42255 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42256 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42257 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42259 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42260 skip_ifunc, don't call ifunc function if non-zero.
42261 (elf_machine_rela): Likewise.
42262 (elf_machine_lazy_rel): Likewise.
42263 (elf_machine_lazy_rela): Likewise.
42264 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42265 (elf_machine_lazy_rel): Likewise.
42266 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42268 (elf_machine_lazy_rel): Likewise.
42269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42271 (elf_machine_lazy_rel): Likewise.
42272 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42273 (elf_machine_lazy_rel): Likewise.
42274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42275 (elf_machine_lazy_rel): Likewise.
42276 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42277 (elf_machine_lazy_rel): Likewise.
42278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42279 (elf_machine_lazy_rel): Likewise.
42280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42281 (elf_machine_lazy_rel): Likewise.
42282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42283 (elf_machine_lazy_rel): Likewise.
42285 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42287 * nss/nss_files/files-init.c (_nss_files_init): Use static
42288 initialization for all the *_traced_file variables.
42290 2011-09-28 Andreas Schwab <schwab@redhat.com>
42292 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42294 2011-09-27 Roland McGrath <roland@hack.frob.com>
42297 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42299 2011-09-27 Andreas Schwab <schwab@redhat.com>
42301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42302 Reread the line before reparsing it.
42304 2011-09-26 Andreas Schwab <schwab@redhat.com>
42306 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42308 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42309 Maxim Kuvyrkov <maxim@codesourcery.com>
42310 Joseph Myers <joseph@codesourcery.com>
42312 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42313 if needed for __stack_chk_guard.
42315 2011-09-19 Roland McGrath <roland@hack.frob.com>
42317 * sysdeps/posix/spawni.c (script_execute): Always define it.
42318 It will be optimized away if unused.
42319 (maybe_script_execute): New function.
42320 (__spawni): Call it.
42322 * Makerules: Don't include tls.make.
42323 (config-tls): Always set to thread.
42324 * tls.make.c: File removed.
42326 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42328 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42329 * config.make.in (CPPFLAGS-config): New substituted variable.
42331 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42333 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42336 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42337 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42339 2011-09-15 Roland McGrath <roland@hack.frob.com>
42341 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42342 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42344 (CALL_FAIL): Likewise.
42345 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42346 (CALL_FAIL): Macro removed.
42347 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42349 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42351 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42352 for __FINITE_MATH_ONLY__ == 1.
42354 2011-09-15 Andreas Schwab <schwab@redhat.com>
42356 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42357 __ieee754_sqrt instead of sqrt.
42358 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42359 __ieee754_sqrtf instead of sqrtf.
42360 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42361 __floorf instead of floorf.
42362 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42363 __floorf, __truncf instead of floorf, truncf.
42365 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42367 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42369 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42370 __extern_always_inline.
42371 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42374 2011-09-14 Andreas Schwab <schwab@redhat.com>
42376 * elf/rtld.c (dl_main): Also relocate in dependency order when
42377 doing symbol dependency testing.
42379 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42382 Always define `refsym'.
42384 2011-09-13 Andreas Schwab <schwab@redhat.com>
42386 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42387 (__FD_ELT): Renamed from __FDELT.
42388 * misc/bits/select2.h (__FD_ELT): Likewise.
42389 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42390 __FD_MASK instead of __FDELT, __FDMASK.
42391 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42393 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42396 * elf/Makefile (gen-ldd): Fix pattern.
42398 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42399 (init_tls): Likewise.
42401 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42405 2011-09-12 Andreas Schwab <schwab@redhat.com>
42407 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42408 `struct cmsghdr *' instead of `void *'.
42409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42412 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42414 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42416 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42417 ldd_rewrite_script.
42419 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42421 * configure.in: Remove --with-tls option.
42422 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42423 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42424 out in case it is missing.
42425 * sysdeps/ia64/elf/configure.in: Likewise.
42426 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42427 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42428 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42429 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42430 * sysdeps/sh/elf/configure.in: Likewise.
42431 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42432 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42433 * sysdeps/x86_64/elf/configure.in: Likewise.
42434 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42435 * sysdeps/mach/hurd/tls.h: Likewise.
42438 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42441 * configure.in: Fix use of AC_INIT.
42443 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42445 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42447 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42449 * malloc/hooks.c: Likewise.
42452 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42453 variables statically.
42454 (narenas): Initialize.
42455 (list_lock): Initialize.
42456 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42457 initializtion of main_arena and list_lock. Small cleanups.
42458 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42459 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42460 Add initializers to main_arena and mp_.
42461 (malloc_state): Remove pagesize member. Change all users to use
42464 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42465 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42466 is always initialized.
42468 * malloc/malloc.c: Removed unused configurations and dead code.
42469 * malloc/arena.c: Likewise.
42470 * malloc/hooks.c: Likewise.
42471 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42473 * include/tls.h: Removed. USE___THREAD must always be defined.
42474 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42475 * elf/dl-libc.c: Likewise.
42476 * elf/dl-tsd.c: Likewise.
42477 * include/errno.h: Likewise.
42478 * include/netdb.h: Likewise.
42479 * include/resolv.h: Likewise.
42480 * inet/herrno-loc.c: Likewise.
42481 * inet/herrno.c: Likewise.
42482 * malloc/arena.c: Likewise.
42483 * malloc/hooks.c: Likewise.
42484 * malloc/malloc.c: Likewise.
42485 * resolv/res-state.c: Likewise.
42486 * resolv/res_libc.c: Likewise.
42487 * sysdeps/i386/dl-machine.h: Likewise.
42488 * sysdeps/ia64/dl-machine.h: Likewise.
42489 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42490 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42491 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42492 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42493 * sysdeps/sh/dl-machine.h: Likewise.
42494 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42495 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42496 * sysdeps/unix/i386/sysdep.S: Likewise.
42497 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42498 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42499 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42503 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42507 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42508 * sysdeps/x86_64/dl-machine.h: Likewise.
42509 * tls.make.c: Likewise.
42511 * configure.in: Remove --with-__thread option. Make tests for
42512 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42513 tls_model attribute fail if no support is available. Remove
42515 * Makeconfig: Adjust for dropped configure option. All features are
42517 * Makerules: Likewise.
42518 * Versions.def: Likewise.
42519 * argp/argp-fmtstream.c: Likewise.
42520 * argp/argp-fmtstream.h: Likewise.
42521 * argp/argp-help.c: Likewise.
42522 * assert/assert.c: Likewise.
42523 * config.h.in: Likewise.
42524 * config.make.in: Likewise.
42525 * configure: Likewise.
42526 * configure.in: Likewise.
42527 * csu/Versions: Likewise.
42528 * csu/init.c: Likewise.
42529 * elf/tst-audit2.c: Likewise.
42530 * elf/tst-tls10.c: Likewise.
42531 * elf/tst-tls10.h: Likewise.
42532 * elf/tst-tls11.c: Likewise.
42533 * elf/tst-tls12.c: Likewise.
42534 * elf/tst-tls14.c: Likewise.
42535 * elf/tst-tlsmod11.c: Likewise.
42536 * elf/tst-tlsmod12.c: Likewise.
42537 * elf/tst-tlsmod13.c: Likewise.
42538 * elf/tst-tlsmod13a.c: Likewise.
42539 * elf/tst-tlsmod14a.c: Likewise.
42540 * elf/tst-tlsmod15b.c: Likewise.
42541 * elf/tst-tlsmod16a.c: Likewise.
42542 * elf/tst-tlsmod16b.c: Likewise.
42543 * elf/tst-tlsmod7.c: Likewise.
42544 * elf/tst-tlsmod8.c: Likewise.
42545 * elf/tst-tlsmod9.c: Likewise.
42546 * gmon/gmon.c: Likewise.
42547 * grp/fgetgrent_r.c: Likewise.
42548 * grp/putgrent.c: Likewise.
42549 * hurd/fopenport.c: Likewise.
42550 * include/libc-symbols.h: Likewise.
42551 * include/tls.h: Likewise.
42552 * intl/gettextP.h: Likewise.
42553 * intl/loadinfo.h: Likewise.
42554 * locale/global-locale.c: Likewise.
42555 * locale/localeinfo.h: Likewise.
42556 * mach/devstream.c: Likewise.
42557 * malloc/arena.c: Likewise.
42558 * malloc/set-freeres.c: Likewise.
42559 * misc/err.c: Likewise.
42560 * misc/getttyent.c: Likewise.
42561 * misc/mntent_r.c: Likewise.
42562 * posix/getopt.c: Likewise.
42563 * posix/wordexp.c: Likewise.
42564 * pwd/fgetpwent_r.c: Likewise.
42565 * resolv/Versions: Likewise.
42566 * resolv/res_hconf.c: Likewise.
42567 * shadow/fgetspent_r.c: Likewise.
42568 * shadow/putspent.c: Likewise.
42569 * stdio-common/printf_fphex.c: Likewise.
42570 * stdio-common/tmpfile.c: Likewise.
42571 * stdlib/abort.c: Likewise.
42572 * stdlib/fmtmsg.c: Likewise.
42573 * sunrpc/auth_unix.c: Likewise.
42574 * sunrpc/clnt_perr.c: Likewise.
42575 * sunrpc/clnt_tcp.c: Likewise.
42576 * sunrpc/clnt_udp.c: Likewise.
42577 * sunrpc/clnt_unix.c: Likewise.
42578 * sunrpc/openchild.c: Likewise.
42579 * sunrpc/svc_simple.c: Likewise.
42580 * sunrpc/svc_tcp.c: Likewise.
42581 * sunrpc/svc_udp.c: Likewise.
42582 * sunrpc/svc_unix.c: Likewise.
42583 * sunrpc/xdr.c: Likewise.
42584 * sunrpc/xdr_array.c: Likewise.
42585 * sunrpc/xdr_rec.c: Likewise.
42586 * sunrpc/xdr_ref.c: Likewise.
42587 * sunrpc/xdr_stdio.c: Likewise.
42589 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42591 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42593 2011-07-03 Andreas Jaeger <aj@suse.de>
42595 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42596 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42597 regenerate with gen-libm-tests.pl.
42599 2010-05-12 Petr Baudis <pasky@suse.cz>
42602 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42603 around j0() zero points by switching to j1().
42604 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42605 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42607 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42609 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42611 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42613 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42616 Patch in part by Pavel Roskin <proski@gnu.org>.
42619 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42621 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42622 Free memory block if necessary.
42625 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42626 be NULL. Don't lock in this case.
42628 2011-09-09 Roland McGrath <roland@hack.frob.com>
42630 * elf/elf.h (ELFOSABI_GNU): New macro.
42631 (ELFOSABI_LINUX): Define to that.
42633 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42635 * string/strncat.c (strncat): Undef the symbol in case it has been
42636 defined in bits/string.h.
42638 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42640 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42642 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42645 2011-08-17 Andreas Jaeger <aj@suse.de>
42647 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42649 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42650 Ian Lance Taylor <iant@google.com>
42652 * math/libm-test.inc (lround_test): New testcase.
42653 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42655 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42657 * Makefile: Remove support for automatic cvs check-ins.
42658 * Makerules: Likewise.
42659 * config.make.in: Likewise.
42660 * configure.in: Likewise.
42661 * intl/Makefile: Likewise.
42662 * locale/Makefile: Likewise.
42663 * po/Makefile: Likewise.
42664 * posix/Makefile: Likewise.
42665 * sysdeps/gnu/Makefile: Likewise.
42666 * sysdeps/mach/hurd/Makefile: Likewise.
42667 * sysdeps/sparc/sparc32/Makefile: Likewise.
42670 * posix/Makefile (bug-regex32-ENV): Define.
42671 Patch by John Stanley <jpsinthemix@verizon.net>.
42673 * misc/Makefile (headers): Add bits/select2.h.
42674 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42675 * misc/bits/select2.h: New file.
42676 * include/bits/select2.h: New file.
42677 * debug/Makefile (routines): Add fdelt_chk.
42678 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42679 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42681 * debug/fdelt_chk.c: New file.
42683 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42684 * wcsmbs/test-wmemcmp.c: Likewise.
42685 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42686 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42688 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42690 * string/Makefile (strop-tests): Add memcmp.
42691 * string/test-wmemcmp.c: New file.
42692 * string/test-memcmp.c: Add wmemcmp support.
42694 2011-09-08 Roland McGrath <roland@hack.frob.com>
42697 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42700 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42701 garbage value in a __mach_port_mod_refs call in the cases of the
42702 task-self and thread-self ports.
42704 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42706 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42708 2011-09-08 Andreas Schwab <schwab@redhat.com>
42710 * elf/dl-load.c (lose): Check for non-null L.
42712 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42714 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42716 * elf/dl-libc.c (dlerror_run): Pass back error code from
42720 * elf/dl-load.c (lose): Free l_origin if it is valid.
42722 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42724 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42725 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42726 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42727 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42728 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42729 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42731 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42733 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42734 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42735 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42736 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42737 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42738 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42739 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42740 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42741 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42742 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42744 2011-08-15 Alan Modra <amodra@gmail.com>
42747 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42748 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42749 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42750 ppc_mcount to static-only-routines.
42751 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42753 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42754 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42756 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42758 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42759 for finite and infinity parameters.
42761 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42764 and add nop instructions for throughput optimization.
42765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42767 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42770 aligned copy for power7 with vector-scalar instructions.
42771 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42773 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42778 2011-09-07 Andreas Schwab <schwab@redhat.com>
42781 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42784 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42786 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42787 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42788 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42789 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42792 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42794 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42795 Forgot to demangle the pointer.
42797 * sysdeps/i386/sysdep.h: Define atom_text_section.
42798 * sysdeps/x86_64/sysdep.h: Likewise.
42799 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42800 section with atom_text_section.
42801 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42802 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42803 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42805 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42807 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42808 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42809 already be defined. Change to take two parameters and don't assign
42810 result to variable. Adjust all users.
42811 Define INTERNAL_GETTIME if not already defined.
42812 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42815 HAVE_CLOCK_GETTIME_VSYSCALL.
42816 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42819 gettimeofday vsyscall, just use time.
42821 2011-09-06 Andreas Schwab <schwab@redhat.com>
42823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42826 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42828 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42832 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42834 syscall if possible.
42836 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42838 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42839 e_ident. Don't pass to find_mapsXX.
42840 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42842 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42845 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42846 * sysdeps/x86_64/multiarch/strchr.S: Update.
42847 Check bit_slow_BSF bit.
42848 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42849 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42850 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42852 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42855 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42857 (tryshell): Define.
42858 (__spawni): Change last parameter to be flag. Test
42859 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42860 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42861 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42862 * posix/spawni.c: Likewise.
42863 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42864 * posix/spawnp.c: Likewise. Change normal version to use
42865 SPAWN_XFLAGS_USE_PATH.
42866 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42867 SPAWN_XFLAGS_TRY_SHELL.
42870 * posix/glob.h: Remove gcc 1.x support.
42873 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42875 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42878 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42880 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42881 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42882 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42883 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42884 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42885 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42887 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42889 * sysdeps/x86_64/wcscmp.S: New file.
42891 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42892 wcscmp-c wcscmp-sse2
42893 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42894 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42895 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42896 * wcsmbs/wcscmp.c: Allow renaming.
42898 2011-09-05 David S. Miller <davem@davemloft.net>
42900 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42901 stack slot, rather than the struct return pointer slot.
42902 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42903 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42905 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42907 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42909 * po/ja.po: Update from translation team.
42912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42913 kernel in 64-bit binaries.
42915 2011-09-01 David S. Miller <davem@davemloft.net>
42917 * elf/elf.h (HWCAP_SPARC_*): Move to..
42918 * sysdeps/sparc/sysdep.h: this new file and add new values.
42919 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42920 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42921 _DL_HWCAP_COUNT to 24.
42922 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42924 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42925 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42926 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42928 instead of magic constants.
42929 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42931 2011-08-31 David S. Miller <davem@davemloft.net>
42933 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42935 Reimplement to do errno handling inline.
42936 (SYSCALL_ERROR_HANDLER): New macro.
42937 (__SYSCALL_STRING): Do not do errno handling in asm.
42938 (__CLONE_SYSCALL_STRING): Delete.
42939 (__INTERNAL_SYSCALL_STRING): Delete.
42940 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42941 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42942 (PSEUDO): Reimplement to do errno handling inline.
42943 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42944 (SYSCALL_ERROR_HANDLER): New macro.
42945 (__SYSCALL_STRING): Do not do errno handling in asm.
42946 (__CLONE_SYSCALL_STRING): Delete.
42947 (__INTERNAL_SYSCALL_STRING): Delete.
42948 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42949 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42951 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42952 (inline_syscall*): Add 'err' argument.
42953 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42954 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42955 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42956 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42958 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42959 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42961 2011-08-30 Andreas Schwab <schwab@redhat.com>
42963 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42965 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42967 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42970 2011-08-24 David S. Miller <davem@davemloft.net>
42972 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42974 2011-08-24 Andreas Schwab <schwab@redhat.com>
42976 * elf/Makefile: Add rules to build and run unload8 test.
42977 * elf/unload8.c: New file.
42978 * elf/unload8mod1.c: New file.
42979 * elf/unload8mod1x.c: New file.
42980 * elf/unload8mod2.c: New file.
42981 * elf/unload8mod3.c: New file.
42983 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42986 2011-08-23 David S. Miller <davem@davemloft.net>
42988 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42989 subtract stack bias.
42990 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42991 %sp not %fp in calculations.
42992 (_JMPBUF_UNWINDS_ADJ): Likewise.
42994 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42995 (aio_suspend): Call it to force an exception region around the
42996 AIO_MISC_WAIT() invocation.
42998 2011-08-23 Andreas Schwab <schwab@redhat.com>
43000 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43003 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43005 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43007 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43008 and <dl-machine.h>.
43009 (Elf64_FuncDesc): Remove.
43011 2011-08-22 David S. Miller <davem@davemloft.net>
43013 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43014 sigaltstack check, add missing cfi directives.
43015 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43016 missing cfi directives, and sigaltstack handling.
43018 2011-08-16 Andreas Schwab <schwab@redhat.com>
43021 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43022 object is seen twice.
43023 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43025 * elf/Makefile (distribute): Add tst-initorder2.c.
43026 (tests): Add tst-initorder2.
43027 (modules-names): Add tst-initorder2a tst-initorder2b
43028 tst-initorder2c tst-initorder2d. Add rules to build them.
43029 ($(objpfx)tst-initorder2.out): New rule.
43030 * elf/tst-initorder2.c: New file.
43031 * elf/tst-initorder2.exp: New file.
43033 2011-08-22 Andreas Schwab <schwab@redhat.com>
43035 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43037 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43038 dependencies back to end of function.
43040 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43041 $(elfobjdir)/ld.so.
43043 2011-08-21 Ulrich Drepper <drepper@gmail.com>
43045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43046 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43048 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43049 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43050 of __vdso_gettimeofday.
43051 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43052 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43054 (_libc_vdso_platform_setup): Remove initialization of
43055 __vdso_gettimeofday and __vdso_time.
43057 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43059 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43060 and fgetc_unlocked.
43061 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43064 * elf/dl-open.c (add_to_global): Report additions to the global scope
43065 for LD_DEBUG=scopes.
43066 (dl_open_worker): Also print scope of newly loaded dependencies.
43067 (_dl_show_scope): Indicate if there is no scope.
43070 * stdio-common/Makefile (tests): Add bug24.
43071 * stdio-common/bug24.c: New file.
43073 2011-08-19 Andreas Jaeger <aj@suse.de>
43076 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43077 non-existant file when using close-on-exec mode.
43079 2011-08-20 Ulrich Drepper <drepper@gmail.com>
43081 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43082 the very first instruction.
43084 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43085 the CFI state in the end.
43086 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43087 inclusion of dl-trampoline.h.
43088 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43090 2011-08-19 Andreas Schwab <schwab@redhat.com>
43092 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43093 expectations for long double.
43095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43096 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43098 2011-08-14 David S. Miller <davem@davemloft.net>
43100 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43101 artificual limit depends upon the system page size.
43103 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43105 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43106 * resolv/Makefile: Define CFLAGS-libresolv.
43108 2011-08-17 Andreas Schwab <schwab@redhat.com>
43110 * nss/makedb.c (compute_tables): Make variables used in nested
43113 2011-08-17 Ulrich Drepper <drepper@gmail.com>
43115 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43116 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43117 if buffer was too small.
43119 * elf/pldd.c (main): Attach to all threads in the process.
43120 Rewrite /proc handling to use *at functions.
43122 2011-08-16 Ulrich Drepper <drepper@gmail.com>
43124 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43125 specifies first scope to show.
43126 (dl_open_worker): Update callers. Move printing scope of new
43127 object to before the relocation.
43128 * elf/rtld.c (dl_main): Update _dl_show_scope call.
43129 * sysdeps/generic/ldsodefs.h: Update declaration.
43131 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43132 string for the scope number.
43134 2011-08-14 Ulrich Drepper <drepper@gmail.com>
43136 * nscd/servicescache.c (cache_addserv): Make sure written is always
43139 2011-08-14 Roland McGrath <roland@hack.frob.com>
43141 * sysdeps/i386/i486/bits/atomic.h
43142 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43143 statement expression, so as to suppress "set but not used" warning.
43144 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43146 * string/strncat.c (STRNCAT): Use prototype definition.
43148 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43149 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43151 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43152 (localedef-modules): Add localedef.
43153 (locale-modules): Add locale.
43155 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43156 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43157 to avoid a warning.
43159 2011-08-14 David S. Miller <davem@davemloft.net>
43161 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43162 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43164 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43166 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43167 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43168 * elf/rtld.c (dl_main): Set l_name of vDSO.
43169 Call _dl_show_scope when DL_DEBUG_SCOPES.
43170 (process_dl_debug): Recognize scopes flag and also set it for all.
43171 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43172 Declare _dl_show_scope.
43174 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43175 (do_dlopen): Pass caller_dlopen to dl_open.
43176 (__libc_dlopen_mode): Initialize caller_dlopen.
43178 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43179 of libc. Make tolower call locale-independent. Optimize a bit by
43180 using isdigit instead of isalnum.
43181 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43183 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43185 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43186 was a dependency or dynamically loaded.
43188 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43190 * intl/l10nflist.c: Allow architecture-specific pop function.
43191 * sysdeps/x86_64/l10nflist.c: New file.
43193 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43196 2011-08-10 Andreas Schwab <schwab@redhat.com>
43198 * include/dirent.h: Add libc_hidden_proto for scandirat and
43199 scandirat64. Don't declare __scandirat64.
43200 * dirent/scandirat.c: Add libc_hidden_def.
43201 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43202 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43204 2011-08-10 David S. Miller <davem@davemloft.net>
43206 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43212 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43214 * Versions.def [libc]: Add GLIBC_2.15.
43215 * dirent/Makefile (routines): Add scandirat and scandirat64.
43216 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43218 * dirent/dirent.h: Declare scandirat and scandirat64.
43219 * dirent/scandirat.c: New file.
43220 * dirent/scandirat64.c: New file.
43221 * sysdeps/wordsize-64/scandirat.c: New file.
43222 * sysdeps/wordsize-64/scandirat64.c: New file.
43223 * dirent/opendir.c: Define opendirat.
43224 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43226 * dirent/scandir64.c: Adjust for scandir.c change.
43227 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43228 __scandirat64, and __scandir_cancel_handler.
43229 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43230 additional parameter and use openat instead of open (outside of ld.so).
43231 Add new __opendir as wrapper around __opendirat.
43232 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43233 here without requiring old scandirat implementation.
43235 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43237 * dirent/scandir.c (cancel_handler): Renamed to
43238 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43239 defined. Adjust users.
43240 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43241 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43243 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43245 * string/test-string.h (IMPL): Use __STRING to expand name and then
43248 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43251 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43253 * string/Makefile: Update.
43254 (strop-tests): Append strncat.
43255 * string/test-wcscmp.c: New file.
43256 New comprehensive test for wcscmp.
43257 * string/test-strcmp.c: Update.
43258 (WIDE): New define.
43260 2011-07-22 Andreas Schwab <schwab@redhat.com>
43262 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43265 2011-07-26 Andreas Schwab <schwab@redhat.com>
43267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43268 encoding to ACE if AI_IDN.
43270 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43273 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43275 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43277 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43278 Fix overflow bug in strncat.
43279 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43281 * string/test-strncat.c: Update.
43282 Add new tests for checking overflow bugs.
43284 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43287 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43288 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43289 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43290 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43291 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43292 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43293 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43294 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43296 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43297 (USE_AS_STRCAT): Define.
43298 Add strcat and strncat support.
43299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43301 2011-07-25 Andreas Schwab <schwab@redhat.com>
43303 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43304 __n bigger than INT_MAX+1.
43305 (__strncmp_g): Likewise.
43307 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43309 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43310 * libio/stido.h: Likewise.
43312 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43317 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43319 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43320 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43324 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43329 (_dl_x86_64_save_sse): Likewise.
43331 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43335 (_dl_x86_64_save_sse): Likewise.
43337 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43339 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43341 2011-07-21 Andreas Schwab <schwab@redhat.com>
43343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43345 (_dl_x86_64_save_sse): Use correct AVX check.
43347 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43349 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43350 bug in strncpy/strncat.
43351 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43353 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43355 * string/tester.c (test_strcat): Add tests for different alignments
43356 of source and destination.
43357 (test_strncat): Likewise.
43359 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43362 * posix/glob.c (glob): Check passed in values before using them in
43363 expressions to avoid some overflows.
43364 (glob_in_dir): Likewise.
43367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43368 check for AVX enablement so that we don't crash with old kernels and
43370 * elf/tst-audit4.c: Add same checks here.
43371 * elf/tst-audit6.c: Likewise.
43373 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43375 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43377 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43379 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43381 * po/cs.po: Update from translation team.
43382 * po/bg.po: Likewise.
43384 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43386 * misc/sys/cdefs.h: Add support for const attribute.
43387 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43388 to gnu_dev_{major,minor,makedev} functions.
43390 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43392 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43394 2011-07-20 Andreas Schwab <schwab@redhat.com>
43396 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43399 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43402 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43403 register in order to avoid conflicts with the soft frame pointer
43404 being held in r11 when necessary.
43405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43406 (INTERNAL_VSYSCALL_NCS): Likewise.
43408 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43410 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43411 * elf/dl-fini.c (_dl_fini): Adjust caller.
43412 * elf/dl-close.c (_dl_close_worker): Likewise.
43413 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43415 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43417 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43418 "aux_cache->nlibs < 0".
43420 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43421 in the reload-count case.
43423 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43426 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43427 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43428 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43429 * sysdeps/x86_64/multiarch/strcat.S: New file.
43430 * sysdeps/x86_64/multiarch/strncat.S: New file.
43431 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43432 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43433 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43434 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43435 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43436 (USE_AS_STRCAT): Define.
43437 Add strcat and strncat support.
43438 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43440 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43441 * string/strncat.c: Update.
43442 (USE_AS_STRNCAT): Define.
43443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43444 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43446 * sysdeps/x86_64/multiarch/init-arch.h
43447 (bit_Prefer_PMINUB_for_stringop): New.
43448 (index_Prefer_PMINUB_for_stringop): Likewise.
43449 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43450 bit_Prefer_PMINUB_for_stringop.
43452 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43454 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43456 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43457 of casting of buffer.
43458 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43459 buffer32 and buffer64.
43460 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43461 writes instead of casting of buffer.
43462 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43464 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43467 2011-07-19 Andreas Schwab <schwab@redhat.com>
43469 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43471 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43473 * nscd/nscd.c (termination_handler): Don't do anything for a database
43474 if it has not yet been initialized.
43476 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43478 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43480 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43482 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43484 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43486 * po/nl.po: Update from translation team.
43487 * po/sv.po: Likewise.
43489 2011-07-16 Roland McGrath <roland@hack.frob.com>
43491 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43492 now disallowed by GCC.
43494 * configure.in (use-default-link): Default to yes if a test -shared
43495 link meets our qualifications.
43496 * configure: Regenerated.
43498 * config.make.in (output-format): New variable.
43499 * configure.in: Check for ld --print-output-format support.
43500 * configure: Regenerated.
43501 * Makerules ($(common-objpfx)format.lds)
43502 [$(output-format) != unknown]: Just use $(output-format),
43503 instead of the linker-script munging.
43505 2011-07-14 Roland McGrath <roland@hack.frob.com>
43507 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43508 of $(common-objpfx)shlib.lds.
43509 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43511 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43512 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43514 * configure.in (-z relro check): Adjust test code to add a large
43515 writable data section after it.
43516 * configure: Regenerated.
43518 2011-07-11 Roland McGrath <roland@hack.frob.com>
43520 * configure.in (-z relro check): Fix test code to make the variable
43522 * configure: Regenerated.
43524 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43526 * nscd/nscd.h (struct traced_file): Define.
43527 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43528 elements. Add traced_files.
43529 (inotify_fd): Declare.
43530 (register_traced_file): Declare.
43531 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43532 (inotify_fd): Export.
43533 (resolv_conf_descr): Remove.
43534 (nscd_init): Move inotify descriptor creation to main.
43535 Don't register files for notification here.
43536 (register_traced_file): New function.
43537 (invalidate_cache): Don't use reset_res to determine whether to call
43538 res_init, go through the list of registered files.
43539 (main_loop_poll): The inotify descriptors are now stored in the
43540 structures for the traced files.
43541 (main_loop_epoll): Likewise
43542 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43543 to __nss_disable_nscd.
43544 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43545 for a database anymore. Check the records for all the registered
43547 * nss/Makefile (libnss_files-routines): Add files-init.
43548 (libnss_db-routines): Add db-init.
43549 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43550 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43551 * nss/nss_db/db-init.c: New file.
43552 * nss/nss_files/files-init.c: New file.
43553 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43554 __nss_lookup_function.
43555 (__nss_lookup_function): Call nss_load_library.
43556 (nss_load_all_libraries): New function.
43557 (__nss_disable_nscd): Take parameter with callback function for files
43558 to register. Set is_nscd. Load all the DSOs for the NSS modules
43559 used for the cached services.
43560 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43561 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43562 options for features to all the files in nscd.
43564 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43566 2011-07-10 Roland McGrath <roland@hack.frob.com>
43568 * csu/elf-init.c (__libc_csu_init): Comment typo.
43570 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43572 * po/pl.po: Update from translation team.
43573 * po/ja.po: Likewise.
43574 * po/ru.po: Likewise.
43575 * po/ko.po: Likewise.
43576 * po/fr.po: Likewise.
43578 2011-07-09 Roland McGrath <roland@hack.frob.com>
43580 * configure.in (.ctors/.dtors header and trailer check):
43581 Use an empirical test on a built program.
43582 * configure: Regenerated.
43584 * configure.in (-z relro check): Use an empirical test on a built DSO.
43585 Detect, but do not require, on ia64.
43586 * configure: Regenerated.
43588 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43589 Update tests that use readelf to use $READELF instead.
43590 * configure: Regenerated.
43592 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43594 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43595 if the result is not used.
43597 2011-07-05 Andreas Jaeger <aj@suse.de>
43600 * stdlib/tst-strtod.c: Add testcase.
43602 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43604 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43605 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43606 The latter has a higher limit. Take additional parameter to pass to
43608 (__pathconf): Pass file to __statfs_link_max.
43609 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43611 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43615 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43616 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43618 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43619 (__statfs_filesize_max): Likewise.
43620 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43622 2011-07-05 Andreas Jaeger <aj@suse.de>
43624 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43626 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43628 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43630 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43633 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43635 * Makefile (strop-tests): Add strncat.
43636 * string/test-strncat.c: New file.
43638 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43640 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43642 2011-06-21 Andreas Jaeger <aj@suse.de>
43644 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43645 Copy rule from iconvdata/Makefile.
43647 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43650 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43651 but no long options are defined, just return 'W'.
43653 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43656 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43658 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43660 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43662 (innetgr): Likewise.
43664 2011-07-05 Roland McGrath <roland@hack.frob.com>
43666 * config.make.in (install_root): Default to $(DESTDIR).
43668 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43672 2011-07-02 Roland McGrath <roland@hack.frob.com>
43674 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43676 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43677 containing directory rather than embedding absolute directory names.
43679 * scripts/check-local-headers.sh: Rewritten using awk.
43680 Match by word, not by line. Print error messages for matches.
43681 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43683 * Makerules [shlib-lds-flags empty]:
43684 ($(common-objpfx)libc_pic.opts): New target.
43685 ($(common-objpfx)libc_pic.os.clean): New target.
43686 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43688 * config.make.in (OBJCOPY): New variable.
43689 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43690 * configure: Regenerated.
43692 * config.make.in (use-default-link): New variable.
43693 * configure.in (use_default_link): Grok --with-default-link to set it.
43694 * configure: Regenerated.
43695 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43696 (shlib-lds, shlib-lds-flags): Define to empty.
43698 * Makerules (shlib-lds): New variable.
43699 (shlib-lds-flags): New variable.
43700 (build-shlib, build-moduile, build-module-asneeded): Use it.
43701 ($(common-objpfx)libc.so): Use $(shlib-lds).
43702 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43703 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43705 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43706 DT_FLAGS/DT_FLAGS_1 with zero flags.
43708 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43709 linker script munging.
43711 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43713 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43715 * crypt/sha512.c (sha512_process_block): Perform total addition using
43716 128-bit if possible.
43717 (__sha512_finish_ctx): Likewise.
43718 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43720 * crypt/sha256.c (SWAP64): Define.
43721 (sha256_process_block): Perform total addition using 64-bit if
43723 (__sha256_finish_ctx): Likewise.
43725 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43727 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43728 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43729 * nscd/hstcache.c (cache_addhst): Likewise.
43730 * nscd/grpcache.c (cache_addgr): Likewise.
43731 * nscd/aicache.c (addhstaiX): Likewise
43732 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43734 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43736 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43738 * nscd/hstcache.c (cache_addhst): Likewise.
43739 * nscd/grpcache.c (cache_addgr): Likewise.
43740 * nscd/aicache.c (addhstaiX): Likewise
43742 2011-07-01 Andreas Schwab <schwab@redhat.com>
43744 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43745 domain only when needed.
43747 2011-06-30 Andreas Schwab <schwab@redhat.com>
43749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43750 is always restored.
43752 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43754 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43755 are re-adding the entry.
43756 * nscd/servicescache.c (cache_addserv): Likewise.
43758 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43760 * sysdeps/generic/dl-irel.h: fix protection against multiple
43762 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43764 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43767 * malloc/memusage.sh: Fix quoting in message.
43768 * debug/xtrace.sh: Likewise.
43770 * configure.in: Remove support for --experimental-malloc option, make
43772 * config.make.in: Likewise.
43773 * malloc/Makefile: Likewise.
43775 2011-06-27 Andreas Schwab <schwab@redhat.com>
43777 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43778 two-byte characters.
43780 2011-06-27 Roland McGrath <roland@hack.frob.com>
43782 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43783 AC_CACHE_CHECK invocation.
43784 * configure: Regenerated.
43786 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43788 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43791 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43792 bit from old_res_options.
43794 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43796 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43797 value type for setfct.
43799 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43801 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43802 __gettimeofday instead of gettimeofday.
43804 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43806 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43808 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43810 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43812 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43815 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43818 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43819 strcpy-sse2-unaligned strncpy-sse2-unaligned
43820 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43821 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43822 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43823 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43824 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43825 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43826 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43827 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43828 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43829 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43830 (STRCPY): Support SSE2 and SSSE3 versions.
43832 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43835 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43836 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43837 kernels which artificially limit size of requests.
43839 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43842 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43843 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43844 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43845 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43846 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43847 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43848 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43849 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43851 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43852 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43853 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43854 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43855 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43857 Enable unaligned load optimization for Intel Core i3, i5 and i7
43859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43861 (index_Fast_Unaligned_Load): Define.
43862 (HAS_FAST_UNALIGNED_LOAD): Define.
43864 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43866 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43868 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43872 until it is clear that the information is realy needed.
43873 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43875 2011-06-22 Andreas Schwab <schwab@redhat.com>
43877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43879 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43881 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43882 /sys/devices/system/cpu/online if it is usable.
43884 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43885 reading the information from the /proc filesystem to once a second.
43887 2011-06-21 Andreas Jaeger <aj@suse.de>
43889 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43890 NULL after inclusion of kernel headers.
43892 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43894 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43895 calls to internal_setent.
43898 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43899 addresses using gethostbyname4_r ignore IPv4 addresses.
43901 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43902 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43904 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43906 2011-06-20 David S. Miller <davem@davemloft.net>
43908 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43910 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43912 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43913 (elf_irel): Use it.
43914 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43915 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43916 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43917 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43918 * sysdeps/x86_64/dl-irel.h: Likewise.
43920 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43921 * elf/dl-sym.c: Likewise.
43923 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43925 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43926 need to dereference resplen2.
43928 2011-06-14 Andreas Schwab <schwab@redhat.com>
43930 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43932 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43934 * Makeconfig: Define vardbdir and inst_vardbdir.
43935 * nss/Makefile: Add rules to install db-Makefile.
43937 * nss/nss_db/db-XXX.c: Cleanup.
43939 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43940 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43942 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43943 * nss/makedb.c: Implement -g option to specify that value strings
43944 are generated and should not be added to table iterated over for
43946 * nss/nss_db/db-initgroups.c: New file.
43948 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43951 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43952 (internal_getgrouplist): Adjust to name change.
43953 Update use_initgroups_entry if this is not the first call.
43954 * nss/databases.def: Add initgroups entry.
43956 * nss/makedb.c (compute_tables): Check result of multiple hash table
43957 sizes to minimize maximum chain length.
43959 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43961 * Versions.def: Add entry for libnss_db.
43962 * shlib-versions: Likewise.
43963 * nss/Makefile: Add rules to build libnss_db.
43964 * nss/Versions: Add libnss_db information. Organize libnss_files
43966 * nss/db-Makefile: Add gshadow support. Change rules for the new
43967 makedb progra. Some minor improvements to generate smaller files.
43968 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43970 * nss/makedb.c: ...here.
43971 Improve database format to be smaller and require less memory at
43973 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43975 * nss/nss_db/db-netgrp.c: Likewise.
43976 * nss/nss_db/db-open.c: Likewise.
43977 * nss/nss_files/flies-XXX.x: Adjust comments.
43978 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43979 * nss/nss_files/files-grp.c: Likewise.
43980 * nss/nss_files/files-hosts.c: Likewise.
43981 * nss/nss_files/files-network.c: Likewise.
43982 * nss/nss_files/files-proto.c: Likewise.
43983 * nss/nss_files/files-pwd.c: Likewise.
43984 * nss/nss_files/files-rpc.c: Likewise.
43985 * nss/nss_files/files-service.c: Likewise.
43986 * nss/nss_files/files-sgrp.c: Likewise.
43987 * nss/nss_files/files-spwd.c: Likewise.
43988 * nss/nss_db/db-alias.c: Removed.
43989 * nss/nss_db/dummy-db.h: Removed.
43991 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43993 * nss/makedb.c: Rewritten to not use database library.
43994 * nss/Makefile: Update to build new makedb program.
43996 2011-06-14 Andreas Jaeger <aj@suse.de>
43998 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43999 memset declaration.
44001 2011-06-10 Andreas Schwab <schwab@redhat.com>
44003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44006 2011-06-10 Roland McGrath <roland@hack.frob.com>
44008 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44009 * elf/Makefile ($(objpfx)ld.so): Likewise.
44011 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44012 Don't list ld.so twice in dependencies.
44014 * posix/bug-regex31.c: Include <stdlib.h>.
44016 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44018 * nis/nss_compat/compat-spwd.c
44019 (getspent_next_nss_netgr): Remove unused variable.
44020 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44022 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44023 nonmembers" output to use the right array.
44025 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44027 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44029 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44030 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44031 * catgets/gencat.c (read_input_file): Likewise.
44032 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44034 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44035 variable definition inside #if's controlling its use.
44037 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44039 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44041 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44043 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44046 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44048 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44049 * configure: Regenerated.
44051 * Makerules: Revert last change.
44052 * elf/Makefile: Likewise.
44054 2011-06-09 Roland McGrath <roland@hack.frob.com>
44056 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44057 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44058 (reloc-link): Likewise.
44060 2011-06-09 Ulrich Drepper <drepper@gmail.com>
44062 * elf/Makefile: Add rules to build pldd.
44063 * elf/pldd.c: New file.
44064 * elf/pldd-xx.c: New file.
44066 2011-06-07 Ulrich Drepper <drepper@gmail.com>
44068 * version.h: Update for 2.15 development version.
44070 2011-06-07 David S. Miller <davem@davemloft.net>
44072 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44075 elf_machine_lazy_rel): Likewise.
44076 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44078 elf_machine_lazy_rel): Likewise.
44079 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44080 dl_hwcap via passed in argument.
44081 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44084 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44086 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44088 2011-06-06 Roland McGrath <roland@hack.frob.com>
44091 * manual/fdl-1.1.texi: New file, verbatim from:
44092 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44093 * manual/lgpl-2.1.texi: New file, verbatim from:
44094 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44095 * manual/Makefile (licenses): New variable, list those new file names.
44097 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44099 * manual/fdl.texi: File removed.
44100 * manual/lesser.texi: File removed.
44101 * manual/libc.texinfo (Copying, Documentation License):
44102 Use new @include file names, put @appendix directive before @include.
44104 2011-06-04 Jakub Jelinek <jakub@redhat.com>
44107 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44108 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44109 (mq_open): Add __NTH.
44111 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44114 Assume Intel Core i3/i5/i7 processor if AVX is available.
44116 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44121 2011-05-31 Andreas Schwab <schwab@redhat.com>
44123 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44124 memory. Use alloca_account. Fix memory leak when retrying.
44126 2011-05-31 Ulrich Drepper <drepper@gmail.com>
44128 * version.h (RELEASE): Bump for 2.14 release.
44129 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44131 * config.make.in (RANLIB): Remove entry.
44133 2011-05-30 Ulrich Drepper <drepper@gmail.com>
44135 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44136 (libc.pot): Work around missing support for .ksh extension in xgettext.
44139 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44140 if both request failed.
44141 (send_dg): In case of server errors clear resplen or *resplen2.
44144 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44145 when there are multiple maps.
44146 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44147 (_dl_fini): Remove test here.
44149 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44151 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44154 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44155 bit from old_res_options.
44156 (gaih_inet): Likewise.
44159 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44162 * resolv/res_init.c (res_setoptions): Make the code more compact.
44165 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44169 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44171 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44174 * malloc/malloc.h: Declare malloc hook variables as volatile.
44176 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44180 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44181 raise in the comment.
44182 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44184 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44186 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44189 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44190 grow the buffers more if it already has to be sufficient.
44191 (build_wcs_upper_buffer): Likewise.
44192 * posix/regexec.c (check_matching): Likewise.
44193 (clean_state_log_if_needed): Likewise.
44194 (extend_buffers): Don't enlarge buffers beyond size of the input
44196 Patches mostly by Emil Wojak <emil@wojak.eu>.
44197 * posix/bug-regex32.c: New file.
44198 * posix/Makefile (tests): Add bug-regex32.
44200 * locale/findlocale.c (_nl_find_locale): Return right away if
44201 _nl_explode_name failed.
44202 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44204 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44206 * debug/xtrace.sh: Unify messages.
44207 * malloc/memusage.sh: Likewise.
44210 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44211 time symbol from vDSO. Substitute with vsyscall if not available.
44212 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44215 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44216 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44217 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44218 Add sendmmsg and internal_sendmmsg.
44219 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44220 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44221 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44223 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44224 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44225 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44227 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44230 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44231 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44237 * iconvdata/Makefile (tests): Add bug-iconv9.
44238 * iconvdata/bug-iconv9.c: New file.
44240 2011-05-27 Andreas Schwab <schwab@redhat.com>
44243 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44245 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44247 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44248 (struct user_regs_struct): Change intcs field back to cs.
44250 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44252 * po/ja.po: Update from translation team.
44254 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44257 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44258 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44260 2011-05-20 Andreas Schwab <schwab@redhat.com>
44262 * stdlib/longlong.h: Update from GCC.
44264 2011-05-23 Andreas Schwab <schwab@redhat.com>
44266 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44268 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44269 Add parameter name.
44270 (__sysconf): Pass it down.
44272 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44275 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44277 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44278 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44279 add in in __libc_use_alloca calls. Adjust callers.
44280 (glob): Use malloc in some situations.
44282 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44283 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44286 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44288 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44289 and CLOCK_BOOTTIME_ALARM.
44292 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44295 * string/_strerror.c (__strerror_r): Print negative errors as signed
44299 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44300 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44301 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44303 * configure.in: Fix typo in redirection and correct removal of test
44304 files in two cases.
44307 * locale/setlocale.c (new_composite_name): Fix test to check for
44308 identical name of all categories.
44311 * libio/filedoalloc.c (local_isatty): New function.
44312 (_IO_file_doallocate): Use local_isatty.
44313 * stdio-common/perror.c (perror): In case a new stream is used
44314 forward the stream error.
44315 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44318 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44323 * include/alloca.h (extend_alloca_account): Define.
44326 * posix/regex.h: Fix comments with documentation of user-accessible
44327 fields after compilation and describe correct free'ing of pattern
44328 after re_compile_pattern.
44329 Patch by Reuben Thomas <rrt@sc3d.org>.
44331 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44333 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44334 and -mno-altivec to prevent the compiler from using Altivec and/or
44335 VSX instructions when the corresponding registers are not available.
44337 2011-05-19 Andreas Schwab <schwab@redhat.com>
44339 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44341 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44343 * libio/freopen.c (freopen): Use __dup2, not dup2.
44344 * libio/freopen64.c (freopen64): Likewise.
44346 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44349 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44350 * math/Makefile (tests): Add test-powl.
44351 (CFLAGS-test-powl.c): Define.
44352 * math/test-powl.c: New file.
44354 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44356 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44358 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44361 * iconvdata/gb18030.c: Update to GB18020-2005.
44363 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44365 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44366 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44367 Patch by Aharon Robbins <arnold@skeeve.com>.
44370 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44374 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44375 through underflows.
44378 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44379 point to strings before performing equality test for error_one_per_line
44383 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44387 (struct user_fpregs_struct): Avoid __uint*_t types.
44390 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44391 symbol info. Use it instead of calling _dl_addr locally.
44392 (lock_and_info): New function.
44393 (tr_freehook): Call lock_and_info and pass symbol info as additional
44394 parameter to tr_where.
44395 (tr_mallochook): Likewise.
44396 (tr_reallochook): Likewise.
44397 (tr_memalignhook): Likewise.
44399 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44400 used and couldn't be at all thread-safe.
44402 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44404 * libio/freopen.c (freopen): Don't close old file descriptor
44405 before the new one is opened. Instead dup the new file descriptor
44406 to the old one after the new stream is created.
44407 * libio/freopen64.c (freopen64): Likewise.
44408 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44409 * libio/fileops.c (_IO_new_file_close_it): Handle new
44410 _IO_FLAGS2_NOCLOSE flag.
44411 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44412 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44413 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44414 _IO_FLAGS2_NOCLOSE flag.
44415 * include/unistd.h: Add hidden_proto for dup3.
44416 Define __have_dup3.
44417 * io/dup3.c: Define hidden symbol.
44418 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44421 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44422 when an incomplete long option is used.
44423 * posix/tst-getopt_long1.c: New file.
44424 * posix/Makefile (tests): Add tst-getopt_long1.
44427 * scripts/config.guess: Update from autoconf-2.68.
44428 * scripts/config.sub: Likewise.
44431 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44433 (has_cpuclock): ...this. New function.
44434 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44435 macro here based on has_cpuclock code.
44438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44439 First byte (not low byte) is now always NUL.
44440 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44443 Use non-cancelable interfaces.
44446 * locale/iso-639.def: Add entry for Sorani.
44449 * include/stdlib.h: Move include protection to the right place.
44450 Define abort_msg_s. Declare __abort_msg with it.
44451 * stdlib/abort.c (__abort_msg): Adjust type.
44452 * assert/assert.c (__assert_fail_base): New function. Majority
44453 of code from __assert_fail. Allocate memory for __abort_msg with
44455 (__assert_fail): Now call __assert_fail_base.
44456 * assert/assert-perr.c: Remove bulk of implementation. Use
44457 __assert_fail_base.
44458 * include/assert.hL Declare __assert_fail_base.
44459 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44461 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44463 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44467 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44468 until all modules are registered in the DTV.
44469 * elf/Makefile: Add rules to build and run tst-tls19.
44470 * elf/tst-tls19.c: New file.
44471 * elf/tst-tls19mod1.c: New file.
44472 * elf/tst-tls19mod2.c: New file.
44473 * elf/tst-tls19mod3.c: New file.
44474 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44477 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44481 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44482 two-byte sequence errors.
44483 * iconvdata/Makefile (tests): Add bug-iconv8.
44484 * iconvdata/bug-iconv8.c: New file.
44487 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44490 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44493 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44494 (dummy_getcfa): New function.
44495 (init): Get _Unwind_GetCFA address, use dummy if not found.
44496 (backtrace_helper): In recursion check, also check whether CFA changes.
44497 (__backtrace): Completely initialize arg.
44499 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44500 storing incomplete byte sequence in state object. Avoid testing for
44501 guaranteed too small input if we know there is enough data available.
44503 2011-05-11 Andreas Schwab <schwab@redhat.com>
44505 * Makeconfig (+link-pie): Indent.
44506 * Rules (binaries-pie): Define if $(have-fpie) and
44508 (binaries-shared): Also filter out $(binaries-pie).
44509 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44510 * nscd/Makefile (others-pie): Add nscd.
44511 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44512 ($(objpfx)nscd): Remove command override.
44513 * login/Makefile (others-pie): Add pt_chown.
44514 ($(objpfx)pt_chown): Remove command override.
44515 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44516 remove command overrides.
44518 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44520 * libio/tst_putwc.c: Fix error messages.
44523 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44524 currently writing and seek to current position when not.
44525 * libio/Makefile (tests): Add bug-fclose1.
44526 * libio/bug-fclose1.c: New file.
44528 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44531 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44532 don't set DF_1_NODELETE here.
44533 (do_lookup_x): When entering new entry test for copy relocation
44534 and if necessary set DF_1_NODELETE flag.
44535 * elf/tst-unique4.cc: New file.
44536 * elf/tst-unique4.h: New file.
44537 * elf/tst-unique4lib.cc: New file.
44538 * elf/Makefile: Add rules to build and run tst-unique4.
44539 Patch by Piotr Bury <pbury@goahead.com>.
44541 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44544 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44547 * misc/mntent_r.c (addmntent): Flush the stream after the output
44550 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44551 (is_trusted_path_normalize): Skip initial colon. Append slash
44552 to empty buffer. Duplicate is_trusted_path code but allow
44553 constructed patch to be prefix.
44554 (is_dst): Allow $ORIGIN followed by /.
44555 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44556 Correct testing of result of is_trusted_path_normalize
44557 (decompose_rpath): Fix warning.
44559 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44562 * grp/initgroups.c (internal_getgrouplist): When we found the service
44563 list through the initgroups entry in nsswitch.conf do not always
44564 continue on a successful lookup. Don't always use the
44565 __nss_group_database value if it is set.
44566 * nss/nsswitch.conf (initgroups): Change action for successful db
44567 lookup to continue for compatibility.
44569 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44572 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44574 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44576 * iconvdata/tst-tables.sh: Likewise.
44577 * iconvdata/cp770.c: New file.
44578 * iconvdata/cp771.c: New file.
44579 * iconvdata/cp772.c: New file.
44580 * iconvdata/cp773.c: New file.
44581 * iconvdata/cp774.c: New file.
44582 * iconvdata/testdata/CP770: New file.
44583 * iconvdata/testdata/CP770..UTF8: New file.
44584 * iconvdata/testdata/CP771: New file.
44585 * iconvdata/testdata/CP771..UTF8: New file.
44586 * iconvdata/testdata/CP772: New file.
44587 * iconvdata/testdata/CP772..UTF8: New file.
44588 * iconvdata/testdata/CP773: New file.
44589 * iconvdata/testdata/CP773..UTF8: New file.
44590 * iconvdata/testdata/CP774: New file.
44591 * iconvdata/testdata/CP774..UTF8: New file.
44593 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44595 * iconvdata/gen-8bit-gap.sh: Likewise.
44596 * iconvdata/gen-8bit.sh: Likewise.
44598 * locale/iso-639.def: Add ary entry.
44601 * locale/C-translit.h.in: Add U20A1 transliteration.
44604 * locale/iso-639.def: Add wae entry.
44605 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44608 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44612 * locale/C-translit.h.in: Add entry for U20B9.
44613 Patch by pravin.d.s@gmail.com.
44615 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44618 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44619 ENAMETOOLONG use generic getcwd.
44620 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44621 in rtld. Use *stat64.
44622 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44623 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44624 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44625 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44626 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44627 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44628 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44629 __fstatat64 macros.
44630 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44631 * dirent/rewinddir.c: Add libc_hidden_def.
44632 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44633 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44635 * include/dirent.h (__alloc_dir): Add flags parameter.
44636 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44637 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44639 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44640 from fdopendir if O_CLOEXEC is already set.
44642 2011-03-15 Alan Modra <amodra@gmail.com>
44644 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44645 l_tls_firstbyte_offset non-zero. Save padding offset in
44646 l_tls_firstbyte_offset for later use.
44647 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44648 freeing static tls block.
44650 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44652 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44653 where #ifdef was intended. The intent is to prevent ARG_MAX from
44654 being defined by the kernel headers.
44656 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44659 * resolv/resolv.h: Define RES_NOTLDQUERY.
44660 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44661 no-tld-query and set RES_NOTLDQUERY.
44662 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44663 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44664 modern BIND to search name as TLD unless forbidden.
44666 2011-05-07 Petr Baudis <pasky@suse.cz>
44667 Ulrich Drepper <drepper@gmail.com>
44670 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44671 (is_trusted_path): ...to here.
44672 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44673 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44674 using is_trusted_path_normalize() in setuid scripts.
44676 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44678 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44679 __BEGIN/__END_DECLS.
44681 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44684 NSS_STATUS_NOTFOUND if no record was found.
44686 2011-05-05 Andreas Schwab <schwab@redhat.com>
44688 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44689 (headers-not-in-tirpc): Remove rpc/netdb.h
44690 * resolv/netdb.h: Revert last change.
44692 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44694 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44695 circular dependency between libgcc.a and libc.a.
44697 2011-05-05 Andreas Schwab <schwab@redhat.com>
44699 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44700 * nis/Makefile: Don't install rpcsvc/*.
44701 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44702 instead of <rpc/types.h>.
44703 (MAXHOSTNAMELEN): Define.
44705 2011-05-03 Andreas Schwab <schwab@redhat.com>
44707 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44709 2011-04-28 Maciej Babinski <mbabinski@google.com>
44712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44713 gethostbyname4_r when IPv6 results are possible.
44715 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44718 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44719 _PC_PIPE_BUF handling.
44721 2011-04-30 Bruno Haible <bruno@clisp.org>
44724 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44725 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44727 * inet/getnameinfo.c (getnameinfo): Likewise.
44729 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44731 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44732 to groups setting in database lookup.
44733 * nss/nsswitch.conf: Add initgroups entry.
44735 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44738 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44740 Patch by Eric Blake <eblake@redhat.com>.
44742 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44744 * sunrpc/Makefile (need-export-routines): Add svc_run.
44745 (routines): Remove svc_run.
44746 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44747 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44748 * sunrpc/svc_run.c (svc_run): Likewise.
44749 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44751 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44753 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44754 problem in reallocation in last patch.
44756 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44758 * sunrpc/Makefile: Move inclusion of Rules.
44760 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44762 * nss/nss_files/files-initgroups.c: New file.
44763 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44764 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44765 _nss_files_initgroups_dyn.
44767 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44769 * elf/elf.h (R_ARM_IRELATIVE): Define.
44771 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44773 * po/ru.po: Update from translation team.
44775 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44777 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44780 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44783 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44784 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44785 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44786 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44789 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44791 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44793 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44794 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44795 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44797 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44800 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44802 * stdlib/bug-getcontext.c: New file.
44803 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44805 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44807 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44808 instructions into .machine "z9-109".
44809 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44810 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44812 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44814 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44815 between environment variables and auxiliary vector.
44817 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44819 * Makefile: Add rules to build linkobj/libc.so.
44820 * include/libc-symbols.h: Define libc_hidden_nolink.
44821 * include/rpc/auth.h: Mark functions which are to be hidden.
44822 * include/rpc/auth_des.h: Likewise.
44823 * include/rpc/auth_unix.h: Likewise.
44824 * include/rpc/clnt.h: Likewise.
44825 * include/rpc/des_crypt.h: Likewise.
44826 * include/rpc/key_prot.h: Likewise.
44827 * include/rpc/pmap_clnt.h: Likewise.
44828 * include/rpc/pmap_prot.h: Likewise.
44829 * include/rpc/pmap_rmt.h: Likewise.
44830 * include/rpc/rpc_msg.h: Likewise.
44831 * include/rpc/svc.h: Likewise.
44832 * include/rpc/svc_auth.h: Likewise.
44833 * include/rpc/xdr.h: Likewise.
44834 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44835 * nss/Makefile: Likewise.
44836 * sunrpc/Makefile: Don't install headers. Build library with normal
44837 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44838 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44839 for the compat linking library. Remove use of INTDEF/INTUSE.
44840 * sunrpc/auth_none.c: Likewise.
44841 * sunrpc/auth_unix.c: Likewise.
44842 * sunrpc/authdes_prot.c: Likewise.
44843 * sunrpc/authuxprot.c: Likewise.
44844 * sunrpc/clnt_gen.c: Likewise.
44845 * sunrpc/clnt_perr.c: Likewise.
44846 * sunrpc/clnt_raw.c: Likewise.
44847 * sunrpc/clnt_simp.c: Likewise.
44848 * sunrpc/clnt_tcp.c: Likewise.
44849 * sunrpc/clnt_udp.c: Likewise.
44850 * sunrpc/clnt_unix.c: Likewise.
44851 * sunrpc/des_crypt.c: Likewise.
44852 * sunrpc/des_soft.c: Likewise.
44853 * sunrpc/get_myaddr.c: Likewise.
44854 * sunrpc/key_call.c: Likewise.
44855 * sunrpc/key_prot.c: Likewise.
44856 * sunrpc/netname.c: Likewise.
44857 * sunrpc/pm_getmaps.c: Likewise.
44858 * sunrpc/pm_getport.c: Likewise.
44859 * sunrpc/pmap_clnt.c: Likewise.
44860 * sunrpc/pmap_prot.c: Likewise.
44861 * sunrpc/pmap_prot2.c: Likewise.
44862 * sunrpc/pmap_rmt.c: Likewise.
44863 * sunrpc/publickey.c: Likewise.
44864 * sunrpc/rpc_cmsg.c: Likewise.
44865 * sunrpc/rpc_common.c: Likewise.
44866 * sunrpc/rpc_dtable.c: Likewise.
44867 * sunrpc/rpc_prot.c: Likewise.
44868 * sunrpc/rpc_thread.c: Likewise.
44869 * sunrpc/rtime.c: Likewise.
44870 * sunrpc/svc.c: Likewise.
44871 * sunrpc/svc_auth.c: Likewise.
44872 * sunrpc/svc_authux.c: Likewise.
44873 * sunrpc/svc_raw.c: Likewise.
44874 * sunrpc/svc_run.c: Likewise.
44875 * sunrpc/svc_simple.c: Likewise.
44876 * sunrpc/svc_tcp.c: Likewise.
44877 * sunrpc/svc_udp.c: Likewise.
44878 * sunrpc/svc_unix.c: Likewise.
44879 * sunrpc/svcauth_des.c: Likewise.
44880 * sunrpc/xcrypt.c: Likewise.
44881 * sunrpc/xdr.c: Likewise.
44882 * sunrpc/xdr_array.c: Likewise.
44883 * sunrpc/xdr_float.c: Likewise.
44884 * sunrpc/xdr_intXX_t.c: Likewise.
44885 * sunrpc/xdr_mem.c: Likewise.
44886 * sunrpc/xdr_rec.c: Likewise.
44887 * sunrpc/xdr_ref.c: Likewise.
44888 * sunrpc/xdr_sizeof.c: Likewise.
44889 * sunrpc/xdr_stdio.c: Likewise.
44891 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44894 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44895 * sysdeps/ia64/dl-tls.h: Likewise.
44896 * sysdeps/powerpc/dl-tls.h: Likewise.
44897 * sysdeps/s390/dl-tls.h: Likewise.
44898 * sysdeps/sh/dl-tls.h: Likewise.
44899 * sysdeps/sparc/dl-tls.h: Likewise.
44900 * sysdeps/x86_64/dl-tls.h: Likewise.
44901 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44903 2011-03-14 Andreas Schwab <schwab@redhat.com>
44905 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44906 rpath element also skip the following colon.
44907 (expand_dynamic_string_token): Add is_path parameter and pass
44908 down to DL_DST_REQUIRED and _dl_dst_substitute.
44909 (decompose_rpath): Call expand_dynamic_string_token with
44910 non-zero is_path. Ignore empty rpaths.
44911 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44914 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44919 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44922 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44923 Patch by Filipe David Manana <fdmanana@apache.org>.
44925 2011-04-07 Andreas Schwab <schwab@redhat.com>
44927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44928 Maintain aligned stack.
44929 (CHECK_RSP): Remove unused macro.
44931 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44933 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44934 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44936 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44938 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44940 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44942 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44945 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44946 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44947 * sysdeps/x86_64/memmove.c: New file.
44948 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44949 (memcpy): Renamed to ...
44950 (__new_memcpy): This.
44951 (memcpy): Provide GLIBC_2_14 memcpy.
44952 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44953 (memcpy): Provide GLIBC_2_2_5 memcpy.
44955 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44958 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44960 2011-03-30 Andreas Schwab <schwab@redhat.com>
44962 * misc/syncfs.c: New file.
44963 * misc/Makefile (routines): Add syncfs.
44964 * posix/unistd.h: Declare syncfs.
44965 * sysdeps/unix/syscalls.list: Add syncfs.
44967 2011-04-01 Andreas Schwab <schwab@redhat.com>
44969 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44972 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44974 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44976 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44977 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44979 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44982 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44983 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44984 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44985 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44986 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44989 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44990 sync_file_range.c with -fexceptions.
44991 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44992 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44993 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44994 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44995 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44996 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44998 sync_file_range as cancellation point
44999 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45000 now a wrapper around __call_sync_file_range with cancellation handling.
45001 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45002 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45003 function name to __call_sync_file_range.
45004 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45005 Add call_sync_file_range.
45007 2011-04-01 Andreas Schwab <schwab@redhat.com>
45009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45012 2011-04-01 Ulrich Drepper <drepper@gmail.com>
45014 * iconv/iconv.h: Fix typo in comment.
45015 * io/fcntl.h: Likewise.
45016 * libio/stdio.h: Likewise.
45017 * posix/spawn.h: Likewise.
45018 * posix/unistd.h: Likewise.
45019 * stdlib/stdlib.h: Likewise.
45020 * time/time.h: Likewise.
45021 * wcsmbs/wchar.h: Likewise.
45023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45024 open_by_handle): Add.
45025 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45026 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45027 Augment a few comments.
45028 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45030 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45033 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45036 * io/fcntl.h (AT_EMPTY_PATH): Define.
45038 2011-03-30 Ulrich Drepper <drepper@gmail.com>
45040 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45041 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45042 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45044 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
45045 * Versions.def: Add GLIBC_2.14.
45046 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45049 2011-03-22 Ulrich Drepper <drepper@gmail.com>
45051 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45053 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45055 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45058 * string/test-strncmp.c (do_page_test): New function.
45059 (check2): Likewise.
45060 (test_main): Call check2.
45061 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45063 2011-03-20 Ulrich Drepper <drepper@gmail.com>
45066 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45067 Handle cache information in CPU leaf 4.
45068 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45070 2011-03-18 Ulrich Drepper <drepper@gmail.com>
45073 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45074 character representation.
45075 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45077 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45079 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45080 END(__isnan) to END(__isnanf) to match function entry point/label
45081 EALIGN(__isnanf,...).
45083 2011-03-10 Jakub Jelinek <jakub@redhat.com>
45085 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45087 2011-03-10 Ulrich Drepper <drepper@gmail.com>
45090 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45091 copy from the symbol referenced in the relocation to initialize the
45093 Patch by Piotr Bury <pbury@goahead.com>.
45094 * elf/Makefile: Add rules to build and tst-unique3.
45095 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45096 * elf/tst-unique3.cc: New file.
45097 * elf/tst-unique3.h: New file.
45098 * elf/tst-unique3lib.cc: New file.
45099 * elf/tst-unique3lib2.cc: New file.
45101 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45103 2011-03-10 Mike Frysinger <vapier@gentoo.org>
45105 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45106 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45109 2011-03-06 Ulrich Drepper <drepper@gmail.com>
45111 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45112 to-be-loaded object along a path to loader is ld.so.
45114 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45115 Ulrich Drepper <drepper@gmail.com>
45117 * sysdeps/x86_64/memset.S: After aligning destination, code
45118 branches to different locations depending on the value of
45119 misalignment, when multiarch is enabled. Fix this.
45121 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45123 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45124 Set _x86_64_preferred_memory_instruction for AMD processsors.
45125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45126 Set bit_Prefer_SSE_for_memop for AMD processors.
45128 2011-03-04 Ulrich Drepper <drepper@gmail.com>
45130 * libio/fmemopen.c (fmemopen): Optimize a bit.
45132 2011-03-03 Andreas Schwab <schwab@redhat.com>
45134 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45136 2011-03-03 Roland McGrath <roland@redhat.com>
45138 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45140 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45142 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45143 __bzero_ultra1 instead of __memset_ultra1.
45145 2011-02-23 Andreas Schwab <schwab@redhat.com>
45146 Ulrich Drepper <drepper@gmail.com>
45149 * include/link.h (struct link_map): Add l_orig_initfini.
45150 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45151 returning unsuccessfully.
45152 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45153 close of a file loaded at startup, restore the original l_initfini
45155 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45156 list, store the pointer.
45157 * elf/Makefile ($(objpfx)noload-mem): New rule.
45158 (noload-ENV): Define.
45159 (tests): Add $(objpfx)noload-mem.
45160 * elf/noload.c: Include <memcheck.h>.
45161 (main): Call mtrace. Close all opened handles.
45163 2011-02-17 Andreas Schwab <schwab@redhat.com>
45166 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45167 dependencies are missing.
45169 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45171 Fix __if_freereq crash: Unlike the generic version which uses free,
45173 * sysdeps/mach/hurd/ifreq.h: New file.
45175 2011-01-27 Petr Baudis <pasky@suse.cz>
45176 Ulrich Drepper <drepper@gmail.com>
45179 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45180 to extend_alloca().
45181 * stdio-common/bug23.c: New file.
45182 * stdio-common/Makefile (tests): Add bug23.
45184 2010-09-28 Andreas Schwab <schwab@redhat.com>
45185 Ulrich Drepper <drepper@gmail.com>
45188 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45189 before performing relro protection. At old place add assertion
45190 to make sure nothing changed.
45192 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45193 Glauber de Oliveira Costa <glommer@gmail.com>
45195 * elf/elf.h: Add new ARM TLS relocs.
45197 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45200 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45202 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45204 * sysdeps/wordsize-64/tst-writev.c: New file.
45206 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45208 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45209 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45210 insns in _dl_start to prevent a TOC reference before relocs are
45213 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45216 * Makeconfig: Remove RANLIB definition.
45217 * Makerules: Don't use RANLIB.
45218 * aclocal.m4: Remove ranlib test.
45219 * configure.in: No need to check for ranlib.
45220 * elf/rtld-Rules: Don't use RANLIB.
45222 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45224 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45226 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45227 inclusion protection macro.
45229 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45230 SIGRTMIN and SIGRTMAX and print information in that case only when
45231 SIGRTMIN is defined.
45233 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45235 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45236 arginfo fn returning -1.
45238 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45239 and thousands string is zero terminated.
45241 2011-02-03 Andreas Schwab <schwab@redhat.com>
45243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45244 sysdeps/unix/sysv/linux/bits/socket.h.
45246 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45248 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45249 (__CPU_COUNT): Remove old macros.
45250 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45251 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45252 (__CPU_ALLOC, __CPU_FREE): Add macros.
45253 (__sched_cpualloc, __sched_cpufree): Add declarations.
45255 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45257 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45258 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45259 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45260 (readdhstai): Return value of addhstaiX call.
45261 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45262 (addgrbyX): Return value returned by cache_addgr.
45263 (readdgrbyname): Return value returned by addgrbyX.
45264 (readdgrbygid): Likewise.
45265 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45266 (addpwbyX): Return value returned by cache_addpw.
45267 (readdpwbyname): Return value returned by addhstbyX.
45268 (readdpwbyuid): Likewise.
45269 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45270 (addservbyX): Return value returned by cache_addserv.
45271 (readdservbyname): Return value returned by addservbyX:
45272 (readdservbyport): Likewise.
45273 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45274 (addhstbyX): Return value returned by cache_addhst.
45275 (readdhstbyname): Return value returned by addhstbyX.
45276 (readdhstbyaddr): Likewise.
45277 (readdhstbynamev6): Likewise.
45278 (readdhstbyaddrv6): Likewise.
45279 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45280 (readdinitgroups): Return value returned by addinitgroupsX.
45281 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45282 (prune_cache): Keep track of timeout value of re-added entries.
45283 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45284 * nscd/nscd.h: Adjust prototypes of readd* functions.
45286 2011-02-04 Roland McGrath <roland@redhat.com>
45288 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45289 (nis_stats): Likewise.
45290 * nis/nis_modify.c (nis_modify): Likewise.
45291 * nis/nis_remove.c (nis_remove): Likewise.
45292 * nis/nis_add.c (nis_add): Likewise.
45294 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45296 * posix/fnmatch_loop.c: Add some consts.
45298 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45300 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45303 * config.make.in (config-cflags-novzeroupper): Define.
45304 * configure.in: Substitute libc_cv_cc_novzeroupper.
45305 * elf/Makefile (AVX-CFLAGS): Define.
45306 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45307 (CFLAGS-tst-auditmod4a.c): Likewise.
45308 (CFLAGS-tst-auditmod4b.c): Likewise.
45309 (CFLAGS-tst-auditmod6b.c): Likewise.
45310 (CFLAGS-tst-auditmod6c.c): Likewise.
45311 (CFLAGS-tst-auditmod7b.c): Likewise.
45312 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45314 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45316 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45317 function to the callback.
45318 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45320 2011-02-02 Andreas Schwab <schwab@redhat.com>
45322 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45325 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45328 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45330 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45332 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45335 * elf/Makefile: Add rules to build and run new test.
45336 * elf/tst-initorder.c: New file.
45337 * elf/tst-initorder.exp: New file.
45338 * elf/tst-initordera1.c: New file.
45339 * elf/tst-initordera2.c: New file.
45340 * elf/tst-initordera3.c: New file.
45341 * elf/tst-initordera4.c: New file.
45342 * elf/tst-initorderb1.c: New file.
45343 * elf/tst-initorderb2.c: New file.
45344 * elf/tst-order-a1.c: New file.
45345 * elf/tst-order-a2.c: New file.
45346 * elf/tst-order-a3.c: New file.
45347 * elf/tst-order-a4.c: New file.
45348 * elf/tst-order-b1.c: New file.
45349 * elf/tst-order-b2.c: New file.
45350 * elf/tst-order-main.c: New file.
45351 New test case by George Gensure <werkt0@gmail.com>.
45353 2010-10-01 Andreas Schwab <schwab@redhat.com>
45355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45356 decoding ACE if AI_CANONIDN.
45358 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45360 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45362 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45364 * version.h (RELEASE): Bump for 2.13 release.
45365 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45367 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45369 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45371 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45372 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45373 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45374 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45375 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45378 * posix/getconf.c: Update copyright year.
45379 * catgets/gencat.c: Likewise.
45380 * csu/version.c: Likewise.
45381 * debug/catchsegv.sh: Likewise.
45382 * debug/xtrace.sh: Likewise.
45383 * elf/ldconfig.c: Likewise.
45384 * elf/ldd.bash.in: Likewise.
45385 * elf/sprof.c (print_version): Likewise.
45386 * iconv/iconv_prog.c: Likewise.
45387 * iconv/iconvconfig.c: Likewise.
45388 * locale/programs/locale.c: Likewise.
45389 * locale/programs/localedef.c: Likewise.
45390 * malloc/memusage.sh: Likewise.
45391 * malloc/mtrace.pl: Likewise.
45392 * nscd/nscd.c (print_version): Likewise.
45393 * nss/getent.c: Likewise.
45395 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45396 PF_CAIF, and PF_ALG.
45397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45399 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45401 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45402 (modules-names): Use them.
45403 (ifunc-test-modules, ifunc-pie-tests): Define.
45404 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45405 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45406 (test-extras): Likewise.
45407 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45408 $(compile-command.c).
45409 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45410 (all-built-dso): Define.
45411 (check-textrel.out, check-execstack.out): Depend on it.
45413 * configure.in: Don't override --enable-multi-arch.
45415 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45418 * nscd/hstcache.c (tryagain): Define.
45419 (cache_addhst): Return tryagain not notfound for temporary errors.
45420 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45423 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45426 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45427 to make the syscall.
45428 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45431 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45432 and fall back to matching as normal character if the string ends before
45433 the matching ']' is found. This is what POSIX requires.
45434 * posix/testfnm.c: Adjust test result.
45435 * posix/globtest.sh: Adjust test result. Add new test.
45436 * posix/tst-fnmatch.input: Likewise.
45437 * posix/tst-fnmatch2.c: Add new test.
45439 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45441 * elf/Makefile (check-execstack): Revert last change. Depend on
45443 (check-execstack.h): New target.
45444 (generated): Add check-execstack.h.
45445 * elf/check-execstack.c: Include "check-execstack.h".
45446 (main): Revert last change.
45447 (handle_file): Return zero if GNU_STACK is absent and
45448 DEFAULT_STACK_PERMS doesn't include PF_X.
45450 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45452 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45453 in child fails because the descriptor is already closed.
45454 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45455 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45456 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45459 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45463 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45464 temporary buffer used to handle multi lookups locally.
45465 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45467 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45469 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45472 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45474 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45475 alignment for SSE2.
45477 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45480 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45481 characters. When rounding increased number of integer digits recompute
45483 * stdio-common/tst-grouping.c: New file.
45484 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45486 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45488 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45489 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45491 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45493 * bits/select.h: Likewise.
45495 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45497 * po/ja.po: Update from translation team.
45499 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45502 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45503 implementation just like for lxstat, fxstatat, et al.
45505 2010-12-27 Jim Meyering <meyering@redhat.com>
45508 * posix/regexec.c (build_trtable): Return failure indication upon
45509 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45511 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45514 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45515 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45516 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45517 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45520 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45523 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45524 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45526 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45528 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45529 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45530 script has SORT_BY_INIT_PRIORITY.
45531 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45532 NO_CTORS_DTORS_SECTIONS is defined.
45533 * elf/soinit.c: Likewise.
45534 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45535 NO_CTORS_DTORS_SECTIONS is defined.
45536 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45537 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45538 * sysdeps/sh/init-first.c: Likewise.
45539 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45541 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45543 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45544 always use the slow path.
45546 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45548 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45549 similar rule which adds the sysdep directories to the header search in
45550 order to pick up the correct platform stackinfo.h.
45551 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45552 perform test if it is, otherwise return successfully without testing.
45553 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45554 DEFAULT_STACK_PERMS define in stackinfo.h.
45555 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45556 defined in stackinfo.h.
45557 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45558 DEFAULT_STACK_PERMS defined in stackinfo.h.
45559 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45560 * sysdeps/ia64/stackinfo.h: Likewise.
45561 * sysdeps/s390/stackinfo.h: Likewise.
45562 * sysdeps/sh/stackinfo.h: Likewise.
45563 * sysdeps/sparc/stackinfo.h: Likewise.
45564 * sysdeps/x86_64/stackinfo.h: Likewise.
45565 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45566 PF_X for powerpc64. Retain PF_X for powerpc32.
45568 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45570 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45572 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45573 GETDENTS_64BIT_ALIGNED.
45575 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45577 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45579 2010-12-10 Andreas Schwab <schwab@redhat.com>
45581 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45584 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45585 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45587 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45588 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45590 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45593 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45596 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45598 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45600 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45602 * po/it.po: Update from translation team.
45604 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45609 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45611 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45613 2010-11-24 Andreas Schwab <schwab@redhat.com>
45615 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45617 (gaih_getanswer_slice): Likewise.
45619 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45623 2010-05-31 Petr Baudis <pasky@suse.cz>
45626 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45627 silently even in the chroot mode.
45629 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45631 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45632 last patch a bit. Pretty printing
45634 2010-05-31 Petr Baudis <pasky@suse.cz>
45637 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45638 initialization of skip_initgroups_dyn.
45640 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45642 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45643 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45645 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45647 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45649 2010-11-11 Andreas Schwab <schwab@redhat.com>
45651 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45652 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45653 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45654 ($(objpfx)tst-fnmatch-mem): New rule.
45655 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45656 * posix/tst-fnmatch.c (main): Call mtrace.
45658 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45661 Support Intel processor model 6 and model 0x2c.
45663 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45665 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45668 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45671 * string/test-strncasecmp.c (check_result): New function.
45672 (do_one_test): Use it.
45673 (check1): New function.
45674 (test_main): Use it.
45675 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45676 Support strcasecmp and strncasecmp.
45678 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45681 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45682 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45684 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45686 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45690 * sysdeps/x86_64/multiarch/bzero.S: New file.
45691 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45692 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45693 * sysdeps/x86_64/multiarch/memset.S: New file.
45694 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45696 Set bit_Prefer_SSE_for_memop for Intel processors.
45697 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45699 (index_Prefer_SSE_for_memop): Define.
45700 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45702 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45704 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45705 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45707 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45710 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45711 (__x86_64_raw_data_cache_size_half): Likewise.
45712 (__x86_64_raw_shared_cache_size): Likewise.
45713 (__x86_64_raw_shared_cache_size_half): Likewise.
45715 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45716 (__x86_64_raw_data_cache_size_half): Likewise.
45717 (__x86_64_raw_shared_cache_size): Likewise.
45718 (__x86_64_raw_shared_cache_size_half): Likewise.
45719 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45720 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45721 and __x86_64_raw_shared_cache_size_half. Round
45722 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45723 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45724 to multiple of 256 bytes.
45726 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45729 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45730 of inacessible symlinks. Verify result of symlink before returning it.
45731 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45732 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45734 2010-10-28 Erich Ritz <erichritz@gmail.com>
45736 * math/math.h (isinf): Fix typo in comment.
45738 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45740 * po/da.po: Update from translation team.
45742 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45744 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45745 is added to the list.
45747 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45748 Ulrich Drepper <drepper@gmail.com>
45750 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45751 the global list here. Move code to...
45752 (_dl_add_to_namespace_list): ...here. New function.
45753 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45754 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45755 * elf/dl-load.c (lose): Don't remove the element from the list.
45756 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45757 (_dl_map_object): Likewise.
45759 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45762 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45763 into all bytes of SSE register.
45764 Patch by Richard Li <richardpku@gmail.com>.
45766 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45769 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45772 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45774 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45775 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45776 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45777 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45782 2010-10-22 Andreas Schwab <schwab@redhat.com>
45784 * include/dlfcn.h (__RTLD_SECURE): Define.
45785 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45786 mode & __RTLD_SECURE instead.
45787 (open_path): Rename preloaded parameter to secure.
45788 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45789 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45790 * elf/dl-deps.c (openaux): Likewise.
45791 * elf/rtld.c (struct map_args): Remove is_preloaded.
45792 (map_doit): Don't use it.
45793 (dl_main): Likewise.
45794 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45795 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45797 2010-09-09 Andreas Schwab <schwab@redhat.com>
45799 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45800 (sysd-rules-targets): Remove duplicates.
45801 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45802 rtld-%.$o dependency.
45804 2010-10-18 Andreas Schwab <schwab@redhat.com>
45806 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45807 _dl_map_object do it.
45809 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45811 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45812 fast fma builtins, define the macros in the C99 standard.
45813 (FP_FAST_FMAF): Likewise.
45814 (FP_FAST_FMAL): Likewise.
45815 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45817 * bits/mathdef.h: Update copyright year.
45818 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45820 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45822 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45823 builtins, define the macros in the C99 standard.
45824 (FP_FAST_FMAF): Likewise.
45825 (FP_FAST_FMAL): Likewise.
45826 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45828 (FP_FAST_FMAF): Likewise.
45830 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45833 * math/libm-test.inc (fma_test): Some new testcases.
45834 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45835 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45836 y and infinite z. Do multiplication by C already in long double.
45837 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45839 y and infinite z. Do bitwise or of inexact bit into u.d.
45840 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45841 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45842 * sysdeps/i386/fpu/s_fma.S: Removed.
45843 * sysdeps/i386/fpu/s_fmal.S: Removed.
45845 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45848 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45850 computation is not scheduled after fetestexcept. Fix value
45851 of minimum denormal long double.
45853 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45856 * math/libm-test.inc (fma_test): Add some more tests.
45857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45860 2010-10-15 Andreas Schwab <schwab@redhat.com>
45862 * scripts/data/localplt-s390-linux-gnu.data: New file.
45863 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45865 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45868 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45869 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45871 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45873 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45875 if one of x and y is very large and the other is subnormal.
45876 * sysdeps/s390/fpu/s_fmaf.c: New file.
45877 * sysdeps/s390/fpu/s_fma.c: New file.
45878 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45879 * sysdeps/powerpc/fpu/s_fma.S: New file.
45880 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45881 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45882 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45884 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45887 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45889 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45890 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45891 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45892 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45893 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45894 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45897 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45900 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45901 * posix/bug-regex31.input: Add test case.
45903 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45905 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45906 * posix/bug-regex31.input: New file.
45909 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45910 (parse_sub_exp): Fix last change, use postorder.
45912 * posix/bug-regex31.c: New file.
45913 * posix/Makefile: Add rules to build and run bug-regex31.
45915 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45918 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45921 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45922 to have entries in sys_siglist.
45925 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45928 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45931 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45932 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45933 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45934 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45935 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45936 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45937 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45938 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45939 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45940 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45941 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45942 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45943 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45944 * math/ftestexcept.c (fetestexcept): Likewise.
45945 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45946 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45947 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45948 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45949 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45950 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45951 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45953 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45956 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45959 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45961 * string/bug-strstr1.c: New file.
45962 * string/Makefile: Add rules to build and run bug-strstr1.
45964 2010-10-05 Eric Blake <eblake@redhat.com>
45967 * string/str-two-way.h (two_way_long_needle): Always clear memory
45968 when skipping input due to the shift table.
45970 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45973 * malloc/mcheck.c: Handle large requests.
45976 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45977 for strncmp and strncasecmp.
45978 * string/stratcliff.c: Add tests for strcmp and strncmp.
45979 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45981 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45983 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45986 2010-09-30 Andreas Jaeger <aj@suse.de>
45988 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45989 (CGROUP_SUPER_MAGIC): Define.
45990 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45991 Handle btrfs and cgroup file systems.
45992 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45995 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45997 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45998 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46000 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46003 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46004 trying to locate the ELF header.
46006 2010-09-27 Andreas Schwab <schwab@redhat.com>
46009 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46010 Mask out sign-bit copies when constructing f_fsid.
46012 2010-09-24 Petr Baudis <pasky@suse.cz>
46014 * debug/stack_chk_fail_local.c: Add missing licence exception.
46015 * debug/warning-nop.c: Likewise.
46017 2010-09-15 Joseph Myers <joseph@codesourcery.com>
46019 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46020 implementing getdents64 using getdents syscall, set d_type if
46021 __ASSUME_GETDENTS32_D_TYPE.
46023 2010-09-16 Andreas Schwab <schwab@redhat.com>
46025 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46026 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46028 2010-09-21 Ulrich Drepper <drepper@redhat.com>
46031 * posix/unistd.h: Undo change of feature selection for ftruncate from
46034 2010-09-20 Ulrich Drepper <drepper@redhat.com>
46036 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46039 2010-09-20 Andreas Schwab <schwab@redhat.com>
46041 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46043 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46045 2010-09-14 Andreas Schwab <schwab@redhat.com>
46047 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46048 variables after CHECK_SP call.
46049 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46051 2010-09-13 Andreas Schwab <schwab@redhat.com>
46052 Ulrich Drepper <drepper@redhat.com>
46054 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46055 re-relocationg ld.so.
46056 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46057 _dl_init_paths call.
46058 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46061 2010-09-14 Ulrich Drepper <drepper@redhat.com>
46063 * resolv/res_init.c (__res_vinit): Count the default server we added.
46065 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46066 Ulrich Drepper <drepper@redhat.com>
46069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46070 (____longjmp_chk): Use %ebx for saving value across system call.
46073 2010-09-06 Andreas Schwab <schwab@redhat.com>
46075 * manual/Makefile: Don't mix pattern rules with normal rules.
46077 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46079 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46081 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46082 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46083 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46084 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46088 2010-09-04 Ulrich Drepper <drepper@redhat.com>
46091 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46092 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46094 2010-09-02 Ulrich Drepper <drepper@redhat.com>
46096 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46097 * sysdeps/x86_64/addmul_1.S: Likewise.
46098 * sysdeps/x86_64/lshift.S: Likewise.
46099 * sysdeps/x86_64/mul_1.S: Likewise.
46100 * sysdeps/x86_64/rshift.S: Likewise.
46101 * sysdeps/x86_64/sub_n.S: Likewise.
46102 * sysdeps/x86_64/submul_1.S: Likewise.
46104 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46106 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46107 Define __sched_param instead of SCHED_* and sched_param when
46108 <bits/sched.h> is included with __need_schedparam defined.
46109 * bits/sched.h [__need_schedparam]
46110 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46111 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46112 (__defined_schedparam): Define to 1.
46113 (__sched_param): New structure, identical to sched_param.
46114 (__need_schedparam): Undefine.
46116 2010-08-31 Mike Frysinger <vapier@gentoo.org>
46118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46119 (epoll_create1): Declare.
46121 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46123 2010-08-31 Andreas Schwab <schwab@redhat.com>
46126 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46127 shifting retval into place.
46129 2010-09-01 Ulrich Drepper <drepper@redhat.com>
46131 * nis/rpcsvc/nis.h: Update copyright notice.
46132 * nis/rpcsvc/nis.x: Likewise.
46133 * nis/rpcsvc/nis_callback.h: Likewise.
46134 * nis/rpcsvc/nis_callback.x: Likewise.
46135 * nis/rpcsvc/nis_object.x: Likewise.
46136 * nis/rpcsvc/nis_tags.h: Likewise.
46137 * nis/rpcsvc/yp.h: Likewise.
46138 * nis/rpcsvc/yp.x: Likewise.
46139 * nis/rpcsvc/ypupd.h: Likewise.
46140 * nis/yp_xdr.c: Likewise.
46141 * nis/ypupdate_xdr.c: Likewise.
46143 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46144 mainly the body of pmap_getport. Add parameters to specify timeouts.
46145 (pmap_getport): Use __libc_rpc_getport.
46146 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46147 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46148 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46150 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46155 2010-08-27 Roland McGrath <roland@redhat.com>
46157 * sysdeps/i386/i686/multiarch/Makefile
46158 (CFLAGS-varshift.c): New variable.
46160 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46162 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46163 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46167 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46169 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46171 * sysdeps/x86_64/strlen.S: Unroll the loop.
46172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46173 strlen-sse2 strlen-sse2-bsf.
46174 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46175 __strlen_no_bsf if bit_Slow_BSF is set.
46176 (__strlen_sse42): Removed.
46177 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46178 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46180 2010-08-25 Roland McGrath <roland@redhat.com>
46182 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46183 * sysdeps/x86_64/multiarch/varshift.c: New file.
46184 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46185 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46186 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46187 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46189 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46192 strlen-sse2 strlen-sse2-bsf.
46193 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46194 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46195 (__strlen_sse2): Removed.
46196 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46199 bit_Slow_BSF for Atom.
46200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46201 (index_Slow_BSF): Define.
46202 (HAS_SLOW_BSF): Define.
46204 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46207 * resolv/res_init.c (__res_vinit): When no server address at all
46208 is given default to loopback.
46210 2010-08-24 Roland McGrath <roland@redhat.com>
46212 * configure.in: Remove config-name.h generation.
46213 * configure: Regenerated.
46214 * config-name.in: File removed.
46215 * scripts/config-uname.sh: New file.
46216 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46217 ($(objdir)config-name.h): New target.
46219 * sunrpc/rpc_parse.h: Avoid nested comment.
46221 2010-08-24 Richard Henderson <rth@redhat.com>
46222 Ulrich Drepper <drepper@redhat.com>
46223 H.J. Lu <hongjiu.lu@intel.com>
46225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46227 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46228 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46229 _mm_alignr_epi8 with _mm_loadu_si128.
46230 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46231 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46232 (__m128i_shift_right): Removed.
46233 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46234 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46235 * sysdeps/x86_64/multiarch/varshift.h: New file.
46236 * sysdeps/x86_64/multiarch/varshift.S: New file.
46238 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46240 * configure.in: Move assembler checks to before sysdep dir checking.
46242 2010-08-20 Petr Baudis <pasky@suse.cz>
46244 * LICENSES: Sync the sunrpc license.
46246 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46248 * sunrpc/auth_des.c: Update copyright notice once again.
46249 * sunrpc/auth_none.c: Likewise.
46250 * sunrpc/auth_unix.c: Likewise.
46251 * sunrpc/authdes_prot.c: Likewise.
46252 * sunrpc/authuxprot.c: Likewise.
46253 * sunrpc/bindrsvprt.c: Likewise.
46254 * sunrpc/clnt_gen.c: Likewise.
46255 * sunrpc/clnt_perr.c: Likewise.
46256 * sunrpc/clnt_raw.c: Likewise.
46257 * sunrpc/clnt_simp.c: Likewise.
46258 * sunrpc/clnt_tcp.c: Likewise.
46259 * sunrpc/clnt_udp.c: Likewise.
46260 * sunrpc/clnt_unix.c: Likewise.
46261 * sunrpc/des_crypt.c: Likewise.
46262 * sunrpc/des_soft.c: Likewise.
46263 * sunrpc/get_myaddr.c: Likewise.
46264 * sunrpc/getrpcport.c: Likewise.
46265 * sunrpc/key_call.c: Likewise.
46266 * sunrpc/key_prot.c: Likewise.
46267 * sunrpc/openchild.c: Likewise.
46268 * sunrpc/pm_getmaps.c: Likewise.
46269 * sunrpc/pm_getport.c: Likewise.
46270 * sunrpc/pmap_clnt.c: Likewise.
46271 * sunrpc/pmap_prot.c: Likewise.
46272 * sunrpc/pmap_prot2.c: Likewise.
46273 * sunrpc/pmap_rmt.c: Likewise.
46274 * sunrpc/rpc/auth.h: Likewise.
46275 * sunrpc/rpc/auth_unix.h: Likewise.
46276 * sunrpc/rpc/clnt.h: Likewise.
46277 * sunrpc/rpc/des_crypt.h: Likewise.
46278 * sunrpc/rpc/key_prot.h: Likewise.
46279 * sunrpc/rpc/netdb.h: Likewise.
46280 * sunrpc/rpc/pmap_clnt.h: Likewise.
46281 * sunrpc/rpc/pmap_prot.h: Likewise.
46282 * sunrpc/rpc/pmap_rmt.h: Likewise.
46283 * sunrpc/rpc/rpc.h: Likewise.
46284 * sunrpc/rpc/rpc_des.h: Likewise.
46285 * sunrpc/rpc/rpc_msg.h: Likewise.
46286 * sunrpc/rpc/svc.h: Likewise.
46287 * sunrpc/rpc/svc_auth.h: Likewise.
46288 * sunrpc/rpc/types.h: Likewise.
46289 * sunrpc/rpc/xdr.h: Likewise.
46290 * sunrpc/rpc_clntout.c: Likewise.
46291 * sunrpc/rpc_cmsg.c: Likewise.
46292 * sunrpc/rpc_common.c: Likewise.
46293 * sunrpc/rpc_cout.c: Likewise.
46294 * sunrpc/rpc_dtable.c: Likewise.
46295 * sunrpc/rpc_hout.c: Likewise.
46296 * sunrpc/rpc_main.c: Likewise.
46297 * sunrpc/rpc_parse.c: Likewise.
46298 * sunrpc/rpc_parse.h: Likewise.
46299 * sunrpc/rpc_prot.c: Likewise.
46300 * sunrpc/rpc_sample.c: Likewise.
46301 * sunrpc/rpc_scan.c: Likewise.
46302 * sunrpc/rpc_scan.h: Likewise.
46303 * sunrpc/rpc_svcout.c: Likewise.
46304 * sunrpc/rpc_tblout.c: Likewise.
46305 * sunrpc/rpc_util.c: Likewise.
46306 * sunrpc/rpc_util.h: Likewise.
46307 * sunrpc/rpcinfo.c: Likewise.
46308 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46309 * sunrpc/rpcsvc/key_prot.x: Likewise.
46310 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46311 * sunrpc/rpcsvc/mount.x: Likewise.
46312 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46313 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46314 * sunrpc/rpcsvc/rex.x: Likewise.
46315 * sunrpc/rpcsvc/rstat.x: Likewise.
46316 * sunrpc/rpcsvc/rusers.x: Likewise.
46317 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46318 * sunrpc/rpcsvc/spray.x: Likewise.
46319 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46320 * sunrpc/rtime.c: Likewise.
46321 * sunrpc/svc.c: Likewise.
46322 * sunrpc/svc_auth.c: Likewise.
46323 * sunrpc/svc_authux.c: Likewise.
46324 * sunrpc/svc_raw.c: Likewise.
46325 * sunrpc/svc_run.c: Likewise.
46326 * sunrpc/svc_simple.c: Likewise.
46327 * sunrpc/svc_tcp.c: Likewise.
46328 * sunrpc/svc_udp.c: Likewise.
46329 * sunrpc/svc_unix.c: Likewise.
46330 * sunrpc/svcauth_des.c: Likewise.
46331 * sunrpc/xcrypt.c: Likewise.
46332 * sunrpc/xdr.c: Likewise.
46333 * sunrpc/xdr_array.c: Likewise.
46334 * sunrpc/xdr_float.c: Likewise.
46335 * sunrpc/xdr_mem.c: Likewise.
46336 * sunrpc/xdr_rec.c: Likewise.
46337 * sunrpc/xdr_ref.c: Likewise.
46338 * sunrpc/xdr_sizeof.c: Likewise.
46339 * sunrpc/xdr_stdio.c: Likewise.
46341 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46344 2010-08-19 Andreas Schwab <schwab@redhat.com>
46346 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46348 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46350 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46351 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46352 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46353 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46354 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46355 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46356 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46357 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46358 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46359 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46360 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46361 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46362 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46363 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46365 2010-07-26 Anton Blanchard <anton@samba.org>
46367 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46368 * malloc/arena.c (heap_trim): Likewise.
46370 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46372 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46375 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46377 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46379 * sysdeps/i386/elf/Makefile: New file.
46381 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46383 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46384 from fanotify_init.
46385 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46386 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46388 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46390 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46392 * sysdeps/multiarch/strcmp.S: Likewise.
46394 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46396 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46397 strncase_l-nonascii.
46398 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46399 Add strncase_l-ssse3.
46400 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46401 * sysdeps/x86_64/strcmp.S: Likewise.
46402 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46403 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46404 * sysdeps/x86_64/strncase.S: New file.
46405 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46406 * sysdeps/x86_64/strncase_l.S: New file.
46407 * string/Makefile (strop-tests): Add strncasecmp.
46408 * string/test-strncasecmp.c: New file.
46410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46413 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46414 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46416 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46418 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46420 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46422 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46423 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46424 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46426 2010-05-01 Alan Modra <amodra@gmail.com>
46428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46429 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46430 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46431 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46432 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46433 tidying. Don't tail-call __sigjmp_save for static lib.
46434 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46436 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46437 (CALL_MCOUNT): Add eh info, and nop after bl.
46438 (TAIL_CALL_SYSCALL_ERROR): New macro.
46439 (PSEUDO_RET): Use it.
46440 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46441 Correct save location of integer regs and cr.
46442 (_dl_profile_resolve): Correct cr save location. Delete nops
46443 after bl when SHARED. Reduce cfi size a little by better
46444 placement of cfi directives.
46445 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46446 make a stack frame. Instead use parm save area as a temp.
46447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46448 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46450 Don't make a stack frame for parent, use parm save area.
46451 Increase child stack frame to 112 bytes. Don't save unused reg,
46452 and adjust reg usage. Set up cfi on error recovery and
46453 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46455 (__makecontext): Add dummy nop after jump to exit.
46456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46457 Use correct parm save area and cr save, reduce stack frame.
46458 Correct cfi for possible PSEUDO_RET frame setup.
46459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46460 Branch to local label emitted by PSEUDO_RET rather than
46463 2010-08-12 Andreas Schwab <schwab@redhat.com>
46466 * locale/programs/locale.c (print_assignment): New function.
46467 (show_locale_vars): Use it.
46469 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46471 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46473 (struct statfs64): Likewise.
46474 (_STATFS_F_FLAGS): Define.
46475 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46477 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46478 (ST_VALID): Define locally.
46479 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46480 __statvfs_getflags, use the provided value.
46481 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46482 __ASSUME_STATFS_F_FLAGS.
46484 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46486 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46487 Add sys/fanotify.h.
46488 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46489 fanotify_mask for GLIBC_2.13.
46490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46491 fanotify_init and fanotify_mark.
46492 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46493 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46495 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46497 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46498 prlimit64 for GLIBC_2.13.
46499 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46501 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46504 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46505 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46506 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46507 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46509 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46512 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46513 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46515 * nss/Makefile: Add rules to build and run tst-nss-test1.
46516 * shlib-versions: Add entry for libnss_test1.
46517 * nss/nss_test1.c: New file.
46518 * nss/tst-nss-test1.c: New file.
46520 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46521 (__nss_configure_lookup): Set appropriate entry in
46522 __nss_configure_lookup to true.
46523 * nss/nsswitch.h: Define enum with indeces of databases in
46524 databases and __nss_database_custom arrays. Declare
46525 __nss_database_custom.
46526 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46527 to avoid using nscd when custom rules are installed.
46528 * nss/getXXbyYY_r.c: Likewise.
46529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46531 * nss/nss_files/files-parse.c: Whitespace fixes.
46533 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46536 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46537 * posix/fnmatch_loop.c: Likewise.
46539 2010-07-17 Andi Kleen <ak@linux.intel.com>
46541 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46542 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46543 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46544 * Versions.def [GLIBC_2.13]: Add.
46546 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46549 Also fail if tpwd after pwuid call is NULL.
46551 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46553 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46554 when converting to ms.
46556 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46558 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46559 EOPNOTSUPP errors with ENOTTY.
46560 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46561 EOPNOTSUPP errors with ENOTTY.
46563 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46565 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46566 Add strcasecmp_l-ssse3.
46567 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46569 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46570 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46571 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46573 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46575 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46577 * string/Makefile (strop-tests): Add strcasecmp.
46578 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46579 strcasecmp_l-nonascii.
46580 (gen-as-const-headers): Add locale-defines.sym.
46581 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46582 * sysdeps/x86_64/strcasecmp.S: New file.
46583 * sysdeps/x86_64/strcasecmp_l.S: New file.
46584 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46585 * sysdeps/x86_64/locale-defines.sym: New file.
46586 * string/test-strcasecmp.c: New file.
46588 * string/test-strcasestr.c: Test both ends of the range of characters.
46589 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46591 2010-07-29 Roland McGrath <roland@redhat.com>
46594 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46596 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46598 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46601 2010-07-27 Andreas Schwab <schwab@redhat.com>
46603 * manual/memory.texi (Malloc Tunable Parameters): Document
46606 2010-07-26 Roland McGrath <roland@redhat.com>
46609 * configure.in (-fgnu89-inline check): Set and substitute
46610 gnu89_inline, not libc_cv_gnu89_inline.
46611 * configure: Regenerated.
46612 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46614 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46616 * string/test-strnlen.c: New file.
46617 * string/Makefile (strop-tests): Add strnlen.
46618 * string/tester.c (test_strnlen): Add a few more test cases.
46619 * string/tst-strlen.c: Better error reporting.
46621 * sysdeps/x86_64/strnlen.S: New file.
46623 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46625 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46626 lower-latency instructions.
46628 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46630 * string/test-strcasestr.c: New file.
46631 * string/test-strstr.c: New file.
46632 * string/Makefile (strop-tests): Add strstr and strcasestr.
46633 * string/str-two-way.h: Don't undefine MAX.
46634 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46636 2010-07-21 Andreas Schwab <schwab@redhat.com>
46638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46639 strcasestr-nonascii.
46640 (CFLAGS-strcasestr-nonascii.c): Define.
46641 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46642 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46643 Remove unused attribute.
46645 2010-07-20 Roland McGrath <roland@redhat.com>
46647 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46648 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46649 ld.so.cache was broken. With it, there is no way to disable dsocaps
46650 like LD_HWCAP_MASK can disable hwcaps.
46652 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46654 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46656 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46658 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46659 call in strcasestr.
46660 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46661 __strcasestr_sse42_nonascii.
46662 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46663 strcasestr-nonascii.c.
46664 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46666 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46668 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46669 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46670 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46671 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46673 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46678 2010-07-06 Andreas Schwab <schwab@redhat.com>
46681 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46684 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46686 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46687 _PC_PIPE_BUF using F_GETPIPE_SZ.
46689 2010-07-05 Roland McGrath <roland@redhat.com>
46691 * manual/arith.texi (Rounding Functions): Fix rint description
46692 implicit in round description.
46694 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46696 * elf/Makefile: Fix linking for a few tests to make recent linker
46699 2010-06-30 Andreas Schwab <schwab@redhat.com>
46701 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46702 $(common-objpfx)libc_nonshared.a.
46704 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46706 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46707 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46708 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46709 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46710 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46711 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46712 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46713 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46728 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46729 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46730 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46731 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46732 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46733 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46734 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46735 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46736 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46737 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46738 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46739 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46755 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46757 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46758 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46759 * string/memmove.c (memmove): Renamed to ...
46760 (MEMMOVE): ...this. Default to memmove.
46761 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46762 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46765 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46766 mempcpy-ssse3-back memmove-ssse3-back.
46767 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46769 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46770 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46771 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46772 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46773 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46774 * sysdeps/x86_64/multiarch/memmove.c: New file.
46775 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46776 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46777 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46778 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46779 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46780 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46782 (index_Fast_Copy_Backward): Define.
46783 (HAS_ARCH_FEATURE): Define.
46784 (HAS_FAST_REP_STRING): Define.
46785 (HAS_FAST_COPY_BACKWARD): Define.
46787 2010-06-21 Andreas Schwab <schwab@redhat.com>
46789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46790 Restore proper fallback handling.
46792 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46795 * posix/group_member.c (__group_member): Correct checking loop.
46797 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46798 OOM in getpwuid_r correctly. Return error number when the caller
46799 should return, otherwise -1.
46800 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46801 call returning > 0 value.
46802 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46804 2010-06-07 Andreas Schwab <schwab@redhat.com>
46806 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46807 libc_nonshared.a from targets in modules-names.
46809 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46811 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46814 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46816 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46817 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46821 2010-06-02 Andreas Schwab <schwab@redhat.com>
46823 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46825 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46827 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46834 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46836 2010-06-14 Roland McGrath <roland@redhat.com>
46838 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46840 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46842 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46843 __REDIRECT followed by __THROW.
46844 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46845 * posix/getopt.h (getopt): Likewise.
46847 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46849 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46850 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46851 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46853 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46854 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46856 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46858 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46860 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46864 Properly check family and model.
46866 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46868 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46870 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46872 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46874 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46876 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46879 2010-05-19 Andreas Schwab <schwab@redhat.com>
46881 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46884 2010-05-21 Andreas Schwab <schwab@redhat.com>
46886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46887 and internal_recvmmsg.
46888 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46889 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46890 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46891 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46893 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46894 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46895 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46897 2010-05-20 Andreas Schwab <schwab@redhat.com>
46899 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46901 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46903 POWER7 optimizations.
46904 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46905 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46907 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46909 * version.h: Update for 2.13 development version.
46911 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46913 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46914 exceptions. Return 0.
46916 2010-05-07 Roland McGrath <roland@redhat.com>
46918 * elf/ldconfig.c (main): Add a const.
46920 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46922 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46923 (args_options): Add no-idn option.
46924 (ahosts_keys_int): Add idn_flags to ai_flags.
46925 (parse_option): Handle 'i' option to clear idn_flags.
46927 * malloc/malloc.c (_int_free): Possible race in the most recently
46928 added check. Only act on the data if no current modification
46931 See ChangeLog.17 for earlier changes.