1 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4 optimization when used with float constants.
6 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11 * locale/nl_langinfo_l.c: Make direct reference to every
12 _nl_current_CATEGORY symbol.
13 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14 (tests-static): Add tst-langinfo-static.
15 (tests-special): Add tst-langinfo-static.out.
16 ($(objpfx)tst-langinfo.out): Redirect output.
17 ($(objpfx)tst-langinfo-static.out): New.
18 * localedata/tst-langinfo.sh: Send output to stdout.
19 * localedata/tst-langinfo-static.c: New file.
22 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
23 when the shift amount is modulo the limb size.
25 2014-05-20 Richard Henderson <rth@redhat.com>
28 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29 Change type of sa_flags from unsigned int to int.
32 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36 2014-05-20 Will Newton <will.newton@linaro.org>
38 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
39 Test the return value of the system call in the nocancel case.
41 2014-05-20 Will Newton <will.newton@linaro.org>
42 Yvan Roux <yvan.roux@linaro.org>
44 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45 #include of asm/ptrace.h.
46 (PTRACE_GET_THREAD_AREA): Remove #undef.
47 (PTRACE_GETHBPREGS): Likewise.
48 (PTRACE_SETHBPREGS): Likewise.
49 (struct user_regs_struct): New structure.
50 (struct user_fpsimd_struct): New structure.
51 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
52 #include of asm/ptrace.h and second #include of sys/user.h.
53 (PTRACE_GET_THREAD_AREA): Remove #undef.
54 (PTRACE_GETHBPREGS): Likewise.
55 (PTRACE_SETHBPREGS): Likewise.
56 (ELF_NGREG): Use new struct user_regs_struct.
57 (elf_fpregset_t): Use new struct user_fpsimd_struct.
59 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
62 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
64 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
67 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
68 membar to avoid block loads/stores to overlap previous stores.
70 2014-05-17 Richard Henderson <rth@redhat.com>
72 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
73 Create the __##syscall_name##_nocancel entry point.
74 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
75 Remove; let the sysdep-cancel.h code create it.
77 2014-05-17 David S. Miller <davem@davemloft.net>
79 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
80 Protect with __USE_GNU.
81 (TIOCSET_TEMPT): Likewise.
82 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
83 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
84 these are already provided in bits/ioctl-types.h
86 2014-05-16 Roland McGrath <roland@hack.frob.com>
88 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
89 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
91 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
92 Use wait4 regardless of [__NR_waitpid].
94 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
97 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
98 (_FP_NANSIGN_Q): Set the quiet bit.
100 2014-05-16 Joseph Myers <joseph@codesourcery.com>
102 * benchtests/Makefile
103 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
104 not $(common-objpfx)math/libm.so.
105 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
106 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
107 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
108 $(common-objpfx)dlfcn/libdl.so.
109 ($(objpfx)tst-audit8): Depend on $(libm), not
110 $(common-objpfx)math/libm.so.
111 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
112 not $(common-objpfx)dlfcn/libdl.so.
114 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
115 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
116 [$(build-shared) = yes].
117 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
118 $(common-objpfx)nptl/libpthread.so.
119 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
120 $(common-objpfx)math/libm.so$(libm.so-version) or
121 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
122 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
123 $(common-objpfx)dlfcn/libdl.so.
124 * setjmp/Makefile (link-libm): Remove variable.
125 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
126 * stdio-common/Makefile (link-libm): Remove variable.
127 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
128 * stdlib/Makefile (link-libm): Remove variable.
129 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
130 ($(objpfx)tst-strtod-round): Likewise.
131 ($(objpfx)tst-tininess): Likewise.
132 ($(objpfx)tst-strtod-underflow): Likewise.
133 ($(objpfx)tst-strtod6): Likewise.
134 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
135 $(libdl), not $(common-objpfx)nptl/libpthread.so and
136 $(common-objpfx)dlfcn/libdl.so.
138 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
141 BSD terminal modes definitions.
143 2014-05-16 Roland McGrath <roland@hack.frob.com>
145 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
146 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
148 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
149 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
150 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
151 Don't do #include_next.
152 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
153 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
154 Don't do #include_next.
155 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
156 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
157 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
158 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
160 2014-05-16 Allan McRae <allan@archlinux.org>
162 * po/sv.po: Update Swedish translation from translation project.
164 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
167 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
170 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
171 errno if the TIOCGPTN ioctl fails with an error different than
173 * login/tst-ptsname.c: New file.
174 * login/Makefile (tests): Add tst-ptsname.
177 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
180 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
184 herrno to return EAI_AGAIN.
186 2014-05-14 Roland McGrath <roland@hack.frob.com>
188 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
189 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
190 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
192 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
194 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
196 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
198 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
200 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
202 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
204 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
205 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
206 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
207 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
208 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
210 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
212 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
214 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
215 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
216 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
217 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
219 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
221 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
224 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
226 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
228 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
238 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
240 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
242 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
244 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
246 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
248 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
250 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
253 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
257 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
259 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
261 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
263 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
265 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
267 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
271 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
274 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
276 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
278 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
279 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
280 (libpthread-sysdep_routines): Add elision-related stuff here instead.
281 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
282 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
283 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
284 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
285 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
286 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
287 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
288 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
289 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
290 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
291 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
292 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
293 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
294 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
295 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
296 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
297 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
298 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
299 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
300 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
301 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
302 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
303 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
304 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
305 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
306 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
307 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
308 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
310 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
311 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
313 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
314 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
315 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
316 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
317 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
318 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
320 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
321 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
323 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
324 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
326 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
327 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
329 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
330 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
331 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
332 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
334 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
335 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
336 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
338 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
339 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
340 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
341 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
343 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
344 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
346 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
348 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
349 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
350 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
351 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
352 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
354 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
356 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
358 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
359 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
360 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
361 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
362 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
363 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
365 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
366 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
368 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
369 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
371 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
372 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
375 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
376 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
379 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
380 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
381 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
383 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
384 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
385 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
386 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
388 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
389 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
391 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
393 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
394 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
395 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
396 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
397 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
399 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
401 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
403 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
404 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
405 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
406 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
407 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
408 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
409 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
410 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
411 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
412 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
414 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
415 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
417 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
418 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
420 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
421 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
423 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
424 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
425 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
426 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
427 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
428 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
430 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
431 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
432 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
433 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
434 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
435 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
436 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
439 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
440 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
442 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
444 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
445 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
446 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
447 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
448 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
450 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
452 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
454 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
455 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
456 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
457 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
458 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
459 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
460 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
461 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
462 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
463 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
464 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
466 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
467 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
469 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
470 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
472 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
473 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
474 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
475 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
476 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
477 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
478 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
479 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
480 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
481 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
482 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
483 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
484 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
485 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
486 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
487 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
488 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
489 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
491 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
492 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
493 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
494 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
496 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
497 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
498 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
500 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
501 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
502 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
508 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
509 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
510 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
512 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
514 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
516 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
517 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
518 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
519 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
520 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
521 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
522 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
523 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
524 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
526 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
527 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
528 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
529 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
530 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
532 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
533 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
534 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
535 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
536 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
537 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
538 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
539 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
540 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
541 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
546 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
547 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
548 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
549 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
550 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
551 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
552 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
553 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
554 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
555 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
556 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
557 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
558 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
559 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
562 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
589 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
590 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
597 that was previously under [RESET_PID].
598 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
599 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
600 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
602 * sysdeps/i386/nptl/Implies: New file.
603 * sysdeps/x86_64/nptl/Implies: New file.
604 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
605 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
606 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
607 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
609 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
610 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
611 (__libc_vfork): New strong alias.
612 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
613 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
615 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
616 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
617 (__libc_vfork): New strong alias.
618 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
619 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
621 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
622 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
623 (__libc_vfork): New strong alias.
624 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
625 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
626 * nptl/pt-vfork.c: New file.
627 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
628 (libpthread: GLIBC_2.20): New version set (empty).
630 2014-05-14 Will Newton <will.newton@linaro.org>
632 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
635 2014-05-14 Joseph Myers <joseph@codesourcery.com>
638 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
639 arguments with exponent 65 or above.
640 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
641 arguments 0x1p113L or above.
642 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
643 to arguments 0x1p107L or above.
644 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
645 positive arguments with exponent 65 or above.
646 * math/auto-libm-test-in: Add more tests of log1p.
647 * math/auto-libm-test-out: Regenerated.
650 * math/s_cacos.c (__cacos): Ensure zero real part of result from
651 non-finite arguments is +0.
652 * math/s_cacosf.c (__cacosf): Likewise.
653 * math/s_cacosl.c (__cacosl): Likewise.
654 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
655 * sysdeps/i386/fpu/libm-test-ulps: Update.
656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
659 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
661 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
662 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
663 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
664 for explicit high bit of mantissa when testing for argument equal
666 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
667 * sysdeps/i386/fpu/libm-test-ulps: Update.
668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
671 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
672 (__erf): Scale by 16 instead of 8 in potentially underflowing
673 case. Ensure exception if result actually underflows.
674 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
675 (__erff): Scale by 16 instead of 8 in potentially underflowing
676 case. Ensure exception if result actually underflows.
677 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
678 (efx8): Remove variable.
679 (__erfl): Scale by 16 instead of 8 in potentially underflowing
680 case. Ensure exception if result actually underflows.
681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
682 (efx8): Remove variable.
683 (__erfl): Scale by 16 instead of 8 in potentially underflowing
684 case. Ensure exception if result actually underflows.
685 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
686 (efx8): Remove variable.
687 (__erfl): Scale by 16 instead of 8 in potentially underflowing
688 case. Ensure exception if result actually underflows.
689 * math/auto-libm-test-in: Add more tests of erf.
690 * math/auto-libm-test-out: Regenerated.
692 2014-05-14 Andreas Schwab <schwab@suse.de>
694 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
695 Remove code conditionalized on USE___THREAD.
697 * config.h.in (HAVE_PT_CHOWN): Define as 0.
698 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
701 2014-05-14 Joseph Myers <joseph@codesourcery.com>
703 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
704 Define unconditionally.
705 (__ASSUME_O_CLOEXEC): Likewise.
706 (__ASSUME_SOCK_CLOEXEC): Likewise.
707 (__ASSUME_IN_NONBLOCK): Likewise.
708 (__ASSUME_PIPE2): Likewise.
709 (__ASSUME_EVENTFD2): Likewise.
710 (__ASSUME_SIGNALFD4): Likewise.
711 (__ASSUME_DUP3): Likewise.
712 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
713 (__ASSUME_DUP3): Do not define.
714 (__ASSUME_EVENTFD2): Likewise.
715 (__ASSUME_IN_NONBLOCK): Likewise.
716 (__ASSUME_O_CLOEXEC): Likewise.
717 (__ASSUME_PIPE2): Likewise.
718 (__ASSUME_SIGNALFD4): Likewise.
719 (__ASSUME_SOCK_CLOEXEC): Likewise.
720 (__ASSUME_UTIMES): Undefine.
721 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
722 (__ASSUME_UTIMES): Do not define.
723 (__ASSUME_O_CLOEXEC): Likewise.
724 (__ASSUME_SOCK_CLOEXEC): Likewise.
725 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
726 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
728 (__ASSUME_PIPE2): Likewise.
729 (__ASSUME_EVENTFD2): Likewise.
730 (__ASSUME_SIGNALFD4): Likewise.
731 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
732 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
734 (__ASSUME_EVENTFD2): Likewise.
735 (__ASSUME_SIGNALFD4): Likewise.
736 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
737 (__ASSUME_32BITUIDS): Likewise.
738 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
739 (__ASSUME_IPC64): Likewise.
740 (__ASSUME_ST_INO_64_BIT): Likewise.
741 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
742 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
744 (__ASSUME_UTIMES): Do not define.
745 (__ASSUME_PSELECT): Likewise.
746 (__ASSUME_PPOLL): Likewise.
747 (__ASSUME_O_CLOEXEC): Likewise.
748 (__ASSUME_SOCK_CLOEXEC): Likewise.
749 (__ASSUME_IN_NONBLOCK): Likewise.
750 (__ASSUME_PIPE2): Likewise.
751 (__ASSUME_EVENTFD2): Likewise.
752 (__ASSUME_SIGNALFD4): Likewise.
753 (__ASSUME_DUP3): Likewise.
754 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
755 (__ASSUME_UTIMES): Likewise.
756 (__ASSUME_O_CLOEXEC): Likewise.
757 (__ASSUME_SOCK_CLOEXEC): Likewise.
758 (__ASSUME_IN_NONBLOCK): Likewise.
759 (__ASSUME_PIPE2): Likewise.
760 (__ASSUME_EVENTFD2): Likewise.
761 (__ASSUME_SIGNALFD4): Likewise.
762 (__ASSUME_DUP3): Likewise.
763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
764 (__ASSUME_UTIMES): Likewise.
765 (__ASSUME_O_CLOEXEC): Likewise.
766 (__ASSUME_SOCK_CLOEXEC): Likewise.
767 (__ASSUME_IN_NONBLOCK): Likewise.
768 (__ASSUME_PIPE2): Likewise.
769 (__ASSUME_EVENTFD2): Likewise.
770 (__ASSUME_SIGNALFD4): Likewise.
771 (__ASSUME_DUP3): Likewise.
772 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
774 (__ASSUME_UTIMES): Likewise.
775 (__ASSUME_EVENTFD2): Likewise.
776 (__ASSUME_SIGNALFD4): Likewise.
777 * sysdeps/unix/sysv/linux/tile/kernel-features.h
778 (__ASSUME_O_CLOEXEC): Likewise.
779 (__ASSUME_SOCK_CLOEXEC): Likewise.
780 (__ASSUME_IN_NONBLOCK): Likewise.
781 (__ASSUME_PIPE2): Likewise.
782 (__ASSUME_EVENTFD2): Likewise.
783 (__ASSUME_SIGNALFD4): Likewise.
784 (__ASSUME_DUP3): Likewise.
785 (__ASSUME_UTIMES): Undefine.
787 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
788 feclearexcept. Remove symbol versioning code.
789 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
790 symbol versioning code.
791 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
792 symbol versioning code.
793 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
794 feupdateenv. Remove symbol versioning code.
795 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
796 fegetexceptflag. Remove symbol versioning code.
797 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
798 fesetexceptflag. Remove symbol versioning code.
799 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
800 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
801 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
802 (__posix_fadvise64_l32): Remove prototype.
803 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
806 2014-05-13 Roland McGrath <roland@hack.frob.com>
808 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
809 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
810 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
811 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
813 2014-05-13 Sami Kerola <kerolasa@iki.fi>
815 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
816 current working directory
818 2014-05-13 Roland McGrath <roland@hack.frob.com>
820 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
821 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
822 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
823 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
824 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
825 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
826 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
828 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
830 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
832 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
833 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
834 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
836 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
838 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
840 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
841 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
842 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
843 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
844 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
845 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
846 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
847 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
848 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
849 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
850 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
851 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
852 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
853 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
854 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
855 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
856 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
857 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
858 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
859 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
860 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
861 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
863 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
864 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
866 * sysdeps/unix/sysv/linux/arm/Makefile
867 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
868 Add rt-aeabi_unwind_cpp_pr1.
869 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
870 Add nptl-aeabi_unwind_cpp_pr1.
871 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
872 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
873 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
874 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
875 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
876 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
878 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
879 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
880 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
881 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
883 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
884 Deconditionalize the code that was previously under [RESET_PID].
885 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
887 * sysdeps/generic/exit-thread.h: New file.
888 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
889 * include/unistd.h (__exit_thread): Remove declaration.
890 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
891 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
892 * csu/libc-start.c: Include <exit-thread.h>.
893 (LIBC_START_MAIN): Pass no argument to __exit_thread.
894 * nptl/pthread_create.c: Include <exit-thread.h>.
895 (start_thread): Call __exit_thread in place of __exit_thread_inline.
896 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
897 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
898 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
899 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
900 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
901 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
902 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
903 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
904 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
905 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
906 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
907 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
908 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
909 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
910 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
911 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
913 2014-05-13 Andreas Schwab <schwab@suse.de>
915 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
917 2014-05-12 Joseph Myers <joseph@codesourcery.com>
919 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
920 (__ASSUME_UTIMES): Do not condition on kernel version.
921 (__ASSUME_PSELECT): Define unconditionally.
922 (__ASSUME_PPOLL): Likewise.
923 (__ASSUME_ATFCTS): Likewise.
924 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
925 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
926 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
927 (__ASSUME_UTIMENSAT): Define unconditionally.
928 (__ASSUME_PRIVATE_FUTEX): Likewise.
929 (__ASSUME_FALLOCATE): Likewise.
930 (__ASSUME_O_CLOEXEC): Likewise.
931 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
932 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
933 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
934 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
935 (__ASSUME_IN_NONBLOCK): Likewise.
936 (__ASSUME_PIPE2): Likewise.
937 (__ASSUME_EVENTFD2): Likewise.
938 (__ASSUME_SIGNALFD4): Likewise.
939 (__ASSUME_DUP3): Likewise.
940 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
941 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
942 (__ASSUME_AT_RANDOM): Likewise.
943 (__ASSUME_PREADV): Likewise.
944 (__ASSUME_PWRITEV): Likewise.
945 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
946 (__ASSUME_F_GETOWN_EX): Define unconditionally.
947 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
948 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
949 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
950 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
951 (__ASSUME_O_CLOEXEC): Define unconditionally.
952 (__ASSUME_PSELECT): Do not undefine conditionally.
953 (__ASSUME_PPOLL): Likewise.
954 (__ASSUME_ATFCTS): Likewise.
955 (__ASSUME_SET_ROBUST_LIST): Likewise.
956 (__ASSUME_UTIMENSAT): Likewise.
957 (__ASSUME_FDATASYNC): Define unconditionally.
958 * sysdeps/unix/sysv/linux/arm/kernel-features.h
959 (__ASSUME_SIGFRAME_V2): Likewise.
960 )__ASSUME_EVENTFD2): Likewise.
961 (__ASSUME_SIGNALFD4): Likewise.
962 (__ASSUME_PSELECT): Do not undefine conditionally.
963 (__ASSUME_PPOLL): Likewise.
964 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
965 (__ASSUME_PSELECT): Define unconditionally.
966 (__ASSUME_PPOLL): Likewise.
967 (__ASSUME_O_CLOEXEC): Likewise.
968 (__ASSUME_SOCK_CLOEXEC): Likewise.
969 (__ASSUME_IN_NONBLOCK): Likewise.
970 (__ASSUME_PIPE2): Likewise.
971 (__ASSUME_EVENTFD2): Likewise.
972 (__ASSUME_SIGNALFD4): Likewise.
973 (__ASSUME_DUP3): Likewise.
974 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
975 (__ASSUME_O_CLOEXEC): Likewise.
976 (__ASSUME_SOCK_CLOEXEC): Likewise.
977 (__ASSUME_IN_NONBLOCK): Likewise.
978 (__ASSUME_PIPE2): Likewise.
979 (__ASSUME_EVENTFD2): Likewise.
980 (__ASSUME_SIGNALFD4): Likewise.
981 (__ASSUME_DUP3): Likewise.
982 * sysdeps/unix/sysv/linux/mips/kernel-features.h
983 (__ASSUME_EVENTFD2): Likewise.
984 (__ASSUME_SIGNALFD4): Likewise.
985 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
987 2014-05-12 Andreas Schwab <schwab@suse.de>
990 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
991 (_nss_nis_gethostbyname4_r): Return error if item length is larger
992 than maximum RPC packet size.
993 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
994 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
995 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
996 (_nss_nis_getservbyport_r): Likewise.
998 2014-05-12 Will Newton <will.newton@linaro.org>
1000 * malloc/Makefile (tests): Add tst-mallopt.
1001 * malloc/tst-mallopt.c: New file.
1003 2014-05-09 Roland McGrath <roland@hack.frob.com>
1005 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1006 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1008 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1011 (tst-tlsmod6.so): Likewise.
1013 2014-05-09 Roland McGrath <roland@hack.frob.com>
1015 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1017 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1020 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1021 and <dl-procinfo.h>.
1022 (__fegetenv): Save SSE state in envp->__eip if supported.
1023 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1024 envp->__eip if supported.
1025 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1026 and <dl-procinfo.h>.
1027 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1028 __data_offset and __data_selector in environment to 0. Set SSE
1030 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1032 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1034 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1036 2014-05-09 Will Newton <will.newton@linaro.org>
1038 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1039 and libc_relro_required for ARM.
1040 * sysdeps/arm/preconfigure: Regenerate.
1042 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1043 Stefan Liebler <stli@linux.vnet.ibm.com>
1045 * config.make.in (enable-lock-elision): New Makefile variable.
1046 * configure.ac: Likewise.
1047 * configure: Regenerate.
1048 * sysdeps/s390/configure.ac:
1049 Add check for gcc transactions support.
1050 * sysdeps/s390/configure: Regenerate.
1051 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1052 Build elision files if enabled.
1053 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1054 Add lock elision support for s390.
1055 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1056 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1057 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1058 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1059 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1060 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1061 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1063 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1065 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1067 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1069 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1070 (__lll_timedlock_elision, __lll_lock_elision)
1071 (__lll_unlock_elision, __lll_trylock_elision)
1072 (lll_timedlock_elision, lll_lock_elision)
1073 (lll_unlock_elision, lll_trylock_elision): Add.
1074 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1075 (pthread_mutex_t): Add lock elision support for s390.
1077 2014-05-14 Wilco <wdijkstr@arm.com>
1079 * sysdeps/arm/fclrexcpt.c: Cleanup.
1080 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1081 * sysdeps/arm/feenablxcpt.c: Cleanup.
1082 * sysdeps/arm/fegetenv.c: Cleanup.
1083 * sysdeps/arm/fegetexcept.c: Cleanup.
1084 * sysdeps/arm/fegetround.c: Cleanup.
1085 * sysdeps/arm/feholdexcpt.c: Cleanup.
1086 * sysdeps/arm/fesetenv.c: Cleanup.
1087 * sysdeps/arm/fesetround.c: Cleanup.
1088 * sysdeps/arm/feupdateenv.c: Cleanup.
1089 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1090 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1091 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1092 * sysdeps/arm/ftestexcept.c: Cleanup.
1093 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1094 * sysdeps/arm/setfpucw.c: Cleanup.
1096 2014-05-09 Will Newton <will.newton@linaro.org>
1098 * sysdeps/arm/armv7/strcmp.S: New file.
1099 * NEWS: Mention addition of ARMv7 optimized strcmp.
1101 2014-05-08 Roland McGrath <roland@hack.frob.com>
1103 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1104 look for %.ac rather than %.in.
1106 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1107 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1108 * sysdeps/mach/hurd/configure: Regenerated.
1109 * sysdeps/unix/sysv/linux/configure: Regenerated.
1111 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1113 2014-05-07 Steve Ellcey <sellcey@mips.com>
1116 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1120 2014-05-07 Andreas Schwab <schwab@suse.de>
1122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1123 when skipping over non-matching result from nscd.
1125 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1128 * nptl/sockperf.c (client): Check socket return value.
1131 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1132 nscd security class.
1134 2014-05-06 Roland McGrath <roland@hack.frob.com>
1136 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1137 * sysdeps/arm/unwind.h: ... here.
1139 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1142 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1145 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1147 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1148 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1149 multiarch strncpy for PPC64.
1150 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1151 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1153 multiarch optimizations.
1154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1155 (__libc_ifunc_impl_list): Likewise.
1156 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1157 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1158 multiarch stpncpy for PPC64.
1159 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1160 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1162 2014-05-06 Andreas Schwab <schwab@suse.de>
1165 * gmon/mcount.c (_MCOUNT_DECL): Use
1166 atomic_compare_and_exchange_bool_acq instead of
1167 catomic_compare_and_exchange_bool_acq.
1169 2014-05-05 Roland McGrath <roland@hack.frob.com>
1171 * elf/Makefile (others, install-bin): Remove pldd.
1172 (pldd-modules): Variable removed.
1173 ($(objpfx)pldd): Target removed.
1174 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1175 (others, install-bin): Append pldd here.
1176 ($(objpfx)pldd): New target.
1178 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1179 to 0, so the first #if test emitted later doesn't see it undefined.
1180 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1181 * sysdeps/gnu/errlist.c: Regenerated.
1183 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1185 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1186 [libc_hidden_builtin_def]: Define to empty value.
1187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1188 [libc_hidden_builtin_def]: Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1190 [libc_hidden_builtin_def]: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1192 [libc_hidden_builtin_def]: Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1194 __redirect_memcpy and define ifunc as default hidden symbol.
1195 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1196 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1198 2014-05-04 Adam Conrad <adconrad@0c3.net>
1200 * locale/iso-4217.def: Reintroduce XDR currency.
1202 2014-05-04 Allan McRae <allan@archlinux.org>
1204 * po/eo.po: Update Esperanto translation from translation project.
1206 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1208 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1209 and FEATURE_INDEX_MAX to 1.
1210 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1212 2014-05-01 Steve Ellcey <sellcey@mips.com>
1214 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1215 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1216 * iconvdata/big5.c (ONE_DIRECTION): Define.
1217 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1218 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1219 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1220 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1221 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1222 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1223 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1224 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1225 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1226 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1227 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1228 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1229 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1230 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1231 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1232 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1233 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1234 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1235 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1236 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1237 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1238 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1239 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1240 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1241 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1242 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1243 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1244 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1245 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1246 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1247 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1248 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1249 * iconvdata/johab.c (ONE_DIRECTION): Define.
1250 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1251 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1252 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1253 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1254 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1255 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1256 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1257 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1258 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1259 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1261 2014-05-01 Roland McGrath <roland@hack.frob.com>
1263 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1264 (_IO_JUMPS_OFFSET): Define to 0.
1266 * nptl/sysdeps/pthread/bits/libc-lock.h
1267 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1268 (__libc_lock_define_initialized_recursive): Always define using
1269 initializer. Modern compilers treat uninitialized (implicit zero) and
1270 explicit zero initializers the same (i.e. put the datum in bss).
1272 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1274 * nscd/nscd-client.h: Include <string.h>.
1276 2014-05-01 David S. Miller <davem@davemloft.net>
1279 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1280 multiple zero bytes exist at the end of a string.
1281 Reported by Aurelien Jarno <aurelien@aurel32.net>
1283 * string/test-strcmp.c (check): Add explicit test for situations where
1284 there are multiple zero bytes after the first.
1286 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1289 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1290 when compiling wprintf.
1291 * stdio-common/tstdiomisc.c (t3): New function.
1294 2014-05-01 Steve Ellcey <sellcey@mips.com>
1296 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1297 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1298 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1299 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1301 2014-05-01 Steve Ellcey <sellcey@mips.com>
1303 * stdlib/longlong.h: Updated from GCC.
1305 2014-05-01 Will Newton <will.newton@linaro.org>
1306 Bernard Ogden <bernie.ogden@linaro.org>
1308 * NEWS: Update fixed bug list.
1311 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1313 2014-04-30 David S. Miller <davem@davemloft.net>
1315 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1316 (libc_feholdexcept_setround_sparc_ctx): New function.
1317 (libc_fesetenv_sparc_ctx): Likewise.
1318 (libc_feupdateenv_sparc_ctx): Likewise.
1319 (libc_feholdsetround_sparc_ctx): Likewise.
1320 (libc_feholdexcept_setround_ctx): Define.
1321 (libc_feholdexcept_setroundf_ctx): Likewise.
1322 (libc_feholdexcept_setroundl_ctx): Likewise.
1323 (libc_fesetenv_ctx): Likewise.
1324 (libc_fesetenvf_ctx): Likewise.
1325 (libc_fesetenvl_ctx): Likewise.
1326 (libc_feupdateenv_ctx): Likewise.
1327 (libc_feupdateenvf_ctx): Likewise.
1328 (libc_feupdateenvl_ctx): Likewise.
1329 (libc_feresetround_ctx): Likewise.
1330 (libc_feresetroundf_ctx): Likewise.
1331 (libc_feresetroundl_ctx): Likewise.
1332 (libc_feholdsetround_ctx): Likewise.
1333 (libc_feholdsetroundf_ctx): Likewise.
1334 (libc_feholdsetroundl_ctx): Likewise.
1336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1337 with __USE_GNU instead of XOPEN cpp guards.
1339 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1343 with XOPEN cpp guards.
1345 2014-04-30 Julian Brown <julian@codesourcery.com>
1348 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1351 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1354 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1356 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1357 * sysdeps/unix/sysv/linux/configure: Regenerated.
1358 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1359 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1360 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1361 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1362 * README: Update reference to required Linux kernel version.
1363 * manual/install.texi (Linux): Update reference to required Linux
1364 kernel headers version.
1365 * INSTALL: Regenerated.
1367 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1369 [POSIX] (limits.h): Likewise.
1370 [POSIX] (math.h): Likewise.
1371 [POSIX] (sys/wait.h): Likewise.
1372 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1374 [POSIX] (stddef.h): Do not allow header inclusion.
1376 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1378 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1380 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1382 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1383 Return immediately after lll_futex_wake.
1385 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1388 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1390 (datahead_init_pos): Call datahead_init_common early.
1391 (datahead_init_neg): Likewise.
1393 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1394 datahead_init_neg): New functions.
1395 * nscd/aicache.c (addhstaiX): Use them.
1396 * nscd/grpcache.c (cache_addgr): Likewise.
1397 * nscd/hstcache.c (cache_addhst): Likewise.
1398 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1399 * nscd/netgroupcache.c (do_notfound): Likewise.
1400 (addgetnetgrentX): Likewise.
1401 (addinnetgrX): Likewise.
1402 * nscd/pwdcache.c (cache_addpw): Likewise.
1403 * nscd/servicescache.c (cache_addserv): Likewise.
1405 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1406 Atsushi Onoe <atsushi@onoe.org>
1411 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1412 one response is valid.
1413 * resolv/res_send.c (send_dg): Check for validity of other
1414 response if the current response is a referral.
1416 2014-04-29 Steve Ellcey <sellcey@mips.com>
1418 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1420 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1423 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1424 Always divide by positive zero when computing -Inf result.
1425 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1426 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1428 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1431 FPSCR if value do not change.
1432 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1433 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1434 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1435 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1436 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1437 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1440 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1442 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1443 * sysdeps/unix/sysv/linux/hppa: Move directory from
1444 ports/systeps/unix/sysv/linux/hppa.
1445 * README: Update listing for hppa-*-linux-gnu.
1447 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1450 * manual/stdio.texi (Hook functions): Fix types of stream hook
1453 * socket/sys/socket.h: Fix typo in comment.
1455 2014-04-28 Wilco <wdijkstr@arm.com>
1457 * sysdeps/arm/fenv_private.h: New file.
1458 * sysdeps/arm/math_private.h: New file.
1459 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1461 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1463 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1465 (La_x86_64_retval): Likewise.
1467 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1469 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1470 fpsr if value didn't change.
1471 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1472 to fpcr if value didn't change.
1473 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1474 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1475 fpsr or fpcr if value didn't change.
1476 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1477 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1478 fpcr if value didn't change.
1479 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1480 to fpsr if value didn't change.
1482 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1484 * nptl/tst-sem3.c: Use test-skeleton.c
1485 (main): Rename to do_test. Use return instead of
1487 * nptl/tst-sem4.c: Use test-skeleton.c
1488 (main): Rename to do_test.
1490 2014-04-22 David S. Miller <davem@davemloft.net>
1492 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1493 (struct sigaction): New struct member __glibc_reserved0, change
1494 type of sa_flags to int.
1496 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1498 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1499 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1501 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1503 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1504 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1506 2014-04-22 Will Newton <will.newton@linaro.org>
1507 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1509 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1510 (__longjmp): Add longjmp and longjmp_target SystemTap
1512 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1513 (__sigsetjmp): Add setjmp SystemTap probe.
1515 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1517 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1520 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1522 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1524 * sysdeps/powerpc/fpu/fenv_private.h
1525 (libc_feholdexcept_setroundl_ctx): Define to
1526 libc_feholdexcept_setround_ppc_ctx.
1527 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1528 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1529 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1530 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1532 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1534 * sysdeps/aarch64/math-tests.h: New file.
1536 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1538 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1541 Check and set bit_AVX2_Usable.
1542 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1544 (bit_AVX2): Likewise.
1545 (index_AVX2_Usable): Likewise.
1546 (CPUID_AVX2): Likewise.
1547 (HAS_AVX2): Likewise.
1549 2014-04-17 Will Newton <will.newton@linaro.org>
1551 * manual/setjmp.texi (System V contexts): Add note that
1552 calling setcontext on a context created by a call to a
1553 signal handler is undefined. Update text to note that
1554 setcontext from a signal handler is possible but not
1558 * stdlib/tst-setcontext.c: Include signal.h.
1559 (main): Check that the signal stack before and
1560 after swapcontext is the same.
1562 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1563 Re-implement to restore registers in user code and avoid
1564 rt_sigreturn system call.
1566 2014-04-17 Wilco <wdijkstr@arm.com>
1568 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1569 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1570 * math/test-fenv.c: Skip exception trap tests on targets which only
1571 support non-stop mode.
1573 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1574 Wilco Dijkstra <wilco.dijkstra@arm.com>
1576 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1577 (libc_feholdsetround_aarch64_ctx)
1578 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1579 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1580 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1581 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1582 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1583 (libc_feresetround_noexl_ctx): Define.
1585 2014-04-16 Richard Henderson <rth@redhat.com>
1587 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1589 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1592 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1593 const from the non-libc, non-ldso copy.
1595 * sysdeps/alpha/libm-test-ulps: Regenerate.
1597 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1598 Wilco Dijkstra <wilco.dijkstra@arm.com>
1600 * sysdeps/aarch64/fpu/math_private.h: New file.
1602 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1604 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1606 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1608 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1609 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1611 Intel MPX bound registers before _dl_profile_fixup.
1612 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1613 registers after _dl_profile_fixup. Save and restore bound
1614 registers bnd0/bnd1 when calling _dl_call_pltexit.
1615 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1616 (LR_BND_OFFSET): Likewise.
1617 (LRV_BND0_OFFSET): Likewise.
1618 (LRV_BND1_OFFSET): Likewise.
1620 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1622 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1624 * sysdeps/mach/hurd/i386/tls.h: ... here.
1625 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1626 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1629 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1631 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1633 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1635 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1637 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1640 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1641 * sysdeps/s390/configure: Regenerate.
1644 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1645 Set round-to-nearest internally to reduce error accumulation.
1647 2014-04-16 Alan Modra <amodra@gmail.com>
1651 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1652 * math/libm-test.inc (frexp_test_data): Add tests.
1653 * NEWS: Update fixed bug list.
1655 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1657 * benchtests/Makefile: Depend on libraries in build directory.
1658 (bench-math): Separate out math tests.
1659 (bench-pthread): Separate out pthread tests.
1660 (bench): Include math and pthread tests.
1662 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1665 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1666 _dl_debug_initialize.
1668 * configure.ac: Remove SELinux header check.
1669 * configure: Regenerate.
1670 * nscd/selinux.c (perms): Array of const char* to permission names.
1671 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1672 default policy. Call string_to_security_class and string_to_av_perm to
1673 translate strings. Enforce default policy and call avs_has_perm with
1674 results of translated strings.
1676 2014-04-13 David S. Miller <davem@davemloft.net>
1678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1680 2014-04-12 Allan McRae <allan@archlinux.org>
1683 * manual/string.texi (Collation Functions): Fix qsort argument
1685 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1687 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1689 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1690 Make the test a no-op if there are no exceptions defined.
1692 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1694 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1695 enable-hardcoded-path-in-tests
1697 2014-04-11 Will Newton <will.newton@linaro.org>
1699 * benchtests/Makefile (extra-objs): Add json-lib.o.
1700 (bench-func): Tidy up JSON output.
1701 * benchtests/bench-skeleton.c: Include json-lib.h.
1702 (main): Use JSON library functions to do output of
1704 * benchtests/bench-timing-type.c (main): Output the
1705 timing type simply, leaving formatting to the user.
1706 * benchtests/json-lib.c: New file.
1707 * benchtests/json-lib.h: Likewise.
1709 2014-04-11 Torvald Riegel <triegel@redhat.com>
1712 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1713 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1714 memory barriers. Add comments.
1715 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1716 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1717 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1718 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1719 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1720 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1722 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1724 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1725 * sysdeps/s390/s390-64/configure.ac: ... this ...
1726 * sysdeps/s390/configure.ac: ... to here.
1727 * sysdeps/s390/s390-32/configure: Delete file.
1728 * sysdeps/s390/s390-64/configure: Delete file.
1729 * sysdeps/s390/configure: Regenerate.
1731 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1733 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1735 2014-04-11 Will Newton <will.newton@linaro.org>
1737 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1738 to zero if it is not defined elsewhere. (mtrim): Test
1739 the value of MALLOC_DEBUG with #if rather than #ifdef.
1741 2014-04-10 Torvald Riegel <triegel@redhat.com>
1743 * benchtests/pthread_once-inputs: New file.
1744 * benchtests/pthread_once-source.c: New file.
1745 * benchtests/README: Update documentation.
1747 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1748 H.J. Lu <hongjiu.lu@intel.com>
1750 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1751 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1752 * sysdeps/x86_64/configure: Regenerated.
1753 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1755 (REGISTER_SAVE_RAX): Likewise.
1756 (REGISTER_SAVE_RCX): Likewise.
1757 (REGISTER_SAVE_RDX): Likewise.
1758 (REGISTER_SAVE_RSI): Likewise.
1759 (REGISTER_SAVE_RDI): Likewise.
1760 (REGISTER_SAVE_R8): Likewise.
1761 (REGISTER_SAVE_R9): Likewise.
1762 (REGISTER_SAVE_BND0): Likewise.
1763 (REGISTER_SAVE_BND1): Likewise.
1764 (REGISTER_SAVE_BND2): Likewise.
1765 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1766 bound registers when calling _dl_fixup.
1768 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1771 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1773 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1774 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1775 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1776 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1777 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1778 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1779 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1781 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1784 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1785 pathconf(_PC_NAME_MAX).
1787 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1789 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1791 (__PTHREAD_SPINS): Move definition to ...
1792 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1793 (__PTHREAD_SPINS): ... here.
1794 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1795 (__PTHREAD_SPIN): Likewise.
1796 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1797 (__PTHREAD_SPIN): Likewise.
1798 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1799 (__PTHREAD_SPIN): Likewise.
1800 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1801 (__PTHREAD_SPIN): Likewise.
1802 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1803 (__PTHREAD_SPIN): Likewise.
1804 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1805 (__PTHREAD_SPIN): Likewise.
1806 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1807 (__PTHREAD_SPIN): Likewise.
1808 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1809 (__PTHREAD_SPIN): Likewise.
1810 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1811 (__PTHREAD_SPIN): Likewise.
1812 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1813 (__PTHREAD_SPIN): Likewise.
1814 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1815 (__PTHREAD_SPIN): Likewise.
1816 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1817 (__PTHREAD_SPIN): Likewise.
1819 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1820 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1821 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1822 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1824 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1825 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1826 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1827 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1829 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1830 strlen symbol for non multi-arch builds.
1831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1832 missing hidden_def and weak_alias.
1834 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1836 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1838 2014-04-07 Will Newton <will.newton@linaro.org>
1840 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1841 and contents. [!_LIBC] Remove #ifndef and contents.
1842 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1843 * string/memccpy.c (__memccpy): Use ANSI prototype.
1844 * string/memfrob.c (memfrob): Likewise.
1845 * string/strcoll.c (STRCOLL): Likewise.
1846 * string/strlen.c (strlen): Likewise.
1847 * string/strtok.c (STRTOK): Likewise.
1848 * string/strcat.c: Remove unused #include of memcopy.h.
1849 (strcat): Use ANSI prototype.
1850 * string/strchr.c: Remove unused #include of memcopy.h.
1851 (strchr): Use ANSI prototype.
1852 * string/strcmp.c: Remove unused #include of memcopy.h.
1853 (strcmp): Use ANSI prototype.
1854 * string/strcpy.c: Remove unused #include of memcopy.h.
1855 (strcpy): Use ANSI prototype.
1857 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1859 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1860 * config.make.in (config-extra-cppflags): Set it from
1861 libc_extra_cppflags.
1862 * configure.ac (libc_extra_cflags): Make it accumulate over
1863 configure fragments.
1864 (libc_extra_cppflags): New flag.
1865 * configure. Regenerate.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1867 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1868 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1872 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1873 result for FE_DOWNWARD rounding mode.
1874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1878 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1880 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1881 in function argument name.
1883 2014-04-03 David Svoboda <svoboda@cert.org>
1886 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1889 2014-04-03 Roland McGrath <roland@hack.frob.com>
1891 * elf/dl-unmap-segments.h: New file.
1892 * sysdeps/generic/ldsodefs.h
1893 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1894 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1895 * elf/dl-fptr.c: Likewise.
1896 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1897 * sysdeps/aarch64/tlsdesc.c: Likewise.
1898 * sysdeps/arm/tlsdesc.c: Likewise.
1899 * sysdeps/i386/tlsdesc.c: Likewise.
1900 * sysdeps/tile/dl-runtime.c: Likewise.
1901 * sysdeps/x86_64/tlsdesc.c: Likewise.
1902 * elf/dl-load.h: New file.
1903 * elf/dl-load.c: Include it.
1904 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1905 Macros moved to dl-load.h.
1906 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1907 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1908 Use _dl_unmap_segments in place of __munmap.
1909 Break out segment-mapping loop into ...
1910 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1912 2014-04-03 Will Newton <will.newton@linaro.org>
1914 * elf/dl-lookup.c (do_lookup_x): Remove comment
1915 referring to nested function and move variable
1916 declarations down to before first use.
1918 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1922 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1924 * math/s_catanf.c (__catanf): Likewise.
1925 * math/s_catanh.c (__catanh): Likewise.
1926 * math/s_catanhf.c (__catanhf): Likewise.
1927 * math/s_catanhl.c (__catanhl): Likewise.
1928 * math/s_catanl.c (__catanl): Likewise.
1929 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1930 by positive zero when computing -Inf result.
1931 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1932 (catanh_test): Likewise.
1933 * sysdeps/i386/fpu/libm-test-ulps: Update.
1934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1938 instead of using underflowing value in computing result.
1939 * math/s_clog10.c (__clog10): Likewise.
1940 * math/s_clog10f.c (__clog10f): Likewise.
1941 * math/s_clog10l.c (__clog10l): Likewise.
1942 * math/s_clogf.c (__clogf): Likewise.
1943 * math/s_clogl.c (__clogl): Likewise.
1944 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1945 (clog10_test): Likewise.
1946 * sysdeps/i386/fpu/libm-test-ulps: Update.
1947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1949 2014-04-02 Alan Modra <amodra@gmail.com>
1952 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1953 output when value is near a power of two. Use int64_t for lx and
1954 remove casts. Use decimal rather than hex exponent constants.
1955 Don't use long double multiplication when double will suffice.
1956 * math/libm-test.inc (nextafter_test_data): Add tests.
1957 * NEWS: Add 16739 and 16786 to bug list.
1959 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1961 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1963 2014-04-01 Will Newton <will.newton@linaro.org>
1965 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1966 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1968 2014-04-01 Florian Weimer <fweimer@redhat.com>
1971 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1972 * nptl/tst-setuid2.c: New file.
1973 * nptl/Makefile (xtests): Add tst-setuid2.
1975 2014-04-01 Alan Modra <amodra@gmail.com>
1978 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1980 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1984 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1985 set errno as appropriate.
1986 * math/w_scalbf.c (__scalbf): Likewise.
1987 * math/w_scalbl.c (__scalbl): Likewise.
1988 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1989 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1990 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1994 * math/w_atan2.c: Include <errno.h>.
1995 (__atan2): Set errno for result underflowing to zero.
1996 * math/w_atan2f.c: Include <errno.h>.
1997 (__atan2f): Set errno for result underflowing to zero.
1998 * math/w_atan2l.c: Include <errno.h>.
1999 (__atan2l): Set errno for result underflowing to zero.
2000 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2002 * math/auto-libm-test-out: Regenerated.
2004 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2006 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2007 Encode instruction correctly in little endian.
2008 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2010 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2012 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2014 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2017 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2020 * sysdeps/unix/sysv/linux/kernel-features.h
2021 [__sparc__ && !__arch64__ && !__sparc_v9__]
2022 (__ASSUME_SET_ROBUST_LIST): Do not define.
2023 [__sparc__ && !__arch64__ && !__sparc_v9__]
2024 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2025 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2027 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2028 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2029 (__ASSUME_REQUEUE_PI): Likewise.
2030 (__ASSUME_SET_ROBUST_LIST): Likewise.
2031 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2032 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2034 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2035 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2037 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2039 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2041 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2042 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2044 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2045 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2049 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2050 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2051 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2053 2014-03-31 Will Newton <will.newton@linaro.org>
2055 * benchtests/Makefile (bench): Add ffs and ffsll to list
2057 * benchtests/ffs-inputs: New file.
2058 * benchtests/ffsll-inputs: Likewise.
2060 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2063 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2064 too large before casting to int.
2065 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2066 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2067 * math/libm-test.inc (scalb_test_data): Add more tests.
2069 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2071 * benchtests/Makefile (DETAILED_OPT): New make option.
2072 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2074 * benchtests/bench-skeleton.c: Include stdbool.h.
2075 (main): Store and print timings per input.
2076 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2077 member to each argument value.
2078 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2079 (_print_arg_data): Initialize per-input timing to 0.
2081 * benchtests/Makefile (timing-type): New binary.
2082 (bench-clean): Also remove bench-timing-type.
2083 (bench): New target for timing-type.
2084 (bench-func): Print output in JSON format.
2085 * benchtests/bench-skeleton.c (main): Print output in JSON
2087 * benchtests/bench-timing-type.c: New file.
2088 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2089 (TIMING_PRINT_STATS): Remove.
2090 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2093 * benchtests/bench-modf.c: Remove.
2094 * benchtests/modf-inputs: New inputs file.
2096 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2099 * math/s_clog10.c (M_PI_LOG10E): New macro.
2100 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2101 imaginary parts are 0.
2102 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2103 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2104 imaginary parts are 0.
2105 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2106 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2107 imaginary parts are 0.
2108 * math/libm-test.inc (clog10_test_data): Update expected results
2109 for when real and imaginary parts are 0.
2111 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2113 * elf/dl-load.c: Finish conversion of __builtin_expect into
2116 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2119 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2120 1+x for argument with exponent below -67.
2121 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2123 * math/auto-libm-test-in: Add more tests of exp.
2124 * math/auto-libm-test-out: Regenerated.
2126 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2129 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2130 (nscd_getnetgrent): Use it.
2133 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2136 2014-03-27 Andi Kleen <ak@linux.intel.com>
2138 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2139 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2140 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2141 (lll_robust_unlock): Remove out of line section. Use cfi
2143 (LLL_STUB_UNWIND_INFO*): Remove.
2144 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2145 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2146 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2147 (lll_robust_unlock): Remove out of line section. Use cfi
2149 (LLL_STUB_UNWIND_INFO*): Remove.
2151 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2154 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2157 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2159 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2161 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2164 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2166 * math/test-fenv-preserve.c: New file.
2167 * math/Makefile (tests): Add test-fenv-preserve.
2169 2014-03-26 Will Newton <will.newton@linaro.org>
2171 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2173 2014-03-25 Roland McGrath <roland@hack.frob.com>
2175 * scripts/versionlist.awk: Partition the version sets and emit all
2176 GLIBC_* (sorted) before all others (sorted).
2178 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2180 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2181 GLIBC_2.2.5 version.
2183 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2188 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2193 2014-03-25 Andreas Schwab <schwab@suse.de>
2195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2196 label to be used after in6ailist is initialized.
2198 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2201 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2203 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2207 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2209 (fp_formats): Update initializers.
2210 (init_fp_formats): Initialize new field.
2211 (output_for_one_input_case): Allow underflow for results up to
2213 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2214 * math/auto-libm-test-in: Don't mark some underflows from asin and
2216 * math/auto-libm-test-out: Regenerated.
2217 * sysdeps/i386/fpu/libm-test-ulps: Update.
2218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2220 2014-03-25 Andreas Schwab <schwab@suse.de>
2222 * libio/Makefile (tst-ftell-partial-wide-ENV)
2223 (tst-ftell-active-handler-ENV): Define.
2225 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2227 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2229 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2231 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2233 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2235 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2236 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2237 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2239 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2242 * elf/dl-load.c (open_verify): Add mode parameter.
2243 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2244 (open_path): Change from boolean 'secure' to complete flag 'mode'
2245 (_dl_map_object): Adjust.
2246 * elf/Makefile (tests): Add tst-dlopen-aout.
2247 * elf/tst-dlopen-aout.c: New test.
2249 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2252 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2253 (struct stat): Rename member pad0 to __glibc_reserved0.
2256 * sysdeps/s390/s390-32/bits/wordsize.h
2257 (__WORDSIZE32_SIZE_ULONG): New define.
2258 * sysdeps/s390/s390-64/bits/wordsize.h
2259 (__WORDSIZE32_SIZE_ULONG): Likewise.
2260 * sysdeps/generic/stdint.h (SIZE_MAX):
2261 Define as UL if __WORDSIZE32_SIZE_ULONG.
2264 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2265 (__glibc_reserved0): New variable.
2266 (sa_flags): Change type to int.
2268 * posix/Makefile (before-compile): Use += before-compile instead
2271 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2272 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2274 2014-03-20 Andreas Schwab <schwab@suse.de>
2277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2278 non-matching result from nscd.
2280 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 * scripts/bench.py: Moved to ...
2283 * benchtests/scripts/bench.py: ... here.
2284 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2286 2014-03-24 Andreas Schwab <schwab@suse.de>
2289 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2290 alloca_account and account alloca use for struct in6ailist.
2292 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2295 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2296 rounding mode to recompute results that overflow to infinity or
2298 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2300 * math/auto-libm-test-out: Regenerated.
2301 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2302 (ccosh_test): Likewise.
2303 (csin_test_data): Use plus_oflow.
2304 (csin_test): Use ALL_RM_TEST.
2305 (csinh_test_data): Use plus_oflow.
2306 (csinh_test): Use ALL_RM_TEST.
2307 * sysdeps/i386/fpu/libm-test-ulps: Update.
2308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2310 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2312 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2313 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2314 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2317 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2319 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2320 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2321 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2322 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2324 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2325 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2327 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2328 * sysdeps/i386/fpu/libm-test-ulps: Update.
2329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2331 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2333 * scripts/bench.pl: Remove file.
2334 * scripts/bench.py: New benchmark script.
2335 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2336 * benchtests/README: Mention python dependency.
2337 * scripts/pylintrc: New file.
2338 * scripts/pylint: New file.
2340 * bits/mathdef.h: Use #ifdef instead of #if.
2341 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2342 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2343 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2344 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2345 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2346 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2348 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2349 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2351 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2353 and strpbrk-ppc64 objects.
2354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2355 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2356 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2357 multiarch strpbrk for POWER7.
2358 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2359 multiarch strpbrk for PPC64.
2360 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2362 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2365 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2367 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2368 (atan_test): Likewise.
2369 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2370 (atanh_test): Use ALL_RM_TEST.
2371 (atan2_test_data): Likewise.
2372 (cabs_test): Likewise.
2373 (cacosh_test): Likewise.
2374 (carg_test): Likewise.
2375 (casin_test): Likewise.
2376 (casinh_test): Likewise.
2377 (cbrt_test): Likewise.
2378 (csqrt_test): Likewise.
2379 (erf_test): Likewise.
2380 (erfc_test): Likewise.
2381 (pow10_test): Likewise.
2382 (exp2_test): Likewise.
2383 (hypot_test): Likewise.
2384 (j0_test): Likewise.
2385 (j1_test): Likewise.
2386 (lgamma_test): Likewise.
2387 (gamma_test): Likewise.
2388 (sincos_test): Likewise.
2389 (tanh_test): Likewise.
2390 (y0_test): Likewise.
2391 (y1_test): Likewise.
2392 * sysdeps/i386/fpu/libm-test-ulps: Update.
2393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2395 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2397 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2399 and strcspn-ppc64 objects.
2400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2401 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2402 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2403 multiarch strcspn for POWER7.
2404 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2405 multiarch strcspn for PPC64.
2406 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2408 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2411 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2413 * math/gen-libm-test.pl (generate_testfile): Expect only function
2414 name as argument to AUTO_TESTS_* and pass results for all rounding
2415 modes to parse_args.
2416 (parse_auto_input): Separate inputs of automatic tests from
2417 outputs before storing in %auto_tests.
2418 * math/libm-test.inc (acos_test_data): Update call to
2420 (acos_test): Use ALL_RM_TEST.
2421 (acos_tonearest_test_data): Remove.
2422 (acos_test_tonearest): Likewise.
2423 (acos_towardzero_test_data): Likewise.
2424 (acos_test_towardzero): Likewise.
2425 (acos_downward_test_data): Likewise.
2426 (acos_test_downward): Likewise.
2427 (acos_upward_test_data): Likewise.
2428 (acos_test_upward): Likewise.
2429 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2430 (asin_test_data): Likewise.
2431 (asin_test): Use ALL_RM_TEST.
2432 (asin_tonearest_test_data): Remove.
2433 (asin_test_tonearest): Likewise.
2434 (asin_towardzero_test_data): Likewise.
2435 (asin_test_towardzero): Likewise.
2436 (asin_downward_test_data): Likewise.
2437 (asin_test_downward): Likewise.
2438 (asin_upward_test_data): Likewise.
2439 (asin_test_upward): Likewise.
2440 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2441 (atan_test_data): Likewise.
2442 (atanh_test_data): Likewise.
2443 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2444 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2445 (carg_test_data): Likewise.
2446 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2447 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2448 (ccosh_test_data): Likewise.
2449 (cexp_test_data): Likewise.
2450 (clog_test_data): Likewise.
2451 (clog10_test_data): Likewise.
2452 (cos_test_data): Update call to AUTO_TESTS_f_f.
2453 (cos_test): Use ALL_RM_TEST.
2454 (cos_tonearest_test_data): Remove.
2455 (cos_test_tonearest): Likewise.
2456 (cos_towardzero_test_data): Likewise.
2457 (cos_test_towardzero): Likewise.
2458 (cos_downward_test_data): Likewise.
2459 (cos_test_downward): Likewise.
2460 (cos_upward_test_data): Likewise.
2461 (cos_test_upward): Likewise.
2462 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2463 (cosh_test): Use ALL_RM_TEST.
2464 (cosh_tonearest_test_data): Remove.
2465 (cosh_test_tonearest): Likewise.
2466 (cosh_towardzero_test_data): Likewise.
2467 (cosh_test_towardzero): Likewise.
2468 (cosh_downward_test_data): Likewise.
2469 (cosh_test_downward): Likewise.
2470 (cosh_upward_test_data): Likewise.
2471 (cosh_test_upward): Likewise.
2472 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2473 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2474 (ctan_test_data): Likewise.
2475 (ctan_test): Use ALL_RM_TEST.
2476 (ctan_tonearest_test_data): Remove.
2477 (ctan_test_tonearest): Likewise.
2478 (ctan_towardzero_test_data): Likewise.
2479 (ctan_test_towardzero): Likewise.
2480 (ctan_downward_test_data): Likewise.
2481 (ctan_test_downward): Likewise.
2482 (ctan_upward_test_data): Likewise.
2483 (ctan_test_upward): Likewise.
2484 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2485 (ctanh_test): Use ALL_RM_TEST.
2486 (ctanh_tonearest_test_data): Remove.
2487 (ctanh_test_tonearest): Likewise.
2488 (ctanh_towardzero_test_data): Likewise.
2489 (ctanh_test_towardzero): Likewise.
2490 (ctanh_downward_test_data): Likewise.
2491 (ctanh_test_downward): Likewise.
2492 (ctanh_upward_test_data): Likewise.
2493 (ctanh_test_upward): Likewise.
2494 (erf_test_data): Update call to AUTO_TESTS_f_f.
2495 (erfc_test_data): Likewise.
2496 (exp_test_data): Likewise.
2497 (exp_test): Use ALL_RM_TEST.
2498 (exp_tonearest_test_data): Remove.
2499 (exp_test_tonearest): Likewise.
2500 (exp_towardzero_test_data): Likewise.
2501 (exp_test_towardzero): Likewise.
2502 (exp_downward_test_data): Likewise.
2503 (exp_test_downward): Likewise.
2504 (exp_upward_test_data): Likewise.
2505 (exp_test_upward): Likewise.
2506 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2507 (exp10_test): Use ALL_RM_TEST.
2508 (exp10_tonearest_test_data): Remove.
2509 (exp10_test_tonearest): Likewise.
2510 (exp10_towardzero_test_data): Likewise.
2511 (exp10_test_towardzero): Likewise.
2512 (exp10_downward_test_data): Likewise.
2513 (exp10_test_downward): Likewise.
2514 (exp10_upward_test_data): Likewise.
2515 (exp10_test_upward): Likewise.
2516 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2517 (expm1_test_data): Likewise.
2518 (expm1_test): Use ALL_RM_TEST.
2519 (expm1_tonearest_test_data): Remove.
2520 (expm1_test_tonearest): Likewise.
2521 (expm1_towardzero_test_data): Likewise.
2522 (expm1_test_towardzero): Likewise.
2523 (expm1_downward_test_data): Likewise.
2524 (expm1_test_downward): Likewise.
2525 (expm1_upward_test_data): Likewise.
2526 (expm1_test_upward): Likewise.
2527 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2528 (fma_test): Use ALL_RM_TEST.
2529 (fma_towardzero_test_data): Remove.
2530 (fma_test_towardzero): Likewise.
2531 (fma_downward_test_data): Likewise.
2532 (fma_test_downward): Likewise.
2533 (fma_upward_test_data): Likewise.
2534 (fma_test_upward): Likewise.
2535 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2536 (j0_test_data): Update call to AUTO_TESTS_f_f.
2537 (j1_test_data): Likewise.
2538 (jn_test_data): Update call to AUTO_TESTS_if_f.
2539 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2540 (log_test_data): Update call to AUTO_TESTS_f_f.
2541 (log10_test_data): Likewise.
2542 (log1p_test_data): Likewise.
2543 (log2_test_data): Likewise.
2544 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2545 (pow_tonearest_test_data): Likewise.
2546 (sin_test_data): Update call to AUTO_TESTS_f_f.
2547 (sin_test): Use ALL_RM_TEST.
2548 (sin_tonearest_test_data): Remove.
2549 (sin_test_tonearest): Likewise.
2550 (sin_towardzero_test_data): Likewise.
2551 (sin_test_towardzero): Likewise.
2552 (sin_downward_test_data): Likewise.
2553 (sin_test_downward): Likewise.
2554 (sin_upward_test_data): Likewise.
2555 (sin_test_upward): Likewise.
2556 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2557 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2558 (sinh_test): Use ALL_RM_TEST.
2559 (sinh_tonearest_test_data): Remove.
2560 (sinh_test_tonearest): Likewise.
2561 (sinh_towardzero_test_data): Likewise.
2562 (sinh_test_towardzero): Likewise.
2563 (sinh_downward_test_data): Likewise.
2564 (sinh_test_downward): Likewise.
2565 (sinh_upward_test_data): Likewise.
2566 (sinh_test_upward): Likewise.
2567 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2568 (sqrt_test): Use ALL_RM_TEST.
2569 (sqrt_tonearest_test_data): Remove.
2570 (sqrt_test_tonearest): Likewise.
2571 (sqrt_towardzero_test_data): Likewise.
2572 (sqrt_test_towardzero): Likewise.
2573 (sqrt_downward_test_data): Likewise.
2574 (sqrt_test_downward): Likewise.
2575 (sqrt_upward_test_data): Likewise.
2576 (sqrt_test_upward): Likewise.
2577 (tan_test_data): Update call to AUTO_TESTS_f_f.
2578 (tan_test): Use ALL_RM_TEST.
2579 (tan_tonearest_test_data): Remove.
2580 (tan_test_tonearest): Likewise.
2581 (tan_towardzero_test_data): Likewise.
2582 (tan_test_towardzero): Likewise.
2583 (tan_downward_test_data): Likewise.
2584 (tan_test_downward): Likewise.
2585 (tan_upward_test_data): Likewise.
2586 (tan_test_upward): Likewise.
2587 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2588 (tgamma_test_data): Likewise.
2589 (y0_test_data): Likewise.
2590 (y1_test_data): Likewise.
2591 (yn_test_data): Update call to AUTO_TESTS_if_f.
2592 (main): Do not call removed functions.
2594 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2596 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2597 (ldexp_test_data): Remove.
2598 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2600 (scalb_test): Use ALL_RM_TEST.
2602 2014-03-19 Andreas Schwab <schwab@suse.de>
2604 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2606 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2609 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2610 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2611 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2613 (__ASSUME_PREADV): Undefine.
2614 (__ASSUME_PWRITEV): Likewise.
2616 2014-03-18 Roland McGrath <roland@hack.frob.com>
2618 * bits/mman-linux.h: Add comment about non-Linux use.
2619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2620 bits/mman-linux.h resting place.
2622 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2623 * bits/mman-linux.h: ... here.
2625 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2627 * conform/conformtest.pl: Add standard definition when calling C
2628 preprocessor on data files.
2629 (checknamespace): Remove unused variable.
2631 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2633 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2634 minus_oflow, plus_uflow and minus_uflow in expected results.
2635 * math/libm-test.inc (scalbn_test_data): Add more tests of
2636 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2638 (scalbn_test): Use ALL_RM_TEST.
2639 (scalbln_test_data): Add more tests of negative arguments. Use
2640 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2641 (scalbln_test): Use ALL_RM_TEST.
2643 2014-03-18 Roland McGrath <roland@hack.frob.com>
2645 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2647 2014-03-18 Will Newton <will.newton@linaro.org>
2649 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2652 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2654 * Makerules [!subdir] (check-abi): Exit with error status if a
2657 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2659 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2660 for rint. Include results for all rounding modes.
2661 (nearbyint_test): Use ALL_RM_TEST.
2662 (rint_test_data): Include all tests used for nearbyint.
2664 2014-03-17 Will Newton <will.newton@linaro.org>
2666 * nptl/sysdeps/pthread/pthread.h: Revert previous
2669 * sysdeps/generic/ldsodefs.h: Revert previous
2672 * libio/genops.c: Revert previous change.
2673 * libio/libioP.h: Likewise.
2674 * stdio-common/vfprintf.c: Likewise.
2676 * sysdeps/generic/math_private.h: Revert previous
2679 * sysdeps/generic/math_private.h: Check whether
2680 HAVE_RM_CTX is defined with #ifdef rather
2683 * argp/argp-fmtstream.h: Check whether
2684 __STRICT_ANSI__ is defined with #ifdef rather
2686 * argp/argp.h: Likewise.
2688 * libio/genops.c: Check whether
2689 _IO_JUMPS_OFFSET is defined with #ifdef rather
2691 * libio/libioP.h: Likewise.
2692 * stdio-common/vfprintf.c: Likewise.
2694 * sysdeps/generic/ldsodefs.h: Check whether
2695 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2698 * nptl/sysdeps/pthread/pthread.h: Check
2699 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2702 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2704 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2706 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2710 * libio/fileops.c (_IO_file_open): Seek to end of file but
2711 don't cache the offset.
2712 (get_file_offset): Remove function.
2713 (do_ftell): Use cached offset when available.
2714 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2715 don't cache the offset.
2716 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2718 (do_one_test): Call it.
2719 (do_ftell_test): Fix up expected old offset for a+ mode.
2720 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2723 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2724 up test status with function return status.
2725 (do_write_test): Likewise.
2726 (do_append_test): Likewise.
2728 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2729 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2732 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2734 * math/gen-libm-test.pl (parse_args): Handle results specified for
2735 each rounding mode separately.
2736 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2737 tests and results from lrint_tonearest_test_data,
2738 lrint_towardzero_test_data, lrint_downward_test_data and
2739 lrint_upward_test_data.
2740 (lrint_test): Use ALL_RM_TEST.
2741 (lrint_tonearest_test_data): Remove.
2742 (lrint_test_tonearest): Likewise.
2743 (lrint_towardzero_test_data): Likewise.
2744 (lrint_test_towardzero): Likewise.
2745 (lrint_downward_test_data): Likewise.
2746 (lrint_test_downward): Likewise.
2747 (lrint_upward_test_data): Likewise.
2748 (lrint_test_upward): Likewise.
2749 (llrint_test_data): Merge in per-rounding-mode tests and results
2750 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2751 llrint_downward_test_data and llrint_upward_test_data.
2752 (llrint_test): Use ALL_RM_TEST.
2753 (llrint_tonearest_test_data): Remove.
2754 (llrint_test_tonearest): Likewise.
2755 (llrint_towardzero_test_data): Likewise.
2756 (llrint_test_towardzero): Likewise.
2757 (llrint_downward_test_data): Likewise.
2758 (llrint_test_downward): Likewise.
2759 (llrint_upward_test_data): Likewise.
2760 (llrint_test_upward): Likewise.
2761 (rint_test_data): Merge in per-rounding-mode tests and results
2762 from rint_tonearest_test_data, rint_towardzero_test_data,
2763 rint_downward_test_data and rint_upward_test_data. Add
2764 per-rounding-mode results for tests not in those arrays.
2765 (rint_test): Use ALL_RM_TEST.
2766 (rint_tonearest_test_data): Remove.
2767 (rint_test_tonearest): Likewise.
2768 (rint_towardzero_test_data): Likewise.
2769 (rint_test_towardzero): Likewise.
2770 (rint_downward_test_data): Likewise.
2771 (rint_test_downward): Likewise.
2772 (rint_upward_test_data): Likewise.
2773 (rint_test_upward): Likewise.
2774 (main): Don't call removed functions.
2776 2014-03-14 Roland McGrath <roland@hack.frob.com>
2778 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2779 "Compiled on ..." crapola. It is anti-useful.
2781 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2783 * scripts/evaluate-test.sh: Handle fourth argument to determine
2784 whether test run should stop on failure.
2785 * Makeconfig (stop-on-test-failure): New variable.
2786 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2787 $(stop-on-test-failure).
2788 * Makefile (tests): Give a summary of results from testing and
2789 exit with failure status if they include an ERROR or FAIL.
2791 * manual/install.texi (Configuring and compiling): Mention
2792 stop-on-test-failure=y.
2793 * INSTALL: Regenerated.
2795 2014-03-14 Roland McGrath <roland@hack.frob.com>
2797 * scripts/versionlist.awk: New file.
2798 * Makerules [$(build-shared) = yes]
2799 (postclean-generated): Add Versions.def, not Versions.def.v and
2801 ($(common-objpfx)Versions.def.v.i): Target removed.
2802 ($(common-objpfx)Versions.def): New target.
2803 ($(common-objpfx)Versions.all): Depend on that rather that
2804 $(common-objpfx)Versions.def.v.
2805 * Versions.def: File removed.
2807 * Makeconfig (+gccwarn): Add -Wundef.
2808 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2809 a dl-sysdep.h breaking its contract.
2810 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2811 * include/stackinfo.h: New file.
2812 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2813 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2814 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2815 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2816 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2817 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2818 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2819 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2820 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2821 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2822 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2823 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2824 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2825 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2826 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2828 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2833 * math/libm-test.inc (round_test_data): Add more tests.
2836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2838 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2841 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2843 * math/libm-test.inc (ceil_test_data): Add more tests.
2845 * math/libm-test.inc (trunc_test_data): Add more tests related to
2848 2014-03-14 Roland McGrath <roland@hack.frob.com>
2850 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2851 with #if rather than #ifdef.
2852 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2854 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2856 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2857 first. Disable AVX-512 GCC support if assembler doesn't support
2859 * sysdeps/x86_64/configure: Regenerated.
2861 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2863 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2864 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2865 (__old_pthread_attr_setstack): Likewise.
2866 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2867 [!_STACK_GROWS_DOWN]: Likewise.
2869 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2871 * config.make.in (have-bash2): Delete.
2872 * configure.ac (libc_cv_have_bash2): Delete.
2873 * configure: Regenerate.
2874 * elf/Makefile (common-ldd-rewrite): Rename to ...
2875 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2876 (sh-ldd-rewrite): Delete.
2877 (bash-ldd-rewrite): Delete.
2878 (have-bash2): Delete checks.
2879 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2882 * config.make.in (have-ksh): Delete.
2884 * configure.ac (libc_cv_have_ksh): Delete.
2885 * configure: Regenerate.
2887 * elf/Makefile: Delete $(have-ksh) check.
2888 ($(objpfx)sotruss): Change KSH to BASH.
2889 * elf/sotruss.ksh: Rename to ...
2890 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2891 function style to match POSIX. Drop ksh vim mode setting.
2893 * manual/time.texi (Specifying the Time Zone with TZ): Change
2894 Tuesday to Thursday.
2896 * debug/tst-longjmp_chk2.c: Update header comment.
2897 (stackoverflow_handler): Add comment. Call assert on pass value.
2899 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2901 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2902 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2903 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2904 (La_x86_64_vector): Add zmm.
2905 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2906 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2907 ($(objpfx)tst-audit10): New target.
2908 ($(objpfx)tst-audit10.out): Likewise.
2909 (tst-audit10-ENV): New.
2910 (AVX512-CFLAGS): Likewise.
2911 (CFLAGS-tst-audit10.c): Likewise.
2912 (CFLAGS-tst-auditmod10a.c): Likewise.
2913 (CFLAGS-tst-auditmod10b.c): Likewise.
2914 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2915 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2916 * sysdeps/x86_64/configure: Regenerated.
2917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2918 AVX-512 zmm register support.
2919 (_dl_x86_64_save_sse): Likewise.
2920 (_dl_x86_64_restore_sse): Likewise.
2921 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2922 size vector registers.
2923 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2924 (ZMM_SIZE): Likewise.
2925 * sysdeps/x86_64/tst-audit10.c: New file.
2926 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2927 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2929 2014-03-13 Roland McGrath <roland@hack.frob.com>
2931 * configure.ac (HAVE_EHDR_START): New check.
2932 * configure: Regenerated.
2933 * config.h.in (HAVE_EHDR_START): New #undef.
2934 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2935 assuming the lowest-addressed segment maps the start of the file.
2937 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2939 * INSTALL: Regenerated.
2941 2014-03-13 Will Newton <will.newton@linaro.org>
2943 * manual/setjmp.texi (System V contexts): Improve
2944 clarity and grammar of documentation.
2946 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2949 * elf/Makefile (tests): Add tst-pie2.
2950 (tests-pie): Add tst-pie2.
2951 * elf/tst-pie2.c: New file.
2952 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2954 * elf/rtld.c (map_doit): Load executable as lt_executable.
2955 (dl_main): Likewise.
2957 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2961 (__ASSUME_PSELECT): Undefine.
2963 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2967 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2969 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2970 selector for static builds.
2972 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2975 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2978 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2980 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2981 IFUNC selector for static builds.
2983 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2985 * sysdeps/mips/math_private.h [__mips_hard_float]
2986 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2987 libc_feresetround_mips_ctx.
2988 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2989 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2990 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2993 * math/s_nextafter.c (__nextafter): Do not return value from
2994 overflowing computation.
2995 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2996 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2997 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2999 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3001 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3002 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3004 2014-03-11 Roland McGrath <roland@hack.frob.com>
3006 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3007 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3008 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3009 the new mov targetting sp.
3011 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3014 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3015 Define it for static builds as well.
3016 (NO_BZERO_IMPL): Likewise.
3018 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3020 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3021 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3022 multiarch strspn for PPC64.
3023 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3024 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3026 (__libc_ifunc_impl_list): Likewise.
3027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3028 multiarch optimizations
3029 * string/strspn.c (strspn): Using macro to redefine symbol name.
3031 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3032 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3034 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3035 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3036 multiarch strncat for PPC64.
3037 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3038 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3040 (__libc_ifunc_impl_list): Likewise.
3041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3042 multiarch optimizations
3044 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3047 * nscd/nscd.service: Make service type forking.
3049 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3052 sign in non default rounding modes.
3053 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3055 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3057 * math/libm-test.inc (ALL_RM_TEST): New macro.
3058 (ceil_test): Use ALL_RM_TEST.
3059 (cimag_test): Likewise.
3060 (conj_test): Likewise.
3061 (copysign_test): Likewise.
3062 (cproj_test): Likewise.
3063 (creal_test): Likewise.
3064 (fabs_test): Likewise.
3065 (floor_test): Likewise.
3066 (fmax_test): Likewise.
3067 (fmin_test): Likewise.
3068 (fmod_test): Likewise.
3069 (fpclassify_test): Likewise.
3070 (frexp_test): Likewise.
3071 (ilogb_test): Likewise.
3072 (isfinite_test): Likewise.
3073 (finite_test): Likewise.
3074 (isgreater_test): Likewise.
3075 (isgreaterequal_test): Likewise.
3076 (isinf_test): Likewise.
3077 (isless_test): Likewise.
3078 (islessequal_test): Likewise.
3079 (islessgreater_test): Likewise.
3080 (isnan_test): Likewise.
3081 (isnormal_test): Likewise.
3082 (issignaling_test): Likewise.
3083 (isunordered_test): Likewise.
3084 (logb_test): Likewise.
3085 (logb_downward_test_data): Remove.
3086 (logb_test_downward): Likewise.
3087 (lround_test): Use ALL_RM_TEST.
3088 (llround_test): Likewise.
3089 (modf_test): Likewise.
3090 (nexttoward_test): Likewise.
3091 (remainder_test): Likewise.
3092 (drem_test): Likewise.
3093 (remainder_tonearest_test_data): Likewise.
3094 (remainder_test_tonearest): Likewise.
3095 (drem_test_tonearest): Likewise.
3096 (remainder_towardzero_test_data): Likewise.
3097 (remainder_test_towardzero): Likewise.
3098 (drem_test_towardzero): Likewise.
3099 (remainder_downward_test_data): Likewise.
3100 (remainder_test_downward): Likewise.
3101 (drem_test_downward): Likewise.
3102 (remainder_upward_test_data): Likewise.
3103 (remainder_test_upward): Likewise.
3104 (drem_test_upward): Likewise.
3105 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3106 (round_test): Use ALL_RM_TEST.
3107 (signbit_test): Likewise.
3108 (trunc_test): Likewise.
3109 (significand_test): Likewise.
3110 (main): Don't call removed functions.
3112 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3115 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3117 (ILL_ILLOPN): Likewise.
3118 (ILL_ILLADR): Likewise.
3119 (ILL_ILLTRP): Likewise.
3120 (ILL_PRVOPC): Likewise.
3121 (ILL_PRVREG): Likewise.
3122 (ILL_COPROC): Likewise.
3123 (ILL_BADSTK): Likewise.
3124 (FPE_INTDIV): Likewise.
3125 (FPE_INTOVF): Likewise.
3126 (FPE_FLTDIV): Likewise.
3127 (FPE_FLTOVF): Likewise.
3128 (FPE_FLTUND): Likewise.
3129 (FPE_FLTRES): Likewise.
3130 (FPE_FLTINV): Likewise.
3131 (FPE_FLTSUB): Likewise.
3132 (SEGV_MAPERR): Likewise.
3133 (SEGV_ACCERR): Likewise.
3134 (BUS_ADRALN): Likewise.
3135 (BUS_ADRERR): Likewise.
3136 (BUS_OBJERR): Likewise.
3137 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3138 (TRAP_TRACE): Likewise.
3139 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3141 (CLD_KILLED): Likewise.
3142 (CLD_DUMPED): Likewise.
3143 (CLD_TRAPPED): Likewise.
3144 (CLD_STOPPED): Likewise.
3145 (CLD_CONTINUED): Likewise.
3146 (POLL_IN): Likewise.
3147 (POLL_OUT): Likewise.
3148 (POLL_MSG): Likewise.
3149 (POLL_ERR): Likewise.
3150 (POLL_PRI): Likewise.
3151 (POLL_HUP): Likewise.
3152 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3154 (ILL_ILLOPN): Likewise.
3155 (ILL_ILLADR): Likewise.
3156 (ILL_ILLTRP): Likewise.
3157 (ILL_PRVOPC): Likewise.
3158 (ILL_PRVREG): Likewise.
3159 (ILL_COPROC): Likewise.
3160 (ILL_BADSTK): Likewise.
3161 (FPE_INTDIV): Likewise.
3162 (FPE_INTOVF): Likewise.
3163 (FPE_FLTDIV): Likewise.
3164 (FPE_FLTOVF): Likewise.
3165 (FPE_FLTUND): Likewise.
3166 (FPE_FLTRES): Likewise.
3167 (FPE_FLTINV): Likewise.
3168 (FPE_FLTSUB): Likewise.
3169 (SEGV_MAPERR): Likewise.
3170 (SEGV_ACCERR): Likewise.
3171 (BUS_ADRALN): Likewise.
3172 (BUS_ADRERR): Likewise.
3173 (BUS_OBJERR): Likewise.
3174 (BUS_MCEERR_AR): Likewise.
3175 (BUS_MCEERR_AO): Likewise.
3176 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3177 (TRAP_TRACE): Likewise.
3178 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3180 (CLD_KILLED): Likewise.
3181 (CLD_DUMPED): Likewise.
3182 (CLD_TRAPPED): Likewise.
3183 (CLD_STOPPED): Likewise.
3184 (CLD_CONTINUED): Likewise.
3185 (POLL_IN): Likewise.
3186 (POLL_OUT): Likewise.
3187 (POLL_MSG): Likewise.
3188 (POLL_ERR): Likewise.
3189 (POLL_PRI): Likewise.
3190 (POLL_HUP): Likewise.
3191 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3192 (ILL_ILLOPN): Likewise.
3193 (ILL_ILLADR): Likewise.
3194 (ILL_ILLTRP): Likewise.
3195 (ILL_PRVOPC): Likewise.
3196 (ILL_PRVREG): Likewise.
3197 (ILL_COPROC): Likewise.
3198 (ILL_BADSTK): Likewise.
3199 (FPE_INTDIV): Likewise.
3200 (FPE_INTOVF): Likewise.
3201 (FPE_FLTDIV): Likewise.
3202 (FPE_FLTOVF): Likewise.
3203 (FPE_FLTUND): Likewise.
3204 (FPE_FLTRES): Likewise.
3205 (FPE_FLTINV): Likewise.
3206 (FPE_FLTSUB): Likewise.
3207 (SEGV_MAPERR): Likewise.
3208 (SEGV_ACCERR): Likewise.
3209 (BUS_ADRALN): Likewise.
3210 (BUS_ADRERR): Likewise.
3211 (BUS_OBJERR): Likewise.
3212 (BUS_MCEERR_AR): Likewise.
3213 (BUS_MCEERR_AO): Likewise.
3214 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3215 (TRAP_TRACE): Likewise.
3216 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3218 (CLD_KILLED): Likewise.
3219 (CLD_DUMPED): Likewise.
3220 (CLD_TRAPPED): Likewise.
3221 (CLD_STOPPED): Likewise.
3222 (CLD_CONTINUED): Likewise.
3223 (POLL_IN): Likewise.
3224 (POLL_OUT): Likewise.
3225 (POLL_MSG): Likewise.
3226 (POLL_ERR): Likewise.
3227 (POLL_PRI): Likewise.
3228 (POLL_HUP): Likewise.
3229 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3231 (ILL_ILLOPN): Likewise.
3232 (ILL_ILLADR): Likewise.
3233 (ILL_ILLTRP): Likewise.
3234 (ILL_PRVOPC): Likewise.
3235 (ILL_PRVREG): Likewise.
3236 (ILL_COPROC): Likewise.
3237 (ILL_BADSTK): Likewise.
3238 (ILL_BADIADDR): Likewise.
3239 (ILL_BREAK): Likewise.
3240 (FPE_INTDIV): Likewise.
3241 (FPE_INTOVF): Likewise.
3242 (FPE_FLTDIV): Likewise.
3243 (FPE_FLTOVF): Likewise.
3244 (FPE_FLTUND): Likewise.
3245 (FPE_FLTRES): Likewise.
3246 (FPE_FLTINV): Likewise.
3247 (FPE_FLTSUB): Likewise.
3248 (FPE_DECOVF): Likewise.
3249 (FPE_DECDIV): Likewise.
3250 (FPE_DECERR): Likewise.
3251 (FPE_INVASC): Likewise.
3252 (FPE_INVDEC): Likewise.
3253 (SEGV_MAPERR): Likewise.
3254 (SEGV_ACCERR): Likewise.
3255 (SEGV_PSTKOVF): Likewise.
3256 (BUS_ADRALN): Likewise.
3257 (BUS_ADRERR): Likewise.
3258 (BUS_OBJERR): Likewise.
3259 (BUS_MCEERR_AR): Likewise.
3260 (BUS_MCEERR_AO): Likewise.
3261 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3262 (TRAP_TRACE): Likewise.
3263 (TRAP_BRANCH): Likewise.
3264 (TRAP_HWBKPT): Likewise.
3265 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3267 (CLD_KILLED): Likewise.
3268 (CLD_DUMPED): Likewise.
3269 (CLD_TRAPPED): Likewise.
3270 (CLD_STOPPED): Likewise.
3271 (CLD_CONTINUED): Likewise.
3272 (POLL_IN): Likewise.
3273 (POLL_OUT): Likewise.
3274 (POLL_MSG): Likewise.
3275 (POLL_ERR): Likewise.
3276 (POLL_PRI): Likewise.
3277 (POLL_HUP): Likewise.
3278 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3279 (ILL_ILLOPN): Likewise.
3280 (ILL_ILLADR): Likewise.
3281 (ILL_ILLTRP): Likewise.
3282 (ILL_PRVOPC): Likewise.
3283 (ILL_PRVREG): Likewise.
3284 (ILL_COPROC): Likewise.
3285 (ILL_BADSTK): Likewise.
3286 (FPE_INTDIV): Likewise.
3287 (FPE_INTOVF): Likewise.
3288 (FPE_FLTDIV): Likewise.
3289 (FPE_FLTOVF): Likewise.
3290 (FPE_FLTUND): Likewise.
3291 (FPE_FLTRES): Likewise.
3292 (FPE_FLTINV): Likewise.
3293 (FPE_FLTSUB): Likewise.
3294 (SEGV_MAPERR): Likewise.
3295 (SEGV_ACCERR): Likewise.
3296 (BUS_ADRALN): Likewise.
3297 (BUS_ADRERR): Likewise.
3298 (BUS_OBJERR): Likewise.
3299 (BUS_MCEERR_AR): Likewise.
3300 (BUS_MCEERR_AO): Likewise.
3301 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3302 (TRAP_TRACE): Likewise.
3303 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3305 (CLD_KILLED): Likewise.
3306 (CLD_DUMPED): Likewise.
3307 (CLD_TRAPPED): Likewise.
3308 (CLD_STOPPED): Likewise.
3309 (CLD_CONTINUED): Likewise.
3310 (POLL_IN): Likewise.
3311 (POLL_OUT): Likewise.
3312 (POLL_MSG): Likewise.
3313 (POLL_ERR): Likewise.
3314 (POLL_PRI): Likewise.
3315 (POLL_HUP): Likewise.
3316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3317 (ILL_ILLOPN): Likewise.
3318 (ILL_ILLADR): Likewise.
3319 (ILL_ILLTRP): Likewise.
3320 (ILL_PRVOPC): Likewise.
3321 (ILL_PRVREG): Likewise.
3322 (ILL_COPROC): Likewise.
3323 (ILL_BADSTK): Likewise.
3324 (FPE_INTDIV): Likewise.
3325 (FPE_INTOVF): Likewise.
3326 (FPE_FLTDIV): Likewise.
3327 (FPE_FLTOVF): Likewise.
3328 (FPE_FLTUND): Likewise.
3329 (FPE_FLTRES): Likewise.
3330 (FPE_FLTINV): Likewise.
3331 (FPE_FLTSUB): Likewise.
3332 (SEGV_MAPERR): Likewise.
3333 (SEGV_ACCERR): Likewise.
3334 (BUS_ADRALN): Likewise.
3335 (BUS_ADRERR): Likewise.
3336 (BUS_OBJERR): Likewise.
3337 (BUS_MCEERR_AR): Likewise.
3338 (BUS_MCEERR_AO): Likewise.
3339 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3340 (TRAP_TRACE): Likewise.
3341 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3343 (CLD_KILLED): Likewise.
3344 (CLD_DUMPED): Likewise.
3345 (CLD_TRAPPED): Likewise.
3346 (CLD_STOPPED): Likewise.
3347 (CLD_CONTINUED): Likewise.
3348 (POLL_IN): Likewise.
3349 (POLL_OUT): Likewise.
3350 (POLL_MSG): Likewise.
3351 (POLL_ERR): Likewise.
3352 (POLL_PRI): Likewise.
3353 (POLL_HUP): Likewise.
3354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3355 (ILL_ILLOPN): Likewise.
3356 (ILL_ILLADR): Likewise.
3357 (ILL_ILLTRP): Likewise.
3358 (ILL_PRVOPC): Likewise.
3359 (ILL_PRVREG): Likewise.
3360 (ILL_COPROC): Likewise.
3361 (ILL_BADSTK): Likewise.
3362 (FPE_INTDIV): Likewise.
3363 (FPE_INTOVF): Likewise.
3364 (FPE_FLTDIV): Likewise.
3365 (FPE_FLTOVF): Likewise.
3366 (FPE_FLTUND): Likewise.
3367 (FPE_FLTRES): Likewise.
3368 (FPE_FLTINV): Likewise.
3369 (FPE_FLTSUB): Likewise.
3370 (SEGV_MAPERR): Likewise.
3371 (SEGV_ACCERR): Likewise.
3372 (BUS_ADRALN): Likewise.
3373 (BUS_ADRERR): Likewise.
3374 (BUS_OBJERR): Likewise.
3375 (BUS_MCEERR_AR): Likewise.
3376 (BUS_MCEERR_AO): Likewise.
3377 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3378 (TRAP_TRACE): Likewise.
3379 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3381 (CLD_KILLED): Likewise.
3382 (CLD_DUMPED): Likewise.
3383 (CLD_TRAPPED): Likewise.
3384 (CLD_STOPPED): Likewise.
3385 (CLD_CONTINUED): Likewise.
3386 (POLL_IN): Likewise.
3387 (POLL_OUT): Likewise.
3388 (POLL_MSG): Likewise.
3389 (POLL_ERR): Likewise.
3390 (POLL_PRI): Likewise.
3391 (POLL_HUP): Likewise.
3392 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3393 (ILL_ILLOPN): Likewise.
3394 (ILL_ILLADR): Likewise.
3395 (ILL_ILLTRP): Likewise.
3396 (ILL_PRVOPC): Likewise.
3397 (ILL_PRVREG): Likewise.
3398 (ILL_COPROC): Likewise.
3399 (ILL_BADSTK): Likewise.
3400 (ILL_DBLFLT): Likewise.
3401 (ILL_HARDWALL): Likewise.
3402 (FPE_INTDIV): Likewise.
3403 (FPE_INTOVF): Likewise.
3404 (FPE_FLTDIV): Likewise.
3405 (FPE_FLTOVF): Likewise.
3406 (FPE_FLTUND): Likewise.
3407 (FPE_FLTRES): Likewise.
3408 (FPE_FLTINV): Likewise.
3409 (FPE_FLTSUB): Likewise.
3410 (SEGV_MAPERR): Likewise.
3411 (SEGV_ACCERR): Likewise.
3412 (BUS_ADRALN): Likewise.
3413 (BUS_ADRERR): Likewise.
3414 (BUS_OBJERR): Likewise.
3415 (BUS_MCEERR_AR): Likewise.
3416 (BUS_MCEERR_AO): Likewise.
3417 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3418 (TRAP_TRACE): Likewise.
3419 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3421 (CLD_KILLED): Likewise.
3422 (CLD_DUMPED): Likewise.
3423 (CLD_TRAPPED): Likewise.
3424 (CLD_STOPPED): Likewise.
3425 (CLD_CONTINUED): Likewise.
3426 (POLL_IN): Likewise.
3427 (POLL_OUT): Likewise.
3428 (POLL_MSG): Likewise.
3429 (POLL_ERR): Likewise.
3430 (POLL_PRI): Likewise.
3431 (POLL_HUP): Likewise.
3432 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3433 (ILL_ILLOPN): Likewise.
3434 (ILL_ILLADR): Likewise.
3435 (ILL_ILLTRP): Likewise.
3436 (ILL_PRVOPC): Likewise.
3437 (ILL_PRVREG): Likewise.
3438 (ILL_COPROC): Likewise.
3439 (ILL_BADSTK): Likewise.
3440 (FPE_INTDIV): Likewise.
3441 (FPE_INTOVF): Likewise.
3442 (FPE_FLTDIV): Likewise.
3443 (FPE_FLTOVF): Likewise.
3444 (FPE_FLTUND): Likewise.
3445 (FPE_FLTRES): Likewise.
3446 (FPE_FLTINV): Likewise.
3447 (FPE_FLTSUB): Likewise.
3448 (SEGV_MAPERR): Likewise.
3449 (SEGV_ACCERR): Likewise.
3450 (BUS_ADRALN): Likewise.
3451 (BUS_ADRERR): Likewise.
3452 (BUS_OBJERR): Likewise.
3453 (BUS_MCEERR_AR): Likewise.
3454 (BUS_MCEERR_AO): Likewise.
3455 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3456 (TRAP_TRACE): Likewise.
3457 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3459 (CLD_KILLED): Likewise.
3460 (CLD_DUMPED): Likewise.
3461 (CLD_TRAPPED): Likewise.
3462 (CLD_STOPPED): Likewise.
3463 (CLD_CONTINUED): Likewise.
3464 (POLL_IN): Likewise.
3465 (POLL_OUT): Likewise.
3466 (POLL_MSG): Likewise.
3467 (POLL_ERR): Likewise.
3468 (POLL_PRI): Likewise.
3469 (POLL_HUP): Likewise.
3470 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3471 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3474 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3475 before #include of <time.h>.
3476 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3477 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3478 (test-xfail-UNIX98/sched.h/conform): Likewise.
3480 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3482 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3483 error absence of trapping exception support.
3484 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3486 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3488 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3489 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3490 * timezone/Makefile (testdata): Move definition above include of
3492 (test-zones): New variable.
3493 (tests-special): Add zone files.
3494 (build-testdata): Use $(evaluate-test).
3496 * elf/Makefile (tests-special): Rename tests to end with .out.
3497 ($(objpfx)noload-mem): Likewise.
3498 ($(objpfx)tst-leaks1-mem): Likewise.
3499 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3500 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3501 $(objpfx)test-iconvconfig.out.
3502 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3503 set -e inside subshell and redirect output to file.
3504 * iconvdata/Makefile (generated): Rename tests to end with .out.
3506 (tests-special): Rename tests to end with .out.
3507 ($(objpfx)mtrace-tst-loading): Likewise.
3508 * intl/Makefile (generated): Likewise.
3509 (tests-special): Likewise.
3510 ($(objpfx)mtrace-tst-gettext): Likewise.
3511 * misc/Makefile (generated): Likewise.
3512 (tests-special): Likewise.
3513 ($(objpfx)tst-error1-mem): Likewise.
3514 * nptl/Makefile (tests-special): Likewise.
3515 ($(objpfx)tst-stack3-mem): Likewise.
3516 (generated): Likewise.
3517 * posix/Makefile (generated): Likewise.
3518 (tests-special): Likewise.
3519 (xtests-special): Likewise.
3520 ($(objpfx)tst-fnmatch-mem): Likewise.
3521 ($(objpfx)bug-regex2-mem): Likewise.
3522 ($(objpfx)bug-regex14-mem): Likewise.
3523 ($(objpfx)bug-regex21-mem): Likewise.
3524 ($(objpfx)bug-regex31-mem): Likewise.
3525 ($(objpfx)tst-vfork3-mem): Likewise.
3526 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3527 ($(objpfx)tst-pcre-mem): Likewise.
3528 ($(objpfx)tst-boost-mem): Likewise.
3529 ($(objpfx)bug-ga2-mem): Likewise.
3530 ($(objpfx)bug-glob2-mem): Likewise.
3531 * resolv/Makefile (generate): Likewise.
3532 (tests-special): Likewise.
3533 (xtests-special): Likewise.
3534 (generated): Likewise.
3535 ($(objpfx)mtrace-tst-leaks): Likewise.
3536 ($(objpfx)mtrace-tst-leaks2): Likewise.
3538 * scripts/merge-test-results.sh: New file.
3539 * Makefile (tests-special-notdir): New variable.
3540 (tests): Run merge-test-results.sh.
3542 * Rules (tests-special-notdir): New variable.
3543 (xtests-special-notdir): Likewise.
3544 (tests): Run merge-test-results.sh
3547 * Makeconfig (test-xfail-name): New variable.
3548 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3549 compute variable name for expected failures.
3550 * conform/Makefile (conformtest-headers-data): New variable.
3551 (conformtest-standards): Likewise.
3552 (conformtest-headers-ISO): Likewise.
3553 (conformtest-headers-ISO99): Likewise.
3554 (conformtest-headers-ISO11): Likewise.
3555 (conformtest-headers-POSIX): Likewise.
3556 (conformtest-headers-XPG3): Likewise.
3557 (conformtest-headers-XPG4): Likewise.
3558 (conformtest-headers-UNIX98): Likewise.
3559 (conformtest-headers-XOPEN2K): Likewise.
3560 (conformtest-headers-POSIX2008): Likewise.
3561 (conformtest-headers-XOPEN2K8): Likewise.
3562 (conformtest-header-list-base): Likewise.
3563 (conformtest-header-list-tests): Likewise.
3564 (conformtest-header-base): Likewise.
3565 (conformtest-header-tests): Likewise.
3566 (tests-special): Add $(conformtest-header-list-tests). If
3567 [$(fast-check) && !$(cross-compiling)], add
3568 $(conformtest-header-tests) instead of
3569 $(objpfx)run-conformtest.out.
3570 (generated): Add $(conformtest-header-list-base). If
3571 [$(fast-check) && !$(cross-compiling)], add
3572 $(conformtest-header-base). Remove previous setting.
3573 ($(conformtest-header-list-tests)): New target.
3574 (test-xfail-run-conformtest): Remove variable.
3575 ($(objpfx)run-conformtest.out): Remove target.
3576 (test-xfail-ISO11/complex.h/conform): New variable.
3577 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3578 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3579 (test-xfail-XPG3/varargs.h/conform): Likewise.
3580 (test-xfail-XPG4/varargs.h/conform): Likewise.
3581 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3582 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3583 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3584 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3585 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3586 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3587 (test-xfail-XPG3/ftw.h/conform): Likewise.
3588 (test-xfail-XPG3/grp.h/conform): Likewise.
3589 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3590 (test-xfail-XPG3/limits.h/conform): Likewise.
3591 (test-xfail-XPG3/pwd.h/conform): Likewise.
3592 (test-xfail-XPG3/search.h/conform): Likewise.
3593 (test-xfail-XPG3/signal.h/conform): Likewise.
3594 (test-xfail-XPG3/stdio.h/conform): Likewise.
3595 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3596 (test-xfail-XPG3/string.h/conform): Likewise.
3597 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3598 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3599 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3600 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3601 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3602 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3603 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3604 (test-xfail-XPG3/termios.h/conform): Likewise.
3605 (test-xfail-XPG3/time.h/conform): Likewise.
3606 (test-xfail-XPG3/unistd.h/conform): Likewise.
3607 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3608 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3609 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3610 (test-xfail-XPG4/netdb.h/conform): Likewise.
3611 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3612 (test-xfail-XPG4/signal.h/conform): Likewise.
3613 (test-xfail-XPG4/stdio.h/conform): Likewise.
3614 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3615 (test-xfail-XPG4/stropts.h/conform): Likewise.
3616 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3617 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3618 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3619 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3620 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3621 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3622 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3623 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3624 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3625 (test-xfail-XPG4/termios.h/conform): Likewise.
3626 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3627 (test-xfail-XPG4/unistd.h/conform): Likewise.
3628 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3629 (test-xfail-POSIX/sched.h/conform): Likewise.
3630 (test-xfail-POSIX/signal.h/conform): Likewise.
3631 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3632 (test-xfail-POSIX/tar.h/conform): Likewise.
3633 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3634 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3635 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3636 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3637 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3638 (test-xfail-UNIX98/sched.h/conform): Likewise.
3639 (test-xfail-UNIX98/signal.h/conform): Likewise.
3640 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3641 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3642 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3643 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3644 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3645 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3646 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3647 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3648 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3649 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3650 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3651 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3652 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3653 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3654 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3655 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3656 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3657 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3658 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3659 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3660 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3661 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3662 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3663 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3664 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3665 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3666 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3667 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3668 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3669 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3670 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3671 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3672 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3673 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3674 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3675 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3676 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3677 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3678 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3679 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3680 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3681 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3682 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3683 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3684 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3685 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3686 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3687 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3688 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3689 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3690 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3691 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3692 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3693 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3694 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3695 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3696 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3697 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3698 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3699 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3700 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3701 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3702 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3703 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3704 (conformtest-cc-flags): Likewise.
3705 ($(conformtest-header-tests): New target.
3706 * conform/check-header-lists.sh: New file.
3707 * conform/run-conformtest.sh: Remove.
3709 * conform/conformtest.pl: Allow ' and \ in values given for
3711 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3713 [POSIX] (sys/types.h): Likewise.
3714 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3716 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3718 * conform/data/signal.h-data (SIGIO): Remove expectation.
3719 [XPG3] (SIGBUS): Do not expect.
3720 [POSIX || XPG3] (SIGPOLL): Likewise.
3721 [POSIX || XPG3] (SIGPROF): Likewise.
3722 [POSIX || XPG3] (SIGSYS): Likewise.
3723 [XPG3] (SIGTRAP): Likewise.
3724 [POSIX || XPG3] (SIGURG): Likewise.
3725 [POSIX || XPG3] (SIGVTALRM): Likewise.
3726 [POSIX || XPG3] (SIGXCPU): Likewise.
3727 [POSIX || XPG3] (SIGXFSZ): Likewise.
3728 [POSIX] (SA_SIGINFO): Expect.
3729 [XPG3] (siginfo_t): Do not expect type or contents.
3730 [POSIX] (si_pid): Do not expect element.
3731 [POSIX] (si_uid): Likewise.
3732 [POSIX] (si_addr): Likewise.
3733 [POSIX] (si_status): Likewise.
3734 [POSIX] (si_band): Likewise.
3735 [XPG4] (si_value): Likewise.
3736 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3737 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3738 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3739 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3740 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3741 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3742 [POSIX || XPG3] (ILL_COPROC): Likewise.
3743 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3744 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3745 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3746 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3747 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3748 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3749 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3750 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3751 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3752 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3753 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3754 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3755 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3756 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3757 [POSIX || XPG3] (CLD_EXITED): Likewise.
3758 [POSIX || XPG3] (CLD_KILLED): Likewise.
3759 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3760 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3761 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3762 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3763 [POSIX || XPG3] (POLL_IN): Likewise.
3764 [POSIX || XPG3] (POLL_OUT): Likewise.
3765 [POSIX || XPG3] (POLL_MSG): Likewise.
3766 [POSIX || XPG3] (POLL_ERR): Likewise.
3767 [POSIX || XPG3] (POLL_PRI): Likewise.
3768 [POSIX || XPG3] (POLL_HUP): Likewise.
3769 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3770 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3771 (SIG*): Do not allow.
3772 [XPG3] (si_*): Likewise.
3773 [XPG3] (SI_*): Likewise.
3774 [XPG3 || XPG4] (sigev_*): Likewise.
3775 [XPG3 || XPG4] (SIGEV_*): Likewise.
3776 [XPG3 || XPG4] (sival_*): Likewise.
3777 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3778 [POSIX || XPG3] (BUS_*): Likewise.
3779 [POSIX || XPG3] (CLD_*): Likewise.
3780 [POSIX || XPG3] (FPE_*): Likewise.
3781 [POSIX || XPG3] (ILL_*): Likewise.
3782 [POSIX || XPG3] (POLL_*): Likewise.
3783 [POSIX || XPG3] (SEGV_*): Likewise.
3784 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3785 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3786 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3787 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3788 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3789 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3790 Specify type and value.
3791 (TVERSLEN): Likewise.
3792 (REGTYPE): Likewise.
3793 (AREGTYPE): Likewise.
3794 (LNKTYPE): Likewise.
3795 (SYMTYPE): Likewise.
3796 (CHRTYPE): Likewise.
3797 (BLKTYPE): Likewise.
3798 (DIRTYPE): Likewise.
3799 (FIFOTYPE): Likewise.
3800 (CONTTYPE): Likewise.
3805 (TUWRITE): Likewise.
3808 (TGWRITE): Likewise.
3811 (TOWRITE): Likewise.
3813 [POSIX] (TSVTX): Expect constant.
3815 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3817 * Makefile (tests): Change dependencies to ....
3818 (tests-special): ... additions to this variable.
3819 (tests): Depend on $(tests-special).
3820 * Makerules (check-abi-list): New variable.
3821 (check-abi): Depend on $(check-abi-list).
3822 [$(subdir) = elf] (tests-special): Add
3823 $(objpfx)check-abi-libc.out.
3824 [$(build-shared) = yes && subdir] (tests-special): Add
3826 [$(build-shared) = yes && subdir] (tests): Do not depend on
3828 * Rules (tests): Depend on $(tests-special).
3829 (xtests): Depend on $(xtests-special).
3830 * catgets/Makefile (tests): Change dependencies to ....
3831 (tests-special): ... additions to this variable.
3832 * conform/Makefile (tests): Change dependencies to ....
3833 (tests-special): ... additions to this variable.
3834 * elf/Makefile (tests): Change dependencies to ....
3835 (tests-special): ... additions to this variable.
3836 * grp/Makefile (tests): Change dependencies to ....
3837 (tests-special): ... additions to this variable.
3838 * iconv/Makefile (xtests): Change dependencies to ....
3839 (xtests-special): ... additions to this variable.
3840 * iconvdata/Makefile (tests): Change dependencies to ....
3841 (tests-special): ... additions to this variable.
3842 * intl/Makefile (tests): Change dependencies to ....
3843 (tests-special): ... additions to this variable. Also add
3844 $(objpfx)tst-gettext.out.
3845 * io/Makefile (tests): Change dependencies to ....
3846 (tests-special): ... additions to this variable.
3847 * libio/Makefile (tests): Change dependencies to ....
3848 (tests-special): ... additions to this variable.
3849 * malloc/Makefile (tests): Change dependencies to ....
3850 (tests-special): ... additions to this variable.
3851 * misc/Makefile (tests): Change dependencies to ....
3852 (tests-special): ... additions to this variable.
3853 * nptl/Makefile (tests): Change dependencies to ....
3854 (tests-special): ... additions to this variable.
3855 * nptl_db/Makefile (tests): Change dependencies to ....
3856 (tests-special): ... additions to this variable.
3857 * posix/Makefile (tests): Change dependencies to ....
3858 (tests-special): ... additions to this variable.
3859 (xtests): Change dependencies to ....
3860 (xtests-special): ... additions to this variable.
3861 * resolv/Makefile (tests): Change dependencies to ....
3862 (tests-special): ... additions to this variable.
3863 (xtests): Change dependencies to ....
3864 (xtests-special): ... additions to this variable.
3865 * stdio-common/Makefile (tests): Change dependencies to ....
3866 (tests-special): ... additions to this variable.
3867 (do-tst-unbputc): Remove target.
3868 (do-tst-printf): Likewise.
3869 * stdlib/Makefile (tests): Change dependencies to ....
3870 (tests-special): ... additions to this variable.
3871 * string/Makefile (tests): Change dependencies to ....
3872 (tests-special): ... additions to this variable.
3873 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3874 (tests-special): ... additions to this variable.
3876 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3878 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3880 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3881 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3883 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3884 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3885 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3886 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3887 * conform/data/libgen.h-data [XPG3]: Likewise.
3888 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3889 * conform/data/ndbm.h-data [XPG3]: Likewise.
3890 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3891 * conform/data/netdb.h-data [XPG3]: Likewise.
3892 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3893 * conform/data/poll.h-data [XPG3]: Likewise.
3894 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3895 * conform/data/strings.h-data [XPG3]: Likewise.
3896 * conform/data/stropts.h-data [XPG3]: Likewise.
3897 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3898 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3899 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3901 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3902 * conform/data/sys/time.h-data [XPG3]: Likewise.
3903 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3904 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3905 * conform/data/sys/un.h-data [XPG3]: Likewise.
3906 * conform/data/syslog.h-data [XPG3]: Likewise.
3907 * conform/data/ucontext.h-data [XPG3]: Likewise.
3908 * conform/data/utmpx.h-data [XPG3]: Likewise.
3909 * conform/data/varargs.h-data [UNIX98]: Enable file.
3911 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3913 * math/libm-test.inc (struct test_f_f_data): Move expected results
3914 into structure for each rounding mode.
3915 (struct test_ff_f_data): Likewise.
3916 (struct test_ff_f_data_nexttoward): Likewise.
3917 (struct test_fi_f_data): Likewise.
3918 (struct test_fl_f_data): Likewise.
3919 (struct test_if_f_data): Likewise.
3920 (struct test_fff_f_data): Likewise.
3921 (struct test_c_f_data): Likewise.
3922 (struct test_f_f1_data): Likewise.
3923 (struct test_fF_f1_data): Likewise.
3924 (struct test_ffI_f1_data): Likewise.
3925 (struct test_c_c_data): Likewise.
3926 (struct test_cc_c_data): Likewise.
3927 (struct test_f_i_data): Likewise.
3928 (struct test_ff_i_data): Likewise.
3929 (struct test_f_l_data): Likewise.
3930 (struct test_f_L_data): Likewise.
3931 (struct test_fFF_11_data): Likewise.
3933 (RM_FE_DOWNWARD): Likewise.
3934 (RM_FE_TONEAREST): Likewise.
3935 (RM_FE_TOWARDZERO): Likewise.
3936 (RM_FE_UPWARD): Likewise.
3937 (RUN_TEST_LOOP_f_f): Update references to expected results.
3938 (RUN_TEST_LOOP_2_f): Likewise.
3939 (RUN_TEST_LOOP_fff_f): Likewise.
3940 (RUN_TEST_LOOP_c_f): Likewise.
3941 (RUN_TEST_LOOP_f_f1): Likewise.
3942 (RUN_TEST_LOOP_fF_f1): Likewise.
3943 (RUN_TEST_LOOP_fI_f1): Likewise.
3944 (RUN_TEST_LOOP_ffI_f1): Likewise.
3945 (RUN_TEST_LOOP_c_c): Likewise.
3946 (RUN_TEST_LOOP_cc_c): Likewise.
3947 (RUN_TEST_LOOP_f_i): Likewise.
3948 (RUN_TEST_LOOP_f_i_tg): Likewise.
3949 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3950 (RUN_TEST_LOOP_f_b): Likewise.
3951 (RUN_TEST_LOOP_f_b_tg): Likewise.
3952 (RUN_TEST_LOOP_f_l): Likewise.
3953 (RUN_TEST_LOOP_f_L): Likewise.
3954 (RUN_TEST_LOOP_fFF_11): Likewise.
3955 * math/gen-libm-test.pl (parse_args): Output four copies of
3956 expected results for each test.
3958 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3959 (__ASSUME_UTIMES): Remove.
3960 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3961 (__ASSUME_UTIMES): Likewise.
3963 * math/gen-auto-libm-tests.c: Update comment on output format.
3964 (output_for_one_input_case): Generate before-rounding and
3965 after-rounding information as conditions on output flags not
3966 floating-point format.
3967 * math/auto-libm-test-out: Regenerated.
3968 * math/gen-libm-test.pl (cond_value): New function.
3969 (or_cond_value): Use cond_value.
3970 (generate_testfile): Handle conditional exceptions.
3972 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3974 * math/libm-test.inc (max_valid_error): New variable.
3975 (init_max_error): Take new argument specifying whether function
3976 results are exactly determined. Set max_valid_error and bound
3977 other variables for errors based on this argument.
3978 (set_max_error): Do not record results above max_valid_error.
3979 (check_float_internal): Only accept errors of up to 0.5ulps if
3980 also at most max_valid_error.
3981 (START): Take new argument EXACT and pass it to init_max_error.
3982 (acos_test): Update call to START.
3983 (acos_test_tonearest): Likewise.
3984 (acos_test_towardzero): Likewise.
3985 (acos_test_downward): Likewise.
3986 (acos_test_upward): Likewise.
3987 (acosh_test): Likewise.
3988 (asin_test): Likewise.
3989 (asin_test_tonearest): Likewise.
3990 (asin_test_towardzero): Likewise.
3991 (asin_test_downward): Likewise.
3992 (asin_test_upward): Likewise.
3993 (asinh_test): Likewise.
3994 (atan_test): Likewise.
3995 (atanh_test): Likewise.
3996 (atan2_test): Likewise.
3997 (cabs_test): Likewise.
3998 (cacos_test): Likewise.
3999 (cacosh_test): Likewise.
4000 (carg_test): Likewise.
4001 (casin_test): Likewise.
4002 (casinh_test): Likewise.
4003 (catan_test): Likewise.
4004 (catanh_test): Likewise.
4005 (cbrt_test): Likewise.
4006 (ccos_test): Likewise.
4007 (ccosh_test): Likewise.
4008 (ceil_test): Likewise.
4009 (cexp_test): Likewise.
4010 (cimag_test): Likewise.
4011 (clog_test): Likewise.
4012 (clog10_test): Likewise.
4013 (conj_test): Likewise.
4014 (copysign_test): Likewise.
4015 (cos_test): Likewise.
4016 (cos_test_tonearest): Likewise.
4017 (cos_test_towardzero): Likewise.
4018 (cos_test_downward): Likewise.
4019 (cos_test_upward): Likewise.
4020 (cosh_test): Likewise.
4021 (cosh_test_tonearest): Likewise.
4022 (cosh_test_towardzero): Likewise.
4023 (cosh_test_downward): Likewise.
4024 (cosh_test_upward): Likewise.
4025 (cpow_test): Likewise.
4026 (cproj_test): Likewise.
4027 (creal_test): Likewise.
4028 (csin_test): Likewise.
4029 (csinh_test): Likewise.
4030 (csqrt_test): Likewise.
4031 (ctan_test): Likewise.
4032 (ctan_test_tonearest): Likewise.
4033 (ctan_test_towardzero): Likewise.
4034 (ctan_test_downward): Likewise.
4035 (ctan_test_upward): Likewise.
4036 (ctanh_test): Likewise.
4037 (ctanh_test_tonearest): Likewise.
4038 (ctanh_test_towardzero): Likewise.
4039 (ctanh_test_downward): Likewise.
4040 (ctanh_test_upward): Likewise.
4041 (erf_test): Likewise.
4042 (erfc_test): Likewise.
4043 (exp_test): Likewise.
4044 (exp_test_tonearest): Likewise.
4045 (exp_test_towardzero): Likewise.
4046 (exp_test_downward): Likewise.
4047 (exp_test_upward): Likewise.
4048 (exp10_test): Likewise.
4049 (exp10_test_tonearest): Likewise.
4050 (exp10_test_towardzero): Likewise.
4051 (exp10_test_downward): Likewise.
4052 (exp10_test_upward): Likewise.
4053 (pow10_test): Likewise.
4054 (exp2_test): Likewise.
4055 (expm1_test): Likewise.
4056 (expm1_test_tonearest): Likewise.
4057 (expm1_test_towardzero): Likewise.
4058 (expm1_test_downward): Likewise.
4059 (expm1_test_upward): Likewise.
4060 (fabs_test): Likewise.
4061 (fdim_test): Likewise.
4062 (floor_test): Likewise.
4063 (fma_test): Likewise.
4064 (fma_test_towardzero): Likewise.
4065 (fma_test_downward): Likewise.
4066 (fma_test_upward): Likewise.
4067 (fmax_test): Likewise.
4068 (fmin_test): Likewise.
4069 (fmod_test): Likewise.
4070 (fpclassify_test): Likewise.
4071 (frexp_test): Likewise.
4072 (hypot_test): Likewise.
4073 (ilogb_test): Likewise.
4074 (isfinite_test): Likewise.
4075 (finite_test): Likewise.
4076 (isgreater_test): Likewise.
4077 (isgreaterequal_test): Likewise.
4078 (isinf_test): Likewise.
4079 (isless_test): Likewise.
4080 (islessequal_test): Likewise.
4081 (islessgreater_test): Likewise.
4082 (isnan_test): Likewise.
4083 (isnormal_test): Likewise.
4084 (issignaling_test): Likewise.
4085 (isunordered_test): Likewise.
4086 (j0_test): Likewise.
4087 (j1_test): Likewise.
4088 (jn_test): Likewise.
4089 (ldexp_test): Likewise.
4090 (lgamma_test): Likewise.
4091 (gamma_test): Likewise.
4092 (lrint_test): Likewise.
4093 (lrint_test_tonearest): Likewise.
4094 (lrint_test_towardzero): Likewise.
4095 (lrint_test_downward): Likewise.
4096 (lrint_test_upward): Likewise.
4097 (llrint_test): Likewise.
4098 (llrint_test_tonearest): Likewise.
4099 (llrint_test_towardzero): Likewise.
4100 (llrint_test_downward): Likewise.
4101 (llrint_test_upward): Likewise.
4102 (log_test): Likewise.
4103 (log10_test): Likewise.
4104 (log1p_test): Likewise.
4105 (log2_test): Likewise.
4106 (logb_test): Likewise.
4107 (logb_test_downward): Likewise.
4108 (lround_test): Likewise.
4109 (llround_test): Likewise.
4110 (modf_test): Likewise.
4111 (nearbyint_test): Likewise.
4112 (nextafter_test): Likewise.
4113 (nexttoward_test): Likewise.
4114 (pow_test): Likewise.
4115 (pow_test_tonearest): Likewise.
4116 (pow_test_towardzero): Likewise.
4117 (pow_test_downward): Likewise.
4118 (pow_test_upward): Likewise.
4119 (remainder_test): Likewise.
4120 (drem_test): Likewise.
4121 (remainder_test_tonearest): Likewise.
4122 (drem_test_tonearest): Likewise.
4123 (remainder_test_towardzero): Likewise.
4124 (drem_test_towardzero): Likewise.
4125 (remainder_test_downward): Likewise.
4126 (drem_test_downward): Likewise.
4127 (remainder_test_upward): Likewise.
4128 (drem_test_upward): Likewise.
4129 (remquo_test): Likewise.
4130 (rint_test): Likewise.
4131 (rint_test_tonearest): Likewise.
4132 (rint_test_towardzero): Likewise.
4133 (rint_test_downward): Likewise.
4134 (rint_test_upward): Likewise.
4135 (round_test): Likewise.
4136 (scalb_test): Likewise.
4137 (scalbn_test): Likewise.
4138 (scalbln_test): Likewise.
4139 (signbit_test): Likewise.
4140 (sin_test): Likewise.
4141 (sin_test_tonearest): Likewise.
4142 (sin_test_towardzero): Likewise.
4143 (sin_test_downward): Likewise.
4144 (sin_test_upward): Likewise.
4145 (sincos_test): Likewise.
4146 (sinh_test): Likewise.
4147 (sinh_test_tonearest): Likewise.
4148 (sinh_test_towardzero): Likewise.
4149 (sinh_test_downward): Likewise.
4150 (sinh_test_upward): Likewise.
4151 (sqrt_test): Likewise.
4152 (sqrt_test_tonearest): Likewise.
4153 (sqrt_test_towardzero): Likewise.
4154 (sqrt_test_downward): Likewise.
4155 (sqrt_test_upward): Likewise.
4156 (tan_test): Likewise.
4157 (tan_test_tonearest): Likewise.
4158 (tan_test_towardzero): Likewise.
4159 (tan_test_downward): Likewise.
4160 (tan_test_upward): Likewise.
4161 (tanh_test): Likewise.
4162 (tgamma_test): Likewise.
4163 (trunc_test): Likewise.
4164 (y0_test): Likewise.
4165 (y1_test): Likewise.
4166 (yn_test): Likewise.
4167 (significand_test): Likewise.
4169 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4170 individual tests in comment.
4171 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4172 (prev_max_error): New variable.
4173 (prev_real_max_error): Likewise.
4174 (prev_imag_max_error): Likewise.
4175 (compare_ulp_data): Don't refer to test names in comment.
4176 (find_test_ulps): Remove function.
4177 (find_function_ulps): Likewise.
4178 (find_complex_function_ulps): Likewise.
4179 (init_max_error): Take function name as argument. Look up ulps
4181 (print_ulps): Remove function.
4182 (print_max_error): Use prev_max_error instead of calling
4184 (print_complex_max_error): Use prev_real_max_error and
4185 prev_imag_max_error instead of calling find_complex_function_ulps.
4186 (check_float_internal): Take max_ulp parameter instead of calling
4187 find_test_ulps. Don't call print_ulps.
4188 (check_float): Update call to check_float_internal.
4189 (check_complex): Update calls to check_float_internal.
4190 (START): Pass argument to init_max_error.
4191 * math/gen-libm-test.pl (%results): Don't include "kind"
4193 (parse_ulps): Don't handle ulps of individual tests.
4194 (print_ulps_file): Likewise.
4195 (output_ulps): Likewise.
4196 * math/README.libm-test: Update.
4197 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4199 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4200 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4201 * sysdeps/arm/libm-test-ulps: Likewise.
4202 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4203 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4204 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4205 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4206 * sysdeps/microblaze/libm-test-ulps: Likewise.
4207 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4208 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4210 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4211 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4212 * sysdeps/sh/libm-test-ulps: Likewise.
4213 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4214 * sysdeps/tile/libm-test-ulps: Likewise.
4215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4217 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4219 * math/libm-test.inc (print_complex_max_error): Check separately
4220 whether real and imaginary errors are within allowed range and
4221 pass 0 to print_complex_function_ulps instead of value within
4224 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4226 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4228 (get_handles_fopen): Likewise.
4229 (do_write_test): Likewise.
4231 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4233 * libio/fileops.c (do_ftell): Use cached offset when
4235 * libio/iofwide.c (do_ftell_wide): Likewise.
4236 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4238 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4241 * libio/libioP.h (get_file_offset): New function.
4242 * libio/fileops.c (get_file_offset): Likewise.
4243 (do_ftell): Likewise.
4244 (_IO_new_file_seekoff): Split out ftell logic.
4245 * libio/wfileops.c (do_ftell_wide): Likewise.
4246 (_IO_wfile_seekoff): Split out ftell logic.
4247 * libio/tst-ftell-active-handler.c: New test case.
4248 * libio/Makefile (tests): Add it.
4250 2014-03-03 Roland McGrath <roland@hack.frob.com>
4252 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4253 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4255 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4258 * nscd/connections.c (nscd_init): Call do_exit.
4259 (start_threads): Call do_exit and notify_parent.
4260 (begin_drop_privileges): Call do_exit.
4261 (finish_drop_privileges): Likewise.
4262 * nscd/selinux.c (preserve_capabilities): Likewise.
4263 (install_real_capabilities): Likewise.
4264 (nscd_selinux_enabled): Likewise.
4265 (avc_create_thread): Likewise.
4266 (avc_alloc_lock): Likewise.
4267 (nscd_avc_init): Likewise.
4268 * nscd/nscd.c (parent_fd): New static variable.
4269 (main): Create a pipe between parent and child processes.
4270 Skip closing parent_fd.
4271 (monitor_child): New function.
4272 (do_exit): Likewise.
4273 (notify_parent): Likewise.
4274 * nscd/nscd.h (notify_parent): Likewise.
4275 (do_exit): Likewise.
4277 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4279 * malloc/malloc.c (__libc_calloc): Revert last change.
4281 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4285 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4287 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4291 (__libc_ifunc_impl_list): Likewise.
4292 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4293 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4294 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4295 * string/strrchr.c: Define STRRCHR.
4297 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4299 * benchtest/bench-strtok.c (simple_strtok): Delete.
4300 (strtok_string): Use as benchmark.
4301 * string/strtok (STRTOK): New macro.
4303 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4305 * manual/threads.texi: Add header and standard comments to all
4308 * elf/dl-lookup.c (check_match): New function.
4309 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4310 (do_lookup_x): Remove nested function check_match. Use non-nested
4311 function check_match.
4313 2014-02-28 Roland McGrath <roland@hack.frob.com>
4315 * csu/Makefile (generated, before-compile): Use += rather than =.
4316 * catgets/Makefile (generated, generated-dirs): Likewise.
4317 * debug/Makefile (generated): Likewise.
4318 * dlfcn/Makefile (generated): Likewise.
4319 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4320 * iconvdata/Makefile (before-compile, generated): Likewise.
4321 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4322 * libio/Makefile (generated): Likewise.
4323 * malloc/Makefile (generated): Likewise.
4324 * manual/Makefile (generated, generated-dirs): Likewise.
4325 * misc/Makefile (generated): Likewise.
4326 * posix/Makefile (generated): Likewise.
4327 * resolv/Makefile (generated): Likewise.
4328 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4329 * timezone/Makefile (generated, generated-dirs): Likewise.
4331 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4333 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4336 power8 implementation.
4337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4338 file: POWER8 llround ifunc implementation.
4339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4340 (__lllround): Add POWER8 implementation.
4341 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4342 POWER8 llround implementation.
4344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4345 power8 implementation.
4346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4347 file: POWER8 llrint ifunc implementation.
4348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4349 Add POWER8 implementation.
4350 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4351 POWER8 llrint implementation.
4353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4354 power8 implementation.
4355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4356 file: POWER8 finite ifunc implementation.
4357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4358 Add POWER8 implementation.
4359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4361 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4362 POWER8 finite implementation.
4363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4366 power8 implementation.
4367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4368 file: POWER8 isinf ifunc implementation.
4369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4370 POWER8 implementation.
4371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4374 isinf implementation.
4375 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4377 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4378 (INIT_ARCH): Add hwcap2 initialization.
4379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4380 power8 implementation.
4381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4382 file: POWER8 isnan ifunc implementation.
4383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4384 POWER8 implementation.
4385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4387 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4388 isnan implementation.
4389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4391 2014-02-27 Joey Ye <joey.ye@arm.com>
4393 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4394 (_FP_NANFRAC_Q): Set to zero.
4396 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4399 * math/auto-libm-test-in: New test inputs.
4400 * math/auto-libm-test-out: Regenerate.
4401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4404 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4406 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4408 * scripts/evaluate-test.sh: Take new argument indicating whether
4409 failure is expected.
4410 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4411 indicating whether failure is expected.
4412 * conform/Makefile (test-xfail-run-conformtest): New variable.
4413 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4415 * posix/Makefile (test-xfail-annexc): New variable.
4416 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4418 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4420 * argp/Makefile: Include Makeconfig immediately after defining
4422 * assert/Makefile: Likewise.
4423 * benchtests/Makefile: Likewise.
4424 * catgets/Makefile: Likewise.
4425 * conform/Makefile: Likewise.
4426 * crypt/Makefile: Likewise.
4427 * csu/Makefile: Likewise.
4428 (all): Remove target.
4429 * ctype/Makefile: Include Makeconfig immediately after defining
4431 * debug/Makefile: Likewise.
4432 * dirent/Makefile: Likewise.
4433 * dlfcn/Makefile: Likewise.
4434 * gmon/Makefile: Likewise.
4435 * gnulib/Makefile: Likewise.
4436 * grp/Makefile: Likewise.
4437 * gshadow/Makefile: Likewise.
4438 * hesiod/Makefile: Likewise.
4439 * hurd/Makefile: Likewise.
4440 (all): Remove target.
4441 * iconvdata/Makefile: Include Makeconfig immediately after
4443 * inet/Makefile: Likewise.
4444 * intl/Makefile: Likewise.
4445 * io/Makefile: Likewise.
4446 * libio/Makefile: Likewise.
4447 (all): Remove target.
4448 * locale/Makefile: Include Makeconfig immediately after defining
4450 * login/Makefile: Likewise.
4451 * mach/Makefile: Likewise.
4452 (all): Remove target.
4453 * malloc/Makefile: Include Makeconfig immediately after defining
4455 (all): Remove target.
4456 * manual/Makefile: Include Makeconfig immediately after defining
4458 * math/Makefile: Likewise.
4459 * misc/Makefile: Likewise.
4460 * nis/Makefile: Likewise.
4461 * nss/Makefile: Likewise.
4462 * po/Makefile: Likewise.
4463 (all): Remove target.
4464 * posix/Makefile: Include Makeconfig immediately after defining
4466 * pwd/Makefile: Likewise.
4467 * resolv/Makefile: Likewise.
4468 * resource/Makefile: Likewise.
4469 * rt/Makefile: Likewise.
4470 * setjmp/Makefile: Likewise.
4471 * shadow/Makefile: Likewise.
4472 * signal/Makefile: Likewise.
4473 * socket/Makefile: Likewise.
4474 * soft-fp/Makefile: Likewise.
4475 * stdio-common/Makefile: Likewise.
4476 * stdlib/Makefile: Likewise.
4477 * streams/Makefile: Likewise.
4478 * string/Makefile: Likewise.
4479 * sunrpc/Makefile: Likewise.
4480 (all): Remove target.
4481 * sysvipc/Makefile: Include Makeconfig immediately after defining
4483 * termios/Makefile: Likewise.
4484 * time/Makefile: Likewise.
4485 * timezone/Makefile: Likewise.
4486 (all): Remove target.
4487 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4489 * wctype/Makefile: Likewise.
4491 2014-02-26 Steve Ellcey <sellcey@mips.com>
4493 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4494 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4495 (libc_feholdexcept_setround_mips): Ditto.
4496 (libc_feholdsetround): New.
4497 (libc_feholdsetroundf): New.
4498 (libc_feholdsetroundl): New.
4499 (libc_feupdateenv_test_mips): New.
4500 (libc_feupdateenv_test): New.
4501 (libc_feupdateenv_testf): New.
4502 (libc_feupdateenv_testl): New.
4503 (libc_feresetround): New.
4504 (libc_feresetroundf): New.
4505 (libc_feresetroundl): New.
4506 (libc_fetestexcept_mips): New.
4507 (libc_fetestexcept): New.
4508 (libc_fetestexceptf): New.
4509 (libc_fetestexceptl): New.
4511 (libc_feholdexcept_setround_mips_ctx): New.
4512 (libc_feholdexcept_setround_ctx): New.
4513 (libc_feholdexcept_setroundf_ctx): New.
4514 (libc_feholdexcept_setroundl_ctx): New.
4515 (libc_fesetenv_mips_ctx): New.
4516 (libc_fesetenv_ctx): New.
4517 (libc_fesetenv_ctxf): New.
4518 (libc_fesetenv_ctxl): New.
4519 (libc_feupdateenv_mips_ctx): New.
4520 (libc_feupdateenv_ctx): New.
4521 (libc_feupdateenvf_ctx): New.
4522 (libc_feupdateenvl_ctx): New.
4523 (libc_feholdsetround_mips_ctx): New.
4524 (libc_feholdsetround_ctx): New.
4525 (libc_feholdsetroundf_ctx): New.
4526 (libc_feholdsetroundl_ctx): New.
4527 (libc_feresetround_mips_ctx): New.
4528 (libc_feresetround_ctx): New.
4529 (libc_feresetroundf_ctx): New.
4530 (libc_feresetroundl_ctx): New.
4532 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4534 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4536 * manual/ipc.texi: New file.
4537 * manual/Makefile (chapters): Add ipc.
4538 * manual/job.texi: Add "Inter-Process Communication" to next.
4539 * manual/process.texi: Add "Inter-Process Communication" to prev.
4541 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4545 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4547 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4549 * manual/arith.texi: Fix spaces after sentences.
4550 * manual/charset.texi: Likewise.
4551 * manual/errno.texi: Likewise.
4552 * manual/install.texi: Likewise.
4553 * manual/llio.texi: Likewise.
4554 * manual/locale.texi: Likewise.
4555 * manual/maint.texi: Likewise.
4556 * manual/math.texi: Likewise.
4557 * manual/memory.texi: Likewise.
4558 * manual/message.texi: Likewise.
4559 * manual/probes.texi: Likewise.
4560 * manual/resource.texi: Likewise.
4561 * manual/signal.texi: Likewise.
4562 * manual/socket.texi: Likewise.
4563 * manual/stdio.texi: Likewise.
4564 * manual/string.texi: Likewise.
4565 * manual/time.texi: Likewise.
4566 * manual/users.texi: Likewise.
4568 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4571 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4572 _DEFAULT_SOURCE is defined.
4574 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4575 Carlos O'Donell <carlos@redhat.com>
4578 * elf/dl-tls.c (_dl_count_modids): New function.
4579 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4580 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4581 audit library and increment generation counter.
4582 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4583 * elf/tst-audit9.c: New file.
4584 * elf/tst-auditmod9a.c: New file.
4585 * elf/tst-auditmod9b.c: New file.
4586 * elf/Makefile: Add rules to build and run tst-audit9.
4588 2014-02-25 Florian Weimer <fweimer@redhat.com>
4591 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4593 2014-02-25 Will Newton <will.newton@linaro.org>
4595 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4596 (__longjmp): Restore sp and lr before restoring callee
4597 saved registers. Add longjmp and longjmp_target
4598 SystemTap probe point.
4599 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4600 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4601 Define to zero to match jmpbuf layout.
4602 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4603 (__sigsetjmp): Save sp and lr before saving callee
4604 saved registers. Add setjmp SystemTap probe point.
4606 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4608 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4610 2014-02-24 Andreas Schwab <schwab@suse.de>
4613 * elf/pldd.c (wait_for_ptrace_stop): New function.
4614 (main): Call it after attaching.
4616 2014-02-22 Roland McGrath <roland@hack.frob.com>
4618 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4619 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4620 Versions files is now verboten.
4621 * hurd/Versions (libc: GLIBC_2.0):
4622 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4623 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4624 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4625 * mach/Versions: Likewise.
4627 * csu/Versions: Remove unused %include.
4628 * resolv/Versions: Likewise.
4630 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4632 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4633 ($(objpfx)check-local-headers.out): Likewise.
4634 ($(objpfx)begin-end-check.out): Likewise.
4635 * Makerules (check-abi-%.out): Likewise.
4636 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4637 ($(objpfx)test2.cat): Likewise.
4638 ($(objpfx)de/libc.cat): Likewise.
4639 ($(objpfx)test-gencat.out): Likewise.
4640 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4641 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4642 ($(objpfx)noload-mem): Likewise.
4643 ($(objpfx)tst-pathopt.out): Likewise.
4644 ($(objpfx)tst-rtld-load-self.out): Likewise.
4645 ($(objpfx)tst-array1-cmp.out): Likewise.
4646 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4647 ($(objpfx)tst-array2-cmp.out): Likewise.
4648 ($(objpfx)tst-array3-cmp.out): Likewise.
4649 ($(objpfx)tst-array4-cmp.out): Likewise.
4650 ($(objpfx)tst-array5-cmp.out): Likewise.
4651 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4652 ($(objpfx)check-textrel.out): Likewise.
4653 ($(objpfx)check-execstack.out): Likewise.
4654 ($(objpfx)check-localplt.out): Likewise.
4655 ($(objpfx)order2-cmp.out): Likewise.
4656 ($(objpfx)tst-leaks1-mem): Likewise.
4657 ($(objpfx)tst-leaks1-static-mem): Likewise.
4658 ($(objpfx)tst-initorder-cmp.out): Likewise.
4659 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4660 ($(objpfx)tst-unused-dep.out): Likewise.
4661 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4662 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4663 * iconv/Makefile (test-iconvconfig): Likewise.
4664 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4665 ($(objpfx)iconv-test.out): Likewise.
4666 ($(objpfx)tst-tables.out): Likewise.
4667 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4668 ($(objpfx)tst-gettext.out): Likewise.
4669 ($(objpfx)tst-translit.out): Likewise.
4670 ($(objpfx)tst-gettext2.out): Likewise.
4671 ($(objpfx)tst-gettext4.out): Likewise.
4672 ($(objpfx)tst-gettext6.out): Likewise.
4673 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4674 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4675 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4676 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4677 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4678 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4679 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4680 ($(objpfx)wordexp-tst.out): Likewise.
4681 ($(objpfx)annexc.out): Likewise.
4682 ($(objpfx)tst-fnmatch-mem): Likewise.
4683 ($(objpfx)bug-regex2-mem): Likewise.
4684 ($(objpfx)bug-regex14-mem): Likewise.
4685 ($(objpfx)bug-regex21-mem): Likewise.
4686 ($(objpfx)bug-regex31-mem): Likewise.
4687 ($(objpfx)tst-vfork3-mem): Likewise.
4688 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4689 ($(objpfx)tst-pcre-mem): Likewise.
4690 ($(objpfx)tst-boost-mem): Likewise.
4691 ($(objpfx)tst-getconf.out): Likewise.
4692 ($(objpfx)bug-ga2-mem): Likewise.
4693 ($(objpfx)bug-glob2-mem): Likewise.
4694 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4695 ($(objpfx)mtrace-tst-leaks2): Likewise.
4696 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4697 ($(objpfx)tst-printf.out): Likewise.
4698 ($(objpfx)tst-setvbuf1.out): Likewise.
4699 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4700 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4701 ($(objpfx)tst-fmtmsg.out): Likewise.
4702 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4703 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4705 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4706 * bits/sigaction.h [__USE_MISC]: Likewise.
4707 * bits/waitstatus.h: Update #endif comments.
4708 * ctype/ctype.h: Likewise.
4709 * dirent/dirent.h: Likewise.
4710 [__USE_MISC]: Remove redundant conditionals.
4711 * grp/grp.h: Update #endif comments.
4712 [__USE_GNU]: Remove redundant conditionals.
4713 [__USE_MISC]: Likewise.
4714 * inet/netinet/in.h [__USE_GNU]: Likewise.
4715 * io/sys/stat.h [__USE_MISC]: Likewise.
4716 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4717 * libio/bits/stdio.h: Update #endif comments.
4718 [__USE_MISC]: Remove redundant conditionals.
4719 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4720 * libio/stdio.h: Update #endif comments.
4721 [__USE_MISC]: Remove redundant conditionals.
4722 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4723 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4724 * math/math.h: Update #else and #endif comments.
4725 [__USE_MISC]: Remove redundant conditionals.
4726 * misc/sys/uio.h: Update #endif comments.
4727 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4728 * posix/glob.h [__USE_MISC]: Likewise.
4729 * posix/sys/types.h: Update #endif comments.
4730 [__USE_MISC]: Remove redundant conditionals.
4731 * posix/sys/wait.h: Update #endif comments.
4732 [__USE_MISC]: Remove redundant conditionals.
4733 * posix/unistd.h: Update #endif comments.
4734 [__USE_MISC]: Remove redundant conditionals.
4735 * pwd/pwd.h [__USE_GNU]: Likewise.
4736 [__USE_MISC]: Likewise.
4737 * resolv/netdb.h [__USE_GNU]: Likewise.
4738 * signal/signal.h: Update #endif comments.
4739 [__USE_MISC]: Remove redundant conditionals.
4740 * stdlib/stdlib.h: Update #else and #endif comments.
4741 [__USE_MISC]: Remove redundant conditionals.
4742 [__USE_GNU]: Likewise.
4743 * string/bits/string2.h [__USE_MISC]: Likewise.
4744 * string/string.h: Update #endif comments.
4745 [__USE_MISC]: Remove redundant conditionals.
4746 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4748 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4749 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4750 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4752 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4754 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4756 [__USE_MISC]: Remove redundant conditionals.
4757 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4758 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4759 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4760 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4761 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4763 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4764 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4766 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4767 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4769 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4771 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4772 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4774 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4776 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4777 * sysdeps/x86/bits/string.h: Update #endif comments.
4778 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4780 * time/sys/time.h: Update #endif comments.
4781 * time/time.h: Likewise.
4782 [__USE_MISC]: Remove redundant conditionals.
4784 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4787 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4789 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4791 * Versions.def (librt): Add GLIBC_2.17.
4793 2014-02-21 Adam Conrad <adconrad@0c3.net>
4795 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4796 synonym for _SYS_AUXV_H to allow direct inclusion.
4797 * sysdeps/sparc/bits/hwcap.h: Likewise.
4798 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4799 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4800 * sysdeps/sparc/sysdep.h: Likewise.
4802 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4804 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4806 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4808 * benchtests/bench-strrchr.c: Print length instead of position.
4810 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4813 * sysdeps/unix/sysv/linux/kernel-features.h
4814 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4815 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4816 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4817 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4819 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4820 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4821 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4822 (__ASSUME_SENDMMSG): Define instead of using previous
4823 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4824 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4825 (__ASSUME_SENDMMSG_SYSCALL): Define.
4826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4827 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4830 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4832 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4833 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4835 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4836 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4837 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4838 [__ASSUME_SENDMMSG]: Change conditionals to
4839 [__ASSUME_SENDMMSG_SOCKETCALL].
4840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4841 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4843 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4844 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4846 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4847 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4848 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4849 [!__ASSUME_SENDMMSG]: Change conditional to
4850 [!__ASSUME_SENDMMSG_SOCKETCALL].
4851 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4852 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4856 * sysdeps/unix/sysv/linux/kernel-features.h
4857 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4858 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4859 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4860 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4861 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4862 [__i386__ || __sparc__]
4863 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4864 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4865 (__ASSUME_RECVMMSG): Define instead of using previous
4866 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4867 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4868 (__ASSUME_RECVMMSG_SYSCALL): Define.
4869 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4870 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4873 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4875 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4876 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4878 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4879 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4880 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4881 [__ASSUME_RECVMMSG]: Change condition to
4882 [__ASSUME_RECVMMSG_SOCKETCALL].
4883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4884 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4886 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4887 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4888 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4890 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4891 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4892 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4893 [!__ASSUME_RECVMMSG]: Change condition to
4894 [!__ASSUME_RECVMMSG_SOCKETCALL].
4895 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4896 (__ASSUME_RECVMMSG_SYSCALL): Define.
4899 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4900 __powerpc__ || __s390__ || __sh__ || __sparc__]
4901 (__ASSUME_SOCKETCALL): Define.
4902 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4903 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4904 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4905 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4906 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4907 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4908 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4909 (__ASSUME_ACCEPT4): Define instead of using previous
4910 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4911 __powerpc__ || __sparc__ || __s390__)] condition.
4912 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4913 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4914 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4915 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4916 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4917 [!__ASSUME_ACCEPT4]: Change condition to
4918 [!__ASSUME_ACCEPT4_SOCKETCALL].
4919 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4920 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4921 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4922 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4923 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4924 __ASSUME_ACCEPT4_SYSCALL.
4925 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4926 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4927 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4928 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4929 __ASSUME_ACCEPT4_SYSCALL.
4930 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4931 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4932 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4933 [__ASSUME_ACCEPT4]: Change condition to
4934 [__ASSUME_ACCEPT4_SOCKETCALL].
4935 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4936 (__ASSUME_SOCKETCALL): Define.
4937 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4939 (__ASSUME_SOCKETCALL): Define.
4940 (__ASSUME_ACCEPT4): Remove.
4941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4944 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4946 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4947 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4949 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4951 (HWCAP_ARM_LPAE): Likewise.
4952 (HWCAP_ARM_EVTSTRM): Likewise.
4953 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4954 Add vpfd32, lpae and evtstrm.
4955 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4958 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4960 * math/auto-libm-test-in: Add tests of clog10.
4961 * math/auto-libm-test-out: Regenerated.
4962 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4963 * sysdeps/i386/fpu/libm-test-ulps: Update.
4964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4966 2014-02-18 Andreas Schwab <schwab@suse.de>
4969 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4970 Store non-zero if the second buffer was newly allocated.
4971 (send_dg): Likewise.
4972 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4973 to send_vc and send_dg.
4974 (res_nsend): Pass NULL for ansp2_malloced.
4975 * resolv/res_query.c (__libc_res_nquery): Add parameter
4976 answerp2_malloced and pass it down to __libc_res_nsend.
4977 (res_nquery): Pass additional NULL to __libc_res_nquery.
4978 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4979 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4980 second answer buffer if answerp2_malloced was set.
4981 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4982 (__libc_res_nquerydomain): Add parameter
4983 answerp2_malloced and pass it down to __libc_res_nquery.
4984 (res_nquerydomain): Pass additional NULL to
4985 __libc_res_nquerydomain.
4986 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4987 additional NULL to __libc_res_nsend and __libc_res_nquery.
4988 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4989 additional NULL to __libc_res_nsearch.
4990 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4991 parameter of __libc_res_nsearch to check for separately allocated
4993 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4995 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4996 additional NULL to __libc_res_nquery.
4997 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4999 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5000 * include/resolv.h: Update prototypes of __libc_res_nquery,
5001 __libc_res_nsearch, __libc_res_nsend.
5003 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5005 * math/auto-libm-test-in: Add tests of fma.
5006 * math/auto-libm-test-out: Regenerated.
5007 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5008 (fma_towardzero_test_data): Likewise.
5009 (fma_downward_test_data): Likewise.
5010 (fma_upward_test_data): Likewise.
5011 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5013 (rounding_modes): Add values for new field.
5014 (func_calc_method): Add value mpfr_fff_f.
5015 (func_calc_desc): Add mpfr_fff_f union field.
5016 (test_function): Add field exact_args.
5017 (FUNC): Add macro argument EXACT_ARGS.
5018 (FUNC_mpfr_f_f): Update call to FUNC.
5019 (FUNC_mpfr_f_f): Likewise.
5020 (FUNC_mpfr_ff_f): Likewise.
5021 (FUNC_mpfr_if_f): Likewise.
5022 (FUNC_mpc_c_f): Likewise.
5023 (FUNC_mpc_c_c): Likewise.
5024 (test_functions): Add fma. Update calls to FUNC.
5025 (handle_input_arg): Add argument exact_args.
5026 (add_test): Update call to handle_input_arg.
5027 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5028 (output_for_one_input_case): Update call to calc_generic_results.
5029 Recalculate exact zero results in each rounding mode.
5031 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5032 non-negative before setting low bit.
5033 * math/auto-libm-test-in: Mark one asin test possibly having
5035 * math/auto-libm-test-out: Regenerated.
5036 * sysdeps/i386/fpu/libm-test-ulps: Update.
5037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5039 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5041 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5042 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5043 ports/sysdeps/unix/sysv/linux/microblaze.
5044 * README: Add missing listing for microblaze*-*-linux-gnu.
5046 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5048 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5049 * sysdeps/unix/sysv/linux/ia64: Move directory from
5050 ports/sysdeps/unix/sysv/linux/ia64.
5051 * README: Update listing for ia64-*-linux-gnu.
5053 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5054 Joseph Myers <joseph@codesourcery.com>
5056 * Makeconfig (test-name): New variable.
5057 (evaluate-test): Likewise.
5058 * Makerules (do-test-clean): Remove .test-result files.
5059 (common-mostlyclean): Likewise.
5060 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5061 * scripts/evaluate-test.sh: New file.
5063 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5065 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5066 separate $(objpfx)tst-fopenloc-cmp.out and
5067 $(objpfx)tst-fopenloc-mem.out targets.
5068 (tests): Update dependencies.
5069 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5070 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5071 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5072 (tst-rxspencer-no-utf8-ARGS): New variable.
5073 (tst-rxspencer-no-utf8-ENV): Likewise.
5074 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5075 instead of $(objpfx)tst-rxspencer-mem.
5076 ($(objpfx)tst-rxspencer-mem): Change target to
5077 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5078 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5079 * posix/tst-rxspencer-no-utf8.c: New file.
5081 * elf/Makefile ($(objpfx)order.out): Remove rule.
5082 [$(run-built-tests) = yes] (tests): Depend on
5083 $(objpfx)order-cmp.out.
5084 ($(objpfx)order-cmp.out): New rule.
5085 [$(run-built-tests) = yes] (tests): Depend on
5086 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5087 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5088 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5089 $(objpfx)tst-array5-static-cmp.out.
5090 ($(objpfx)tst-array1.out): Remove rule.
5091 ($(objpfx)tst-array1-cmp.out): New rule.
5092 ($(objpfx)tst-array1-static.out): Remove rule.
5093 ($(objpfx)tst-array1-static-cmp.out): New rule.
5094 ($(objpfx)tst-array2.out): Remove rule.
5095 ($(objpfx)tst-array2-cmp.out): New rule.
5096 ($(objpfx)tst-array3.out): Remove rule.
5097 ($(objpfx)tst-array3-cmp.out): New rule.
5098 ($(objpfx)tst-array4.out): Remove rule.
5099 ($(objpfx)tst-array4-cmp.out): New rule.
5100 ($(objpfx)tst-array5.out): Remove rule.
5101 ($(objpfx)tst-array5-cmp.out): New rule.
5102 ($(objpfx)tst-array5-static.out): Remove rule.
5103 ($(objpfx)tst-array5-static-cmp.out): New rule.
5104 [$(run-built-tests) = yes] (tests): Depend on
5105 $(objpfx)order2-cmp.out.
5106 ($(objpfx)order2.out): Remove rule.
5107 ($(objpfx)order2-cmp.out): New rule.
5108 ($(objpfx)tst-initorder.out): Remove rule.
5109 [$(run-built-tests) = yes] (tests): Depend on
5110 $(objpfx)tst-initorder-cmp.out.
5111 ($(objpfx)tst-initorder-cmp.out): New rule.
5112 ($(objpfx)tst-initorder2.out): Remove rule.
5113 [$(run-built-tests) = yes] (tests): Depend on
5114 $(objpfx)tst-initorder2-cmp.out.
5115 ($(objpfx)tst-initorder2-cmp.out): New rule.
5116 [$(run-built-tests) = yes] (tests): Depend on
5117 $(objpfx)tst-unused-dep-cmp.out.
5118 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5119 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5120 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5121 on $(objpfx)tst-setvbuf1-cmp.out.
5122 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5123 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5124 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5125 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5126 ($(objpfx)tst-svc.out): Remove rule.
5127 ($(objpfx)tst-svc-cmp.out): New rule.
5129 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5131 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5132 * ctype/ctype.h [__USE_MISC]: Likewise.
5133 * dirent/dirent.h [__USE_MISC]: Likewise.
5134 * grp/grp.h [__USE_MISC]: Likewise.
5135 * io/fcntl.h [__USE_MISC]: Likewise.
5136 * io/sys/stat.h [__USE_MISC]: Likewise.
5137 * libio/stdio.h [__USE_MISC]: Likewise.
5138 * posix/unistd.h [__USE_MISC]: Likewise.
5139 * pwd/pwd.h [__USE_MISC]: Likewise.
5140 * stdlib.h [__USE_MISC]: Likewise.
5141 * string/bits/string2.h [__USE_MISC]: Likewise.
5142 * string/string.h [__USE_MISC]: Likewise.
5143 * time/time.h [__USE_MISC]: Likewise.
5145 2014-02-13 Andreas Schwab <schwab@suse.de>
5148 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5149 second answer buffer if it was separately allocated.
5151 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5153 * sysdeps/mips/math-tests.h: Include <features.h>.
5154 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5155 (ROUNDING_TESTS_long_double): Do not define.
5156 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5157 (EXCEPTION_TESTS_long_double): Likewise.
5158 * sysdeps/mips/mips64/libm-test-ulps: Update.
5160 * include/features.h (__USE_BSD): Remove macro definitions.
5161 (__USE_SVID): Likewise.
5162 (_BSD_SOURCE): Likewise.
5163 (_SVID_SOURCE): Likewise.
5164 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5165 from definition of _DEFAULT_SOURCE.
5166 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5168 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5169 * bits/mman.h [__USE_BSD]: Likewise.
5170 * bits/termios.h [__USE_BSD]: Likewise.
5171 * bits/waitstatus.h [__USE_BSD]: Likewise.
5172 * ctype/ctype.h [__USE_SVID]: Likewise.
5173 * dirent/dirent.h [__USE_BSD]: Likewise.
5174 * grp/grp.h [__USE_SVID]: Likewise.
5175 [__USE_BSD]: Likewise.
5176 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5177 * io/fcntl.h [__USE_BSD]: Likewise.
5178 * io/ftw.h [__USE_BSD]: Likewise.
5179 * io/sys/stat.h [__USE_BSD]: Likewise.
5180 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5181 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5182 * libio/stdio.h [__USE_SVID]: Likewise.
5183 [__USE_BSD]: Likewise.
5184 * math/math.h [__USE_SVID]: Likewise.
5185 [__USE_BSD]: Likewise.
5186 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5187 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5188 * misc/search.h [__USE_SVID]: Likewise.
5189 * misc/sys/mman.h [__USE_BSD]: Likewise.
5190 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5191 * misc/sys/uio.h [__USE_BSD]: Likewise.
5192 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5193 * posix/glob.h [__USE_BSD]: Likewise.
5194 * posix/regex.h [__USE_BSD]: Likewise.
5195 * posix/sys/types.h [__USE_BSD]: Likewise.
5196 [__USE_SVID]: Likewise.
5197 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5198 * posix/sys/wait.h [__USE_BSD]: Likewise.
5199 [__USE_SVID]: Likewise.
5200 * posix/unistd.h [__USE_BSD]: Likewise.
5201 [__USE_SVID]: Likewise.
5202 * pwd/pwd.h [__USE_SVID]: Likewise.
5203 * resolv/netdb.h [__USE_BSD]: Likewise.
5204 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5205 * signal/signal.h [__USE_BSD]: Likewise.
5206 [__USE_SVID]: Likewise.
5207 * socket/sys/socket.h [__USE_BSD]: Likewise.
5208 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5209 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5210 [__USE_SVID]: Likewise.
5211 * string/bits/string2.h [__USE_BSD]: Likewise.
5212 [__USE_SVID]: Likewise.
5213 * string/bits/string3.h [__USE_BSD]: Likewise.
5214 * string/endian.h [__USE_BSD]: Likewise.
5215 * string/string.h [__USE_SVID]: Likewise.
5216 [__USE_BSD]: Likewise.
5217 * string/strings.h [__USE_BSD]: Likewise.
5218 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5219 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5220 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5221 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5222 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5223 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5225 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5227 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5228 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5230 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5231 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5233 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5235 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5236 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5239 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5241 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5242 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5243 * termios/termios.h [__USE_BSD]: Likewise.
5244 * time/sys/time.h [__USE_BSD]: Likewise.
5245 * time/time.h [__USE_BSD]: Likewise.
5246 [__USE_SVID]: Likewise.
5248 * Makefile (subdir_targets): Remove subdir_lint.out.
5250 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5251 (do-tst-printf): Likewise.
5252 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5253 $(objpfx)tst-printf.out.
5255 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5257 * Makerules (check-abi-%): Change target to
5258 $(objpfx)check-abi-%.out.
5259 (check-abi target): Update dependencies.
5260 (check-abi-pattern variable): Redirect output of diff to $@.
5261 (check-abi variable): Likewise.
5262 * elf/Makefile (check-abi): Update dependencies.
5264 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5266 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5267 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5269 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5270 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5271 value has largest subnormal exponent.
5272 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5273 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5274 * sysdeps/aarch64/soft-fp/sfp-machine.h
5275 (_FP_TININESS_AFTER_ROUNDING): New macro.
5276 * sysdeps/alpha/soft-fp/sfp-machine.h
5277 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5278 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5280 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5281 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5282 * sysdeps/mips/soft-fp/sfp-machine.h
5283 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5284 * sysdeps/powerpc/soft-fp/sfp-machine.h
5285 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5286 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5288 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5289 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5291 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5292 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5295 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5298 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5301 2014-02-12 Richard Henderson <rth@redhat.com>
5303 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5304 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5305 * sysdeps/unix/sysv/linux/alpha: Move directory from
5306 ports/sysdeps/unix/sysv/linux/alpha.
5307 * README: Update listing for alpha-*-linux-gnu.
5309 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5311 * include/features.h: Update comment documenting feature test
5313 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5315 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5316 (_SVID_SOURCE): Likewise.
5317 (_DEFAULT_SOURCE): Update description of default features.
5318 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5320 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5321 (S_ISVTX): Likewise.
5322 * manual/math.texi (Mathematical Constants): Likewise.
5323 * manual/signal.texi (Interrupted Primitives): Likewise.
5324 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5325 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5326 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5327 Don't refer to _SVID_SOURCE in warning text.
5329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5331 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5333 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5334 * sysdeps/mips/dl-lookup.c: Remove.
5335 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5337 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5340 * math/auto-libm-test-in: Add testcase for expl.
5341 * math/auto-libm-test-out: Regenerate.
5342 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5343 calculation of unsafe.
5344 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5346 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5348 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5349 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5350 ports/sysdeps/unix/sysv/linux/aarch64.
5351 * README: Update listing for aarch64*-*-linux-gnu.
5353 2014-02-11 Will Newton <will.newton@linaro.org>
5355 * manual/probes.texi (Mathematical Function Probes): Use
5356 "triggered" instead of "hit".
5358 * manual/probes.texi (Internal Probes): Add documentation
5359 of setjmp, longjmp and longjmp_target probes.
5361 * include/stap-probe.h: Add comment about probe argument
5364 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5365 definition. (tr_where, tr_freehook, tr_mallochook,
5366 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5368 2014-02-11 David S. Miller <davem@davemloft.net>
5370 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5371 processing int_tests.
5373 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5375 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5376 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5377 * sysdeps/unix/sysv/linux/mips: Move directory from
5378 ports/sysdeps/unix/sysv/linux/mips.
5379 * README: Update listing for mips-*-linux-gnu and
5382 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5384 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5385 * sysdeps/unix/sysv/linux/m68k: Move directory from
5386 ports/sysdeps/unix/sysv/linux/m68k.
5387 * README: Update listing for m68k-*-linux-gnu.
5389 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5391 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5392 * sysdeps/unix/sysv/linux/generic: Move directory from
5393 ports/sysdeps/unix/sysv/linux/generic.
5394 * sysdeps/unix/sysv/linux/tile: Move directory from
5395 ports/sysdeps/unix/sysv/linux/tile.
5396 * README: Update listing for tile*-*-linux-gnu.
5398 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5400 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5402 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5403 * catgets/open_catalog.c (__open_catalog): Likewise.
5404 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5405 * debug/confstr_chk.c: Likewise.
5406 * debug/fread_chk.c (__fread_chk): Likewise.
5407 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5408 * debug/getgroups_chk.c: Likewise.
5409 * debug/mbsnrtowcs_chk.c: Likewise.
5410 * debug/mbsrtowcs_chk.c: Likewise.
5411 * debug/mbstowcs_chk.c: Likewise.
5412 * debug/memcpy_chk.c: Likewise.
5413 * debug/memmove_chk.c: Likewise.
5414 * debug/mempcpy_chk.c: Likewise.
5415 * debug/memset_chk.c: Likewise.
5416 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5417 * debug/strcat_chk.c (__strcat_chk): Likewise.
5418 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5419 * debug/strncat_chk.c (__strncat_chk): Likewise.
5420 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5421 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5422 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5423 * debug/wcpncpy_chk.c: Likewise.
5424 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5425 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5426 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5427 * debug/wcsncpy_chk.c: Likewise.
5428 * debug/wcsnrtombs_chk.c: Likewise.
5429 * debug/wcsrtombs_chk.c: Likewise.
5430 * debug/wcstombs_chk.c: Likewise.
5431 * debug/wmemcpy_chk.c: Likewise.
5432 * debug/wmemmove_chk.c: Likewise.
5433 * debug/wmempcpy_chk.c: Likewise.
5434 * debug/wmemset_chk.c: Likewise.
5435 * dirent/scandirat.c (SCANDIRAT): Likewise.
5436 * dlfcn/dladdr1.c (dladdr1): Likewise.
5437 * dlfcn/dladdr.c (dladdr): Likewise.
5438 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5439 * dlfcn/dlerror.c (__dlerror): Likewise.
5440 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5441 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5442 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5443 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5444 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5445 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5446 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5447 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5449 * elf/dl-conflict.c: Likewise.
5450 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5451 * elf/dl-dst.h: Likewise.
5452 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5453 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5454 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5455 * elf/dl-init.c (call_init, _dl_init): Likewise.
5456 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5457 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5458 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5460 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5462 * elf/dl-minimal.c (__libc_memalign): Likewise.
5463 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5464 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5465 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5466 * elf/dl-sym.c (do_sym): Likewise.
5467 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5468 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5469 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5470 * elf/dl-writev.h (_dl_writev): Likewise.
5471 * elf/ldconfig.c (search_dir): Likewise.
5472 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5473 (dl_main): Likewise.
5474 * elf/setup-vdso.h (setup_vdso): Likewise.
5475 * grp/compat-initgroups.c (compat_call): Likewise.
5476 * grp/fgetgrent.c (fgetgrent): Likewise.
5477 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5478 * grp/putgrent.c (putgrent): Likewise.
5479 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5481 * hurd/hurdinit.c: Likewise.
5482 * iconvdata/8bit-gap.c (struct): Likewise.
5483 * iconvdata/ansi_x3.110.c : Likewise.
5484 * iconvdata/big5.c : Likewise.
5485 * iconvdata/big5hkscs.c : Likewise.
5486 * iconvdata/cp1255.c: Likewise.
5487 * iconvdata/cp1258.c : Likewise.
5488 * iconvdata/cp932.c : Likewise.
5489 * iconvdata/euc-cn.c: Likewise.
5490 * iconvdata/euc-jisx0213.c : Likewise.
5491 * iconvdata/euc-jp.c: Likewise.
5492 * iconvdata/euc-jp-ms.c : Likewise.
5493 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5494 * iconvdata/gb18030.c : Likewise.
5495 * iconvdata/gbbig5.c (const): Likewise.
5496 * iconvdata/gbgbk.c: Likewise.
5497 * iconvdata/gbk.c : Likewise.
5498 * iconvdata/ibm1364.c : Likewise.
5499 * iconvdata/ibm930.c : Likewise.
5500 * iconvdata/ibm932.c: Likewise.
5501 * iconvdata/ibm933.c : Likewise.
5502 * iconvdata/ibm935.c : Likewise.
5503 * iconvdata/ibm937.c : Likewise.
5504 * iconvdata/ibm939.c : Likewise.
5505 * iconvdata/ibm943.c: Likewise.
5506 * iconvdata/iso_11548-1.c: Likewise.
5507 * iconvdata/iso-2022-cn.c : Likewise.
5508 * iconvdata/iso-2022-cn-ext.c : Likewise.
5509 * iconvdata/iso-2022-jp-3.c: Likewise.
5510 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5511 * iconvdata/iso-2022-kr.c : Likewise.
5512 * iconvdata/iso646.c (gconv_end): Likewise.
5513 * iconvdata/iso_6937-2.c : Likewise.
5514 * iconvdata/iso_6937.c : Likewise.
5515 * iconvdata/iso8859-1.c: Likewise.
5516 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5517 * iconvdata/shift_jisx0213.c : Likewise.
5518 * iconvdata/sjis.c : Likewise.
5519 * iconvdata/t.61.c : Likewise.
5520 * iconvdata/tcvn5712-1.c : Likewise.
5521 * iconvdata/tscii.c: Likewise.
5522 * iconvdata/uhc.c : Likewise.
5523 * iconvdata/unicode.c (gconv_end): Likewise.
5524 * iconvdata/utf-16.c (gconv_end): Likewise.
5525 * iconvdata/utf-32.c (gconv_end): Likewise.
5526 * iconvdata/utf-7.c (base64): Likewise.
5527 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5528 * iconv/gconv_close.c (__gconv_close): Likewise.
5529 * iconv/gconv_open.c (__gconv_open): Likewise.
5530 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5531 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5532 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5533 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5534 (ucs4le_internal_loop_single): Likewise.
5535 * iconv/iconv.c (iconv): Likewise.
5536 * iconv/iconv_close.c: Likewise.
5537 * iconv/loop.c (SINGLE): Likewise.
5538 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5539 * include/atomic.h: Likewise.
5540 * inet/inet6_option.c (option_alloc): Likewise.
5541 * intl/bindtextdom.c (set_binding_values): Likewise.
5542 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5543 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5544 * intl/localealias.c (read_alias_file): Likewise.
5545 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5546 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5547 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5548 * libio/fmemopen.c (fmemopen): Likewise.
5549 * libio/iofgets.c (_IO_fgets): Likewise.
5550 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5551 * libio/iofgetws.c (fgetws): Likewise.
5552 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5553 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5554 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5555 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5556 * locale/findlocale.c (_nl_find_locale): Likewise.
5557 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5558 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5560 * locale/setlocale.c (setlocale): Likewise.
5561 * login/programs/pt_chown.c (main): Likewise.
5562 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5563 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5564 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5565 (mmap, mmap64, mremap, munmap): Likewise.
5566 * math/e_exp2l.c: Likewise.
5567 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5568 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5569 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5570 * math/s_catan.c (__catan): Likewise.
5571 * math/s_catanf.c (__catanf): Likewise.
5572 * math/s_catanh.c (__catanh): Likewise.
5573 * math/s_catanhf.c (__catanhf): Likewise.
5574 * math/s_catanhl.c (__catanhl): Likewise.
5575 * math/s_catanl.c (__catanl): Likewise.
5576 * math/s_ccosh.c (__ccosh): Likewise.
5577 * math/s_ccoshf.c (__ccoshf): Likewise.
5578 * math/s_ccoshl.c (__ccoshl): Likewise.
5579 * math/s_cexp.c (__cexp): Likewise.
5580 * math/s_cexpf.c (__cexpf): Likewise.
5581 * math/s_cexpl.c (__cexpl): Likewise.
5582 * math/s_clog10.c (__clog10): Likewise.
5583 * math/s_clog10f.c (__clog10f): Likewise.
5584 * math/s_clog10l.c (__clog10l): Likewise.
5585 * math/s_clog.c (__clog): Likewise.
5586 * math/s_clogf.c (__clogf): Likewise.
5587 * math/s_clogl.c (__clogl): Likewise.
5588 * math/s_csin.c (__csin): Likewise.
5589 * math/s_csinf.c (__csinf): Likewise.
5590 * math/s_csinh.c (__csinh): Likewise.
5591 * math/s_csinhf.c (__csinhf): Likewise.
5592 * math/s_csinhl.c (__csinhl): Likewise.
5593 * math/s_csinl.c (__csinl): Likewise.
5594 * math/s_csqrt.c (__csqrt): Likewise.
5595 * math/s_csqrtf.c (__csqrtf): Likewise.
5596 * math/s_csqrtl.c (__csqrtl): Likewise.
5597 * math/s_ctan.c (__ctan): Likewise.
5598 * math/s_ctanf.c (__ctanf): Likewise.
5599 * math/s_ctanh.c (__ctanh): Likewise.
5600 * math/s_ctanhf.c (__ctanhf): Likewise.
5601 * math/s_ctanhl.c (__ctanhl): Likewise.
5602 * math/s_ctanl.c (__ctanl): Likewise.
5603 * math/w_pow.c: Likewise.
5604 * math/w_powf.c: Likewise.
5605 * math/w_powl.c: Likewise.
5606 * math/w_scalb.c (sysv_scalb): Likewise.
5607 * math/w_scalbf.c (sysv_scalbf): Likewise.
5608 * math/w_scalbl.c (sysv_scalbl): Likewise.
5609 * misc/error.c (error_tail): Likewise.
5610 * misc/pselect.c (__pselect): Likewise.
5611 * nis/nis_callback.c (__nis_create_callback): Likewise.
5612 * nis/nis_call.c (__nisfind_server): Likewise.
5613 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5614 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5615 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5616 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5617 * nis/nis_lookup.c (nis_lookup): Likewise.
5618 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5619 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5620 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5621 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5622 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5623 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5624 * nis/nss_compat/compat-initgroups.c (add_group)
5625 (internal_getgrent_r): Likewise.
5626 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5627 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5628 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5629 (internal_getspnam_r): Likewise.
5630 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5631 (_nss_nis_getaliasbyname_r): Likewise.
5632 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5633 (_nss_nis_getntohost_r): Likewise.
5634 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5635 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5636 (_nss_nis_getgrgid_r): Likewise.
5637 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5638 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5639 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5640 (_nss_nis_gethostbyname4_r): Likewise.
5641 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5642 (initgroups_netid): Likewise.
5643 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5644 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5645 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5646 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5647 (_nss_nis_getprotobynumber_r): Likewise.
5648 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5649 (_nss_nis_getsecretkey): Likewise.
5650 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5651 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5652 (_nss_nis_getpwuid_r): Likewise.
5653 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5654 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5655 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5656 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5657 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5658 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5659 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5661 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5662 (_nss_nisplus_getntohost_r): Likewise.
5663 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5664 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5665 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5666 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5668 * nis/nss_nisplus/nisplus-initgroups.c
5669 (_nss_nisplus_initgroups_dyn): Likewise.
5670 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5671 (_nss_nisplus_getnetbyaddr_r): Likewise.
5672 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5673 (_nss_nisplus_getprotobynumber_r): Likewise.
5674 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5675 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5676 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5678 * nis/nss_nisplus/nisplus-service.c
5679 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5680 (_nss_nisplus_getservbyport_r): Likewise.
5681 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5682 (_nss_nisplus_getspnam_r): Likewise.
5683 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5685 * nscd/aicache.c (addhstaiX): Likewise.
5686 * nscd/cache.c (cache_search, prune_cache): Likewise.
5687 * nscd/connections.c (register_traced_file, send_ro_fd)
5688 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5689 (main_loop_epoll): Likewise.
5690 * nscd/grpcache.c (addgrbyX): Likewise.
5691 * nscd/hstcache.c (addhstbyX): Likewise.
5692 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5693 * nscd/mem.c (gc, mempool_alloc): Likewise.
5694 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5695 (addinnetgrX): Likewise.
5696 * nscd/nscd-client.h (__nscd_acquire_maplock)
5697 (__nscd_drop_map_ref): Likewise.
5698 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5699 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5700 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5702 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5703 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5704 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5705 (__nscd_get_map_ref): Likewise.
5706 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5707 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5709 * nscd/pwdcache.c (addpwbyX): Likewise.
5710 * nscd/selinux.c (preserve_capabilities): Likewise.
5711 * nscd/servicescache.c (addservbyX): Likewise.
5712 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5713 * posix/fnmatch.c (fnmatch): Likewise.
5714 * posix/getopt.c (_getopt_internal_r): Likewise.
5715 * posix/glob.c (glob, glob_in_dir): Likewise.
5716 * posix/wordexp.c (exec_comm_child): Likewise.
5717 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5718 (getanswer_r, gaih_getanswer_slice): Likewise.
5719 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5720 * resolv/res_init.c: Likewise.
5721 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5722 * resolv/res_query.c (__libc_res_nquery): Likewise.
5723 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5725 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5726 * stdio-common/perror.c (perror): Likewise.
5727 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5728 * stdio-common/tmpnam.c (tmpnam): Likewise.
5729 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5730 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5731 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5733 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5734 * stdlib/putenv.c (putenv): Likewise.
5735 * stdlib/setenv.c (__add_to_environ): Likewise.
5736 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5737 * stdlib/strtol_l.c (INTERNAL): Likewise.
5738 * string/memmem.c (memmem): Likewise.
5739 * string/strerror.c (strerror): Likewise.
5740 * string/strnlen.c (__strnlen): Likewise.
5741 * string/test-memmem.c (simple_memmem): Likewise.
5742 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5743 * sunrpc/pm_getport.c (__get_socket): Likewise.
5744 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5745 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5746 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5747 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5749 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5750 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5751 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5752 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5753 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5754 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5756 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5758 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5759 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5761 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5762 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5764 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5765 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5766 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5767 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5768 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5769 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5771 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5773 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5775 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5776 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5777 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5778 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5779 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5780 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5781 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5784 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5785 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5787 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5790 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5792 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5794 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5798 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5800 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5802 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5803 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5804 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5805 * sysdeps/posix/sleep.c: Likewise.
5806 * sysdeps/posix/tempname.c: Likewise.
5807 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5808 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5810 * sysdeps/powerpc/powerpc32/dl-machine.h
5811 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5812 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5813 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5814 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5815 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5817 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5818 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5819 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5820 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5821 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5822 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5823 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5824 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5825 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5826 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5828 (elf_machine_lazy_rel): Likewise.
5829 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5831 (elf_machine_lazy_rel): Likewise.
5832 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5833 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5834 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5835 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5836 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5837 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5838 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5841 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5842 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5843 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5844 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5845 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5846 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5847 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5848 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5849 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5850 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5851 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5853 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5854 (__posix_fallocate64_l64): Likewise.
5855 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5856 (posix_fallocate): Likewise.
5857 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5860 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5861 (getifaddrs_internal): Likewise.
5862 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5863 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5864 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5865 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5866 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5867 (__posix_fallocate64_l64): Likewise.
5868 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5870 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5871 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5872 (__get_clockfreq): Likewise.
5873 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5874 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5875 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5877 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5878 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5879 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5880 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5882 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5883 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5884 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5885 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5886 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5887 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5888 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5890 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5891 (posix_fallocate): Likewise.
5892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5893 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5894 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5895 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5896 (elf_machine_rela, elf_machine_rela_relative)
5897 (elf_machine_lazy_rel): Likewise.
5898 * time/asctime.c (asctime_internal): Likewise.
5899 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5900 * time/tzset.c (__tzset_parse_tz): Likewise.
5901 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5902 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5903 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5904 * wcsmbs/wcsmbsload.h: Likewise.
5907 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5909 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5910 (arena_get2): Remove THREAD_STATS conditionals.
5911 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5912 (__malloc_stats, int): Likewise.
5914 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5916 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5917 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5919 * manual/setjmp.texi: Fix typos/grammar errors.
5921 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5922 Only return early when n is <= 0. Delete unused return statement.
5924 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5925 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5926 * debug/tst-longjmp_chk3.c: New file.
5928 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5929 (test_main): Replace code with set_fortify_handler call.
5930 * debug/test-strcpy_chk.c: Likewise.
5931 * debug/tst-chk1.c: Likewise.
5932 * debug/tst-longjmp_chk.c: Likewise.
5933 * test-skeleton.c: Include fcntl.h & paths.h
5934 (set_fortify_handler): Define.
5936 * debug/tst-longjmp_chk.c: Add header comment and include
5938 (do_test): Mark static.
5939 (TEST_FUNCTION): Define.
5941 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5942 (IP_PMTUDISC_INTERFACE): Likewise.
5943 (IP_MULTICAST_IF): Likewise.
5944 (IP_MULTICAST_TTL): Likewise.
5945 (IP_MULTICAST_LOOP): Likewise.
5946 (IP_ADD_MEMBERSHIP): Likewise.
5947 (IP_DROP_MEMBERSHIP): Likewise.
5948 (IP_UNBLOCK_SOURCE): Likewise.
5949 (IP_BLOCK_SOURCE): Likewise.
5950 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5951 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5952 (IP_MSFILTER): Likewise.
5953 (MCAST_JOIN_GROUP): Likewise.
5954 (MCAST_BLOCK_SOURCE): Likewise.
5955 (MCAST_UNBLOCK_SOURCE): Likewise.
5956 (MCAST_LEAVE_GROUP): Likewise.
5957 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5958 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5959 (MCAST_MSFILTER): Likewise.
5960 (IP_MULTICAST_ALL): Likewise.
5961 (IP_UNICAST_IF): Likewise.
5963 * timezone/Makefile: Delete $(have-ksh) check.
5964 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5965 * timezone/tzselect.ksh: Add +x mode bits.
5967 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5968 (ANON_INODE_FS_MAGIC): Likewise.
5969 (BDEVFS_MAGIC): Likewise.
5970 (BINFMTFS_MAGIC): Likewise.
5971 (BTRFS_TEST_MAGIC): Likewise.
5972 (CRAMFS_MAGIC_WEND): Likewise.
5973 (DEBUGFS_MAGIC): Likewise.
5974 (ECRYPTFS_SUPER_MAGIC): Likewise.
5975 (EXT3_SUPER_MAGIC): Likewise.
5976 (EXT4_SUPER_MAGIC): Likewise.
5977 (FUTEXFS_SUPER_MAGIC): Likewise.
5978 (HOSTFS_SUPER_MAGIC): Likewise.
5979 (HUGETLBFS_MAGIC): Likewise.
5980 (MINIX3_SUPER_MAGIC): Likewise.
5981 (MTD_INODE_FS_MAGIC): Likewise.
5982 (NILFS_SUPER_MAGIC): Likewise.
5983 (OPENPROM_SUPER_MAGIC): Likewise.
5984 (PIPEFS_MAGIC): Likewise.
5985 (PSTOREFS_MAGIC): Likewise.
5986 (QNX6_SUPER_MAGIC): Likewise.
5987 (RAMFS_MAGIC): Likewise.
5988 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5989 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5990 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5991 (SECURITYFS_MAGIC): Likewise.
5992 (SELINUX_MAGIC): Likewise.
5993 (SMACK_MAGIC): Likewise.
5994 (SOCKFS_MAGIC): Likewise.
5995 (SQUASHFS_MAGIC): Likewise.
5996 (STACK_END_MAGIC): Likewise.
5997 (TMPFS_MAGIC): Likewise.
5998 (USBDEVICE_SUPER_MAGIC): Likewise.
5999 (V9FS_MAGIC): Likewise.
6000 (XENFS_SUPER_MAGIC): Likewise.
6001 (CRAMFS_MAGIC): Fix typo in comment.
6002 (EXT2_SUPER_MAGIC): Update comment.
6003 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6005 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6007 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6008 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6009 * sysdeps/unix/sysv/linux/arm: Move directory from
6010 ports/sysdeps/unix/sysv/linux/arm.
6011 * README: Update listing for arm-*-linux-gnueabi.
6013 * README: Remove mention of am33.
6015 2014-02-07 Roland McGrath <roland@hack.frob.com>
6017 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6018 than the comma operator, to avoid "rhs of comma has no effect"
6020 (__sigfillset, __sigandset, __sigorset): Likewise.
6021 * include/signal.h (__sigemptyset): Likewise.
6022 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6024 2014-02-07 Allan McRae <allan@archlinux.org>
6026 * version.h (RELEASE): Set to "development".
6027 (VERSION): Set to "2.19.90"
6028 * NEWS: Add 2.20 section.
6030 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6033 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6035 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6037 * manual/contrib.texi: Update entry for Carlos O'Donell,
6038 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6040 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6042 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6044 * sysdeps/unix/sysv/linux/kernel-features.h
6045 [__LINUX_KERNEL_VERSION >= 0x020621]
6046 (__ASSUME_PROC_PID_TASK_COMM): Define.
6048 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6052 conversion when destination buffer does not have enough space.
6053 * libio/tst-ftell-partial-wide.c: New test case.
6054 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6056 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6057 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6058 Leonard and Allan McRae.
6060 2014-02-04 David S. Miller <davem@davemloft.net>
6062 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6065 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6094 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6096 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6097 * shlib-versions: Likewise.
6099 2014-02-04 Roland McGrath <roland@hack.frob.com>
6100 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6103 (abilist-pattern): New variable, set to %-le.abilist.
6105 * Makerules (abilist-pattern): New variable.
6106 (vpath): Use $(abilist-pattern) in place of %.abilist.
6107 (check-abi-% pattern rule): Likewise.
6108 (check-abi, update-abi): Likewise.
6110 2014-02-04 Eric Wong <normalperson@yhbt.net>
6112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6114 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6116 * manual/startup.texi: Add next, previous, and top entries for
6117 the `Program Arguments' and `Environment Variables' nodes.
6119 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6121 * manual/macros.texi: Add comments before MTASC-safety macros.
6123 * manual/users.texi: Document MTASC-safety properties.
6125 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6126 (pthread_getspecific, pthread_setspecific): Format with
6127 @deftypefun, and add @safety note.
6128 * manual/signal.texi: Move comments that analyze the above
6129 functions to their home place.
6131 2014-02-03 Allan McRae <allan@archlinux.org>
6133 * po/sl.po: Update Slovenian translation from translation project.
6135 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6137 * manual/time.texi (timegm): Add missing blank after @c.
6138 Reported by Joseph Myers <joseph@codesourcery.com>.
6140 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6142 * manual/check-safety.sh: New.
6143 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6145 * manual/terminal.texi: Document MTASC-safety properties.
6147 * manual/filesys.texi: Document MTASC-safety properties.
6149 * manual/errno.texi: Document MTASC-safety properties.
6151 * manual/intro.texi: Document safety identifiers and
6154 * manual/string.texi (wcstok): Fix prototype.
6155 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6157 * manual/time.texi: Document MTASC-safety properties.
6159 * manual/string.texi: Document MTASC-safety properties.
6161 * manual/threads.texi: Document MTASC-safety properties.
6163 * manual/stdio.texi: Document MTASC-safety properties.
6165 * manual/syslog.texi: Document MTASC-safety properties.
6167 * manual/sysinfo.texi: Document MTASC-safety properties.
6169 * manual/startup.texi: Document MTASC-safety properties.
6171 * manual/socket.texi: Document MTASC-safety properties.
6173 * manual/signal.texi: Document MTASC-safety properties.
6175 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6177 * manual/setjmp.texi: Document MTASC-safety properties.
6179 * manual/search.texi: Document MTASC-safety properties.
6181 * manual/resource.texi: Document MTASC-safety properties.
6183 * manual/process.texi: Document MTASC-safety properties.
6185 * manual/platform.texi: Document MTASC-safety properties.
6187 * manual/pipe.texi: Document MTASC-safety properties.
6189 * manual/pattern.texi: Document MTASC-safety properties.
6191 * manual/message.texi: Document MTASC-safety properties.
6194 * manual/memory.texi: Document MTASC-safety properties.
6196 * manual/math.texi: Document MTASC-safety properties.
6198 * manual/locale.texi: Document MTASC-safety properties.
6200 * manual/llio.texi: Document MTASC-safety properties.
6202 * manual/libdl.texi: New.
6204 * manual/lang.texi: Document MTASC-safety properties.
6206 * manual/job.texi: Document MTASC-safety properties.
6208 * manual/getopt.texi: Document MTASC-safety properties.
6210 * manual/ctype.texi: Document MTASC-safety properties.
6212 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6215 * csu/libc-tls.c (static_map): Remove variable.
6216 (__libc_setup_tls): Use main executable's link map for TLS data.
6217 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6218 casing for LM_ID_BASE and GL(dl_nns).
6219 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6220 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6221 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6222 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6223 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6225 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6228 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6230 * manual/debug.texi: Document MTASC-safety properties.
6232 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6235 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6236 of __x86_64__ when disabling x87 inline functions.
6238 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6240 * manual/charset.texi: Document MTASC-safety properties.
6242 * manual/crypt.texi: Document MTASC-safety properties.
6244 * manual/conf.texi: Document MTASC-safety properties.
6246 * manual/arith.texi: Document MTASC-safety properties.
6248 * manual/argp.texi: Document MTASC-safety properties.
6250 * manual/macros.texi: Introduce macros to document multi
6251 thread, asynchronous signal and asynchronous cancellation
6253 * manual/intro.texi: Introduce the properties themselves.
6255 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6257 * sysdeps/sh/sh4/Makefile: New file.
6259 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6261 * math/gen-libm-test.pl ($srcdir): New variable.
6262 ($auto_input): Use it.
6264 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6267 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6268 access beyond array bounds when parsing netgroups file.
6270 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6271 the old buffer before realloc.
6273 2014-01-27 Allan McRae <allan@archlinux.org>
6275 * po/fr.po: Update French translation from translation project.
6277 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6279 * sysdeps/sh/libm-test-ulps: Regenerate.
6281 2014-01-24 David S. Miller <davem@davemloft.net>
6283 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6285 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6287 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6288 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6290 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6293 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6294 string pointers after reallocation.
6296 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6298 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6299 __SH4A__ instead of __SH_FPU_ANY__.
6301 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6303 * sysdeps/sh/fpu_control.h: New file.
6304 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6305 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6306 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6307 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6308 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6309 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6310 * sysdeps/sh/sys/ucontext.h: Remove.
6311 * sysdeps/sh/sys: Remove directory.
6313 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6315 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6316 s390/sys/ucontext.h.
6317 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6318 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6320 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6323 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6325 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6328 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6329 Adjust the vDSO correctly for internal calls.
6330 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6332 2014-01-20 Allan McRae <allan@archlinux.org>
6334 * po/ca.po: Update Catalan translation from translation project.
6336 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6338 * sysdeps/s390/sotruss-lib.c: New file.
6340 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6344 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6345 local calls issues by not having a PLT stub required for IFUNC calls.
6346 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6348 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6350 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6351 * math/test-fpucw-static.c: Likewise.
6353 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6356 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6358 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6360 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6361 implementation for powerpc.
6363 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6366 * sysdeps/posix/system.c (__libc_system): Do not enable
6367 asynchronous cancellation.
6369 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6372 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6373 handling only for numbers special also in the IEEE case.
6375 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6377 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6379 2014-01-11 Allan McRae <allan@archlinux.org>
6381 * po/bg.po: Update Bulgarian translation from translation project.
6383 * po/de.po: Update German translation from translation project.
6385 2014-01-10 Roland McGrath <roland@hack.frob.com>
6387 * sysdeps/generic/gcc-compat.h: New file.
6389 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6391 * benchtests/asin-inputs: Correct slow inputs.
6392 * benchtests/acos-inputs: Likewise.
6394 2014-01-10 Allan McRae <allan@archlinux.org>
6396 * po:sv.po: Update Swedish translation from translation project.
6398 * po/vi.po: Update Vietnamese translation from translation project.
6400 * po/eo.po: Update Esperanto translation from translation project.
6402 * po/cs.po: Update Czech translation from translation project.
6404 * po/nl.po: Update Dutch translation from translation project.
6406 * po/pl.po: Update Polish translation from translation project.
6408 * po/ru.po: Update Russian translation from translation project.
6410 * po/uk.po: Update Ukrainian translation from translation project.
6412 2014-01-08 Brooks Moses <bmoses@google.com>
6414 * elf/dl-load.c: Fix comment typo.
6416 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6418 * po/header.pot: Rename to...
6419 * po/pot.header: ... this.
6420 * po/Makefile: Use pot.header.
6422 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6423 Maxim Kuvyrkov <maxim@kugelworks.com>
6426 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6427 SRC and DEST against LEN.
6429 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6432 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6434 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6436 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6440 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6443 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6444 for large positive arguments.
6446 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6448 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6450 * math/auto-libm-test-in: Mark various tests with
6451 xfail-rounding:ldbl-128ibm.
6452 * math/auto-libm-test-out: Regenerated.
6455 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6456 Increase overflow threshold.
6458 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6461 * stdio-common/vfprintf.c: Check for integer overflow.
6463 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6465 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6466 the first argument and return value of __tls_get_addr_internal.
6468 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6470 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6471 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6473 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6475 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6476 * sysdeps/s390/rtld-global-offsets.sym: New file.
6477 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6479 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6480 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6481 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6483 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6484 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6490 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6491 halfs of GPRs for high_gprs contexts.
6492 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6493 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6495 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6497 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6499 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6500 for high GPRs (uc_high_gprs) and for future extensions
6502 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6503 for future extensions (__reserved).
6504 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6506 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6507 SC_HIGHGPRS offset definition.
6508 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6509 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6511 * Versions.def: Add GLIBC_2.19 for libpthread.
6512 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6513 siglongjmp for libpthread with GLIBC_2.19 symver.
6514 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6515 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6516 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6517 * sysdeps/s390/__longjmp.c: New file.
6518 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6519 * sysdeps/s390/longjmp.c: New file.
6520 * sysdeps/s390/setjmp.S: New file.
6521 * sysdeps/s390/sigjmp.S: New file.
6522 * sysdeps/s390/v1-longjmp.c: New file.
6523 * sysdeps/s390/v1-setjmp.h: New file.
6524 * sysdeps/s390/v1-sigjmp.c: New file.
6525 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6526 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6528 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6529 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6530 versioned symbols for ____longjmp_chk.
6531 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6541 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6542 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6543 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6544 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6545 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6546 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6547 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6548 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6549 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6550 * sysdeps/s390/rtld-__longjmp.c: New file.
6551 * sysdeps/s390/rtld-setjmp.S: New file.
6553 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6557 Return -__logl (x) for small positive arguments without evaluating
6560 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6562 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6564 (__ptrace_peeksiginfo_args): ... this.
6565 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6569 2014-01-06 Allan McRae <allan@archlinux.org>
6571 * inet/netinet/in.h: Fix typo in comment.
6573 2014-01-05 Andreas Jaeger <aj@suse.de>
6575 * sysdeps/i386/fpu/libm-test-ulps: Update.
6577 2014-01-05 Allan McRae <allan@archlinux.org>
6579 * po/libc.pot: Regenerated.
6581 * malloc/memusagestat.c: Fix gettext call formatting.
6583 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6585 * nscd/nscd.c: Improve usage() output.
6587 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6589 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6590 * sysdeps/unix/sysv/linux/configure: Regenerated.
6591 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6592 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6594 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6598 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6600 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6603 extra tokens at end of #undef directive.
6604 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6605 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6606 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6608 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6610 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6612 * math/auto-libm-test-in: Mark various tests with
6613 xfail-rounding:ldbl-128ibm.
6614 * math/auto-libm-test-out: Regenerated.
6616 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6619 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6620 numbers with subnormal high part when calculating exponent.
6623 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6627 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6629 (__ieee754_acoshl): Use __log1pl not __log1p.
6631 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6633 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6634 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6635 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6636 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6637 (reused_arena, arena_get2): Convert to GNU style.
6638 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6639 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6640 (memalign_check, __malloc_set_state): Likewise.
6641 * malloc/mallocbug.c (main): Likewise.
6642 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6643 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6644 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6645 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6646 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6647 (__posix_memalign, malloc_info): Likewise.
6648 * malloc/malloc.h: Likewise.
6649 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6650 (mallochook, memalignhook, reallochook, mabort): Likewise.
6651 * malloc/mcheck.h: Likewise.
6652 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6653 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6654 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6655 * malloc/morecore.c (__default_morecore): Likewise.
6656 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6657 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6658 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6659 (print_and_abort): Likewise.
6660 * malloc/obstack.h: Likewise.
6661 * malloc/set-freeres.c (__libc_freeres): Likewise.
6662 * malloc/tst-mallocstate.c (main): Likewise.
6663 * malloc/tst-mtrace.c (main): Likewise.
6664 * malloc/tst-realloc.c (do_test): Likewise.
6666 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6669 * nscd/netgroupcache.c (do_notfound): New function.
6670 (addgetnetgrentX): Use it.
6673 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6674 NSS_STATUS_NOTFOUND.
6676 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6678 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6681 2014-01-01 Allan McRae <allan@archlinux.org>
6683 * scripts/update-copyrights: Update configure input file suffix.
6685 * NEWS: Update copyright year.
6686 * catgets/gencat.c: Likewise.
6687 * csu/version.c: Likewise.
6688 * debug/catchsegv.sh: Likewise.
6689 * debug/pcprofiledump.c: Likewise.
6690 * debug/xtrace.sh: Likewise.
6691 * elf/ldconfig.c: Likewise.
6692 * elf/ldd.bash.in: Likewise.
6693 * elf/pldd.c: Likewise.
6694 * elf/sotruss.ksh: Likewise.
6695 * elf/sprof.c: Likewise.
6696 * iconv/iconv_prog.c: Likewise.
6697 * iconv/iconvconfig.c: Likewise.
6698 * locale/programs/locale.c: Likewise.
6699 * locale/programs/localedef.c: Likewise.
6700 * login/programs/pt_chown.c: Likewise.
6701 * malloc/memusage.sh: Likewise.
6702 * malloc/memusagestat.c: Likewise.
6703 * malloc/mtrace.pl: Likewise.
6704 * manual/libc.texinfo: Likewise.
6705 * nscd/nscd.c: Likewise.
6706 * nss/getent.c: Likewise.
6707 * nss/makedb.c: Likewise.
6708 * posix/getconf.c: Likewise.
6709 * scripts/test-installation.pl: Likewise.
6711 * All files with FSF copyright notices: Update copyright dates
6712 using scripts/update-copyrights.
6713 * intl/plural.c: Regenerated.
6714 * locale/programs/charmap-kw.h: Likewise.
6715 * locale/programs/locfile-kw.h: Likewise.
6717 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6719 * sysdeps/unix/sysv/linux/configure: Regenerated.
6720 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6721 the linux/fanotify.h header.
6722 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6723 HAVE_LINUX_FANOTIFY_H is defined.
6725 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6727 * benchtests/cos-inputs: New inputs.
6728 * benchtests/sin-inputs: Likewise.
6730 * benchtests/atan-inputs: New inputs. Fix name of multiple
6731 precision fallback inputs.
6733 * benchtests/atanh-inputs: New inputs.
6734 * benchtests/tanh-inputs: Likewise.
6736 * benchtests/acosh-inputs: New inputs.
6737 * benchtests/asinh-inputs: Likewise.
6739 * benchtests/cosh-inputs: New inputs.
6740 * benchtests/sinh-inputs: Likewise.
6742 * benchtests/acos-inputs: Add more inputs.
6743 * benchtests/asin-inputs: Likewise.
6745 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6748 * manual/arith.texi: Fix spelling.
6749 * manual/charset.texi: Likewise.
6750 * manual/errno.texi: Likewise.
6751 * manual/filesys.texi: Likewise.
6752 * manual/lang.texi: Likewise.
6753 * manual/llio.texi: Likewise.
6754 * manual/locale.texi: Likewise.
6755 * manual/message.texi: Likewise.
6756 * manual/resource.texi: Likewise.
6757 * manual/search.texi: Likewise.
6758 * manual/setjmp.texi: Likewise.
6759 * manual/stdio.texi: Likewise.
6760 * manual/string.texi: Likewise.
6761 * manual/sysinfo.texi: Likewise.
6762 * manual/time.texi: Likewise.
6764 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6766 * po/sl.po: New file.
6768 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6770 * .gitignore: Add core/.gdbinit/.gdb_history.
6772 2013-12-27 Allan McRae <allan@archlinux.org>
6775 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6776 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6778 2013-12-24 Brooks Moses <bmoses@google.com>
6780 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6781 all compilers that claim C++98 compliance, not just GCC.
6782 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6785 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6787 * NEWS: Restore accidentally deleted bug-fix entries.
6789 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6790 Ondřej Bílka <neleai@seznam.cz>
6793 * malloc/malloc.c (_int_free): Perform sanity check only if we
6796 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6799 * manual/stdio.texi (String Input Conversions): Clarify that character
6800 classes are not supported.
6802 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6806 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6809 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6810 Calculate results for small negative arguments directly rather
6811 than using reflection formula with special underflow handling.
6813 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6814 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6815 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6816 (fchflags): Likewise.
6818 (setlogin): Likewise.
6819 (sigaltstack): Likewise.
6822 (sigsetmask): Likewise.
6824 (waitpid): Likewise.
6825 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6826 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6828 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6829 * sysdeps/unix/bsd/Makefile: ... here.
6830 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6831 * sysdeps/unix/bsd/Versions: ... here.
6832 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6833 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6834 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6835 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6836 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6837 * sysdeps/unix/bsd/sigblock.c: ... here.
6838 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6839 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6840 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6841 * sysdeps/unix/bsd/sigvec.c: ... here.
6842 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6843 * sysdeps/unix/bsd/tcdrain.c: ... here.
6844 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6845 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6846 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6847 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6848 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6849 * sysdeps/unix/bsd/wait.c: ... here.
6850 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6851 * sysdeps/unix/bsd/wait3.c: ... here.
6852 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6853 * sysdeps/unix/bsd/waitpid.c: ... here.
6855 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6858 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6859 round-to-nearest for [!USE_AS_EXPM1L].
6860 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6861 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6862 more tests of exp and exp10. Expect some exp10 tests to miss
6863 exceptions or fail in directed rounding modes.
6864 * math/auto-libm-test-out: Regenerated.
6865 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6866 (exp10_test_tonearest): New function.
6867 (exp10_towardzero_test_data): New array.
6868 (exp10_test_towardzero): New function.
6869 (exp10_downward_test_data): New array.
6870 (exp10_test_downward): New function.
6871 (exp10_upward_test_data): New array.
6872 (exp10_test_upward): New function.
6873 (main): Call the new functions.
6874 * sysdeps/i386/fpu/libm-test-ulps: Update.
6875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6877 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6879 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6880 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6881 * math/auto-libm-test-out: Regenerated.
6882 * math/libm-test.inc (acosh_test_data): Add more tests.
6883 (atanh_test_data): Likewise.
6884 (ceil_test_data): Likewise.
6885 (copysign_test_data): Likewise.
6886 * sysdeps/i386/fpu/libm-test-ulps: Update.
6887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6889 * timezone/checktab.awk: Update from tzcode 2013i.
6890 * timezone/private.h: Likewise.
6891 * timezone/scheck.c: Likewise.
6892 * timezone/tzfile.h: Likewise.
6893 * timezone/tzselect.ksh: Likewise.
6894 * timezone/zdump.c: Likewise.
6895 * timezone/zic.c: Likewise.
6897 * math/auto-libm-test-in: Add tests of cpow.
6898 * math/auto-libm-test-out: Regenerated.
6899 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6902 (func_calc_desc): Add mpc_cc_c union field.
6903 (test_functions): Add cpow.
6904 (special_fill_2pi): New function.
6905 (special_real_inputs): Add 2pi.
6906 (calc_generic_results): Handle mpc_cc_c.
6907 * sysdeps/i386/fpu/libm-test-ulps: Update.
6908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6911 csqrt, ctan and ctanh.
6912 * math/auto-libm-test-out: Regenerated.
6913 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6914 (TEST_COND_x86): Likewise.
6915 (ccos_test_data): Use AUTO_TESTS_c_c.
6916 (ccosh_test_data): Likewise.
6917 (cexp_test_data): Likewise.
6918 (clog_test_data): Likewise.
6919 (csqrt_test_data): Likewise.
6920 (ctan_test_data): Likewise.
6921 (ctan_tonearest_test_data): Likewise.
6922 (ctan_towardzero_test_data): Likewise.
6923 (ctan_downward_test_data): Likewise.
6924 (ctan_upward_test_data): Likewise.
6925 (ctanh_test_data): Likewise.
6926 (ctanh_tonearest_test_data): Likewise.
6927 (ctanh_towardzero_test_data): Likewise.
6928 (ctanh_downward_test_data): Likewise.
6929 (ctanh_upward_test_data): Likewise.
6930 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6932 (func_calc_desc): Add mpc_c_c union field.
6933 (FUNC_mpc_c_c): New macro.
6934 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6935 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6937 (special_fill_min_subnorm_p120): New function.
6938 (special_real_inputs): Add min_subnorm_p120.
6939 (calc_generic_results): Handle mpc_c_c.
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6943 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6945 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6946 (do_sin_slow): New functions.
6947 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6948 (cslow2, csloww1, csloww2): Use the new functions.
6950 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6951 Use M to change sign of result instead of X. Assume X is
6953 (csloww1): Likewise.
6957 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6962 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6964 (sloww1): Don't adjust sign of DX.
6965 (csloww1): Likewise.
6966 (sloww2): Use X directly and don't adjust sign of DX.
6967 (csloww2): Likewise.
6969 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6971 * math/auto-libm-test-in: Add tests of cabs and carg.
6972 * math/auto-libm-test-out: Regenerated.
6973 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6974 (carg_test_data): Likewise.
6975 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6977 (func_calc_desc): Add mpc_c_f union field.
6978 (test_functions): Add cabs and carg.
6979 (calc_generic_results): Handle mpc_c_f.
6981 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6982 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6983 as a macro and a compat symbol.
6984 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6985 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6986 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6987 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6988 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6989 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6991 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6993 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6995 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6997 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6999 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7001 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7002 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7005 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7009 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7011 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7012 trailing whitespace removed.
7013 * scripts/config.guess: Update to version 2013-11-29.
7014 * scripts/config.sub: Update to version 2013-10-01.
7016 * math/auto-libm-test-in: Add tests of sincos.
7017 * math/auto-libm-test-out: Regenerated.
7018 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7019 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7021 (func_calc_desc): Add mpfr_f_11 union field.
7022 (test_functions): Add sincos.
7023 (calc_generic_results): Handle mpfr_f_11.
7024 * sysdeps/i386/fpu/libm-test-ulps: Update.
7025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7027 2013-12-19 Andreas Schwab <schwab@suse.de>
7029 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7031 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7032 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7033 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7035 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7037 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7038 * sysdeps/i386/fpu/libm-test-ulps: Update.
7039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7043 round-to-nearest mode when using frndint.
7044 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7045 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7046 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7048 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7050 * math/auto-libm-test-out: Regenerated.
7051 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7052 (TEST_COND_x86): Likewise.
7053 (expm1_tonearest_test_data): New array.
7054 (expm1_test_tonearest): New function.
7055 (expm1_towardzero_test_data): New array.
7056 (expm1_test_towardzero): New function.
7057 (expm1_downward_test_data): New array.
7058 (expm1_test_downward): New function.
7059 (expm1_upward_test_data): New array.
7060 (expm1_test_upward): New function.
7061 (main): Run the new test functions.
7062 * sysdeps/i386/fpu/libm-test-ulps: Update.
7063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7065 * include/features.h: Update comment documenting feature test
7066 macros. Mention _DEFAULT_SOURCE in comment.
7067 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7068 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7069 _BSD_SOURCE and _SVID_SOURCE.
7070 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7071 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7072 !_SVID_SOURCE]: Likewise.
7073 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7074 (__USE_POSIX_IMPLICITLY): Define.
7075 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7076 (_POSIX_SOURCE): Undefine and redefine.
7077 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7078 (_POSIX_C_SOURCE): Likewise.
7079 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7080 (Feature Test Macros): Update documentation of default features.
7082 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7084 * benchtests/Makefile: Add bench-strtok.
7085 * benchtests/bench-strtok.c: New file: strtok benchtest.
7087 2013-12-19 Allan McRae <allan@archlinux.org>
7089 * manual/install.texi: Suppress menu for plain text output.
7090 * INSTALL: Regenerated.
7092 2013-12-18 Brooks Moses <bmoses@google.com>
7095 * misc/getauxval.c: Include errno.h.
7096 (__getauxval): Set errno to ENOENT if the requested type is not
7098 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7099 don't declare with __attribute_const__.
7100 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7101 * manual/startup.texi: Document that getauxval sets errno.
7103 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7105 * math/auto-libm-test-in: Add tests of jn and yn.
7106 * math/auto-libm-test-out: Regenerated.
7107 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7108 (yn_test_data): Likewise.
7109 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7111 (func_calc_desc): Add mpfr_if_f union field.
7112 (FUNC_mpfr_if_f): New macro.
7113 (test_functions): Add jn and yn.
7114 (calc_generic_results): Assert type of second input for
7115 mpfr_ff_f. Handle mpfr_if_f.
7116 (output_for_one_input_case): Disable all checking for arguments
7117 fitting floating-point types in case of an integer argument.
7118 * sysdeps/i386/fpu/libm-test-ulps: Update.
7119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7122 Don't expect fegetround reference in libm.so.
7124 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7126 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7127 $(config-cflags-nofma).
7129 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7131 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7132 * math/auto-libm-test-out: Regenerated.
7135 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7136 to determine exponent and adjust argument to have exponent of -1.
7137 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7139 * math/auto-libm-test-out: Regenerated.
7140 * sysdeps/i386/fpu/libm-test-ulps: Update.
7141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7143 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7145 * manual/probes.texi: Remove cases when per-thread arenas are
7148 2013-12-18 Andreas Schwab <schwab@suse.de>
7150 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7151 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7152 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7153 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7154 * sysdeps/i386/i686/multiarch/Makefile: Update.
7155 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7157 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7159 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7160 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7162 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7165 Support TZ transition times < 00:00:00.
7166 This is needed for version-3 tz-format files; it supports time
7167 stamps past 2037 for America/Godthab (the only entry in the tz
7168 database for which this change is relevant).
7169 * manual/time.texi (TZ Variable): Document transition times
7170 from -167:59:59 through -00:00:01.
7171 * time/tzset.c (tz_rule): Time of day is now signed.
7172 (__tzset_parse_tz): Parse negative time of day.
7174 Document TZ transition times >= 25:00:00.
7175 * manual/time.texi (TZ Variable): Document transition times from
7176 25:00:00 through 167:59:59. These are already supported, and this
7177 support will help with version-3 tz-format files.
7179 * manual/time.texi (TZ Variable): Modernize North America example
7180 to reflect current (i.e., 2007-and-later) daylight saving rules.
7182 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7184 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7186 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7187 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7190 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7191 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7192 * sysdeps/unix/bsd/clock.c: Likewise.
7193 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7194 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7195 * sysdeps/unix/bsd/init-posix.c: Likewise.
7196 * sysdeps/unix/bsd/poll.c: Likewise.
7197 * sysdeps/unix/bsd/ptsname.c: Likewise.
7198 * sysdeps/unix/bsd/seekdir.c: Likewise.
7199 * sysdeps/unix/bsd/setegid.c: Likewise.
7200 * sysdeps/unix/bsd/seteuid.c: Likewise.
7201 * sysdeps/unix/bsd/setgid.c: Likewise.
7202 * sysdeps/unix/bsd/setrgid.c: Likewise.
7203 * sysdeps/unix/bsd/setruid.c: Likewise.
7204 * sysdeps/unix/bsd/setsid.c: Likewise.
7205 * sysdeps/unix/bsd/setuid.c: Likewise.
7206 * sysdeps/unix/bsd/sigaction.c: Likewise.
7207 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7208 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7209 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7210 * sysdeps/unix/bsd/telldir.c: Likewise.
7211 * sysdeps/unix/bsd/times.c: Likewise.
7212 * sysdeps/unix/bsd/usleep.c: Likewise.
7214 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7215 ($(objpfx)libbsd-compat.a): Remove rule.
7217 * include/features.h (__FAVOR_BSD): Do not define.
7218 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7219 features conflicting with POSIX.
7220 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7221 (_BSD_SOURCE): Remove description of not being a subset of other
7222 feature test macros.
7223 * manual/job.texi (getpgrp): Do not document BSD version.
7224 (getpgid): Do not document by reference to BSD getpgrp.
7225 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7226 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7227 * signal/signal.h [__FAVOR_BSD]: Likewise.
7228 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7229 instead of making contents conditional on [__FAVOR_BSD].
7230 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7232 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7236 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7239 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7240 values below 2**-450, not 2**-500.
7241 * math/auto-libm-test-in: Don't allow spurious underflow from
7243 * math/auto-libm-test-out: Regenerated.
7247 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7248 values of ha and hb and sort them after adjusting subnormal
7250 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7252 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7253 values of ea and eb and sort them after adjusting subnormal
7255 * math/auto-libm-test-in: Do not expect some hypot tests of
7256 subnormals to fail. Add more hypot tests.
7257 * math/auto-libm-test-out: Regenerated.
7259 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7262 * sysdeps/sh/s_fma.c: New file.
7263 * sysdeps/sh/s_fmaf.c: New file.
7264 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7266 * sysdeps/sh/Implies: Add sh/soft-fp.
7268 2013-12-16 Roland McGrath <roland@hack.frob.com>
7270 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7271 level of indirection to members `objname', `errstring', `malloced'.
7272 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7273 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7274 it as the __longjmp argument (just pass 1 instead).
7275 (_dl_catch_error): Initialize C with argument pointers and address of
7276 volatile local ERRCODE rather than copying values out of C at return.
7278 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7280 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7281 * math/auto-libm-test-out: Regenerated.
7282 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7283 (hypot_test_data): Likewise.
7284 (pow_test_data): Likewise.
7285 (pow_tonearest_test_data): Likewise.
7286 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7288 (func_calc_desc): Add mpfr_ff_f union field.
7289 (FUNC_mpfr_ff_f): New macro.
7290 (test_functions): Add atan2, hypot and pow.
7291 (special_fill_min): New function.
7292 (special_fill_minus_min): Likewise.
7293 (special_fill_min_subnorm): Likewise.
7294 (special_fill_minus_min_subnorm): Likewise.
7295 (special_real_inputs): Add min, -min, min_subnorm and
7297 (calc_generic_results): Handle mpfr_ff_f.
7298 * sysdeps/i386/fpu/libm-test-ulps: Update.
7299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7301 2013-12-16 Will Newton <will.newton@linaro.org>
7303 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7304 (Aligned Memory Blocks): Add documentation for aligned_alloc
7305 and suggest it as an alternative to posix_memalign.
7306 (Hooks for Malloc): Document __memalign_hook is also called
7307 for aligned_alloc. (Summary of Malloc): Add summary for
7308 aligned alloc. Document __memalign_hook is also called
7311 2013-12-16 Will Newton <will.newton@linaro.org>
7313 * manual/memory.texi (Malloc Examples): Clarify default
7314 alignment documentation. Suggest posix_memalign rather
7315 than memalign or valloc.
7316 (Aligned Memory Blocks): Remove suggestion to use memalign
7317 or valloc. Remove obsolete comment about BSD.
7318 Document memalign errno values and mark the function obsolete.
7319 Document posix_memalign returned error codes. Mark valloc
7320 as obsolete. (Hooks for Malloc): __memalign_hook is also
7321 called for posix_memalign and valloc.
7322 (Summary of Malloc): Add posix_memalign to function summary.
7323 __memalign_hook is also called for posix_memalign and valloc.
7325 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7327 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7331 (sloww): Use mynumber union. Expand ternary operator into
7333 (cslow): use mynumber union.
7335 2013-12-16 Allan McRae <allan@archlinux.org>
7337 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7338 * configure: Regenerated.
7340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7343 * configure.ac: Added --enable-maintainer-mode. Check for
7344 autoconf when enabled.
7345 * configure: Regenerated.
7347 * nscd/nscd.service: New file.
7348 * nscd/nscd.tmpfiles: New file.
7350 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7353 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7354 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7355 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7356 (strstr): Add __strstr_sse2_unaligned ifunc.
7357 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7358 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7359 (strcasestr): Remove __strcasestr_sse42 ifunc.
7360 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7361 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7364 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7366 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7367 * sysdeps/sh/bits/fenv.h: ... here.
7368 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7370 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7372 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7375 hypotf multiarch implementations.
7376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7379 multiarch hypot for PPC64.
7380 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7382 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7383 multiarch hypotf for PPC64.
7385 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7386 modff multiarch implementations.
7387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7390 multiarch modf for PPC64.
7391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7394 multiarch modff for PPC64.
7396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7397 and logl multiarch implementations.
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7401 multiarch logb for PPC64.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7405 multiarch logb for PPC64.
7406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7409 multiarch logb for PPC64.
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7412 isinff multiarch implementation.
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7417 multiarch isinf for PPC64.
7418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7421 multiarch isinff for PPC64.
7423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7424 finitef multiarch implementation.
7425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7429 multiarch finite for PPC64.
7430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7433 multiarch finitef for PPC64.
7435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7436 lrint multiarch implementation.
7437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7441 multiarch llrint for PPC64.
7442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7443 multiarch lrint for PPC64.
7445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7446 copysignf multiarch implementation.
7447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7452 multiarch copysign for PPC64.
7453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7454 multiarch copysignf for PPC64.
7456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7457 multiarch implementation.
7458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7466 multiarch llround for PPC64.
7467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7468 multiarch trunc for PPC64.
7469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7470 multiarch truncf for PPC64.
7472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7473 multiarch implementation.
7474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7482 multiarch llround for PPC64.
7483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7484 multiarch round for PPC64.
7485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7486 multiarch roundf for PPC64.
7488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7489 multiarch implementation.
7490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7498 multiarch llround for PPC64.
7499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7500 multiarch floor for PPC64.
7501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7502 multiarch floorf for PPC64.
7504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7505 multiarch implementation.
7506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7514 multiarch llround for PPC64.
7515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7516 multiarch ceil for PPC64.
7517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7518 multiarch ceilf for PPC64.
7520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7521 multiarch implementation.
7522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7529 multiarch llround for PPC64.
7530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7531 multiarch lround for PPC64.
7533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7534 multiarch implementation.
7535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7542 multiarch isnan for PPC64.
7543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7544 multiarch isnanf for PPC64.
7546 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7547 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7548 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7549 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7550 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7553 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7554 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7559 multiarch implementations.
7560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7561 (__libc_ifunc_impl_list): Likewise.
7562 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7563 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7564 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7565 multiarch stpcpy for PPC64.
7567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7568 multiarch implementations.
7569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7570 (__libc_ifunc_impl_list): Likewise.
7571 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7572 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7573 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7574 multiarch strcpy for PPC64.
7576 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7577 redefine function name.
7578 (_wordcopy_fwd_dest_aligned): Likewise.
7579 (_wordcopy_bwd_aligned): Likewise.
7580 (_wordcopy_bwd_dest_aligned): Likewise.
7581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7582 multiarch implementations.
7583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7584 (__libc_ifunc_impl_list): Likewise.
7585 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7586 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7587 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7588 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7589 multiarch wcscpy for PPC64.
7591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7592 multiarch implementations.
7593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7594 (__libc_ifunc_impl_list): Likewise.
7595 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7596 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7597 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7598 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7599 multiarch wcscpy for PPC64.
7601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7602 multiarch implementations.
7603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7604 (__libc_ifunc_impl_list): Likewise.
7605 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7606 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7607 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7608 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7609 multiarch wcsrchr for PPC64.
7611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7612 multiarch implementations.
7613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7614 (__libc_ifunc_impl_list): Likewise.
7615 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7616 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7617 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7618 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7619 multiarch wcschr for PPC64.
7621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7622 multiarch implementations.
7623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7624 (__libc_ifunc_impl_list): Likewise.
7625 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7626 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7627 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7628 multiarch strchrnul for PPC64.
7630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7633 (__libc_ifunc_impl_list): Likewise.
7634 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7635 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7636 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7637 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7643 (__libc_ifunc_impl_list): Likewise.
7644 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7645 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7646 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7647 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7651 multiarch implementations.
7652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7653 (__libc_ifunc_impl_list): Likewise.
7654 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7655 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7656 strncasecmp for PPC64.
7657 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7658 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7659 multiarch strncasecmp_l for PPC64.
7661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7662 multiarch implementations.
7663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7664 (__libc_ifunc_impl_list): Likewise.
7665 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7666 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7667 multiarch strcasecmp for PPC64.
7668 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7671 multiarch strcasecmp_l for PPC64.
7673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7676 (__libc_ifunc_impl_list): Likewise.
7677 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7678 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7679 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7685 (__libc_ifunc_impl_list): Likewise.
7686 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7687 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7688 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7694 (__libc_ifunc_impl_list): Likewise.
7695 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7696 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7697 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7698 rawmemrchr for PPC64.
7700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7703 (__libc_ifunc_impl_list): Likewise.
7704 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7705 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7706 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7712 (__libc_ifunc_impl_list): Likewise.
7713 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7714 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7715 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7721 (__libc_ifunc_impl_list): Likewise.
7722 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7723 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7724 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7727 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7728 avoid cretion of __bzero symbol.
7729 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7731 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7733 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7736 multiarch implementations.
7737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7738 (__libc_ifunc_impl_list): Likewise.
7739 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7740 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7741 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7742 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7744 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7745 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7746 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7747 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7748 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7750 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7752 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7756 (__libc_ifunc_impl_list): Likewise.
7757 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7758 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7759 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7760 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7764 multiarch for POWER/PPC64.
7765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7766 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7768 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7772 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7773 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7776 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7777 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7778 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7779 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7780 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7781 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7782 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7783 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7784 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7785 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7786 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7787 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7788 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7789 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7790 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7799 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7801 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7803 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7805 * benchtests/Makefile (bench): Add exp2 and log2.
7806 (LDLIBS-bench-exp2): Add -lm.
7807 (LDLIBS-bench-log2): Likewise.
7808 * benchtests/exp2-inputs: New inputs file.
7809 * benchtests/log2-inputs: New inputs file.
7810 * benchtests/log-inputs: Add new inputs.
7811 * benchtests/tan-inputs: Likewise.
7813 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7815 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7817 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7818 (csloww2): ... from here.
7820 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7821 instead of structures.
7822 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7823 (POLYNOMIAL): Likewise.
7824 (TAYLOR_SLOW): Likewise.
7832 (bsloww1): Likewise.
7833 (bsloww2): Likewise.
7836 (csloww1): Likewise.
7837 (csloww2): Likewise.
7839 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7841 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7842 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7843 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7844 * malloc/hooks.c (realloc_check): Likewise.
7846 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7847 * malloc/arena.c: Remove PER_THREAD conditional.
7848 [!PER_THREAD]: Remove code.
7849 (ptmalloc_unlock_all2): Likewise.
7850 (ptmalloc_init): Likewise.
7851 (_int_new_arena): Likewise.
7852 (arena_get2): Likewise.
7853 * malloc/hooks.c (__malloc_get_state): Likewise.
7854 (__malloc_set_state): Likewise.
7855 * malloc/malloc.c: Likewise.
7856 (struct malloc_state): Likewise.
7857 (struct malloc_par): Likewise.
7858 (__libc_realloc): Likewise.
7859 (__libc_mallopt): Likewise.
7861 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7863 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7865 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7867 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7868 macro to a function. Check for zero perturb_byte.
7869 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7871 * malloc/malloc.c: (force_reg): Remove.
7872 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7873 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7874 force_reg by atomic_forced_read.
7875 * malloc/arena.c (ptmalloc_init): Likewise.
7876 * malloc/hooks.c (top_check): Likewise.
7878 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7882 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7886 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7888 * math/auto-libm-test-in: Add tests of lgamma.
7889 * math/auto-libm-test-out: Regenerated.
7890 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7891 (M_LOG_2_SQRT_PIl): Likewise.
7892 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7893 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7895 (func_calc_desc): Add mpfr_f_f1 union field.
7904 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7905 (test_functions): Add lgamma.
7906 (calc_generic_results): Handle mpfr_f_f1.
7907 * sysdeps/i386/fpu/libm-test-ulps: Update.
7908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7912 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7913 __mpn_add_n for PowerPC64/POWER7.
7914 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7915 __mpn_sub_n for PowerPC64/POWER7.
7917 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7918 __mpn_addmul_1 for PowerPC64.
7919 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7920 __mpn_submul_1 for PowerPC64.
7921 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7923 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7926 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7929 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7931 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7933 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7935 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7936 add multiarch folders.
7937 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7938 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7939 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7940 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7941 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7942 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7943 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7944 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7945 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7946 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7947 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7956 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7962 multiarch __ieee754_hypot for PowerPC32.
7963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7968 multiarch __ieee754_hypotf for PowerPC32.
7970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7971 long_double_symbol only if __logbl is defined.
7972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7973 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7975 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7977 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7978 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7979 path for implementation.
7980 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7981 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7983 logb, and logbl multiarch implementations for PowerPC32.
7984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7989 multiarch logb for PowerPC32.
7990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7995 multiarch logbf for PowerPC32.
7996 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8000 multiarch logbl implementation for PowerPC32.
8002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8003 and modff multiarch implementations.
8004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8009 multiarch modf for PowerPC32.
8010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8015 multiarch modff for PowerPC32.
8017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8018 and lrintf multiarch implementations.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8024 multiarch lrint for PowerPC32.
8025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8026 file: multiarch lrintf for PowerPC32.
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8029 and lroundf multiarch implementations.
8030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8037 multiarch lround for PowerPC32.
8038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8039 file: multiarch lroundf for PowerPC32.
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8042 copysign and copysignf multiarch implementations.
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8048 file: multiarch copysign for PowerPC32.
8049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8050 file: multiarch copysignf for PowerPC32.
8052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8053 and truncf multiarch implementations.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8059 multiarch trunc for PowerPC32.
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8065 multiarch truncf for PowerPC32.
8067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8068 and roundf multiarch implementations.
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8074 multiarch round for PowerPC32.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8080 multiarch roundf for PowerPC32.
8082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8083 and floorf multiarch implementations.
8084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8089 multiarch floor for PowerPC32.
8090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8095 multiarch floorf for PowerPC32.
8097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8098 and ceilf multiarch implementations.
8099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8104 multiarch ceil for PowerPC32.
8105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8110 multiarch ceilf for PowerPC32.
8112 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8114 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8117 and finitef multiarch implementations.
8118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8123 multiarch finite for PowerPC32.
8124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8127 file: multiarch finitef for PowerPC32.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8130 and isinff multiarch implementations.
8131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8136 multiarch isinf for PowerPC32.
8137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8140 multiarch isinff for PowerPC32.
8142 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8143 alias when __isnan is defined.
8144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8145 and isnanf multiarch implementations.
8146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8155 multiarch isnan for PowerPC32.
8156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8161 multiarch isnanf for PowerPC32.
8163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8164 and sqrtf multiarch implementations.
8165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8170 multiarch sqrt for PowerPC32.
8171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8176 multiarch sqrtf for PowerPC32.
8178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8179 and llroundf multiarch implementations.
8180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8187 file: multiarch llround for PowerPC32.
8188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8189 file: multiarch llroundf for PowerPC32.
8191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8192 multiarch PowerPC32 fpu implementations.
8193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8198 multiarch llrint for PowerPC32.
8199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8208 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8210 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8212 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8214 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8215 multiarch wordcopy for PPC32.
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8219 (__libc_ifunc_impl_list): Likewise.
8220 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8221 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8222 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8223 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8224 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8225 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8227 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8235 multiarch wcscpy for PPC32.
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8239 (__libc_ifunc_impl_list): Likewise.
8240 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8241 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8242 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8243 sysdeps/powerpc/power6/wcscpy.c.
8245 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8253 multiarch wcsrchr for PPC32.
8254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8257 (__libc_ifunc_impl_list): Likewise.
8258 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8259 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8260 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8261 sysdeps/powerpc/power6/wcsrchr.c.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8269 multiarch wcschr for PPc32.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8273 (__libc_ifunc_impl_list): Likewise.
8274 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8275 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8276 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8277 sysdeps/powerpc/power6/wcschr.c.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8283 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8284 file: multiarch strchr for PPC32.
8285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8288 (__libc_ifunc_impl_list): Likewise.
8290 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8292 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8297 multiarch strchrnul for PPC32.
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8301 (__libc_ifunc_impl_list): Likewise.
8303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8305 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8306 multiarch strncasecmp for PPC32.
8307 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8310 multiarch strncasecmp_l for PPC32.
8311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8312 strncasecmp multiarch objects.
8313 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8314 (__libc_ifunc_impl_list): Likewise.
8316 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8319 multiarch strncasecmp for PPC32.
8320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8323 multiarch strcasecmp_l for PPC32.
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8327 (__libc_ifunc_impl_list): Likewise.
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8334 multiarch strncmp for PPC32.
8335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8338 (__libc_ifunc_impl_list): Likewise.
8340 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8341 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8343 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8344 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8348 (__libc_ifunc_impl_list): Likewise.
8350 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8354 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8358 (__libc_ifunc_impl_list): Likewise.
8360 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8362 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8365 multiarch rawmemchr for PPC32.
8366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8369 (__libc_ifunc_impl_list): Likewise.
8371 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8373 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8375 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8376 file: memrchr multiarch for PPC32.
8377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8379 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8380 (__libc_ifunc_impl_list): Likewise.
8382 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8383 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8385 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8387 multiarch memchr for PPC32.
8388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8391 (__libc_ifunc_impl_list): Likewise.
8393 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8394 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8396 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8398 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8399 file: multiarch mempcpy for PPC32.
8400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8403 (__libc_ifunc_impl_list): Likewise.
8405 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8407 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8409 multiarch bzero for PPC32.
8410 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8412 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8414 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8415 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8416 file: multiarch memset for PPC32.
8417 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8419 memset multiarch objects.
8420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8421 (__libc_ifunc_impl_list): Likewise.
8423 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8425 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8426 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8428 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8432 (__libc_ifunc_impl_list): Likewise.
8434 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8442 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8443 multiarch memcpy for PPC32.
8444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8447 (__libc_ifunc_impl_list): Likewise.
8449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8450 support multiarch for POWER/PPC32.
8451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8453 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8455 Implies file to make multiarch folder appers before the fpu and
8456 default folder for power4 configuration.
8458 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8460 * scripts/bench.pl: Append volatile keyword to type.
8462 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8464 * sysdeps/sh/sotruss-lib.c: New file.
8465 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8467 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8471 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8474 * math/w_tgamma.c: Include <errno.h>.
8475 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8476 * math/w_tgammaf.c: Include <errno.h>.
8477 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8478 * math/w_tgammal.c: Include <errno.h>.
8479 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8480 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8481 underflow. Add more tgamma tests.
8482 * math/auto-libm-test-out: Regenerated.
8483 * sysdeps/i386/fpu/libm-test-ulps: Update.
8484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8486 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8487 sin, sinh, tan, tanh, tgamma, y0 and y1.
8488 * math/auto-libm-test-out: Regenerated.
8489 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8490 (TEST_COND_x86): Likewise.
8491 (M_E2l): Remove macro.
8493 (M_2_SQRT_PIl): Likewise.
8494 (M_SQRT_PIl): Likewise.
8495 (M_1_DIV_El): Likewise.
8496 (log_test_data): Use AUTO_TESTS_f_f.
8497 (log10_test_data): Likewise.
8498 (log1p_test_data): Likewise.
8499 (log2_test_data): Likewise.
8500 (sin_test_data): Likewise.
8501 (sin_tonearest_test_data): Likewise.
8502 (sin_towardzero_test_data): Likewise.
8503 (sin_downward_test_data): Likewise.
8504 (sin_upward_test_data): Likewise.
8505 (sinh_test_data): Likewise.
8506 (sinh_tonearest_test_data): Likewise.
8507 (sinh_towardzero_test_data): Likewise.
8508 (sinh_downward_test_data): Likewise.
8509 (sinh_upward_test_data): Likewise.
8510 (tan_test_data): Likewise.
8511 (tan_tonearest_test_data): Likewise.
8512 (tan_towardzero_test_data): Likewise.
8513 (tan_downward_test_data): Likewise.
8514 (tan_upward_test_data): Likewise.
8515 (tanh_test_data): Likewise.
8516 (tgamma_test_data): Likewise.
8517 (y0_test_data): Likewise.
8518 (y1_test_data): Likewise.
8519 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8520 (special_real_inputs): Add pi/4.
8521 * sysdeps/i386/fpu/libm-test-ulps: Update.
8522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8524 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8526 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8527 "longjmp_target" static probes.
8528 (__longjmp): Rename to __longjmp_symbol.
8529 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8530 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8531 on which longjmp to generate.
8532 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8533 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8535 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8536 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8537 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8538 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8539 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8540 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8542 __longjmp_symbol based on which __longjmp to generate.
8543 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8545 (setjmp): Rename to setjmp_symbol.
8546 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8547 (_setjmp): Rename to _setjmp_symbol.
8548 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8549 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8550 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8551 which setjmp to generate.
8552 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8553 "longjmp_target" static probes.
8555 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8557 * benchtests/README: Add note about output arguments.
8558 * benchtests/bench-sincos.c: Remove file.
8559 * benchtests/sincos-inputs: New file.
8560 * scripts/bench.pl: Identify output arguments and define
8561 static variables for them.
8563 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8566 * Makefile (INSTALL): Add install-plain.texi as the primary
8568 * manual/install-plain.texi: New file.
8569 * manual/install.texi: Include node directive only for
8570 non-plaintext output.
8572 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8574 * stdlib/longlong.h: Update from GCC.
8578 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8579 * math/w_j0f.c (y0f): Likewise.
8580 * math/w_j0l.c (__y0l): Likewise.
8581 * math/w_j1.c (y1): Likewise.
8582 * math/w_j1f.c (y1f): Likewise.
8583 * math/w_j1l.c (__y1l): Likewise
8584 * math/w_jn.c (yn): Likewise.
8585 * math/w_jnf.c (ynf): Likewise.
8586 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8587 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8588 value for Bessel function domain errors outside _SVID_ mode.
8589 Adjust sign of return value for yn (negative integer, 0).
8590 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8591 by zero in return for negative x and set sign appropriately for
8593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8594 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8595 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8596 expectations in error cases.
8597 (y1_test_data): Likewise.
8598 (yn_test_data): Likewise.
8599 * sysdeps/i386/fpu/libm-test-ulps: Update.
8600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8602 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8604 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8605 "64" to "64-v1". Add "64-v2".
8606 (abi-64-options): Rename to ...
8607 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8608 (abi-64-condition): Rename to ...
8609 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8610 (abi-64-ld-soname): Rename to ...
8611 (abi-64-v1-ld-soname): ... this.
8612 (abi-64-v2-options): Define.
8613 (abi-64-v2-condition): Likewise.
8614 (abi-64-v2-ld-soname): Likewise.
8615 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8616 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8621 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8622 Alan Modra <amodra@gmail.com>
8624 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8625 New versions for use with the ELFv2 ABI.
8626 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8627 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8629 (struct La_ppc64v2_retval): Likewise.
8630 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8631 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8632 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8633 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8634 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8635 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8636 Do not save or restore CR.
8637 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8638 (_dl_profile_resolve): Do no save or restore CR. Support extended
8639 return values for ELFv2 ABI. Fix location of FPR return registers.
8640 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8641 updated values for _CALL_ELF == 2.
8642 (La_regs, La_retval, int_retval): Likewise.
8644 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8646 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8647 (FRAME_MIN_SIZE_PARM): Likewise.
8648 (FRAME_BACKCHAIN): Likewise.
8649 (FRAME_CR_SAVE): Likewise.
8650 (FRAME_LR_SAVE): Likewise.
8651 (FRAME_TOC_SAVE): Likewise.
8652 (FRAME_PARM_SAVE): Likewise.
8653 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8654 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8655 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8656 (call_mcount_parm_offset): New macro.
8657 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8658 (PROF): Use symbolic stack frame offsets.
8659 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8660 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8661 Redefine in terms of FRAME_MIN_SIZE.
8662 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8663 (_dl_profile_resolve): Likewise. Update comment.
8664 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8665 symbols stack frame offsets.
8666 (__sigsetjmp): Likewise.
8667 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8668 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8669 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8670 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8673 (FRAME_BACKCHAIN): Remove.
8674 (FRAME_CR_SAVE): Likewise.
8675 (FRAME_LR_SAVE): Likewise.
8676 (FRAME_COMPILER_DW): Likewise.
8677 (FRAME_LINKER_DW): Likewise.
8678 (FRAME_TOC_SAVE): Likewise.
8679 (FRAME_PARM_SAVE): Likewise.
8680 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8681 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8682 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8684 (CHECK_SP): Use symbolic stack frame offsets.
8685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8686 zone" instead of caller's parameter save area for temp storage.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8688 Likewise. Also, use symbolic stack frame offsets.
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8690 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8691 our own stack frame instead of the caller's.
8692 (__socket): Use symbolic stack frame offsets.
8694 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8695 Alan Modra <amodra@gmail.com>
8697 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8699 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8700 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8701 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8703 (elf_machine_fixup_plt): Call it.
8704 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8706 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8708 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8709 r2 before calling target.
8711 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8712 Alan Modra <amodra@gmail.com>
8714 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8715 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8716 versions of macros to support ELFv2 ABI.
8717 (LOCALENTRY): New macro.
8718 (ENTRY, EALIGN): Use it.
8719 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8720 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8721 fall through into ENTRY entry point.
8722 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8723 Only define if _CALL_ELF != 2.
8725 (elf_machine_matches_host): Verify ABI version matches.
8726 (RTLD_START): Use LOCALENTRY.
8727 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8728 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8729 (PLT_ENTRY_WORDS): New macro.
8730 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8731 (elf_machine_runtime_setup): Support ELFv2 ABI.
8732 (elf_machine_fixup_plt): Likewise.
8733 (elf_machine_plt_conflict): Likewise.
8734 (resolve_ifunc): Likewise.
8735 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8736 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8739 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8741 (makecontext): Support ELFv2 ABI.
8742 * elf/elf.h (EF_PPC64_ABI): Define.
8744 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8746 * sysdeps/powerpc/powerpc64/sysdep.h
8747 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8748 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8749 (ENTRY) [ASSEMBLER]: ... but instead here ...
8750 (EALIGN) [ASSEMBLER]: ... and here.
8751 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8752 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8753 (ENTRY_2) [!ASSEMBLER]: Use it.
8754 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8755 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8756 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8757 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8758 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8760 Use PPC64_LOAD_FUNCPTR.
8762 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8764 2013-12-04 Alan Modra <amodra@gmail.com>
8766 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8767 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8768 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8769 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8772 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8773 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8774 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8775 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8776 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8778 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8781 (__makecontext): Fix incorrect CFI when backtracing out of
8782 context created via makecontext.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8784 (__setcontext): Fix incorrect CFI during switch to new context.
8785 (__novec_setcontext): Likewise.
8787 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8790 * time/strptime_l.c (__strptime_internal): Allow modifiers
8792 * time/tst-strptime.c (day_tests): Add testcase.
8794 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8796 * scripts/bench.pl: Skip over blank lines.
8798 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8801 * manual/time.texi (Calendar Time): Clarify what timezone functions
8804 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8808 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8810 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8812 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8813 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8814 * debug/memset_chk.c (__memset_chk): Likewise.
8815 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8816 * debug/strncpy_chk.c: Likewise.
8818 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8822 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8823 (__ieee754_exp): For possibly underflowing results, check size of
8824 result and force underflow exception if required.
8825 * math/auto-libm-test-in: Add more tests of exp.
8826 * math/auto-libm-test-out: Regenerated.
8827 * sysdeps/i386/fpu/libm-test-ulps: Update.
8828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8831 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8832 * math/w_exp2f.c (__exp2f): Likewise.
8833 * math/w_exp2l.c (__exp2l): Likewise.
8834 * math/auto-libm-test-in: Do not allow missing errno on exp2
8836 * math/auto-libm-test-out: Regenerated.
8838 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8841 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8842 handle filename validation.
8843 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8846 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8849 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8850 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8851 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8853 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8854 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8855 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8857 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8858 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8859 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8860 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8861 Add more erfc tests.
8862 * math/auto-libm-test-out: Regenerated.
8863 * sysdeps/i386/fpu/libm-test-ulps: Update.
8864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8866 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8867 exp2, expm1, j0 and j1.
8868 * math/auto-libm-test-out: Regenerated.
8869 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8870 (erfc_test_data): Likewise.
8871 (exp_test_data): Likewise.
8872 (exp_tonearest_test_data): Likewise.
8873 (exp_towardzero_test_data): Likewise.
8874 (exp_downward_test_data): Likewise.
8875 (exp_upward_test_data): Likewise.
8876 (exp10_test_data): Likewise.
8877 (exp2_test_data): Likewise.
8878 (expm1_test_data): Likewise.
8879 (j0_test_data): Likewise.
8880 (j1_test_data): Likewise.
8881 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8882 (input_flag_type): Add flag_xfail_rounding.
8883 (input_flags): Add xfail-rounding.
8884 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8885 (output_for_one_input_case): Handle flag_xfail_rounding.
8886 * sysdeps/i386/fpu/libm-test-ulps: Update.
8887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8889 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8892 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8895 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8898 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8899 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8900 (STAP_PROBE0): New macro.
8901 (STAP_PROBE1): Likewise.
8902 (STAP_PROBE2): Likewise.
8903 (STAP_PROBE3): Likewise.
8904 (STAP_PROBE4): Likewise.
8906 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8908 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8910 2013-12-02 Steve Ellcey <sellcey@mips.com>
8912 * benchtests/Makefile (bench): Add sqrt.
8913 (LDLIBS-bench-sqrt): New.
8914 * benchtests/sqrt-input: New.
8916 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8918 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8919 (GAIH_EAI): Likewise.
8920 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8921 (gaih_inet): Likewise.
8922 (getaddrinfo): Don't use GAIH_EAI.
8924 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8925 (struct gaih): Remove definition.
8927 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8929 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8930 Use HERRNOP directly.
8932 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8936 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8938 * math/gen-auto-libm-tests.c (test_functions): Add more
8939 single-argument functions.
8940 (special_fill_pi_2): New function.
8941 (special_fill_minus_pi_2): Likewise.
8942 (special_fill_pi_6): Likewise.
8943 (special_fill_minus_pi_6): Likewise.
8944 (special_fill_pi_3): Likewise.
8945 (special_fill_2pi_3): Likewise.
8946 (special_fill_e): Likewise.
8947 (special_fill_1_e): Likewise.
8948 (special_fill_e_minus_1): Likewise.
8949 (special_real_inputs): Add more special inputs.
8950 (output_for_one_input_case): Do not require ERANGE on underflow to
8951 zero if round-to-nearest result does not underflow to zero, unless
8952 exact results required.
8953 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8954 atan, atanh, cbrt, cos and cosh.
8955 * math/auto-libm-test-out: Regenerated.
8956 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8957 (acos_tonearest_test_data): Likewise.
8958 (acos_towardzero_test_data): Likewise.
8959 (acos_downward_test_data): Likewise.
8960 (acos_upward_test_data): Likewise.
8961 (acosh_test_data): Likewise.
8962 (asin_test_data): Likewise.
8963 (asin_tonearest_test_data): Likewise.
8964 (asin_towardzero_test_data): Likewise.
8965 (asin_upward_test_data): Likewise.
8966 (asinh_test_data): Likewise.
8967 (atan_test_data): Likewise.
8968 (atanh_test_data): Likewise.
8969 (cbrt_test_data): Likewise.
8970 (cos_test_data): Likewise.
8971 (cos_tonearest_test_data): Likewise.
8972 (cos_towardzero_test_data): Likewise.
8973 (cos_downward_test_data): Likewise.
8974 (cos_upward_test_data): Likewise.
8975 (cosh_test_data): Likewise.
8976 (cosh_tonearest_test_data): Likewise.
8977 (cosh_towardzero_test_data): Likewise.
8978 (cosh_downward_test_data): Likewise.
8979 (cosh_upward_test_data): Likewise.
8980 * sysdeps/i386/fpu/libm-test-ulps: Update.
8981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8983 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8986 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8987 * math/w_exp10f.c (__exp10f): Likewise.
8988 * math/w_exp10l.c (__exp10l): Likewise.
8989 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8990 errno settings in existing tests.
8993 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8994 precision control set to double precision.
8995 * sysdeps/i386/fpu/w_sqrt.c: New file.
8996 * math/auto-libm-test-in: Add more tests.
8997 * math/auto-libm-test-out: Update.
8999 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9000 (sqrt_test_tonearest): New function.
9001 (sqrt_towardzero_test_data): New variable.
9002 (sqrt_test_towardzero): New function.
9003 (sqrt_downward_test_data): New variable.
9004 (sqrt_test_downward): New function.
9005 (sqrt_upward_test_data): New variable.
9006 (sqrt_test_upward): New function.
9007 (main): Call the new functions.
9009 * math/gen-auto-libm-tests.c: New file.
9010 * math/auto-libm-test-in: Likewise.
9011 * math/auto-libm-test-out: New generated file.
9012 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9014 (%beautify): Add generated representations of zero.
9015 (top level): Set $auto_input and call parse_auto_input.
9016 (beautify): Remove trailing "f" from hex float constants.
9017 (parse_args): Handle XFAIL_TEST.
9018 (convert_condition): New function.
9019 (or_value): Likewise.
9020 (or_cond_value): Likewise.
9021 (generate_testfile): Handle AUTO_TESTS_* lines.
9022 (parse_auto_input): New function.
9023 * math/libm-test.inc (XFAIL_TEST): New macro.
9024 (ERRNO_UNCHANGED): Update value.
9025 (ERRNO_EDOM): Likewise.
9026 (ERRNO_ERANGE): Likewise.
9027 (IGNORE_RESULT): Likewise.
9028 (TEST_COND_flt_32): New macro.
9029 (TEST_COND_dbl_64): Likewise.
9030 (TEST_COND_ldbl_96_intel): Likewise.
9031 (TEST_COND_ldbl_96_m68k): Likewise.
9032 (TEST_COND_ldbl_128): Likewise.
9033 (TEST_COND_ldbl_128ibm): Likewise.
9034 (TEST_COND_long32): Likewise.
9035 (TEST_COND_long64): Likewise.
9036 (TEST_COND_before_rounding): Likewise.
9037 (TEST_COND_after_rounding): Likewise.
9038 (enable_test): Handle XFAIL_TEST flag.
9039 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9040 with finite results.
9041 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9044 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9045 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9048 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9049 __tls_get_addr_internal instead of __tls_get_offset in order to
9050 avoid GOT pointer dependency. Make rtld export
9051 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9052 __tls_get_addr since we are a __tls_get_offset platform.
9053 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9054 GOT pointer being set up before.
9055 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9057 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9059 * manual/math.texi (Errors in Math Functions): Document accuracy
9063 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9064 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9080 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9081 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9082 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9083 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9084 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9086 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9088 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9090 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9091 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9092 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9093 atomic-feupdateenv and flt-rounds.
9094 * sysdeps/powerpc/nofpu/Versions (libc): Add
9095 __atomic_feholdexcept, __atomic_feclearexcept,
9096 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9097 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9098 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9099 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9100 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9105 * manual/arith.texi (FP Exceptions): Document that exceptions may
9106 not be raised when matherr is used.
9107 (Math Error Reporting): Document overflow in directed rounding
9108 modes. Document that errno may not be set when finite values are
9109 returned on overflow. Document intent to set errno on underflow
9110 only for underflow to zero.
9113 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9114 round-to-nearest then adjust result for other rounding modes.
9115 * include/fenv.h (fegetround): Use libm_hidden_proto.
9116 * math/fegetround.c (fegetround): Use libm_hidden_def.
9117 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9118 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9119 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9120 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9122 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9123 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9124 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9125 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9127 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9130 * nss/Versions (libnss_files): Add
9131 _nss_files_gethostbyname3_r.
9132 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9134 (HOST_DB_LOOKUP): Remove macro.
9135 (_nss_files_gethostbyname_r): Implement function without the
9136 HOST_DB_LOOKUP macro.
9137 (_nss_files_gethostbyname2_r): Likewise.
9139 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9141 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9143 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9145 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9146 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9149 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9151 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9152 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9153 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9154 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9155 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9156 __fe_nomask_env_priv and attribute_hidden.
9157 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9158 (libc_feupdateenv_test_ppc): Likewise.
9159 (libc_feresetround_ppc): Likewise.
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9161 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9162 compat_symbol macro.
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9164 (__fe_nomask_env): Likewise.
9165 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9167 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9169 * string/Makefile: Remove ifunc tests.
9170 * string/test-string.h: Define TEST_IFUNC.
9171 * string/test-bcopy-ifunc.c: Remove.
9172 * string/test-bzero-ifunc.c: Likewise.
9173 * string/test-memccpy-ifunc.c: Likewise.
9174 * string/test-memchr-ifunc.c: Likewise.
9175 * string/test-memcmp-ifunc.c: Likewise.
9176 * string/test-memcpy-ifunc.c: Likewise.
9177 * string/test-memmem-ifunc.c: Likewise.
9178 * string/test-memmove-ifunc.c: Likewise.
9179 * string/test-mempcpy-ifunc.c: Likewise.
9180 * string/test-memrchr-ifunc.c: Likewise.
9181 * string/test-memset-ifunc.c: Likewise.
9182 * string/test-rawmemchr-ifunc.c: Likewise.
9183 * string/test-stpcpy-ifunc.c: Likewise.
9184 * string/test-stpncpy-ifunc.c: Likewise.
9185 * string/test-strcasecmp-ifunc.c: Likewise.
9186 * string/test-strcasestr-ifunc.c: Likewise.
9187 * string/test-strcat-ifunc.c: Likewise.
9188 * string/test-strchr-ifunc.c: Likewise.
9189 * string/test-strchrnul-ifunc.c: Likewise.
9190 * string/test-strcmp-ifunc.c: Likewise.
9191 * string/test-strcpy-ifunc.c: Likewise.
9192 * string/test-strcspn-ifunc.c: Likewise.
9193 * string/test-strlen-ifunc.c: Likewise.
9194 * string/test-strncasecmp-ifunc.c: Likewise.
9195 * string/test-strncat-ifunc.c: Likewise.
9196 * string/test-strncmp-ifunc.c: Likewise.
9197 * string/test-strncpy-ifunc.c: Likewise.
9198 * string/test-strnlen-ifunc.c: Likewise.
9199 * string/test-strpbrk-ifunc.c: Likewise.
9200 * string/test-strrchr-ifunc.c: Likewise.
9201 * string/test-strspn-ifunc.c: Likewise.
9202 * string/test-strstr-ifunc.c: Likewise.
9204 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9206 * benchtests/Makefile: Remove ifunc tests.
9207 * benchtests/bench-string.h: Define TEST_IFUNC.
9208 * benchtests/bench-bcopy-ifunc.c: Remove.
9209 * benchtests/bench-bzero-ifunc.c: Likewise.
9210 * benchtests/bench-memccpy-ifunc.c: Likewise.
9211 * benchtests/bench-memchr-ifunc.c: Likewise.
9212 * benchtests/bench-memcmp-ifunc.c: Likewise.
9213 * benchtests/bench-memcpy-ifunc.c: Likewise.
9214 * benchtests/bench-memmem-ifunc.c: Likewise.
9215 * benchtests/bench-memmove-ifunc.c: Likewise.
9216 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9217 * benchtests/bench-memrchr-ifunc.c: Likewise.
9218 * benchtests/bench-memset-ifunc.c: Likewise.
9219 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9220 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9221 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9222 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9223 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9224 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9225 * benchtests/bench-strcat-ifunc.c: Likewise.
9226 * benchtests/bench-strchr-ifunc.c: Likewise.
9227 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9228 * benchtests/bench-strcmp-ifunc.c: Likewise.
9229 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9230 * benchtests/bench-strcpy-ifunc.c: Likewise.
9231 * benchtests/bench-strcspn-ifunc.c: Likewise.
9232 * benchtests/bench-strlen-ifunc.c: Likewise.
9233 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9234 * benchtests/bench-strncat-ifunc.c: Likewise.
9235 * benchtests/bench-strncmp-ifunc.c: Likewise.
9236 * benchtests/bench-strncpy-ifunc.c: Likewise.
9237 * benchtests/bench-strnlen-ifunc.c: Likewise.
9238 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9239 * benchtests/bench-strrchr-ifunc.c: Likewise.
9240 * benchtests/bench-strsep-ifunc.c: Likewise.
9241 * benchtests/bench-strspn-ifunc.c: Likewise.
9242 * benchtests/bench-strstr-ifunc.c: Likewise.
9244 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9246 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9248 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9250 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9251 * rt/aio.h: Likewise.
9252 * sysdeps/gnu/bits/utmp.h: Likewise.
9253 * sysdeps/gnu/bits/utmpx.h: Likewise.
9254 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9255 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9256 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9257 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9258 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9259 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9260 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9261 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9262 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9264 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9265 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9266 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9268 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9269 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9270 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9271 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9272 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9273 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9274 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9275 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9276 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9277 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9278 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9280 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9281 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9282 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9283 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9286 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9287 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9288 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9289 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9290 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9291 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9292 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9293 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9294 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9295 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9297 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9300 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9301 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9303 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9305 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9306 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9309 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9312 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9313 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9314 (__fesetround): Remove define.
9315 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9316 rounding and exceptions handling.
9317 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9318 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9319 (__fe_nomask_env): Likewise.
9320 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9321 __fegetround instead of fegetround.
9322 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9325 2013-11-21 Roland McGrath <roland@hack.frob.com>
9327 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9330 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9332 2013-11-21 Meador Inge <meadori@codesourcery.com>
9335 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9336 (encrypt_r): Likewise.
9337 * malloc/obstack.h (obstack_free): Likewise.
9338 * posix/unistd.h (encrypt): Likewise.
9340 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9342 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9343 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9344 DL_CALL_DT_FINI() that call the functions directly.
9345 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9346 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9347 * elf/dl-fini.c: Likewise.
9349 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9351 * malloc/hooks.c (memalign_check): Add alignment rounding.
9352 * malloc/malloc.c (_mid_memalign): New function.
9353 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9354 Implement by calling _mid_memalign.
9355 * manual/probes.texi (Memory Allocation Probes): Remove
9356 memory_valloc_retry and memory_pvalloc_retry.
9358 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9360 * locale/programs/locarchive.c (open_archive): Add const
9361 qualifier to ARCHIVEFNAME and copy default fname to
9365 * libio/tst-widetext.input: Rename Oriya to Odia.
9366 * locale/iso-639.def: Likewise.
9368 * manual/probes.texi (Mathematical Function Probes): Add
9369 documentation for sin, cos, asin and acos probes.
9370 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9371 (__sin32): Add slowasin probe.
9372 (__cos32): Add slowacos probe.
9373 (__mpsin): Add slowsin probe.
9374 (__mpcos): Add slowcos probe.
9376 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9379 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9380 thread-local __sim_exceptions_thread and global
9381 __sim_exceptions_global.
9382 (__sim_disabled_exceptions): Change to thread-local
9383 __sim_disabled_exceptions_thread and global
9384 __sim_disabled_exceptions_global.
9385 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9386 and global __sim_round_mode_global.
9387 (__simulate_exceptions): Use thread-local floating-point state and
9388 set global state from it as needed.
9389 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9390 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9391 __sim_round_mode_thread.
9392 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9393 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9394 and global __sim_exceptions_global.
9395 (__sim_disabled_exceptions): Change to thread-local
9396 __sim_disabled_exceptions_thread and global
9397 __sim_disabled_exceptions_global.
9398 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9399 and global __sim_round_mode_global.
9400 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9401 (SIM_SET_GLOBAL): Likewise.
9402 * sysdeps/powerpc/soft-fp/sfp-machine.h
9403 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9404 __sim_round_mode_thread.
9405 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9406 __sim_disabled_exceptions_thread.
9407 (__sim_exceptions): Change to __sim_exceptions_thread.
9408 (__sim_disabled_exceptions): Change to
9409 __sim_disabled_exceptions_thread.
9410 (__sim_round_mode): Change to __sim_round_mode_thread.
9411 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9412 thread-local floating-point state and set global state from it as
9414 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9415 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9416 (__sim_disabled_exceptions): Remove extern declaration.
9417 (feenableexcept): Use thread-local floating-point state and set
9418 global state from it as needed.
9419 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9421 (__sim_disabled_exceptions): Likewise.
9422 (__sim_round_mode): Likewise.
9423 (__fegetenv): Use thread-local floating-point state.
9424 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9425 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9426 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9427 floating-point state and set global state from it as needed.
9428 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9429 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9430 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9432 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9433 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9435 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9436 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9437 Use __sim_round_mode_thread.
9438 * math/test-fenv-tls.c: New file.
9439 * math/Makefile (tests): Add test-fenv-tls.
9440 ($(objpfx)test-fenv-tls): Depend on
9441 $(common-objpfx)nptl/libpthread.so.
9443 2013-11-19 Andreas Schwab <schwab@suse.de>
9445 * locale/programs/locale.c (show_info): Decode wordarray elements.
9446 * locale/categories.def (LC_MONETARY): Add element for
9447 _NL_MONETARY_CRNCYSTR.
9448 * locale/C-monetary.c (conversion_rate): New variable.
9449 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9452 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9454 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9455 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9457 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9459 * elf/Makefile (tst-auxv): New test.
9460 * elf/tst-auxv.c: New
9461 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9463 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9465 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9466 (hidden_proto): Caller changed.
9467 (hidden_tls_proto): New macro.
9468 (libc_hidden_tls_proto): Likewise.
9469 (rtld_hidden_tls_proto): Likewise.
9470 (libm_hidden_tls_proto): Likewise.
9471 (libresolv_hidden_tls_proto): Likewise.
9472 (librt_hidden_tls_proto): Likewise.
9473 (libdl_hidden_tls_proto): Likewise.
9474 (libnss_files_hidden_tls_proto): Likewise.
9475 (libnsl_hidden_tls_proto): Likewise.
9476 (libnss_nisplus_hidden_tls_proto): Likewise.
9477 (libutil_hidden_tls_proto): Likewise.
9479 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9482 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9483 (decompose_rpath): Defer expansion to fillin_rpath.
9484 (_dl_init_paths): Pass linkmap to fillin_rpath.
9486 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9488 * benchtests/Makefile: Add strsep.
9489 * benchtests/bench-strsep.c: New file: strsep benchtest.
9490 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9492 2013-11-18 Andreas Schwab <schwab@suse.de>
9494 * locale/programs/locale.c (show_info) [case byte]: Check for
9495 '\377' instead of '\177'.
9496 * locale/C-monetary.c (not_available): Always use "\377".
9497 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9498 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9499 detect unavailable sign_posn locale elements.
9500 * locale/localeconv.c (__localeconv): For grouping and
9501 mon_grouping handle "\177" and "\377" like no grouping.
9502 (INT_ELEM): New macro. Use it to set all numeric members.
9503 * locale/programs/ld-monetary.c (monetary_read)
9504 <tok_mon_grouping>: Normalize single -1 to the empty string.
9505 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9508 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9512 when we match (nil).
9513 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9515 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9517 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9518 (NO_TEST_INLINE): Update value.
9519 (ERRNO_UNCHANGED): Likewise.
9520 (ERRNO_EDOM): Likewise.
9521 (ERRNO_ERANGE): Likewise.
9522 (IGNORE_RESULT): Likewise.
9523 (check_float_internal): Check signs of NaN results if
9525 (check_complex): Pass TEST_NAN_SIGN flag through to second
9526 check_float_internal call.
9527 (copysign_test_data): Add tests with quiet NaNs as second
9528 argument. Use TEST_NAN_SIGN.
9529 (fabs_test_data): Add test of negative quiet NaN argument. Use
9531 (signbit_test_data): Add tests of quiet NaN argument.
9532 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9534 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9536 (parse_args): Handle function results specified as IGNORE.
9537 * math/libm-test.inc (IGNORE_RESULT): New macro.
9538 (check_float_internal): Do not check numerical result if flag
9540 (check_complex): Pass through IGNORE_RESULT to second
9541 check_float_internal call.
9542 (check_int): Do not check numerical result if flag IGNORE_RESULT
9544 (check_long): Likewise.
9545 (check_bool): Likewise.
9546 (check_longlong): Likewise.
9547 (lrint_test_data): Add tests of infinite and NaN arguments.
9548 (lrint_tonearest_test_data): Likewise.
9549 (lrint_towardzero_test_data): Likewise.
9550 (lrint_downward_test_data): Likewise.
9551 (lrint_upward_test_data): Likewise.
9552 (llrint_test_data): Likewise.
9553 (llrint_tonearest_test_data): Likewise.
9554 (llrint_towardzero_test_data): Likewise.
9555 (llrint_downward_test_data): Likewise.
9556 (llrint_upward_test_data): Likewise.
9557 (lround_test_data): Likewise.
9558 (llround_test_data): Likewise.
9560 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9561 (ERRNO_UNCHANGED): Update value.
9562 (ERRNO_EDOM): Likewise.
9563 (ERRNO_ERANGE): Likewise.
9564 (NO_TEST_INLINE_FLOAT): New macro.
9565 (NO_TEST_INLINE_DOUBLE): Likewise.
9566 (enable_test): New function.
9567 (RUN_TEST_f_f): Check enable_test before running test.
9568 (RUN_TEST_2_f): Likewise.
9569 (RUN_TEST_fff_f): Likewise.
9570 (RUN_TEST_c_f): Likewise.
9571 (RUN_TEST_f_f1): Likewise.
9572 (RUN_TEST_fF_f1): Likewise.
9573 (RUN_TEST_fI_f1): Likewise.
9574 (RUN_TEST_ffI_f1): Likewise.
9575 (RUN_TEST_c_c): Likewise.
9576 (RUN_TEST_cc_c): Likewise.
9577 (RUN_TEST_f_i): Likewise.
9578 (RUN_TEST_f_i_tg): Likewise.
9579 (RUN_TEST_ff_i_tg): Likewise.
9580 (RUN_TEST_f_b): Likewise.
9581 (RUN_TEST_f_b_tg): Likewise.
9582 (RUN_TEST_f_l): Likewise.
9583 (RUN_TEST_f_L): Likewise.
9584 (RUN_TEST_fFF_11): Likewise.
9585 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9587 (cosh_test_data): Likewise.
9588 (exp_test_data): Likewise.
9589 (expm1_test_data): Likewise.
9590 (hypot_test_data): Likewise.
9591 (pow_test_data): Likewise.
9592 (sinh_test_data): Likewise.
9593 (tanh_test_data): Likewise.
9594 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9597 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9598 tests with quiet NaN input and output.
9599 (acosh_test_data): Likewise.
9600 (asin_test_data): Likewise.
9601 (asinh_test_data): Likewise.
9602 (atan_test_data): Likewise.
9603 (atanh_test_data): Likewise.
9604 (atan2_test_data): Likewise.
9605 (cbrt_test_data): Likewise.
9606 (cos_test_data): Likewise.
9607 (cosh_test_data): Likewise.
9608 (erf_test_data): Likewise.
9609 (erfc_test_data): Likewise.
9610 (exp_test_data): Likewise.
9611 (exp10_test_data): Likewise.
9612 (exp2_test_data): Likewise.
9613 (expm1_test_data): Likewise.
9614 (hypot_test_data): Likewise.
9615 (j0_test_data): Likewise.
9616 (j1_test_data): Likewise.
9617 (jn_test_data): Likewise.
9618 (lgamma_test_data): Likewise.
9619 (log_test_data): Likewise.
9620 (log10_test_data): Likewise.
9621 (log1p_test_data): Likewise.
9622 (log2_test_data): Likewise.
9623 (pow_test_data): Likewise.
9624 (scalb_test_data): Likewise.
9625 (sin_test_data): Likewise.
9626 (sincos_test_data): Likewise.
9627 (sinh_test_data): Likewise.
9628 (tan_test_data): Likewise.
9629 (tanh_test_data): Likewise.
9630 (tgamma_test_data): Likewise.
9631 (y0_test_data): Likewise.
9632 (y1_test_data): Likewise.
9633 (yn_test_data): Likewise.
9636 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9637 argument being NaN and avoid computations with second argument in
9639 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9640 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9641 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9643 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9645 * locale/iso-639.def: Add Chitwani Tharu (the).
9647 2013-11-14 Andreas Schwab <schwab@suse.de>
9649 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9650 word instead of empty string.
9652 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9655 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9657 (__fe_nomask_env): Likewise.
9659 2013-11-13 Steve Ellcey <sellcey@mips.com>
9661 * benchtests/bench-timing.h: Include time.h.
9663 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9666 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9668 * sysdeps/unix/sysv/linux/configure: Regenerated.
9670 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9673 * stdlib/strtod_l.c (round_and_return): Do not consider
9674 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9675 exponent one less than half the least subnormal exponent.
9676 * stdlib/test-strtod-round-data: Add more tests.
9677 * stdlib/tst-strtod-round.c (tests): Regenerated.
9679 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9682 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9683 (__fe_mask_env): Likewise.
9684 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9685 libm_hidden_proto and add function prototype.
9686 (__fe_mask_env): Add function prototype.
9687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9688 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9690 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9692 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9694 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9696 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9697 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9699 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9701 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9702 of htab_find_slot().
9704 2013-11-11 David S. Miller <davem@davemloft.net>
9707 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9708 symbol in the non-vis3 case in static builds.
9709 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9710 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9711 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9712 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9714 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9717 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9720 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9722 * benchtests/Makefile: Add bench-strtod.
9723 * benchtests/bench-strtod.c: New file: strtod benchtest
9725 2013-11-11 Andreas Schwab <schwab@suse.de>
9728 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9729 terminating NUL in key length.
9731 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9734 Add artificial ODP entry for vDSO symbol for PPC64.
9735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9736 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9738 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9741 * nss/getent.c (services_keys): Recognize services starting with digit.
9743 2013-11-06 David S. Miller <davem@davemloft.net>
9746 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9747 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9749 2013-11-06 Will Newton <will.newton@linaro.org>
9751 * manual/memory.texi (Malloc Examples): Remove register
9752 keyword from examples.
9754 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9756 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9758 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9761 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9762 depending on [__GCC_IEC_559 > 0].
9763 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9764 depending on [__GCC_IEC_559_COMPLEX > 0].
9766 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9768 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9771 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9773 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9775 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9778 * malloc/malloc (malloc_info): Do not handle first bin as
9781 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9783 * locale/iso-639.def: Add Central Nahuatl (nhn).
9785 2013-11-01 Bruno Haible <bruno@clisp.org>
9788 * manual/math.texi (BSD Random): Specify range upper bound as
9791 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9793 * locale/iso-639.def: Add Meadow Mari (mhr).
9795 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9797 [BZ #14752], [BZ #15763]
9798 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9800 * rt/tst_shm.c: Add test for escaping directory.
9802 2013-10-31 Andreas Schwab <schwab@suse.de>
9805 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9806 followed by 'x' as part of digit sequence.
9807 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9809 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9812 * configure.ac: allow GNU Make 4.0 and greater.
9813 * configure: Regenerated.
9815 2013-10-30 Will Newton <will.newton@linaro.org>
9818 * malloc/hooks.c (memalign_check): Limit alignment to the
9819 maximum representable power of two.
9820 * malloc/malloc.c (__libc_memalign): Likewise.
9821 * malloc/tst-memalign.c (do_test): Add test for very
9822 large alignment values.
9823 * malloc/tst-posix_memalign.c (do_test): Likewise.
9825 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9828 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9829 (munmap_chunk): Likewise.
9830 (mremap_chunk): Likewise.
9832 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9835 * stdlib/div.c (div): Remove obsolete code.
9836 * stdlib/ldiv.c (ldiv): Likewise.
9837 * stdlib/lldiv.c (lldiv): Likewise.
9839 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9842 * nss/nss_files/files-XXX.c (get_contents_ret): New
9844 (get_contents): New function.
9845 (internal_getent): Use it. Expand size of LINEBUFLEN.
9847 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9849 * configure.in: Moved to ...
9850 * configure.ac: ... here. Change reference to configure.in
9852 * sysdeps/arm/preconfigure.ac: ... here.
9853 configure.in to configure.ac.
9854 * sysdeps/gnu/configure.in: Moved to ...
9855 * sysdeps/gnu/configure.ac: ... here.
9856 * sysdeps/i386/configure.in: Moved to ...
9857 * sysdeps/i386/configure.ac: ... here.
9858 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9859 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9860 * sysdeps/mach/configure.in: Moved to ...
9861 * sysdeps/mach/configure.ac: ... here.
9862 * sysdeps/mach/hurd/configure.in: Moved to ...
9863 * sysdeps/mach/hurd/configure.ac: ... here.
9864 * sysdeps/powerpc/configure.in: Moved to ...
9865 * sysdeps/powerpc/configure.ac: ... here.
9866 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9867 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9868 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9869 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9870 * sysdeps/s390/s390-32/configure.in: Moved to ...
9871 * sysdeps/s390/s390-32/configure.ac: ... here.
9872 * sysdeps/s390/s390-64/configure.in: Moved to ...
9873 * sysdeps/s390/s390-64/configure.ac: ... here.
9874 * sysdeps/sh/configure.in: Moved to ...
9875 * sysdeps/sh/configure.ac: ... here.
9876 * sysdeps/sparc/configure.in: Moved to ...
9877 * sysdeps/sparc/configure.ac: ... here.
9878 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9879 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9880 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9881 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9882 * sysdeps/x86_64/configure.in: Moved to ...
9883 * sysdeps/x86_64/configure.ac: ... here.
9884 * sysdeps/x86_64/preconfigure.in: Moved to ...
9885 * sysdeps/x86_64/preconfigure.ac: ... here.
9886 * aclocal.m4: Change reference to configure.in to configure.ac.
9887 * config.h.in: Likewise.
9888 * manual/install.texi: Likewise.
9889 * manual/maint.texi: Likewise.
9890 * Makefile: Likewise.
9891 * malloc/Makefile: Likewise.
9892 * nscd/Makefile: Likewise.
9893 * Makeconfig: Change reference to configure.in and
9894 preconfigure.in to configure.ac and preconfigure.ac
9896 * INSTALL: Regenerated.
9897 * configure: Likewise.
9898 * sysdeps/gnu/configure: Likewise.
9899 * sysdeps/i386/configure: Likewise.
9900 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9901 * sysdeps/mach/configure: Likewise.
9902 * sysdeps/mach/hurd/configure: Likewise.
9903 * sysdeps/powerpc/configure: Likewise.
9904 * sysdeps/powerpc/powerpc32/configure: Likewise.
9905 * sysdeps/powerpc/powerpc64/configure: Likewise.
9906 * sysdeps/s390/s390-32/configure: Likewise.
9907 * sysdeps/s390/s390-64/configure: Likewise.
9908 * sysdeps/sh/configure: Likewise.
9909 * sysdeps/sparc/configure: Likewise.
9910 * sysdeps/unix/sysv/linux/configure: Likewise.
9911 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9912 * sysdeps/x86_64/configure: Likewise.
9913 * sysdeps/x86_64/preconfigure: Likewise.
9915 2013-10-29 Andreas Schwab <schwab@suse.de>
9917 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9919 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9921 * benchtests/pow-inputs: Add new inputs.
9923 * benchtests/exp-inputs: Add new inputs.
9925 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9926 conditional check for return value.
9927 (__cos32): Likewise.
9929 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9931 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9932 to provide a boost for large inputs with word alignment.
9933 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9934 implementation based on optimized PPC64 strcpy.
9935 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9936 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9937 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9938 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9940 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9943 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9945 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9948 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9949 * time/tst-strptime.c (day_tests): Add testcase.
9951 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9954 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9956 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9959 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9960 MAP_FAILED on error.
9962 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9965 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9966 heap for large requests.
9968 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9971 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9972 result if the result has no associated interface.
9973 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9974 interface for all 127.X.Y.Z addresses.
9976 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9978 * locale/iso-639.def: Add Ligurian (lij)
9980 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9983 * sunrpc/rpc_main.c: Document rpcgen -5.
9985 2013-10-19 Michael Stahl <mstahl@redhat.com>
9987 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9989 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9992 * posix/glob.c: Match only directories when trailing slash is present.
9993 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9994 (main): Add testcase.
9996 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9999 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10001 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10003 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10004 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10005 AUTH_DES and cindex for FIPS 140-2.
10006 (DES Encryption): Add cindex FIPS 46-3.
10008 * locale/locarchive.h (struct locarhandle): Add fname.
10009 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10010 if an optional argument was specified to --list-archive,
10012 * locale/programs/locarchive.c (show_archive_content): Take new
10013 argument fname and pass it via ah.fname to open_archive.
10014 * locale/programs/localedef.h: Update decl.
10015 (open_archive): If AH->fname is non-null, open that file
10016 rather than the default file name, and don't ignore ENOENT.
10017 (create_archive): Set AH.fname to NULL.
10018 (delete_locales_from_archive): Likewise.
10019 (add_locales_to_archive): Likewise.
10020 * locale/programs/locfile.c (write_all_categories): Likewise.
10022 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10023 Aldy Hernandez <aldyh@redhat.com>
10025 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10026 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10027 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10028 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10029 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10030 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10031 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10032 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10033 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10034 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10035 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10036 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10037 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10038 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10039 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10041 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10043 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10045 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10047 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10048 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10050 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10051 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10052 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10053 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10055 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10056 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10057 * sysdeps/powerpc/preconfigure: Likewise.
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10060 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10061 Replace contents of file by #include of <fenv_libc.h>.
10062 * sysdeps/powerpc/soft-fp/sfp-machine.h
10063 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10065 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10066 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10069 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10072 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10073 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10074 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10078 Allow copysignl PLT reference to be missing.
10080 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10081 Joseph Myers <joseph@codesourcery.com
10084 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10086 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10088 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10090 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10091 * elf/tst-tls1.c: Likewise.
10092 * elf/tst-tls10.h: Likewise.
10093 * elf/tst-tls14.c: Likewise.
10094 * elf/tst-tls2.c: Likewise.
10095 * elf/tst-tls3.c: Likewise.
10096 * elf/tst-tls4.c: Likewise.
10097 * elf/tst-tls5.c: Likewise.
10098 * elf/tst-tls6.c: Likewise.
10099 * elf/tst-tls7.c: Likewise.
10100 * elf/tst-tls8.c: Likewise.
10101 * elf/tst-tls9.c: Likewise.
10102 * elf/tst-tlsmod1.c: Likewise.
10103 * elf/tst-tlsmod13.c: Likewise.
10104 * elf/tst-tlsmod13a.c: Likewise.
10105 * elf/tst-tlsmod14a.c: Likewise.
10106 * elf/tst-tlsmod16a.c: Likewise.
10107 * elf/tst-tlsmod16b.c: Likewise.
10108 * elf/tst-tlsmod2.c: Likewise.
10109 * elf/tst-tlsmod3.c: Likewise.
10110 * elf/tst-tlsmod4.c: Likewise.
10111 * elf/tst-tlsmod5.c: Likewise.
10112 * elf/tst-tlsmod6.c: Likewise.
10114 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10117 * malloc/malloc.c: remove checks for statistics.
10119 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10122 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10123 * inet/tst-network.c: Add testcase.
10125 2013-10-17 Andreas Schwab <schwab@suse.de>
10128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10129 to determine canonical name.
10131 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10133 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10134 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10136 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10157 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10158 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10163 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10174 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10175 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10176 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10192 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10195 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10196 make result into a quiet NaN.
10198 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10200 * soft-fp/adddf3.c: Fix horizontal whitespace.
10201 * soft-fp/addsf3.c: Likewise.
10202 * soft-fp/addtf3.c: Likewise.
10203 * soft-fp/divdf3.c: Likewise.
10204 * soft-fp/divsf3.c: Likewise.
10205 * soft-fp/divtf3.c: Likewise.
10206 * soft-fp/double.h: Likewise.
10207 * soft-fp/eqdf2.c: Likewise.
10208 * soft-fp/eqsf2.c: Likewise.
10209 * soft-fp/eqtf2.c: Likewise.
10210 * soft-fp/extenddftf2.c: Likewise.
10211 * soft-fp/extended.h: Likewise.
10212 * soft-fp/extendsfdf2.c: Likewise.
10213 * soft-fp/extendsftf2.c: Likewise.
10214 * soft-fp/extendxftf2.c: Likewise.
10215 * soft-fp/fixdfdi.c: Likewise.
10216 * soft-fp/fixdfsi.c: Likewise.
10217 * soft-fp/fixdfti.c: Likewise.
10218 * soft-fp/fixsfdi.c: Likewise.
10219 * soft-fp/fixsfsi.c: Likewise.
10220 * soft-fp/fixsfti.c: Likewise.
10221 * soft-fp/fixtfdi.c: Likewise.
10222 * soft-fp/fixtfsi.c: Likewise.
10223 * soft-fp/fixtfti.c: Likewise.
10224 * soft-fp/fixunsdfdi.c: Likewise.
10225 * soft-fp/fixunsdfsi.c: Likewise.
10226 * soft-fp/fixunsdfti.c: Likewise.
10227 * soft-fp/fixunssfdi.c: Likewise.
10228 * soft-fp/fixunssfsi.c: Likewise.
10229 * soft-fp/fixunssfti.c: Likewise.
10230 * soft-fp/fixunstfdi.c: Likewise.
10231 * soft-fp/fixunstfsi.c: Likewise.
10232 * soft-fp/fixunstfti.c: Likewise.
10233 * soft-fp/floatdidf.c: Likewise.
10234 * soft-fp/floatdisf.c: Likewise.
10235 * soft-fp/floatditf.c: Likewise.
10236 * soft-fp/floatsidf.c: Likewise.
10237 * soft-fp/floatsisf.c: Likewise.
10238 * soft-fp/floatsitf.c: Likewise.
10239 * soft-fp/floattidf.c: Likewise.
10240 * soft-fp/floattisf.c: Likewise.
10241 * soft-fp/floattitf.c: Likewise.
10242 * soft-fp/floatundidf.c: Likewise.
10243 * soft-fp/floatundisf.c: Likewise.
10244 * soft-fp/floatunditf.c: Likewise.
10245 * soft-fp/floatunsidf.c: Likewise.
10246 * soft-fp/floatunsisf.c: Likewise.
10247 * soft-fp/floatunsitf.c: Likewise.
10248 * soft-fp/floatuntidf.c: Likewise.
10249 * soft-fp/floatuntisf.c: Likewise.
10250 * soft-fp/floatuntitf.c: Likewise.
10251 * soft-fp/fmadf4.c: Likewise.
10252 * soft-fp/fmasf4.c: Likewise.
10253 * soft-fp/fmatf4.c: Likewise.
10254 * soft-fp/gedf2.c: Likewise.
10255 * soft-fp/gesf2.c: Likewise.
10256 * soft-fp/getf2.c: Likewise.
10257 * soft-fp/ledf2.c: Likewise.
10258 * soft-fp/lesf2.c: Likewise.
10259 * soft-fp/letf2.c: Likewise.
10260 * soft-fp/muldf3.c: Likewise.
10261 * soft-fp/mulsf3.c: Likewise.
10262 * soft-fp/multf3.c: Likewise.
10263 * soft-fp/negdf2.c: Likewise.
10264 * soft-fp/negsf2.c: Likewise.
10265 * soft-fp/negtf2.c: Likewise.
10266 * soft-fp/op-1.h: Likewise.
10267 * soft-fp/op-2.h: Likewise.
10268 * soft-fp/op-4.h: Likewise.
10269 * soft-fp/op-8.h: Likewise.
10270 * soft-fp/op-common.h: Likewise.
10271 * soft-fp/quad.h: Likewise.
10272 * soft-fp/single.h: Likewise.
10273 * soft-fp/soft-fp.h: Likewise.
10274 * soft-fp/sqrtdf2.c: Likewise.
10275 * soft-fp/sqrtsf2.c: Likewise.
10276 * soft-fp/sqrttf2.c: Likewise.
10277 * soft-fp/subdf3.c: Likewise.
10278 * soft-fp/subsf3.c: Likewise.
10279 * soft-fp/subtf3.c: Likewise.
10280 * soft-fp/truncdfsf2.c: Likewise.
10281 * soft-fp/trunctfdf2.c: Likewise.
10282 * soft-fp/trunctfsf2.c: Likewise.
10283 * soft-fp/trunctfxf2.c: Likewise.
10284 * soft-fp/unorddf2.c: Likewise.
10285 * soft-fp/unordsf2.c: Likewise.
10286 * soft-fp/unordtf2.c: Likewise.
10288 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10290 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10291 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10293 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10295 * elf/dl-libc.c: Clear initfini list after freeing.
10297 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10299 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10300 * soft-fp/addsf3.c: Likewise.
10301 * soft-fp/addtf3.c: Likewise.
10302 * soft-fp/divdf3.c: Likewise.
10303 * soft-fp/divsf3.c: Likewise.
10304 * soft-fp/divtf3.c: Likewise.
10305 * soft-fp/double.h: Likewise.
10306 * soft-fp/eqdf2.c: Likewise.
10307 * soft-fp/eqsf2.c: Likewise.
10308 * soft-fp/eqtf2.c: Likewise.
10309 * soft-fp/extenddftf2.c: Likewise.
10310 * soft-fp/extended.h: Likewise.
10311 * soft-fp/extendsfdf2.c: Likewise.
10312 * soft-fp/extendsftf2.c: Likewise.
10313 * soft-fp/extendxftf2.c: Likewise.
10314 * soft-fp/fixdfdi.c: Likewise.
10315 * soft-fp/fixdfsi.c: Likewise.
10316 * soft-fp/fixdfti.c: Likewise.
10317 * soft-fp/fixsfdi.c: Likewise.
10318 * soft-fp/fixsfsi.c: Likewise.
10319 * soft-fp/fixsfti.c: Likewise.
10320 * soft-fp/fixtfdi.c: Likewise.
10321 * soft-fp/fixtfsi.c: Likewise.
10322 * soft-fp/fixtfti.c: Likewise.
10323 * soft-fp/fixunsdfdi.c: Likewise.
10324 * soft-fp/fixunsdfsi.c: Likewise.
10325 * soft-fp/fixunsdfti.c: Likewise.
10326 * soft-fp/fixunssfdi.c: Likewise.
10327 * soft-fp/fixunssfsi.c: Likewise.
10328 * soft-fp/fixunssfti.c: Likewise.
10329 * soft-fp/fixunstfdi.c: Likewise.
10330 * soft-fp/fixunstfsi.c: Likewise.
10331 * soft-fp/fixunstfti.c: Likewise.
10332 * soft-fp/floatdidf.c: Likewise.
10333 * soft-fp/floatdisf.c: Likewise.
10334 * soft-fp/floatditf.c: Likewise.
10335 * soft-fp/floatsidf.c: Likewise.
10336 * soft-fp/floatsisf.c: Likewise.
10337 * soft-fp/floatsitf.c: Likewise.
10338 * soft-fp/floattidf.c: Likewise.
10339 * soft-fp/floattisf.c: Likewise.
10340 * soft-fp/floattitf.c: Likewise.
10341 * soft-fp/floatundidf.c: Likewise.
10342 * soft-fp/floatundisf.c: Likewise.
10343 * soft-fp/floatunsidf.c: Likewise.
10344 * soft-fp/floatunsisf.c: Likewise.
10345 * soft-fp/floatuntidf.c: Likewise.
10346 * soft-fp/floatuntisf.c: Likewise.
10347 * soft-fp/floatuntitf.c: Likewise.
10348 * soft-fp/fmadf4.c: Likewise.
10349 * soft-fp/fmasf4.c: Likewise.
10350 * soft-fp/fmatf4.c: Likewise.
10351 * soft-fp/gedf2.c: Likewise.
10352 * soft-fp/gesf2.c: Likewise.
10353 * soft-fp/getf2.c: Likewise.
10354 * soft-fp/ledf2.c: Likewise.
10355 * soft-fp/lesf2.c: Likewise.
10356 * soft-fp/letf2.c: Likewise.
10357 * soft-fp/muldf3.c: Likewise.
10358 * soft-fp/mulsf3.c: Likewise.
10359 * soft-fp/multf3.c: Likewise.
10360 * soft-fp/negdf2.c: Likewise.
10361 * soft-fp/negsf2.c: Likewise.
10362 * soft-fp/negtf2.c: Likewise.
10363 * soft-fp/op-1.h: Likewise.
10364 * soft-fp/op-2.h: Likewise.
10365 * soft-fp/op-4.h: Likewise.
10366 * soft-fp/op-8.h: Likewise.
10367 * soft-fp/op-common.h: Likewise.
10368 * soft-fp/quad.h: Likewise.
10369 * soft-fp/single.h: Likewise.
10370 * soft-fp/soft-fp.h: Likewise.
10371 * soft-fp/sqrtdf2.c: Likewise.
10372 * soft-fp/sqrtsf2.c: Likewise.
10373 * soft-fp/sqrttf2.c: Likewise.
10374 * soft-fp/subdf3.c: Likewise.
10375 * soft-fp/subsf3.c: Likewise.
10376 * soft-fp/subtf3.c: Likewise.
10377 * soft-fp/truncdfsf2.c: Likewise.
10378 * soft-fp/trunctfdf2.c: Likewise.
10379 * soft-fp/trunctfsf2.c: Likewise.
10380 * soft-fp/trunctfxf2.c: Likewise.
10381 * soft-fp/unorddf2.c: Likewise.
10382 * soft-fp/unordsf2.c: Likewise.
10383 * soft-fp/unordtf2.c: Likewise.
10385 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10388 * misc/error.c (error_tail): Fix possible buffer overflow.
10390 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10393 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10396 2013-10-14 P. J. McDermott <pj@pehjota.net>
10399 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10400 testing pipefail option.
10402 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10404 * soft-fp/double.h: Indent preprocessor directives inside #if.
10405 * soft-fp/extended.h: Likewise.
10406 * soft-fp/op-2.h: Likewise.
10407 * soft-fp/op-4.h: Likewise.
10408 * soft-fp/op-common.h: Likewise.
10409 * soft-fp/quad.h: Likewise.
10410 * soft-fp/single.h: Likewise.
10411 * soft-fp/soft-fp.h: Likewise.
10413 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10415 * iconv/iconv_prog.c: Fix typos.
10416 * stdio-common/psiginfo-data.h: Likewise.
10418 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10421 * locale/setlocale.c: Fix typo.
10423 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10426 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10427 signaling NaN arguments.
10428 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10429 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10432 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10433 unordered operands.
10434 * soft-fp/gesf2.c (__gesf2): Likewise.
10435 * soft-fp/getf2.c (__getf2): Likewise.
10436 * soft-fp/ledf2.c (__ledf2): Likewise.
10437 * soft-fp/lesf2.c (__lesf2): Likewise.
10438 * soft-fp/letf2.c (__letf2): Likewise.
10440 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10441 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10442 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10443 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10444 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10445 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10446 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10447 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10448 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10449 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10450 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10451 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10452 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10453 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10454 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10455 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10456 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10457 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10458 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10459 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10460 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10461 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10462 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10463 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10464 * soft-fp/floattidf.c (__floattidf): Likewise.
10465 * soft-fp/floattisf.c (__floattisf): Likewise.
10466 * soft-fp/floattitf.c (__floattitf): Likewise.
10467 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10468 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10469 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10470 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10471 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10472 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10473 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10474 * soft-fp/gesf2.c (__gesf2): Likewise.
10475 * soft-fp/getf2.c (__getf2): Likewise.
10476 * soft-fp/ledf2.c (__ledf2): Likewise.
10477 * soft-fp/lesf2.c (__lesf2): Likewise.
10478 * soft-fp/letf2.c (__letf2): Likewise.
10480 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10481 Undefine and redefine.
10482 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10483 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10484 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10485 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10486 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10487 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10488 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10489 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10490 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10491 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10492 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10493 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10494 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10495 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10496 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10499 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10500 without decrementing exponent if mantissa >= that for the
10501 denominator, not >.
10502 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10503 denominator, not >. Decrement exponent in < case instead of
10504 incrementing in >= case.
10505 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10506 without decrementing exponent if mantissa >= that for the
10507 denominator, not >.
10509 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10510 computing saturated result for unsigned overflow.
10512 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10513 Jeff Law <law@redhat.com>
10515 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10516 (atan2Mp): Add systemtap probe marker.
10517 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10518 (__ieee754_log): Add systemtap probe marker.
10519 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10520 (atanMp): Add systemtap probe marker.
10521 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10522 (tanMp): Add systemtap probe marker.
10523 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10524 (__slowexp): Add systemtap probe marker.
10525 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10526 (__slowpow): Add systemtap probe marker.
10527 * manual/probes.texi: Document probes.
10529 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10532 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10534 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10536 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10537 written to buffer but not flushed.
10538 * libio/iofwrite_u.c: Likewise.
10539 * libio/iopadn.c: Return bytes returned even if EOF was
10541 * libio/iowpadn.c: Likewise.
10542 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10543 if _IO_padn does not write the whole buffer.
10544 [!COMPILE_WPRINTF] (PAD): Likewise.
10546 2013-10-10 David S. Miller <davem@davemloft.net>
10548 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10551 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10553 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10554 instead of FSF address.
10555 * soft-fp/fixdfti.c: Likewise.
10556 * soft-fp/fixsfti.c: Likewise.
10557 * soft-fp/fixtfti.c: Likewise.
10558 * soft-fp/fixunsdfti.c: Likewise.
10559 * soft-fp/fixunssfti.c: Likewise.
10560 * soft-fp/fixunstfti.c: Likewise.
10561 * soft-fp/floattidf.c: Likewise.
10562 * soft-fp/floattisf.c: Likewise.
10563 * soft-fp/floattitf.c: Likewise.
10564 * soft-fp/floatuntidf.c: Likewise.
10565 * soft-fp/floatuntisf.c: Likewise.
10566 * soft-fp/floatuntitf.c: Likewise.
10567 * soft-fp/trunctfxf2.c: Likewise.
10569 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10570 * soft-fp/fixdfti.c: Likewise.
10571 * soft-fp/fixsfti.c: Likewise.
10572 * soft-fp/fixtfti.c: Likewise.
10573 * soft-fp/fixunsdfti.c: Likewise.
10574 * soft-fp/fixunssfti.c: Likewise.
10575 * soft-fp/fixunstfti.c: Likewise.
10576 * soft-fp/floattidf.c: Likewise.
10577 * soft-fp/floattisf.c: Likewise.
10578 * soft-fp/floattitf.c: Likewise.
10579 * soft-fp/floatuntidf.c: Likewise.
10580 * soft-fp/floatuntisf.c: Likewise.
10581 * soft-fp/floatuntitf.c: Likewise.
10582 * soft-fp/trunctfxf2.c: Likewise.
10584 2013-10-10 David S. Miller <davem@davemloft.net>
10586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10588 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10590 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10591 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10592 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10593 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10594 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10595 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10596 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10598 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10599 for NaNs before doing comparisons on argument.
10600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10603 2013-10-10 Will Newton <will.newton@linaro.org>
10605 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10606 passed to _int_memalign does not overflow.
10608 2013-10-10 Torvald Riegel <triegel@redhat.com>
10610 * scripts/bench.pl: Add include-sources directive.
10611 * benchtests/README: Update documentation.
10613 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10615 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10616 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10617 instead of FP_INIT_ROUNDMODE.
10618 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10619 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10622 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10623 copy class of input value.
10624 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10625 not handle exceptions.
10626 * soft-fp/negsf2.c (__negsf2): Likewise.
10627 * soft-fp/negtf2.c (__negtf2): Likewise.
10628 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10630 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10632 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10633 semicolon. From Linux kernel.
10635 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10637 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10639 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10642 * manual/socket.texi: Added statement about buffer
10643 for gethostbyname2_r.
10645 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10647 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10648 Use .p2align directive instead, throughout.
10649 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10650 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10651 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10652 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10653 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10654 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10655 * sysdeps/x86_64/strchr.S: Likewise.
10656 * sysdeps/x86_64/strrchr.S: Likewise.
10658 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10660 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10662 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10664 * sysdeps/generic/math_private.h (__mpsin1): Remove
10666 (__mpcos1): Likewise.
10667 (__mpsin): New argument __range_reduce.
10668 (__mpcos): Likewise.
10669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10670 (slow): Use __mpsin and __mpcos.
10674 (sloww1): Likewise.
10675 (sloww2): Likewise.
10676 (bsloww): Likewise.
10677 (bsloww1): Likewise.
10678 (bsloww2): Likewise.
10679 (cslow2): Likewise.
10680 (csloww): Likewise.
10681 (csloww1): Likewise.
10682 (csloww2): Likewise.
10683 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10684 range_reduce. Merge in __mpsin1.
10685 (__mpcos): Likewise.
10686 (__mpsin1): Remove.
10687 (__mpcos1): Likewise.
10689 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10691 * locale/loadlocale.c (_nl_intern_locale_data): Use
10693 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10694 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10695 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10696 obstack data is appropriately aligned.
10697 (obstack_int32_grow_fast): Likewise.
10698 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10699 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10700 (add_locale_uint32_array): Likewise.
10702 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10704 * benchtests/Makefile: Remove ARGLIST and RET variables.
10705 ($(objpfx)bench-%.c): Pass only function name to the script.
10706 * benchtests/README: Update documentation.
10707 * benchtests/acos-inputs: Add new directives.
10708 * benchtests/acosh-inputs: Likewise.
10709 * benchtests/asin-inputs: Likewise.
10710 * benchtests/asinh-inputs: Likewise.
10711 * benchtests/atan-inputs: Likewise.
10712 * benchtests/atanh-inputs: Likewise.
10713 * benchtests/cos-inputs: Likewise.
10714 * benchtests/cosh-inputs: Likewise.
10715 * benchtests/exp-inputs: Likewise.
10716 * benchtests/log-inputs: Likewise.
10717 * benchtests/pow-inputs: Likewise.
10718 * benchtests/rint-inputs: Likewise.
10719 * benchtests/sin-inputs: Likewise.
10720 * benchtests/sinh-inputs: Likewise.
10721 * benchtests/tan-inputs: Likewise.
10722 * benchtests/tanh-inputs: Likewise.
10723 * scripts/bench.pl: Add support for new directives.
10725 2013-10-07 Alan Modra <amodra@gmail.com>
10727 * README: Fix careless merge.
10729 2013-10-05 Alan Modra <amodra@gmail.com>
10731 * NEWS: Mention powerpc64le support and bugs fixed.
10732 * README: Both big-endian and little-endian powerpc64 supported.
10734 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10736 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10737 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10738 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10739 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10741 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10743 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10746 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10748 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10749 Move -mhard-float appending from
10750 ports/sysdeps/powerpc/powerpc32/Makefile.
10751 [$(with-fp) = yes] (ASFLAGS): Likewise.
10752 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10753 * sysdeps/powerpc/nofpu: Move directory from
10754 ports/sysdeps/powerpc/nofpu.
10755 * sysdeps/powerpc/soft-fp: Move directory from
10756 ports/sysdeps/powerpc/soft-fp.
10757 * sysdeps/powerpc/powerpc32/405: Move directory from
10758 ports/sysdeps/powerpc/powerpc32/405.
10759 * sysdeps/powerpc/powerpc32/440: Move directory from
10760 ports/sysdeps/powerpc/powerpc32/440.
10761 * sysdeps/powerpc/powerpc32/464: Move directory from
10762 ports/sysdeps/powerpc/powerpc32/464.
10763 * sysdeps/powerpc/powerpc32/476: Move directory from
10764 ports/sysdeps/powerpc/powerpc32/476.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10766 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10768 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10770 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10772 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10774 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10775 * README: Update for powerpc-*-linux-gnu software floating point
10778 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10779 case to powerpc/powerpc32*.
10780 * sysdeps/unix/sysv/linux/configure: Regenerated.
10782 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10783 (_FPU_MASK_OM): Define as 0x04.
10784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10792 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10795 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10798 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10799 and setcontext_e500.
10801 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10803 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10805 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10807 * manual/threads.texi (Default Thread Attributes): Fix typo.
10809 2013-10-04 Will Newton <will.newton@linaro.org>
10811 * malloc/Makefile: Add tst-memalign.
10812 * malloc/tst-memalign.c: New file.
10814 * malloc/tst-posix_memalign.c: Add comments.
10815 (do_test): Add comments and call free on all potentially
10816 allocated pointers. Add space after cast.
10818 * malloc/tst-pvalloc.c: Add comments.
10819 (do_test): Add comments and call free on all potentially
10820 allocated pointers. Remove duplicate check for NULL pointer.
10821 Add space after cast.
10823 * malloc/tst-valloc.c: Add comments.
10824 (do_test): Add comments and call free on all potentially
10825 allocated pointers. Remove duplicate check for NULL pointer.
10826 Add space after cast.
10828 2013-10-04 Alan Modra <amodra@gmail.com>
10830 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10831 Use stdint types in rather than __attribute__((mode())).
10832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10834 2013-10-04 Alan Modra <amodra@gmail.com>
10836 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10837 Correct handling of unaligned relocs for little-endian.
10838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10840 2013-10-04 Alan Modra <amodra@gmail.com>
10842 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10843 * configure: Regenerate.
10844 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10845 * shlib-versions: Likewise.
10847 2013-10-04 Alan Modra <amodra@gmail.com>
10849 * string/tester.c (test_memrchr): Increment reported test cycle.
10851 2013-10-04 Alan Modra <amodra@gmail.com>
10853 * string/test-memcpy.c (do_one_test): When reporting errors, print
10854 string address and don't overrun end of string.
10856 2013-10-04 Alan Modra <amodra@gmail.com>
10858 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10859 insrdi. Make better use of reg selection to speed exit slightly.
10860 Schedule entry path a little better. Remove useless "are we done"
10861 checks on entry to main loop. Handle wrapping around zero address.
10862 Correct main loop count. Handle single left-over word from main
10863 loop inline rather than by using loop_small. Remove extra word
10864 case in loop_small caused by wrong loop count. Add little-endian
10866 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10867 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10869 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10870 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10871 support. Avoid rlwimi.
10872 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10874 2013-10-04 Alan Modra <amodra@gmail.com>
10876 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10877 insrdi. Formatting.
10878 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10879 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10880 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10881 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10882 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10883 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10885 2013-10-04 Alan Modra <amodra@gmail.com>
10887 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10888 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10889 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10890 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10891 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10892 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10893 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10894 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10895 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10896 use of regs. Use power7 mtocrf. Tidy function tails.
10898 2013-10-04 Alan Modra <amodra@gmail.com>
10900 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10901 Formatting. Consistently use rXXX register defines or rN defines.
10902 Use early exit labels that avoid restoring unused non-volatile regs.
10903 Make cr field use more consistent with rWORDn compares. Rename
10904 regs used as shift registers for unaligned loop, using rN defines
10905 for short lifetime/multiple use regs.
10906 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10908 addi 1,1,64 to pop stack frame. Simplify return value code.
10909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10911 2013-10-04 Alan Modra <amodra@gmail.com>
10913 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10914 support. Correct typos, formatting. Optimize tail. Use insrdi
10915 rather than rlwimi.
10916 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10917 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10918 little-endian support. Correct typos.
10919 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10920 rather than rlwimi.
10921 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10922 in loop and entry code to keep "and." results.
10923 (strchr): Add little-endian support. Comment. Move cntlzd
10925 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10927 2013-10-04 Alan Modra <amodra@gmail.com>
10929 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10930 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10931 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10932 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10934 2013-10-04 Alan Modra <amodra@gmail.com>
10936 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10937 (rTMP): Define as r11.
10938 (strcmp): Add little-endian support. Optimise tail.
10939 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10940 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10941 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10942 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10943 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10947 2013-10-04 Alan Modra <amodra@gmail.com>
10949 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10950 little-endian support. Remove unnecessary "are we done" tests.
10951 Handle "s" wrapping around zero and extremely large "size".
10952 Correct main loop count. Handle single left-over word from main
10953 loop inline rather than by using small_loop. Correct comments.
10954 Delete "zero" tail, use "end_max" instead.
10955 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10957 2013-10-04 Alan Modra <amodra@gmail.com>
10959 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10960 support. Don't branch over align.
10961 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10962 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10963 support. Rearrange tmp reg use to suit. Comment.
10964 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10966 2013-10-04 Alan Modra <amodra@gmail.com>
10968 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10970 2013-10-04 Alan Modra <amodra@gmail.com>
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10973 conditional form of branch and link when obtaining pc.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10976 2013-10-04 Alan Modra <amodra@gmail.com>
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10983 2013-10-04 Alan Modra <amodra@gmail.com>
10985 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10986 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10987 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10988 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10989 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10990 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10991 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10992 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10993 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10994 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10996 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10997 Alistair Popple <alistair@ozlabs.au.ibm.com>
10998 Alan Modra <amodra@gmail.com>
11001 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11002 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11003 _dl_hwcap access for little-endian.
11004 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11005 destroy vmx regs when saving unaligned.
11006 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11007 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11008 destroy vmx regs when saving unaligned.
11010 2013-10-04 Alan Modra <amodra@gmail.com>
11012 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11013 Don't use a union to pack hi/low value.
11015 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11017 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11019 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11020 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11021 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11022 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11023 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11025 2013-10-04 Alan Modra <amodra@gmail.com>
11027 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11028 constants to usual value for .cst8 section, and remove redundant
11030 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11031 constant for 0x1p52. Load little-endian words of double from
11032 correct stack offsets.
11034 2013-10-04 Alan Modra <amodra@gmail.com>
11036 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11037 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11038 words of double from correct stack offsets.
11039 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11040 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11041 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11042 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11043 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11046 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11047 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11049 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11051 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11052 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11053 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11054 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11055 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11057 2013-10-04 Alan Modra <amodra@gmail.com>
11059 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11060 64-bit int/double union.
11061 (_FPU_SETCW): Likewise.
11062 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11063 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11065 2013-10-04 Alan Modra <amodra@gmail.com>
11067 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11068 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11070 2013-10-04 Alan Modra <amodra@gmail.com>
11072 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11073 use vector int constants.
11074 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11076 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11078 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11079 array with long long.
11080 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11081 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11082 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11083 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11084 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11085 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11086 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11087 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11088 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11089 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11090 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11091 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11092 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11094 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11096 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11097 (__signbit): Likewise. Correct for little-endian.
11098 (__signbitl): Call __signbit.
11099 (lrint): Correct for little-endian.
11100 (lrintf): Call lrint.
11102 2013-10-04 Alan Modra <amodra@gmail.com>
11104 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11105 union 32-bit int array member with 64-bit int array.
11106 (t515, tm256): Double rather than long double.
11107 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11109 2013-10-04 Alan Modra <amodra@gmail.com>
11111 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11113 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11114 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11115 version of math_ldbl.h.
11117 2013-10-04 Alan Modra <amodra@gmail.com>
11119 [BZ #15734], [BZ #15735]
11120 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11121 all uses of ieee875 long double macros and unions. Simplify test
11122 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11123 ldbl_extract_mantissa value for ix,iy exponents. Properly
11124 normalize after ldbl_extract_mantissa, and don't add hidden bit
11125 already handled. Don't treat low word of ieee854 mantissa like
11126 low word of IBM long double and mask off bit when testing for
11128 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11129 all uses of ieee875 long double macros and unions. Simplify tests
11130 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11131 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11132 two1022, instead use their values. Recognise that tests for large
11133 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11134 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11135 Rewrite all uses of ieee875 long double macros and unions. Simplify
11136 test for 0.0L and nan. Correct negation.
11137 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11138 ieee875 long double macros and unions. Correct output for large
11139 magnitude x. Correct absolute value calculation.
11140 (__erfcl): Likewise.
11141 * math/libm-test.inc: Add tests for errors discovered in IBM long
11142 double versions of fmodl, remainderl, erfl and erfcl.
11144 2013-10-04 Alan Modra <amodra@gmail.com>
11146 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11147 all uses of ieee854 long double macros and unions. Simplify tests
11148 for long doubles that are fully specified by the high double.
11149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11151 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11152 Remove dead code too.
11153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11154 (__ieee754_ynl): Likewise.
11155 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11158 Remove dead code too.
11159 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11169 Comment on variable precision.
11170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11173 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11174 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11175 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11176 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11177 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11179 2013-10-04 Alan Modra <amodra@gmail.com>
11181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11182 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11183 all uses of ieee854 long double macros and unions.
11184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11186 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11187 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11188 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11189 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11191 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11192 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11193 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11194 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11196 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11197 Simplify sign and nan test too.
11198 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11199 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11200 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11201 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11203 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11204 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11210 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11213 2013-10-04 Alan Modra <amodra@gmail.com>
11215 * stdio-common/printf_size.c (__printf_size): Don't use
11216 union ieee854_long_double in fpnum union.
11217 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11218 signbit macro to retrieve sign from long double.
11219 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11220 retrieve sign from long double.
11221 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11222 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11223 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11224 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11225 * math/test-misc.c (main): Don't use union ieee854_long_double.
11227 2013-10-04 Alan Modra <amodra@gmail.com>
11230 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11231 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11232 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11233 calculation. Remove unnecessary test for denormal exponent.
11234 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11235 Correct handling of denormals. Avoid undefined shift behaviour.
11236 Correct normalisation of low mantissa when low double is denormal.
11237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11238 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11239 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11240 Correct normalisation of low mantissa. Test for overflow of high
11241 mantissa and normalise.
11242 (ldbl_nearbyint): Use more readable constant for two52.
11243 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11244 (__mpn_construct_long_double): Fix test for overflow of high
11245 mantissa and correct normalisation. Avoid undefined shift.
11247 2013-10-04 Alan Modra <amodra@gmail.com>
11249 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11250 (union ibm_extended_long_double): Define as an array of ieee754_double.
11251 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11252 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11253 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11254 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11260 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11261 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11263 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11265 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11266 page size instead of calling getpagesize.
11268 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11269 (LOCFILE_ALIGN_MASK): Likewise.
11270 (LOCFILE_ALIGN_UP): Likewise.
11271 (LOCFILE_ALIGNED_P): Likewise.
11272 * locale/programs/ld-collate.c (collate_output): Use the new
11273 macros instead of __alignof__ (int32_t).
11274 * locale/weight.h (findidx): Likewise.
11276 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11279 * manual/string.texi: Fix strncat and wcsncat.
11281 2013-10-03 Brooks Moses <bmoses@google.com>
11284 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11285 * Makerules: ...here, and adjust associated comments.
11287 2013-10-02 Will Newton <will.newton@linaro.org>
11289 * malloc/Makefile: Add tst-pvalloc.
11290 * malloc/tst-pvalloc.c: New file.
11292 2013-10-02 Will Newton <will.newton@linaro.org>
11294 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11295 improve test coverage.
11297 2013-10-02 Will Newton <will.newton@linaro.org>
11299 * malloc/Makefile: Add tst-posix_memalign.
11300 * malloc/tst-posix_memalign.c: New file.
11302 2013-10-01 Eric Blake <eblake@redhat.com>
11304 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11305 Use __THROWNL rather than __THROW on static functions.
11307 2013-09-30 Petr Machata <pmachata@redhat.com>
11309 * elf/elf.h (R_AARCH64_ABS16): New macro.
11310 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11311 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11312 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11313 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11314 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11315 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11316 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11317 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11318 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11319 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11320 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11321 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11322 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11323 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11324 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11325 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11326 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11327 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11328 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11329 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11330 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11331 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11332 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11333 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11334 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11335 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11336 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11337 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11338 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11339 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11340 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11341 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11342 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11343 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11344 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11345 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11346 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11347 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11348 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11349 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11350 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11351 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11352 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11353 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11354 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11355 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11356 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11357 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11358 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11359 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11360 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11361 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11362 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11363 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11364 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11365 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11366 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11367 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11368 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11369 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11370 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11371 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11372 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11373 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11374 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11375 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11376 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11377 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11378 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11379 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11380 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11381 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11382 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11383 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11384 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11385 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11386 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11387 (R_AARCH64_TLSDESC_LDR): Likewise.
11388 (R_AARCH64_TLSDESC_ADD): Likewise.
11389 (R_AARCH64_TLSDESC_CALL): Likewise.
11391 2013-09-30 Andreas Schwab <schwab@suse.de>
11394 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11395 the nss database lookup.
11396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11399 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11401 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11403 2013-09-28 P. J. McDermott <pj@pehjota.net>
11405 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11406 ${Bash-specific parameter/pattern/string} parameter expansion.
11407 * sysdeps/unix/make-syscalls.sh: Likewise.
11409 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11411 * sysdeps/sh/stackguard-macros.h: New file.
11413 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11417 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11418 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11419 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11420 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11422 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11425 Fix thread ID register.
11427 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11429 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11430 [POSIX || UNIX98]: Require rather than permitting all symbols from
11432 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11433 element of struct sched_param.
11434 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11435 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11436 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11437 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11440 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11442 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11443 argument calculation.
11445 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11447 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11449 [POSIX] (pthread_attr_t): Do not require type.
11450 [POSIX] (pthread_cond_t): Likewise.
11451 [POSIX] (pthread_condattr_t): Likewise.
11452 [POSIX] (pthread_key_t): Likewise.
11453 [POSIX] (pthread_mutex_t): Likewise.
11454 [POSIX] (pthread_mutexattr_t): Likewise.
11455 [POSIX] (pthread_once_t): Likewise.
11456 [POSIX] (pthread_t): Likewise.
11457 [POSIX-based standards] (pthread_atfork): Expect function.
11459 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11460 Richard Sandiford <richard@codesourcery.com>
11462 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11463 (swap_endianness_p): New extern variable.
11464 (set_big_endian): New inline function.
11465 (maybe_swap_uint32): Likewise.
11466 (maybe_swap_uint32_array): Likewise.
11467 (maybe_swap_uint32_obstack): Likewise.
11468 * locale/programs/locfile.c: Include <stdbool.h>.
11469 (swap_endianness_p): New variable.
11470 (add_locale_uint32): Call maybe_swap_uint32.
11471 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11472 (write_locale_data): Call maybe_swap_uint32_array.
11473 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11475 (obstack_int32_grow_fast): Likewise.
11476 (output_weightwc): Call maybe_swap_uint32_obstack.
11477 (collate_output): Likewise.
11478 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11479 (OPT_LITTLE_ENDIAN): Likewise.
11480 (options): Add --little-endian and --big-endian options.
11481 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11482 * locale/programs/locarchive.c: Include "locfile.h".
11486 (create_archive): Use the new macros to access fields of
11487 structures directly mapped from or written to locale archives.
11488 (oldlocrecentcmp): Likewise.
11489 (enlarge_archive): Likewise.
11490 (insert_name): Likewise.
11491 (add_alias): Likewise.
11492 (add_locale): Likewise.
11493 (delete_locales_from_archive): Likewise.
11494 (show_archive_content): Likewise.
11495 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11498 2013-09-24 Roland McGrath <roland@hack.frob.com>
11500 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11501 http://www.gnu.org/doc/freemanuals.texi.
11502 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11504 2013-09-24 Will Newton <will.newton@linaro.org>
11506 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11509 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11511 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11514 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11516 * manual/threads.texi (POSIX Threads): Fix a typo.
11518 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11521 * string/tst-strcoll-overflow.c: New test case.
11522 * string/Makefile (xtests): Add tst-strcoll-overflow.
11523 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11524 cache if string sizes may cause integer overflow.
11527 * string/strcoll_l.c (coll_seq): New members rule, idx,
11528 save_idx and back_us.
11529 (get_next_seq_nocache): New function.
11530 (do_compare_nocache): New function.
11531 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11534 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11537 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11538 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11539 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11542 * elf/Makefile (tests): Add tst-ptrguard1.
11543 (tests-static): Add tst-ptrguard1-static.
11544 (tst-ptrguard1-ARGS): Define.
11545 (tst-ptrguard1-static-ARGS): Define.
11546 * elf/tst-ptrguard1.c: New file.
11547 * elf/tst-ptrguard1-static.c: New file.
11548 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11549 * sysdeps/i386/stackguard-macros.h: Likewise.
11550 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11551 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11552 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11553 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11554 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11555 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11557 2013-09-23 Hector Marco <hecmargi@upv.es>
11558 Ismael Ripoll <iripoll@disca.upv.es>
11559 Carlos O'Donell <carlos@redhat.com>
11562 * sysdeps/generic/stackguard-macros.h: Define
11563 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11564 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11565 Define __pointer_chk_guard_local.
11566 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11567 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11569 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11572 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11574 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11576 * include/string.h (__ffs): Declare as hidden.
11577 * string/ffs.c (__ffs): Define as hidden.
11578 * sysdeps/i386/ffs.c (__ffs): Likewise.
11579 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11580 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11581 * sysdeps/s390/ffs.c (__ffs): Likewise.
11582 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11584 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11586 * NEWS: Mention malloc probes.
11588 * malloc/arena.c (new_heap): New memory_heap_new probe.
11589 (grow_heap): New memory_heap_more probe.
11590 (shrink_heap): New memory_heap_less probe.
11591 (heap_trim): New memory_heap_free probe.
11592 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11593 (systrim): New memory_sbrk_less probe.
11594 * manual/probes.texi: Document them.
11596 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11597 * manual/probes.texi: Document it.
11599 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11600 (__libc_realloc): Add memory_realloc_retry probe.
11601 (__libc_memalign): Add memory_memalign_retry probe.
11602 (__libc_valloc): Add memory_valloc_retry probe.
11603 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11604 (__libc_calloc): Add memory_calloc_retry probe.
11605 * manual/probes.texi: Document them.
11607 * malloc/arena.c (get_free_list): Add probe
11608 memory_arena_reuse_free_list.
11609 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11610 and memory_arena_reuse.
11611 (arena_get2) [!PER_THREAD]: Likewise.
11612 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11613 memory_arena_reuse_realloc.
11614 * manual/probes.texi: Document them.
11616 * malloc/malloc.c (__libc_free): Add
11617 memory_mallopt_free_dyn_thresholds probe.
11618 (__libc_mallopt): Add multiple memory_mallopt probes.
11619 * manual/probes.texi: Document them.
11621 * malloc/malloc.c: Include stap-probe.h.
11622 (__libc_mallopt): Add memory_mallopt probe.
11623 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11624 * manual/probes.texi: New.
11625 * manual/Makefile (chapters): Add probes.
11626 * manual/threads.texi: Set next node.
11628 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11630 [BZ #15963, #13985]
11631 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11632 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11633 Add `Chinese' to `nan' entry name.
11635 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11637 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11638 (POLYNOMIAL): Likewise.
11639 (TAYLOR_SINCOS): Likewise.
11640 (TAYLOR_SLOW): Likewise.
11641 (__sin): Use TAYLOR_SINCOS.
11643 (slow): Use TAYLOR_SLOW.
11645 (bsloww): Likewise.
11646 (csloww): Likewise.
11648 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11650 * stdlib/strtod_l.c: Fix buffer overrun.
11652 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11654 * benchtests/Makefile (bench): Add sincos.
11655 * benchtests/bench-sincos.c: New file.
11657 * math/libm-test.inc (cos_test_data): New test inputs.
11658 (sin_test_data): Likewise.
11660 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11666 (sloww1): Likewise.
11667 (sloww2): Likewise.
11668 (bsloww1): Likewise.
11669 (bsloww2): Likewise.
11670 (cslow2): Likewise.
11671 (csloww1): Likewise.
11672 (csloww2): Likewise.
11674 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11683 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11685 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11686 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11687 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11688 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11689 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11690 * elf/cache.c (print_entry): Handle the new cache flags.
11692 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11693 Aldy Hernandez <aldyh@redhat.com>
11695 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11696 Change condition to [_SOFT_FLOAT].
11697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11709 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11712 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11715 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11717 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11718 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11719 (__longjmp): Use LOAD_GP to load saved GPRs.
11720 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11721 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11722 (__sigsetjmp): Use SAVE_GP to save GPRs.
11724 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11725 Do not append -msoft-float.
11726 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11728 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11730 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11732 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11735 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11736 (_FPU_GETCW): Use initial "__" on variable and field names but not
11737 on macro parameter name.
11738 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11739 parentheses around reference to macro parameter.
11741 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11743 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11745 (ctype_startup): Use uint32_t in cast and sizeof for
11748 2013-09-11 Jia Liu <proljc@gmail.com>
11750 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11752 [__FreeBSD__]: Likewise.
11754 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11757 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11758 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11759 (strchr): Remove __strchr_sse42 ifunc selection.
11760 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11761 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11763 2013-09-11 Will Newton <will.newton@linaro.org>
11765 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11766 parameter to RES. Remove hardcoded 1000 value.
11767 * benchtests/bench-skeleton.c (main): Pass RES parameter
11768 to TIMING_INIT and multiply result by 1000.
11770 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11774 2013-09-11 Andreas Schwab <schwab@suse.de>
11776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11778 (O_TMPFILE) [__USE_GNU]: Define.
11779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11782 2013-09-11 Will Newton <will.newton@linaro.org>
11785 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11788 2013-09-11 Will Newton <will.newton@linaro.org>
11791 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11794 2013-09-11 Will Newton <will.newton@linaro.org>
11797 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11800 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11802 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11803 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11805 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11808 2013-09-10 Allan McRae <allan@archlinux.org>
11811 * manual/arith.texi (Parsing of Floats): Clarify
11815 * manual/install.texi (Running make install): Mention
11817 * INSTALL: Regenerated.
11819 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11821 * csu/init-first.c (_init): Remove the !SHARED condition around
11822 FPU control word initialization.
11823 * elf/dl-support.c (_dl_fpu_control): New variable.
11824 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11825 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11826 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11827 * math/test-fpucw-static.c: New file.
11828 * math/test-fpucw-ieee.c: New file.
11829 * math/test-fpucw-ieee-static.c: New file.
11830 * math/Makefile (tests): Add `test-fpucw-ieee' and
11832 (tests-static): New variable.
11833 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11835 [($(build-shared),yes)]
11836 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11838 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11841 2013-09-09 Allan McRae <allan@archlinux.org>
11844 * manual/string.texi (Collation Functions): Fix typo in
11846 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11849 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11852 * libio/memstream.c (open_memstream): Fix memory leak.
11853 * libio/wmemstream.c (open_wmemstream): Likewise.
11856 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11858 2013-09-09 Will Newton <will.newton@linaro.org>
11860 * malloc/Makefile: Add tst-realloc to tests.
11861 * malloc/tst-realloc.c: New file.
11863 2013-09-09 Allan McRae <allan@archlinux.org>
11866 * COPYING: Update from GNU website to fix FSF address.
11867 * COPYING.LIB: Likewise.
11869 2013-09-06 David S. Miller <davem@davemloft.net>
11871 * po/zh_TW.po: Update Chinese (traditional) translation from
11872 translation project.
11874 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11875 Joseph Myers <joseph@codesourcery.com>
11877 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11879 (obstack_chunk_alloc): New macro.
11880 (obstack_chunk_free): Likewise.
11881 (record_offset): New function.
11882 (init_locale_data): Likewise.
11883 (align_locale_data): Likewise.
11884 (add_locale_empty): Likewise.
11885 (add_locale_raw_data): Likewise.
11886 (add_locale_raw_obstack): Likewise.
11887 (add_locale_string): Likewise.
11888 (add_locale_wstring): Likewise.
11889 (add_locale_uint32): Likewise.
11890 (add_locale_uint32_array): Likewise.
11891 (add_locale_char): Likewise.
11892 (start_locale_structure): Likewise.
11893 (end_locale_structure): Likewise.
11894 (start_locale_prelude): Likewise.
11895 (end_locale_prelude): Likewise.
11896 (write_locale_data): Take locale_file structure rather than an
11898 * locale/programs/locfile.h: Include "obstack.h".
11899 (struct locale_file): Change to store locale file contents instead
11901 (init_locale_data): New prototype.
11902 (align_locale_data): Likewise.
11903 (add_locale_empty): Likewise.
11904 (add_locale_raw_data): Likewise.
11905 (add_locale_raw_obstack): Likewise.
11906 (add_locale_string): Likewise.
11907 (add_locale_wstring): Likewise.
11908 (add_locale_uint32): Likewise.
11909 (add_locale_uint32_array): Likewise.
11910 (add_locale_char): Likewise.
11911 (start_locale_structure): Likewise.
11912 (end_locale_structure): Likewise.
11913 (start_locale_prelude): Likewise.
11914 (end_locale_prelude): Likewise.
11915 (write_locale_data): Update prototype.
11916 * locale/programs/3level.h (struct TABLE): Remove result field.
11917 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11918 Use new locale_file interface.
11919 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11920 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11921 * locale/programs/ld-address.c (address_output): Use new
11922 locale_file interface.
11923 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11925 (collate_finish): Don't call collseq_table_finalize.
11926 (collate_output): Use new locale_file interface.
11927 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11929 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11930 (TABLE): Move defines earlier in file.
11931 (ELEMENT): Likewise.
11932 (DEFAULT): Likewise.
11933 (wctrans_table_add): Move macro and inline function earlier in
11935 (struct wctype_table): Move type earlier in file.
11936 (add_locale_wctype_table): New static prototype.
11937 (struct locale_ctype_t): Use logical types instead of struct iovec
11938 pointers for members.
11939 (ctype_output): Use new locale_file interface.
11940 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11941 new locale_file interface.
11942 (allocate_arrays): Update for use of new locale_file interface.
11943 * locale/programs/ld-identification.c (identification_output): Use
11944 new locale_file interface.
11945 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11946 * locale/programs/ld-messages.c (messages_output): Likewise.
11947 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11948 * locale/programs/ld-name.c (name_output): Likewise.
11949 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11950 * locale/programs/ld-paper.c (paper_output): Likewise.
11951 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11952 * locale/programs/ld-time.c (time_output): Likewise.
11954 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11956 * benchtests/Makefile: Add memrchr benchmark.
11957 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11958 benchmark as memrchr.
11959 * benchtests/bench-memrchr-ifunc.c: New file.
11960 * benchtests/bench-memrchr.c: New file.
11962 2013-09-06 Will Newton <will.newton@linaro.org>
11964 * benchtests/Makefile (string-bench): Add memcpy.
11966 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11967 Cong Wang <amwang@redhat.com>
11970 * sysdeps/unix/sysv/linux/bits/in.h
11971 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11972 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11973 before __USE_KERNEL_IPV6_DEFS uses.
11974 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11976 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11977 sockaddr_in6, or ipv6_mreq.
11979 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11981 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11982 memory access for final bytes in some large inputs.
11983 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11985 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987 * string/test-memrchr.c: New file.
11988 * string/test-memrchr-ifunc.c: New file.
11989 * string/Makefile: Add new memrchr testcase.
11991 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11993 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11994 fanotify_init returns EPERM.
11996 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11998 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12000 (top level): Treat second token from macro or constant entries for
12001 allowed headers as allowed.
12002 * include/complex.h: Condition internal declarations on
12004 * include/fenv.h: Condition include of <stdbool.h> and internal
12005 declarations on [!_ISOMAC].
12007 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12010 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12012 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12014 * configure.in (--enable-versioning): Remove configure option.
12015 (libc_cv_asm_symver_directive): Remove configure test.
12016 (libc_cv_ld_version_script_option): Likewise.
12017 (VERSIONING): Remove variable and AC_SUBST.
12018 (DO_VERSIONING): Remove AC_DEFINE.
12019 * configure: Regenerated.
12020 * config.h.in (DO_VERSIONING): Remove macro.
12021 * Makerules [$(versioning) = yes]: Change conditionals to
12022 [$(build-shared) = yes].
12023 * config.make.in (versioning): Remove variable.
12024 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12025 [$(build-shared) = yes].
12026 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12027 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12028 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12029 [$(build-shared) = yes].
12030 * extra-lib.mk [$(versioning) = yes]: Likewise.
12031 * hurd/Makefile [$(versioning) = yes]: Likewise.
12032 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12034 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12036 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12037 [SHARED && !NO_HIDDEN].
12038 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12040 [SHARED && DO_VERSIONING]: Likewise..
12041 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12042 [$(build-shared) = yes].
12043 * manual/install.texi (--disable-versioning): Remove
12045 * INSTALL: Regenerated.
12046 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12048 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12049 [$(build-shared) = yes].
12050 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12051 * sysdeps/i386/i686/multiarch/strstr-c.c
12052 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12053 [SHARED && !NO_HIDDEN].
12054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12055 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12056 * sysdeps/powerpc/powerpc32/dl-machine.c
12057 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12058 * sysdeps/powerpc/powerpc32/sysdep.h
12059 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12060 to [SHARED && PIC && !NO_HIDDEN].
12061 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12062 conditional to [SHARED].
12064 2013-09-04 Will Newton <will.newton@linaro.org>
12066 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12067 * benchtests/bench-string.h: Include bench-timing.h instead
12068 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12069 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12070 call to HP_TIMING_DIFF_INIT.
12071 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12072 instead of hp-timing.h macros.
12073 * benchtests/bench-memchr.c: Likewise.
12074 * benchtests/bench-memcmp.c: Likewise.
12075 * benchtests/bench-memcpy.c: Likewise.
12076 * benchtests/bench-memmem.c: Likewise.
12077 * benchtests/bench-memmove.c: Likewise.
12078 * benchtests/bench-memset.c: Likewise.
12079 * benchtests/bench-rawmemchr.c: Likewise.
12080 * benchtests/bench-strcasecmp.c: Likewise.
12081 * benchtests/bench-strcasestr.c: Likewise.
12082 * benchtests/bench-strcat.c: Likewise.
12083 * benchtests/bench-strchr.c: Likewise.
12084 * benchtests/bench-strcmp.c: Likewise.
12085 * benchtests/bench-strcpy.c: Likewise.
12086 * benchtests/bench-strcpy_chk.c: Likewise.
12087 * benchtests/bench-strlen.c: Likewise.
12088 * benchtests/bench-strncasecmp.c: Likewise.
12089 * benchtests/bench-strncat.c: Likewise.
12090 * benchtests/bench-strncmp.c: Likewise.
12091 * benchtests/bench-strncpy.c: Likewise.
12092 * benchtests/bench-strnlen.c: Likewise.
12093 * benchtests/bench-strpbrk.c: Likewise.
12094 * benchtests/bench-strrchr.c: Likewise.
12095 * benchtests/bench-strspn.c: Likewise.
12096 * benchtests/bench-strstr.c: Likewise.
12098 2013-09-04 Will Newton <will.newton@linaro.org>
12100 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12102 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12105 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12106 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12107 * math/libm-test.inc (lgamma_test_data): Add more tests.
12108 * sysdeps/i386/fpu/libm-test-ulps: Update.
12109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12111 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12113 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12117 Add strcmp-sse2-unaligned
12118 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12120 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12122 * Versions.def (libc): Add GLIBC_2.19.
12124 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12126 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12127 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12129 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12132 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12133 intermediate calculations in recurrence.
12134 (__ieee754_ynf): Likewise.
12135 * math/libm-test.inc (jn_test_data): Do not allow spurious
12136 underflow exception. Add more tests.
12137 (yn_test_data): Add more tests.
12138 * sysdeps/i386/fpu/libm-test-ulps: Update.
12139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12141 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12143 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12145 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12147 * csu/init-first.c: Fix then/than typos.
12148 * locale/programs/ld-collate.c: Likewise.
12149 * locale/programs/linereader.h: Likewise.
12150 * manual/charset.texi: Likewise.
12151 * manual/filesys.texi: Likewise.
12152 * manual/stdio.texi: Likewise.
12153 * manual/string.texi: Likewise.
12154 * stdlib/fmtmsg.c: Likewise.
12155 * sysdeps/i386/stpncpy.S: Likewise.
12156 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12157 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12158 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12159 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12161 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12163 * elf/dl-open.c: Fix typos.
12164 * iconvdata/gbbig5.c: Likewise.
12165 * iconvdata/iso-2022-jp.c: Likewise.
12166 * iconv/gconv_int.h: Likewise.
12167 * iconv/loop.c: Likewise.
12168 * nis/rpcsvc/nis.h: Likewise.
12169 * resolv/ns_name.c: Likewise.
12170 * stdio-common/vfscanf.c: Likewise.
12171 * streams/stropts.h: Likewise.
12172 * sunrpc/rpc_thread.c: Likewise.
12173 * sysdeps/i386/strpbrk.S: Likewise.
12174 * sysdeps/ieee754/k_standard.c: Likewise.
12175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12177 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12178 * sysdeps/mach/hurd/profil.c: Likewise.
12179 * sysdeps/s390/dl-procinfo.h: Likewise.
12180 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12181 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12182 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12183 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12184 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12186 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12188 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12191 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12193 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12194 aix specific files.
12195 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12196 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12197 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12198 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12199 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12200 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12201 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12202 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12204 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12205 Roland McGrath <roland@hack.frob.com>
12207 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12208 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12210 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12212 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12213 __executable_start symbol instead of _start.
12215 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12217 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12218 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12220 * sysdeps/gnu/ldsodefs.h: ... this new file.
12222 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12223 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12224 instead of ELFOSABI_LINUX.
12226 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12227 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12228 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12229 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12231 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12232 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12233 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12235 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12236 (ibm_extended_long_double): Add ieee_nan member.
12237 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12238 (do_test): New function.
12240 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12242 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12243 functions, renamed from truncdfsf_test, trunctfsf_test,
12245 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12247 (do_test): Run all these.
12249 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12251 * argp/argp-help.c: Fix typos.
12252 * argp/argp-parse.c: Likewise.
12253 * debug/backtracesyms.c: Likewise.
12254 * elf/elf.h: Likewise.
12255 * malloc/malloc.c: Likewise.
12256 * nis/nis_print.c: Likewise.
12257 * resolv/res_comp.c: Likewise.
12258 * stdlib/stdlib.h: Likewise.
12259 * sunrpc/clnt_tcp.c: Likewise.
12260 * sunrpc/clnt_udp.c: Likewise.
12261 * sunrpc/clnt_unix.c: Likewise.
12262 * sysdeps/unix/bsd/ptsname.c: Likewise.
12263 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12264 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12271 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12273 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12275 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12278 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12281 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12282 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12283 ($(objpfx)bug-dl-leaf): New rule.
12284 ($(objpfx)bug-dl-leaf.so): Likewise.
12285 ($(objpfx)bug-dl-leaf.out): Likewise.
12286 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12287 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12288 * dlfcn/bug-dl-leaf.c: New test.
12289 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12290 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12291 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12292 (dlclose): Likewise.
12293 (dlmopen): Likewise.
12295 2013-08-27 Roland McGrath <roland@hack.frob.com>
12297 * include/netdb.h [!_ISOMAC]:
12298 Don't include <tls.h>.
12299 (h_errno, __libc_h_errno): Move declaration and macros out of
12302 * include/resolv.h [_RESOLV_H_]:
12303 Don't include <tls.h>.
12304 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12305 * resolv/res_libc.c: Don't include <tls.h>.
12306 (_res): Use __attribute__ ((nocommon)) in place of
12307 __attribute__ ((section (".bss"))).
12309 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12310 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12312 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12314 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12315 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12317 * resolv/res_mkquery.c: Include <sys/time.h>.
12319 * inet/ifreq.c: Moved to ...
12320 * sysdeps/unix/ifreq.c: ... here.
12321 * inet/ifreq.c: New file, true stub version.
12323 * socket/sa_len.c: New file.
12324 * socket/Makefile (aux): Add it.
12325 * sysdeps/unix/sysv/linux/Makefile
12326 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12327 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12328 and #include <socket/sa_len.c>.
12329 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12330 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12332 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12333 * bits/socket.h: ... here.
12335 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12336 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12337 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12339 2013-08-27 Andreas Schwab <schwab@suse.de>
12342 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12343 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12344 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12345 * string/test-strcasecmp.c (test_main): Run tests in several
12347 * string/test-strncasecmp.c (test_main): Likewise.
12349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12350 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12351 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12352 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12353 (__strncasecmp_ssse3) [PIC]: Likewise.
12355 2013-08-26 Roland McGrath <roland@hack.frob.com>
12357 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12359 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12360 instead of explicitly declaring xdecrypt.
12361 * nis/nss_nis/nis-publickey.c: Likewise.
12363 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12366 * nscd/aicache.c: Include res_hconf.h.
12367 (addhstaiX): Initialize res_hconf.
12369 2013-08-26 Andreas Schwab <schwab@suse.de>
12371 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12372 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12374 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12376 * nscd/aicache.c (addhstaiX): Fix indentation.
12378 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12380 * configure.ac: Quote $build_pt_chown test.
12381 * configure: Regenerated.
12383 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12386 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12387 * math/s_cexpf.c (__cexpf): Likewise.
12388 * math/s_cexpl.c (__cexpl): Likewise.
12389 * math/libm-test.inc (cexp_test_data): Correct expected return
12390 value for NaN + i0. Add another test.
12392 2013-08-22 David S. Miller <davem@davemloft.net>
12394 * po/ca.po: Update Catalan translation from translation project.
12395 * po/uk.po: Add Ukrainian translations from translation project.
12397 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12400 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12401 is infinite, not alongside NaN test.
12402 * math/s_fdimf.c (__fdimf): Likewise.
12403 * math/s_fdiml.c (__fdiml): Likewise.
12404 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12405 errno is unchanged.
12407 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12409 * argp/argp-help.c: Fix typos.
12410 * crypt/speeds.c: Likewise.
12411 * csu/check_fds.c: Likewise.
12412 * elf/dl-load.c: Likewise.
12413 * elf/dl-open.c: Likewise.
12414 * elf/reldep3.c: Likewise.
12415 * elf/reldep.c: Likewise.
12416 * elf/sprof.c: Likewise.
12417 * iconv/iconv_charmap.c: Likewise.
12418 * iconv/skeleton.c: Likewise.
12419 * iconv/strtab.c: Likewise.
12420 * io/lockf64.c: Likewise.
12421 * libio/libioP.h: Likewise.
12422 * resolv/gai_notify.c: Likewise.
12423 * resolv/ns_name.c: Likewise.
12424 * resolv/ns_samedomain.c: Likewise.
12425 * resolv/res_send.c: Likewise.
12426 * stdlib/random.c: Likewise.
12427 * sunrpc/rpc/xdr.h: Likewise.
12428 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12429 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12430 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12431 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12432 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12436 * sysdeps/mach/hurd/check_fds.c: Likewise.
12437 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12438 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12439 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12440 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12441 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12443 * sysdeps/pthread/aio_notify.c: Likewise.
12444 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12445 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12446 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12447 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12448 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12450 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12452 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12453 version if bit_Slow_SSE4_2 is set.
12454 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12457 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12460 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12461 trampoline stack frame information.
12462 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12463 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12464 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12465 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12466 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12467 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12468 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12469 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12471 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12472 interrupting a syscall and set with option SA_SIGINFO.
12474 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12477 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12478 argument is infinite.
12479 * math/s_cprojf.c (__cprojf): Likewise.
12480 * math/s_cprojl.c (__cprojl): Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12482 * math/libm-test.inc (cproj_test_data): Add more tests.
12484 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12486 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12487 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12488 size. Use __ffs to determine corresponding shift.
12490 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12491 Roland McGrath <roland@hack.frob.com>
12493 * Makefile (INSTALL): Remove trailing blank lines from output of
12496 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12498 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12499 Align 32 bit compat elf_greg to 8 bytes.
12501 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12503 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12505 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12507 * string/strcoll_l.c (coll_seq): New structure.
12508 (get_next_seq_cached): New function.
12509 (get_next_seq): New function.
12510 (do_compare): New function.
12511 (STRCOLL): Use GNU style definition. Simplify implementation
12512 by using get_next_seq, get_next_seq_cached and do_compare.
12514 2013-08-16 Florian Weimer <fweimer@redhat.com>
12518 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12520 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12522 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12523 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12524 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12526 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12527 GETDENTS_64BIT_ALIGNED.
12528 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12529 * manual/filesys.texi (Reading/Closing Directory): Document
12530 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12532 * manual/conf.texi (Limits for Files): Add portability note to
12533 NAME_MAX, PATH_MAX.
12534 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12536 2013-08-13 Andreas Schwab <schwab@suse.de>
12539 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12541 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12542 LDBL_MAX_EXP >= 16384]: Add tests for it.
12544 2013-08-12 David S. Miller <davem@davemloft.net>
12546 * version.h (RELEASE): Set to "development".
12547 (VERSION): Set to "2.18.90".
12548 * NEWS: Add 2.19 section.
12550 2013-08-03 David S. Miller <davem@davemloft.net>
12552 * po/ko.po: Update Korean translation from translation project.
12554 2013-08-01 David S. Miller <davem@davemloft.net>
12556 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12557 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12560 2013-07-30 David S. Miller <davem@davemloft.net>
12562 * po/fr.po: Update French translation from translation project.
12564 2013-07-28 David S. Miller <davem@davemloft.net>
12566 * po/cs.po: Update Czech translation from translation project.
12568 * po/sv.po: Update Swedish translation from translation project.
12570 2013-07-27 David S. Miller <davem@davemloft.net>
12572 * po/eo.po: Update Esperanto translation from translation project.
12574 * po/vi.po: Update Vietnamese translation from translation project.
12576 * po/de.po: Update German translation from translation project.
12578 2013-07-26 David S. Miller <davem@davemloft.net>
12580 * po/bg.po: Update Bulgarian translation from translation project.
12582 * po/nl.po: Update Dutch translation from translation project.
12583 * po/pl.po: Update Polish translation from translation project.
12584 * po/ru.po: Update Russian translation from translation project.
12586 2013-07-24 David S. Miller <davem@davemloft.net>
12588 * po/libc.pot: Update.
12590 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12592 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12593 variable page size.
12594 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12595 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12596 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12598 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12600 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12602 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12603 Andreas Schwab <schwab@suse.de>
12604 Roland McGrath <roland@hack.frob.com>
12605 Joseph Myers <joseph@codesourcery.com>
12606 Carlos O'Donell <carlos@redhat.com>
12609 * config.h.in: Define HAVE_PT_CHOWN.
12610 * config.make.in (build-pt-chown): New variable.
12611 * configure.in (--enable-pt_chown): New configure option.
12612 * configure: Regenerate.
12613 * login/Makefile: Include Makeconfig. Build pt_chown only if
12614 build-pt-chown is enabled.
12615 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12616 pt_chown to fix pty ownership.
12617 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12619 * manual/install.texi (Configuring and compiling): Mention
12620 --enable-pt_chown. Add @findex for grantpt.
12621 * INSTALL: Regenerate.
12623 2013-07-20 David S. Miller <davem@davemloft.net>
12625 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12626 difference between 32-bit and 64-bit.
12628 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12631 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12632 Avoid system header dependency with -ffreestanding.
12633 ($(objpfx)bits/syscall%d): Likewise.
12635 2013-07-13 David S. Miller <davem@davemloft.net>
12637 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12638 underflows from atanl/atan2l due to bug 15319.
12639 (casinh_test_data): Likewise.
12641 2013-07-07 David S. Miller <davem@davemloft.net>
12643 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12645 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12647 * sysdeps/i386/fpu/libm-test-ulps: Update.
12648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12650 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12652 * configure.in (--enable-lock-elision): Fix message text.
12653 * INSTALL: Regenerate.
12654 * configure: Regenerate.
12656 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12660 2013-07-03 Andreas Jaeger <aj@suse.de>
12662 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12664 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12665 (ptrace_peeksiginfo_args): Add.
12666 (__ptrace_peeksiginfo_flags): Add.
12667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12668 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12671 2013-07-03 Allan McRae <allan@archlinux.org>
12673 * sysdeps/i386/fpu/libm-test-ulps: Update.
12675 2013-07-02 David S. Miller <davem@davemloft.net>
12677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12679 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12683 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12685 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12688 2013-07-02 Andi Kleen <ak@linux.intel.com>
12690 * config.h.in (ENABLE_LOCK_ELISION): Add.
12691 * configure.in (--enable-lock-elision): Add option.
12692 * manual/install.texi: Document --enable lock elision.
12693 * configure: Regenerate
12694 * INSTALL: Regenerate.
12696 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12698 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12699 SSE4.2 strcasecmp for libc.a.
12700 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12702 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12705 * soft-fp/op-common.h (_FP_FMA): New macro.
12706 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12707 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12708 (_FP_MUL_MEAT_1_imm): ... here.
12709 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12710 (_FP_MUL_MEAT_1_wide): ... here.
12711 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12712 (_FP_MUL_MEAT_1_hard): ... here.
12713 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12714 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12715 (_FP_MUL_MEAT_2_wide): ... here.
12716 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12717 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12718 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12719 (_FP_MUL_MEAT_2_gmp): ... here.
12720 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12721 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12722 (_FP_MUL_MEAT_4_wide): ... here.
12723 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12724 (_FP_MUL_MEAT_4_gmp): ... here.
12725 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12726 (_FP_WFRACBITS_DW_S): Likewise.
12727 (_FP_WFRACXBITS_DW_S): Likewise.
12728 (_FP_HIGHBIT_DW_S): Likewise.
12729 (FP_FMA_S): Likewise.
12730 (_FP_FRAC_HIGH_DW_S): Likewise.
12731 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12732 (_FP_WFRACBITS_DW_D): Likewise.
12733 (_FP_WFRACXBITS_DW_D): Likewise.
12734 (_FP_HIGHBIT_DW_D): Likewise.
12735 (FP_FMA_D): Likewise.
12736 (_FP_FRAC_HIGH_DW_D): Likewise.
12737 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12738 (_FP_WFRACBITS_DW_E): Likewise.
12739 (_FP_WFRACXBITS_DW_E): Likewise.
12740 (_FP_HIGHBIT_DW_E): Likewise.
12741 (FP_FMA_E): Likewise.
12742 (_FP_FRAC_HIGH_DW_E): Likewise.
12743 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12744 (_FP_WFRACBITS_DW_Q): Likewise.
12745 (_FP_WFRACXBITS_DW_Q): Likewise.
12746 (_FP_HIGHBIT_DW_Q): Likewise.
12747 (FP_FMA_Q): Likewise.
12748 (_FP_FRAC_HIGH_DW_Q): Likewise.
12749 * soft-fp/fmasf4.c: New file.
12750 * soft-fp/fmadf4.c: Likewise.
12751 * soft-fp/fmatf4.c: Likewise.
12753 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12756 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12758 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12760 (index_Slow_SSE4_2): Likewise.
12761 (index_Prefer_PMINUB_for_stringop): Likewise.
12762 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12763 bit_Slow_SSE4_2 is set.
12764 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12765 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12767 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12769 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12770 rtld_global._dl_hwcap2.
12771 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12773 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12774 POWER8 feature descriptions defined in _dl_hwcap2.
12775 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12776 string handling for POWER8 feature bits.
12777 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12778 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12779 _dl_powerpc_cap_flags.
12780 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12781 * sysdeps/powerpc/rtld-global-offsets.sym
12782 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12783 _dl_hwcap2 in the rtld_global_ro structure.
12785 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12787 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12788 hardware capabilities in support of AT_HWCAP2.
12789 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12790 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12792 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12793 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12794 explicitly the unknown a_type display mechanism is used.
12795 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12796 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12798 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12799 to macro prototype for AT_HWCAP2 support.
12800 * sysdeps/i386/dl-procinfo.h: Likewise.
12801 * sysdeps/s390/dl-procinfo.h: Likewise.
12802 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12803 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12804 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12805 return -1 for unknown a_type display fallback.
12806 * sysdeps/sparc/dl-procinfo.h: Likewise.
12807 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12808 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12810 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12812 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12813 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12815 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12818 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12819 mprotect making __stack_prot writable.
12821 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12822 Joseph Myers <joseph@codesourcery.com>
12824 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12825 as being properly aligned.
12827 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12829 * dlfcn/modstatic5.c: New file.
12830 * dlfcn/tststatic5.c: New file.
12831 * dlfcn/Makefile (tests): Add tststatic5.
12832 (tests-static): Likewise.
12833 (modules-names): Add modstatic5.
12834 (tststatic5-ENV): New variable.
12835 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12838 * elf/dl-support.c (_dl_main_map): New variable.
12839 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12840 (_dl_nns, _dl_load_adds): Set to 1.
12841 (_dl_initial_searchlist): Refer to _dl_main_map.
12842 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12843 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12844 call to _dl_get_origin.
12845 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12847 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12848 * dlfcn/modstatic3.c: New file.
12849 * dlfcn/tststatic3.c: New file.
12850 * dlfcn/tststatic4.c: New file.
12851 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12852 (tests-static): Likewise.
12853 (modules-names): Add modstatic3.
12854 (tststatic3-ENV, tststatic4-ENV): New variables.
12855 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12856 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12858 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12860 * configure.in (CC): Require GCC version 4.4 or later.
12861 * configure: Regenerated.
12862 * manual/install.texi (Tools for Compilation): Update GCC version
12864 * INSTALL: Regenerated.
12866 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12869 * string/test-memcmp.c (check2): New.
12870 (main): Call check2.
12872 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12874 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12877 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12879 (dl_open_worker) [!SHARED]: ... here.
12881 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12883 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12885 2013-06-25 Richard Henderson <rth@redhat.com>
12887 * locale/programs/locarchive.c: Include <libc-internal.h>
12889 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12891 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12892 trailing whitespace removed.
12894 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12897 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12898 * locale/programs/locarchive.c: Include libc-mmap.h.
12899 (prepare_address_space): Take two new outputs (the mmap base and len).
12900 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12902 (create_archive): Declare new mmap base and len values for
12903 prepare_address_space, and store the result in ah.
12904 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12905 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12906 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12907 Declare new mmap base and len values for
12908 prepare_address_space, and store the result in new_ah.
12909 (open_archive): Declare new mmap base and len values for
12910 prepare_address_space, and store the result in ah.
12911 (close_archive): If ah->mmap_base is not NULL, use that and
12912 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12913 * sysdeps/generic/libc-mmap.h: New file.
12915 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12917 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12918 (ALIGN_UP): Likewise.
12919 (PTR_ALIGN_DOWN): Likewise.
12920 (PTR_ALIGN_UP): Likewise.
12922 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12924 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12925 entry mapped to PPC_PLATFORM_POWER8.
12926 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12928 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12929 (_dl_string_platform): Add case for exporting platform position for
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12932 search path to sysdeps/powerpc/powerpc32/power8 directory.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12934 search path to sysdeps/powerpc/powerpc64/power8 directory.
12935 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12936 power7 directories.
12937 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12938 power7 directories.
12940 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12942 * INSTALL: Regenerate.
12944 * nscd/connections.c (nscd_init): Fix comment.
12946 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12948 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12951 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12952 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12954 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12956 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12958 (DL_DST_REQ_STATIC): Remove macro.
12960 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12963 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12964 with a shift of 0 bits.
12966 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12968 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12971 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12974 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12976 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12978 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12979 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12980 accepts -fno-tree-loop-distribute-patterns.
12981 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12982 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12984 * string/memset.c (memset): Likewise.
12985 * string/test-memmove.c (simple_memmove): Disable loop transformation
12987 * string/test-memset.c (simple_memset): Likewise.
12988 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12989 * benchtests/bench-memset.c (simple_memset): Likewise.
12990 * configure: Regenerated.
12992 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12994 * math/test-misc.c (main): Ignore fesetround failure when failures
12995 of subsequent rounding tests would be ignored.
12998 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12999 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13000 * math/fegetenv.c (__fegetenv): Return 0.
13001 * math/fegetexcept.c (fegetexcept): Return 0.
13002 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13004 * math/feholdexcpt.c (feholdexcept): Return 0.
13005 * math/fesetenv.c (__fesetenv): Return 0.
13006 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13007 argument FE_TONEAREST.
13008 * math/feupdateenv.c (__feupdateenv): Return 0.
13009 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13011 2013-06-18 Roland McGrath <roland@hack.frob.com>
13013 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13014 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13015 ($(objpfx)rtld-%.os rules): Use them.
13017 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13019 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13022 2013-06-17 Roland McGrath <roland@hack.frob.com>
13024 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13025 length of target pattern, then descending length of dependency pattern.
13026 * configure.in (AWK): Require gawk 3.1.2 or newer.
13027 * manual/install.texi (Tools for Compilation): Say that we do.
13028 * configure: Regenerated.
13030 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13031 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13032 * scripts/sysd-rules.awk: ... this new script.
13033 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13034 than a glob-style pattern.
13036 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13038 * math/test-misc.c (main): Do not treat incorrectly rounded
13039 conversions as failure unless ROUNDING_TESTS passes.
13041 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13044 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13045 restore exception state around main square root computation, then
13046 check for inexactness explicitly.
13048 * math/libm-test.inc (fma_test_data): Add another test.
13050 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13052 * manual/threads.texi (Non-POSIX Extensions): New document
13053 node. Document pthread_getattr_default_np and
13054 pthread_setattr_default_np.
13056 * Versions.def (libpthread): Add GLIBC_2.18.
13057 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13066 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13077 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13080 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13082 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13083 H.J. Lu <hjl.tools@gmail.com>
13086 * sysdeps/x86_64/rtld-memset.c: Remove file.
13087 * sysdeps/x86_64/rtld-memset.S: New file.
13089 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13091 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13092 (test_in_one_mode): Take arguments for whether the rounding mode
13093 is supported for each floating-point type.
13094 (do_test): Pass new arguments to test_in_one_mode using
13097 2013-06-13 Roland McGrath <roland@hack.frob.com>
13099 * posix/tst-waitid.c (do_test): Distinguish different instances of
13100 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13101 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13102 before entering the kernel for waitpid.
13104 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13106 * NEWS: Fix note on clock function precision. Text by Roland
13109 2013-06-13 Roland McGrath <roland@hack.frob.com>
13111 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13112 it into place only when and if the sanity check passes.
13114 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13116 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13117 output for whether conversion result is exact. Take argument
13118 indicating whether type is IBM long double.
13119 (round_for_all): Change need_exact field to ibm_ld.
13120 * stdlib/tst-strtod-round.c (struct exactness): New type.
13121 (struct test): Change bool ld_ok field to struct exactness exact.
13122 (TEST): Update all definitions for change to field.
13123 (tests): Regenerate array contents.
13124 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13125 field value. Check for IBM long double here.
13126 (do_test): Update calls to test_in_one_mode.
13128 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13131 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13132 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13134 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13137 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13138 generated by the compiler on loop optimizations.
13139 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13140 general definitions.
13142 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13144 * math/bug-nextafter.c: Include <math-tests.h>.
13145 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13147 * math/bug-nexttoward.c: Include <math-tests.h>.
13148 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13150 * math/test-misc.c: Include <math-tests.h>.
13151 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13154 2013-06-12 Andreas Jaeger <aj@suse.de>
13156 * po/ia.po: Update Interlingua translation from translation
13159 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13161 * include/fenv.h: Include stdbool.h.
13162 (struct rm_ctx): New structure.
13163 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13165 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13166 (SET_RESTORE_ROUNDF): Likewise.
13167 (SET_RESTORE_ROUNDL): Likewise.
13168 (SET_RESTORE_ROUND_NOEX): Likewise.
13169 (SET_RESTORE_ROUND_NOEXF): Likewise.
13170 (SET_RESTORE_ROUND_NOEXL): Likewise.
13171 (SET_RESTORE_ROUND_53BIT): Likewise.
13172 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13173 (libc_feresetround_noexf_ctx): Likewise.
13174 (libc_feresetround_noexl_ctx): Likewise.
13175 (libc_feholdsetround_53bit_ctx): Likewise.
13176 (libc_feresetround_53bit_ctx): Likewise.
13177 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13178 (libc_feholdexcept_setround_sse_ctx): New function.
13179 (libc_fesetenv_sse_ctx): Likewise.
13180 (libc_feupdateenv_sse_ctx): Likewise.
13181 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13182 (libc_feholdexcept_setround_387_ctx): Likewise.
13183 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13184 (libc_feholdsetround_387_prec_ctx): Likewise.
13185 (libc_feholdsetround_387_ctx): Likewise.
13186 (libc_feholdsetround_387_53bit_ctx): Likewise.
13187 (libc_feholdsetround_sse_ctx): Likewise.
13188 (libc_feresetround_sse_ctx): Likewise.
13189 (libc_feresetround_387_ctx): Likewise.
13190 (libc_feupdateenv_387_ctx): Likewise.
13191 (libc_feholdexcept_setroundf_ctx): Define macro.
13192 (libc_fesetenvf_ctx): Likewise.
13193 (libc_feupdateenvf_ctx): Likewise.
13194 (libc_feholdsetroundf_ctx): Likewise.
13195 (libc_feresetroundf_ctx): Likewise.
13196 (libc_feholdexcept_setround_ctx): Likewise.
13197 (libc_fesetenv_ctx): Likewise.
13198 (libc_feupdateenv_ctx): Likewise.
13199 (libc_feholdsetround_ctx): Likewise.
13200 (libc_feresetround_ctx): Likewise.
13201 (libc_feholdexcept_setroundl_ctx): Likewise.
13202 (libc_feupdateenvl_ctx): Likewise.
13203 (libc_feholdsetroundl_ctx): Likewise.
13204 (libc_feresetroundl_ctx): Likewise.
13205 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13206 (libc_feresetround_53bit_ctx): Likewise.
13208 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13210 * locale/iso-639.def: Convert to UTF-8.
13212 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13214 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13215 (EXCEPTION_TESTS_double): Likewise.
13216 (EXCEPTION_TESTS_long_double): Likewise.
13217 (EXCEPTION_TESTS): Likewise.
13218 * math/libm-test.inc (test_exceptions): Only test exceptions if
13219 EXCEPTION_TESTS (FLOAT).
13221 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13223 * benchtests/Makefile (string-bench): Add strcpy_chk and
13225 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13226 * benchtests/bench-stpcpy_chk.c: New file.
13227 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13228 * benchtests/bench-strcpy_chk.c: New file.
13229 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13231 (do_test): Likewise.
13233 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13235 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13236 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13237 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13238 with tabs where appropriate.
13239 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13241 [PPC_PLATFORM_PPC440]: Likewise.
13242 [PPC_PLATFORM_PPC464]: Likewise.
13243 [PPC_PLATFORM_PPC476]: Likewise.
13244 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13245 ppc464, and ppc476 platform strings merging from ports/
13248 2013-06-11 Andreas Schwab <schwab@suse.de>
13251 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13252 (from_ucs4_idx): Regenerate.
13253 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13254 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13255 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13256 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13257 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13258 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13259 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13260 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13261 from FROM_LOOP and TO_LOOP specific macros.
13262 (BODY): Handle combining characters.
13263 * iconvdata/BIG5HKSCS.irreversible: Update.
13264 * iconvdata/BIG5HKSCS.precomposed: New file.
13265 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13267 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13269 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13271 * include/sys/time.h: Fix indentation and add copyright header.
13273 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13274 (do_test): Likewise.
13275 * string/test-memchr.c (do_one_test): Likewise.
13276 (do_test): Likewise.
13277 * string/test-memcmp.c (do_one_test): Likewise.
13278 (do_test): Likewise.
13279 * string/test-memcpy.c (do_one_test): Likewise.
13280 (do_test): Likewise.
13281 * string/test-memmem.c (do_one_test): Likewise.
13282 (do_test): Likewise.
13283 (do_random_tests): Likewise.
13284 * string/test-memmove.c (do_one_test): Likewise.
13285 (do_test): Likewise.
13286 * string/test-memset.c (do_one_test): Likewise.
13287 (do_test): Likewise.
13288 * string/test-rawmemchr.c (do_one_test): Likewise.
13289 (do_test): Likewise.
13290 * string/test-strcasecmp.c (do_one_test): Likewise.
13291 (do_test): Likewise.
13292 * string/test-strcasestr.c (do_one_test): Likewise.
13293 (do_test): Likewise.
13294 * string/test-strcat.c (do_one_test): Likewise.
13295 (do_test): Likewise.
13296 * string/test-strchr.c (do_one_test): Likewise.
13297 (do_test): Likewise.
13298 * string/test-strcmp.c (do_one_test): Likewise.
13299 (do_test): Likewise.
13300 * string/test-strcpy.c (do_one_test): Likewise.
13301 (do_test): Likewise.
13302 * string/test-string.h: Likewise.
13303 (test_init): Likewise.
13304 * string/test-strlen.c (do_one_test): Likewise.
13305 (do_test): Likewise.
13306 * string/test-strncasecmp.c (do_one_test): Likewise.
13307 (do_test): Likewise.
13308 * string/test-strncat.c (do_one_test): Likewise.
13309 (do_test): Likewise.
13310 * string/test-strncmp.c (do_one_test): Likewise.
13311 (do_test_limit): Likewise.
13312 (do_test): Likewise.
13313 * string/test-strncpy.c (do_one_test): Likewise.
13314 (do_test): Likewise.
13315 * string/test-strnlen.c (do_one_test): Likewise.
13316 (do_test): Likewise.
13317 * string/test-strpbrk.c (do_one_test): Likewise.
13318 (do_test): Likewise.
13319 * string/test-strrchr.c (do_one_test): Likewise.
13320 (do_test): Likewise.
13321 * string/test-strspn.c (do_one_test): Likewise.
13322 (do_test): Likewise.
13323 * string/test-strstr.c (do_one_test): Likewise.
13324 (do_test): Likewise.
13326 * benchtests/Makefile (string-bench): Add string benchmarks.
13327 * benchtests/bench-bcopy-ifunc.c: New file.
13328 * benchtests/bench-bcopy.c: New file.
13329 * benchtests/bench-bzero-ifunc.c: New file.
13330 * benchtests/bench-bzero.c: New file.
13331 * benchtests/bench-memccpy-ifunc.c: New file.
13332 * benchtests/bench-memccpy.c: New file.
13333 * benchtests/bench-memchr-ifunc.c: New file.
13334 * benchtests/bench-memchr.c: New file.
13335 * benchtests/bench-memcmp-ifunc.c: New file.
13336 * benchtests/bench-memcmp.c: New file.
13337 * benchtests/bench-memmem-ifunc.c: New file.
13338 * benchtests/bench-memmem.c: New file.
13339 * benchtests/bench-memmove-ifunc.c: New file.
13340 * benchtests/bench-memmove.c: New file.
13341 * benchtests/bench-mempcpy-ifunc.c: New file.
13342 * benchtests/bench-mempcpy.c: New file.
13343 * benchtests/bench-memset-ifunc.c: New file.
13344 * benchtests/bench-memset.c: New file.
13345 * benchtests/bench-rawmemchr-ifunc.c: New file.
13346 * benchtests/bench-rawmemchr.c: New file.
13347 * benchtests/bench-stpcpy-ifunc.c: New file.
13348 * benchtests/bench-stpcpy.c: New file.
13349 * benchtests/bench-stpncpy-ifunc.c: New file.
13350 * benchtests/bench-stpncpy.c: New file.
13351 * benchtests/bench-strcasecmp-ifunc.c: New file.
13352 * benchtests/bench-strcasecmp.c: New file.
13353 * benchtests/bench-strcasestr-ifunc.c: New file.
13354 * benchtests/bench-strcasestr.c: New file.
13355 * benchtests/bench-strcat-ifunc.c: New file.
13356 * benchtests/bench-strcat.c: New file.
13357 * benchtests/bench-strchr-ifunc.c: New file.
13358 * benchtests/bench-strchr.c: New file.
13359 * benchtests/bench-strchrnul-ifunc.c: New file.
13360 * benchtests/bench-strchrnul.c: New file.
13361 * benchtests/bench-strcmp-ifunc.c: New file.
13362 * benchtests/bench-strcmp.c: New file.
13363 * benchtests/bench-strcpy-ifunc.c: New file.
13364 * benchtests/bench-strcpy.c: New file.
13365 * benchtests/bench-strcspn-ifunc.c: New file.
13366 * benchtests/bench-strcspn.c: New file.
13367 * benchtests/bench-strlen-ifunc.c: New file.
13368 * benchtests/bench-strlen.c: New file.
13369 * benchtests/bench-strncasecmp-ifunc.c: New file.
13370 * benchtests/bench-strncasecmp.c: New file.
13371 * benchtests/bench-strncat-ifunc.c: New file.
13372 * benchtests/bench-strncat.c: New file.
13373 * benchtests/bench-strncmp-ifunc.c: New file.
13374 * benchtests/bench-strncmp.c: New file.
13375 * benchtests/bench-strncpy-ifunc.c: New file.
13376 * benchtests/bench-strncpy.c: New file.
13377 * benchtests/bench-strnlen-ifunc.c: New file.
13378 * benchtests/bench-strnlen.c: New file.
13379 * benchtests/bench-strpbrk-ifunc.c: New file.
13380 * benchtests/bench-strpbrk.c: New file.
13381 * benchtests/bench-strrchr-ifunc.c: New file.
13382 * benchtests/bench-strrchr.c: New file.
13383 * benchtests/bench-strspn-ifunc.c: New file.
13384 * benchtests/bench-strspn.c: New file.
13385 * benchtests/bench-strstr-ifunc.c: New file.
13386 * benchtests/bench-strstr.c: New file.
13388 * benchtests/Makefile: Disable parallel execution of targets.
13389 (string-bench): Add memcpy.
13390 (benchset): New variable to store a list of benchmark sets.
13391 (bench-func): Renamed from bench.
13392 (bench-set): New target.
13393 (bench): Depend on bench-func and bench-set.
13394 * benchtests/README: Add section on benchmark sets.
13395 * benchtests/bench-memcpy-ifunc.c: New file.
13396 * benchtests/bench-memcpy.c: New file.
13397 * benchtests/bench-string.h: New file.
13399 2013-06-11 Andreas Schwab <schwab@suse.de>
13402 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13403 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13404 values in the triple.
13405 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13406 terminator in the group key.
13408 2013-06-11 Andreas Jaeger <aj@suse.de>
13410 * po/zh_TW.po: Update Chinese (traditional) translation from
13411 translation project.
13413 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13415 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13416 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13417 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13418 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13419 (clock_getcpuclockid): Likewise.
13420 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13421 Add weak_alias and libc_hidden_def.
13422 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13423 * rt/clock_gettime.c (clock_gettime): Rename to
13424 __clock_gettime. Add weak_alias and libc_hidden_def.
13425 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13426 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13427 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13428 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13429 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13431 * rt/clock_settime.c (clock_settime): Rename to
13432 __clock_settime. Add weak_alias and libc_hidden_def.
13433 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13435 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13437 * mach/err_boot.sub: Remove trailing whitespace.
13438 * mach/err_ipc.sub: Likewise.
13439 * mach/err_mach.sub: Likewise.
13441 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13442 (ROUNDING_TESTS_double): Likewise.
13443 (ROUNDING_TESTS_long_double): Likewise.
13444 (ROUNDING_TESTS): Likewise.
13445 * math/libm-test.inc: Include <math-tests.h>.
13446 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13447 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13448 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13449 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13451 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13453 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13456 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13458 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13459 otherwise empty TRANS lines.
13460 * sysdeps/gnu/errlist.c: Regenerated.
13462 * catgets/gencat.c (error_print): Use (void) in function
13464 * crypt/crypt_util.c (__init_des): Likewise.
13465 * crypt/speeds.c (Stop): Likewise.
13467 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13468 * inet/ruserpass.c (token): Likewise.
13469 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13470 * intl/localealias.c (extend_alias_table): Likewise.
13471 * intl/plural-exp.c (init_germanic_plural): Likewise.
13472 * libio/fcloseall.c (__fcloseall): Likewise.
13473 * libio/genops.c (_IO_flush_all): Likewise.
13474 (_IO_flush_all_linebuffered): Likewise.
13475 (_IO_cleanup): Likewise.
13476 (_IO_iter_begin): Likewise.
13477 (_IO_iter_end): Likewise.
13478 (_IO_list_lock): Likewise.
13479 (_IO_list_unlock): Likewise.
13480 (_IO_list_resetlock): Likewise.
13481 * libio/getchar.c (getchar): Likewise.
13482 * libio/getchar_u.c (getchar_unlocked): Likewise.
13483 * libio/getwchar.c (getwchar): Likewise.
13484 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13485 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13486 * login/getpt.c (__getpt): Likewise.
13487 * login/tst-utmp.c (main): Likewise.
13488 * malloc/hooks.c (__malloc_check_init): Likewise.
13489 * malloc/malloc.c (__malloc_stats): Likewise.
13490 * malloc/mtrace.c (tr_break): Likewise.
13491 (mtrace): Likewise.
13492 (muntrace): Likewise.
13493 * misc/fstab.c (endfsent): Likewise.
13494 * misc/getclktck.c (__getclktck): Likewise.
13495 * misc/getdtsz.c (__getdtablesize): Likewise.
13496 * misc/gethostid.c (gethostid): Likewise.
13497 * misc/getpagesize.c (__getpagesize): Likewise.
13498 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13499 (__get_nprocs): Likewise.
13500 (__get_phys_pages): Likewise.
13501 (__get_avphys_pages): Likewise.
13502 * misc/getttyent.c (getttyent): Likewise.
13503 (setttyent): Likewise.
13504 (endttyent): Likewise.
13505 * misc/getusershell.c (getusershell): Likewise.
13506 (endusershell): Likewise.
13507 (setusershell): Likewise.
13508 (initshells): Likewise.
13509 * misc/hsearch.c (__hdestroy): Likewise.
13510 * misc/sync.c (sync): Likewise.
13511 * misc/syslog.c (closelog_internal): Likewise.
13512 (closelog): Likewise.
13513 * misc/ttyslot.c (ttyslot): Likewise.
13514 * misc/vhangup.c (vhangup): Likewise.
13515 * posix/fork.c (__fork): Likewise.
13516 * posix/getegid.c (__getegid): Likewise.
13517 * posix/geteuid.c (__geteuid): Likewise.
13518 * posix/getgid.c (__getgid): Likewise.
13519 * posix/getpid.c (__getpid): Likewise.
13520 * posix/getppid.c (__getppid): Likewise.
13521 * posix/getuid.c (__getuid): Likewise.
13522 * posix/pause.c (pause): Likewise.
13523 * posix/setpgrp.c (setpgrp): Likewise.
13524 * posix/setsid.c (__setsid): Likewise.
13525 * posix/test-vfork.c (noop): Likewise.
13526 * resolv/gethnamaddr.c (_endhtent): Likewise.
13527 (_gethtent): Likewise.
13528 (ht_endhostent): Likewise.
13529 (gethostent): Likewise.
13530 (dns_service): Likewise.
13531 * stdlib/drand48.c (drand48): Likewise.
13532 * stdlib/lrand48.c (lrand48): Likewise.
13533 * stdlib/mrand48.c (mrand48): Likewise.
13534 * stdlib/rand.c (rand): Likewise.
13535 * stdlib/random.c (__random): Likewise.
13536 * stdlib/setenv.c (clearenv): Likewise.
13537 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13538 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13539 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13540 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13541 (__get_nprocs): Likewise.
13542 (__get_phys_pages): Likewise.
13543 (__get_avphys_pages): Likewise.
13544 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13545 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13546 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13547 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13548 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13549 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13550 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13551 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13552 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13553 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13554 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13555 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13556 * sysdeps/posix/clock.c (clock): Likewise.
13557 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13558 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13559 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13560 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13561 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13563 (__get_nprocs_conf): Likewise.
13564 (__get_phys_pages): Likewise.
13565 (__get_avphys_pages): Likewise.
13566 * time/clock.c (clock): Likewise.
13567 * time/tzset.c (__tzname_max): Likewise.
13569 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13571 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13572 (__bswap_32): Do not use "register".
13573 * crypt/crypt.c (_ufc_doit_r): Likewise.
13574 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13575 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13576 * gmon/gmon.c (__monstartup): Likewise.
13577 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13578 * hurd/hurdmalloc.c (more_memory): Likewise.
13579 (malloc): Likewise.
13581 (realloc): Likewise.
13582 (malloc_fork_prepare): Likewise.
13583 (malloc_fork_parent): Likewise.
13584 (malloc_fork_child): Likewise.
13585 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13586 (_svcauth_des): Likewise.
13587 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13588 * inet/inet_net.c (inet_network): Likewise.
13589 * inet/inet_netof.c (inet_netof): Likewise.
13590 * inet/rcmd.c (__validuser2_sa): Likewise.
13591 * io/fts.c (fts_open): Likewise.
13592 (fts_load): Likewise.
13593 (fts_close): Likewise.
13594 (fts_read): Likewise.
13595 (fts_children): Likewise.
13596 (fts_build): Likewise.
13597 (fts_stat): Likewise.
13598 (fts_sort): Likewise.
13599 (fts_alloc): Likewise.
13600 (fts_lfree): Likewise.
13601 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13602 (_IO_file_xsgetn): Likewise.
13603 (_IO_file_xsgetn_mmap): Likewise.
13604 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13605 (_IO_cookie_write): Likewise.
13606 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13607 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13608 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13609 * malloc/obstack.c (_obstack_begin): Likewise.
13610 (_obstack_begin_1): Likewise.
13611 (_obstack_newchunk): Likewise.
13612 (_obstack_allocated_p): Likewise.
13613 (obstack_free): Likewise.
13614 (_obstack_memory_used): Likewise.
13615 * misc/getttyent.c (getttynam): Likewise.
13616 (getttyent): Likewise.
13619 * misc/getusershell.c (initshells): Likewise.
13620 * misc/syslog.c (__vsyslog_chk): Likewise.
13621 * misc/ttyslot.c (ttyslot): Likewise.
13622 * nis/nis_hash.c (__nis_hash): Likewise.
13623 * posix/fnmatch_loop.c (FCT): Likewise.
13624 * posix/getconf.c (print_all): Likewise.
13626 * posix/getopt.c (exchange): Likewise.
13627 * posix/glob.c (globfree): Likewise.
13628 (prefix_array): Likewise.
13629 (__glob_pattern_type): Likewise.
13630 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13631 (NS_GET32): Likewise.
13632 (NS_PUT16): Likewise.
13633 (NS_PUT32): Likewise.
13634 * resolv/gethnamaddr.c (getanswer): Likewise.
13635 (gethostbyname2): Likewise.
13636 (gethostbyaddr): Likewise.
13637 (_gethtent): Likewise.
13638 (_gethtbyname2): Likewise.
13639 (_gethtbyaddr): Likewise.
13640 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13641 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13642 * resolv/res_init.c (__res_vinit): Likewise.
13643 (net_mask): Likewise.
13644 * resolv/res_mkquery.c (outchar): Likewise.
13646 * stdio-common/printf_fp.c (outchar): Likewise.
13648 * stdio-common/printf_fphex.c (outchar): Likewise.
13650 * stdio-common/printf_size.c (outchar): Likewise.
13652 * stdio-common/test_rdwr.c (main): Likewise.
13653 * stdio-common/tfformat.c (matches): Likewise.
13654 * stdio-common/vfprintf.c (outchar): Likewise.
13655 (printf_unknown): Likewise.
13656 (buffered_vfprintf): Likewise.
13657 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13658 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13659 (ReadFile): Likewise.
13660 * stdlib/qsort.c (SWAP): Likewise.
13661 (_quicksort): Likewise.
13662 * stdlib/setenv.c (__add_to_environ): Likewise.
13663 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13664 * stdlib/strtol_l.c (__strtol_l): Likewise.
13665 * stdlib/tst-strtod.c (main): Likewise.
13666 * stdlib/tst-strtol.c (main): Likewise.
13667 * stdlib/tst-strtoll.c (main): Likewise.
13668 * string/bits/string2.h (__strcmp_cc): Likewise.
13669 (__strcmp_cg): Likewise.
13670 (__strcspn_c1): Likewise.
13671 (__strcspn_c2): Likewise.
13672 (__strcspn_c3): Likewise.
13673 (__strspn_c1): Likewise.
13674 (__strspn_c2): Likewise.
13675 (__strspn_c3): Likewise.
13676 (__strsep_1c): Likewise.
13677 (__strsep_2c): Likewise.
13678 (__strsep_3c): Likewise.
13679 * string/memccpy.c (__memccpy): Likewise.
13680 * string/stpcpy.c (__stpcpy): Likewise.
13681 * string/strcmp.c (strcmp): Likewise.
13682 * string/strrchr.c (strrchr): Likewise.
13683 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13685 * sysdeps/mach/hurd/getcwd.c
13686 (_hurd_canonicalize_directory_name_internal): Likewise.
13687 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13688 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13689 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13690 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13691 Likewise, in both definitions.
13692 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13694 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13695 64] (__bswap_64): Likewise.
13696 * time/test_time.c (main): Likewise.
13697 * time/tzfile.c (__tzfile_read): Likewise.
13698 (__tzfile_compute): Likewise.
13699 * time/tzset.c (__tzset_parse_tz): Likewise.
13700 (tzset_internal): Likewise.
13701 (compute_change): Likewise.
13702 * wcsmbs/wcscat.c (__wcscat): Likewise.
13703 * wcsmbs/wcschr.c (wcschr): Likewise.
13704 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13705 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13706 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13707 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13708 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13709 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13710 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13711 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13712 * wcsmbs/wmemset.c (wmemset): Likewise.
13714 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13716 * scripts/config.guess: Update to version 2013-05-16.
13717 * scripts/config.sub: Update to version 2013-04-24.
13718 * scripts/install-sh: Update to version 2011-11-20.07.
13719 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13720 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13722 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13724 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13725 * elf/sln.c: Likewise.
13726 * hurd/hurd/ioctl.h: Likewise.
13727 * hurd/hurdmalloc.c: Likewise.
13728 * hurd/xattr.c: Likewise.
13729 * include/shlib-compat.h: Likewise.
13730 * inet/ruserpass.c: Likewise.
13731 * libio/iofgets_u.c: Likewise.
13732 * libio/iofgetws_u.c: Likewise.
13733 * locale/programs/ld-identification.c: Likewise.
13734 * locale/programs/ld-time.c: Likewise.
13735 * mach/msg-destroy.c: Likewise.
13736 * nss/nss_files/files-netgrp.c: Likewise.
13737 * resolv/res_data.c: Likewise.
13738 * soft-fp/op-1.h: Likewise.
13739 * soft-fp/op-2.h: Likewise.
13740 * soft-fp/op-4.h: Likewise.
13741 * soft-fp/op-common.h: Likewise.
13742 * stdio-common/printf_fphex.c: Likewise.
13743 * stdlib/strtod_l.c: Likewise.
13744 * sunrpc/rpc/clnt.h: Likewise.
13745 * sysdeps/generic/framestate.c: Likewise.
13746 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13747 * sysdeps/i386/bsd-setjmp.S: Likewise.
13748 * sysdeps/i386/__longjmp.S: Likewise.
13749 * sysdeps/i386/setjmp.S: Likewise.
13750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13751 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13752 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13768 * sysdeps/ieee754/support.c: Likewise.
13769 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13770 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13771 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13772 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13773 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13774 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13775 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13776 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13777 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13778 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13779 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13780 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13781 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13782 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13783 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13784 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13785 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13788 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13790 * posix/transbug.c: Remove executable mode.
13792 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13794 * crypt/speeds.c: Remove trailing whitespace.
13795 * dlfcn/default.c: Likewise.
13796 * elf/ifuncdep2.c: Likewise.
13797 * elf/ifuncmain1.c: Likewise.
13798 * elf/ifuncmain1vis.c: Likewise.
13799 * elf/testobj.h: Likewise.
13800 * elf/tst-stackguard1.c: Likewise.
13801 * gmon/sys/gmon.h: Likewise.
13802 * hurd/hurdmsg.c: Likewise.
13803 * hurd/new-fd.c: Likewise.
13804 * hurd/ports-get.c: Likewise.
13805 * iconvdata/ibm1008_420.c: Likewise.
13806 * inet/tst-getni1.c: Likewise.
13807 * inet/tst-getni2.c: Likewise.
13808 * libio/ioungetc.c: Likewise.
13809 * libio/wfiledoalloc.c: Likewise.
13810 * manual/libm-err-tab.pl: Likewise.
13811 * math/w_dremf.c: Likewise.
13812 * misc/ftruncate.c: Likewise.
13813 * posix/bug-glob2.c: Likewise.
13814 * posix/tst-pcre.c: Likewise.
13815 * posix/wait4.c: Likewise.
13816 * resolv/README: Likewise.
13817 * resolv/res_debug.h: Likewise.
13818 * resolv/tst-inet_ntop.c: Likewise.
13819 * setjmp/bug269-setjmp.c: Likewise.
13820 * soft-fp/extended.h: Likewise.
13821 * soft-fp/op-1.h: Likewise.
13822 * soft-fp/op-2.h: Likewise.
13823 * soft-fp/op-4.h: Likewise.
13824 * soft-fp/op-8.h: Likewise.
13825 * soft-fp/testit.c: Likewise.
13826 * stdio-common/bug16.c: Likewise.
13827 * stdlib/random.c: Likewise.
13828 * sunrpc/rpcsvc/rquota.x: Likewise.
13829 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13830 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13831 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13832 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13833 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13834 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13835 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13836 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13837 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13838 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13839 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13857 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13858 * sysdeps/ieee754/s_lib_version.c: Likewise.
13859 * sysdeps/mach/hurd/check_fds.c: Likewise.
13860 * sysdeps/mach/hurd/getsockname.c: Likewise.
13861 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13862 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13863 * sysdeps/powerpc/bits/link.h: Likewise.
13864 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13865 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13866 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13867 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13868 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13869 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13870 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13871 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13872 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13873 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13874 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13875 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13876 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13877 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13878 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13879 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13880 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13881 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13883 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13885 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13887 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13888 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13890 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13891 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13894 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13895 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13896 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13897 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13898 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13899 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13900 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13901 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13902 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13903 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13904 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13905 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13906 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13907 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13908 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13909 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13910 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13911 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13912 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13913 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13915 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13916 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13917 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13918 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13919 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13920 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13921 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13922 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13923 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13924 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13925 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13926 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13927 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13928 * sysdeps/powerpc/sysdep.h: Likewise.
13929 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13930 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13931 * sysdeps/sh/dl-trampoline.S: Likewise.
13932 * sysdeps/sh/memset.S: Likewise.
13933 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13934 * sysdeps/sh/strlen.S: Likewise.
13935 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13936 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13937 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13938 * sysdeps/sparc/sparc32/rem.S: Likewise.
13939 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13940 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13941 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13942 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13943 * sysdeps/sparc/sparc32/urem.S: Likewise.
13944 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13945 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13946 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13947 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13948 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13949 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13950 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13951 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13952 * sysdeps/unix/bsd/times.c: Likewise.
13953 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13954 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13958 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13960 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13961 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13962 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13963 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13964 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13965 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13966 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13967 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13968 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13969 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13970 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13971 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13972 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13973 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13974 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13975 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13976 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13977 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13978 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13980 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13981 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13982 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13983 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13984 * sysdeps/x86_64/strcspn.S: Likewise.
13986 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13988 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13989 generated file. Regenerate properly from gen-translit.pl.
13990 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13991 locale/C-translit.h.
13993 2013-06-05 Andreas Schwab <schwab@suse.de>
13996 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13997 week as 6 instead of -1.
13998 * time/tst-strptime.c (day_tests): Add test case.
14000 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14002 * sysdeps/generic/math_private.h
14003 (libc_feholdexcept_setround_53bit): Replace with
14004 libc_feholdsetround_53bit.
14005 (libc_feupdateenv_53bit): Replace with
14006 libc_feresetround_53bit.
14007 (SET_RESTORE_ROUND_53BIT): Adjust.
14009 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14011 * string/test-strchrnul.c: Add copyright header.
14013 * posix/tst-getaddrinfo4.c: Increase test timeout.
14015 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14018 * math/libm-test.inc (MAX_EXP): Remove
14020 (ulp): Use MIN_EXP - MANT_DIG.
14021 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14023 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14025 * po/be.po: Revert last change.
14026 * po/zh_CN.po: Likewise.
14027 * po/header.pot: Likewise.
14029 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14031 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14032 link-libc-deps to empty as target-specific variable.
14033 * Makerules (link-libc-args): New variable.
14034 (libc-for-link): Likewise.
14035 (link-libc-deps): Likewise.
14036 (lib%.so): Depend on $(link-libc-deps). Link with
14038 (build-module): Link with $(link-libc-args).
14039 (build-module-asneeded): Likewise.
14040 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14042 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14043 target-specific variable.
14044 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14045 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14046 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14048 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14050 ($(objpfx)libpcprofile.so): Likewise.
14051 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14053 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14054 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14055 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14057 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14058 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14059 * login/Makefile ($(objpfx)libutil.so): Likewise.
14060 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14061 * math/Makefile ($(objpfx)libm.so): Likewise.
14062 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14063 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14064 variable instead of depending directly on libc.
14065 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14066 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14068 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14070 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14071 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14072 ($(objpfx)libanl.so): Likewise.
14073 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14075 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14077 * sysdeps/i386/fpu/Makefile: Remove file.
14078 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14079 ($(objpfx)libm.so): Remove dependency on ld.so.
14081 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14084 * nis/yp_xdr.c (XDRMAXNAME): Define.
14085 (XDRMAXRECORD): Define.
14086 (xdr_domainname): Use XDRMAXNAME.
14087 (xdr_mapname): Likewise.
14088 (xdr_peername): Likewise.
14089 (xdr_keydat): Use XDRMAXRECORD.
14090 (xdr_valdat): Likewise.
14092 2013-05-30 Jeff Law <law@redhat.com>
14095 * manual/errno.texi (ESTALE): Update to account for more than
14096 just NFS file systems.
14097 * sysdeps/gnu/errlist.c: Regenerated.
14099 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14102 * elf/Makefile (tests): Add tst-null-argv.
14103 (modules-names): Add tst-null-argv-lib.
14104 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14105 (tst-null-argv-ENV): Set environment for tst-null-argv.
14106 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14107 (RTLD_PROGNAME): New macro.
14108 * elf/tst-null-argv.c: New test case.
14109 * elf/tst-null-argv-lib.c: Library for test case.
14110 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14111 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14112 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14113 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14114 * elf/dl-init.c (call_init): Likewise.
14115 (_dl_init): Likewise.
14116 * elf/dl-load.c (print_search_path): Likewise.
14117 (_dl_map_object): Likewise.
14118 * elf/dl-lookup.c (do_lookup_x): Likewise.
14119 (add_dependency): Likewise.
14120 (_dl_lookup_symbol_x): Likewise.
14121 (_dl_debug_bindings): Likewise.
14122 * elf/dl-open.c (_dl_show_scope): Likewise.
14123 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14124 * elf/dl-version.c (match_symbol): Likewise.
14125 (_dl_check_map_versions): Likewise.
14126 * elf/rtld.c (dl_main): Likewise.
14127 (print_unresolved): Use RTLD_PROGNAME.
14128 (print_missing_version): Likewise.
14129 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14130 (elf_machine_rela): Likewise.
14131 * sysdeps/powerpc/powerpc32/dl-machine.c
14132 (__process_machine_rela): Likewise.
14133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14135 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14137 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14139 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14146 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14148 * po/be.po: Add descriptive title.
14149 * po/zh_CN.po: Likewise.
14150 * po/header.pot: Likewise.
14152 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14154 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14156 (enlarge_archive): Likewise.
14158 2013-05-28 Ben North <ben@redfrontdoor.org>
14160 * manual/arith.texi (frexp): It is the magnitude of the return
14161 value which lies in [0.5, 1), not the return value itself.
14163 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14167 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14169 * stdio-common/bug26.c (main): Correct fscanf template.
14171 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14172 declare _dl_skip_args.
14174 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14177 * manual/platform.texi: Add missing @end deftypefun.
14179 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14182 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14183 bit of mantissa of 2^16382.
14184 * math/libm-test.inc (hypot_test_data): Add more tests.
14186 * math/libm-test.inc: Add drem and pow10 to list of tested
14188 (pow10_test): New function.
14189 (drem_test): Likewise.
14190 (drem_test_tonearest): Likewise.
14191 (drem_test_towardzero): Likewise.
14192 (drem_test_downward): Likewise.
14193 (drem_test_upward): Likewise.
14194 (main): Call the new functions.
14196 * math/libm-test.inc (finite_test_data): Remove.
14197 (finite_test): Run tests from isfinite_test_data.
14198 (gamma_test_data): Remove.
14199 (gamma_test): Run tests from lgamma_test_data.
14200 * sysdeps/i386/fpu/libm-test-ulps: Update.
14201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14203 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14205 * manual/platform.texi: Add PowerPC PPR function set documentation.
14206 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14209 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14211 * math/libm-test.inc (MAX_EXP): Define.
14213 (ulp): New function.
14214 (check_float_internal): Use ULPDIFF.
14215 (cpow_test): Disable failing test.
14216 (check_ulp): Test ulp() implemetnation.
14217 (main): Call check_ulp before starting tests.
14219 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14221 * math/gen-libm-test.pl (generate_testfile): Do not handle
14222 START_DATA and END_DATA.
14223 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14225 (acos_tonearest_test_data): Likewise.
14226 (acos_towardzero_test_data): Likewise.
14227 (acos_downward_test_data): Likewise.
14228 (acos_upward_test_data): Likewise.
14229 (acosh_test_data): Likewise.
14230 (asin_test_data): Likewise.
14231 (asin_tonearest_test_data): Likewise.
14232 (asin_towardzero_test_data): Likewise.
14233 (asin_downward_test_data): Likewise.
14234 (asin_upward_test_data): Likewise.
14235 (asinh_test_data): Likewise.
14236 (atan_test_data): Likewise.
14237 (atanh_test_data): Likewise.
14238 (atan2_test_data): Likewise.
14239 (cabs_test_data): Likewise.
14240 (cacos_test_data): Likewise.
14241 (cacosh_test_data): Likewise.
14242 (carg_test_data): Likewise.
14243 (casin_test_data): Likewise.
14244 (casinh_test_data): Likewise.
14245 (catan_test_data): Likewise.
14246 (catanh_test_data): Likewise.
14247 (cbrt_test_data): Likewise.
14248 (ccos_test_data): Likewise.
14249 (ccosh_test_data): Likewise.
14250 (ceil_test_data): Likewise.
14251 (cexp_test_data): Likewise.
14252 (cimag_test_data): Likewise.
14253 (clog_test_data): Likewise.
14254 (clog10_test_data): Likewise.
14255 (conj_test_data): Likewise.
14256 (copysign_test_data): Likewise.
14257 (cos_test_data): Likewise.
14258 (cos_tonearest_test_data): Likewise.
14259 (cos_towardzero_test_data): Likewise.
14260 (cos_downward_test_data): Likewise.
14261 (cos_upward_test_data): Likewise.
14262 (cosh_test_data): Likewise.
14263 (cosh_tonearest_test_data): Likewise.
14264 (cosh_towardzero_test_data): Likewise.
14265 (cosh_downward_test_data): Likewise.
14266 (cosh_upward_test_data): Likewise.
14267 (cpow_test_data): Likewise.
14268 (cproj_test_data): Likewise.
14269 (creal_test_data): Likewise.
14270 (csin_test_data): Likewise.
14271 (csinh_test_data): Likewise.
14272 (csqrt_test_data): Likewise.
14273 (ctan_test_data): Likewise.
14274 (ctan_tonearest_test_data): Likewise.
14275 (ctan_towardzero_test_data): Likewise.
14276 (ctan_downward_test_data): Likewise.
14277 (ctan_upward_test_data): Likewise.
14278 (ctanh_test_data): Likewise.
14279 (ctanh_tonearest_test_data): Likewise.
14280 (ctanh_towardzero_test_data): Likewise.
14281 (ctanh_downward_test_data): Likewise.
14282 (ctanh_upward_test_data): Likewise.
14283 (erf_test_data): Likewise.
14284 (erfc_test_data): Likewise.
14285 (exp_test_data): Likewise.
14286 (exp_tonearest_test_data): Likewise.
14287 (exp_towardzero_test_data): Likewise.
14288 (exp_downward_test_data): Likewise.
14289 (exp_upward_test_data): Likewise.
14290 (exp10_test_data): Likewise.
14291 (exp2_test_data): Likewise.
14292 (expm1_test_data): Likewise.
14293 (fabs_test_data): Likewise.
14294 (fdim_test_data): Likewise.
14295 (finite_test_data): Likewise.
14296 (floor_test_data): Likewise.
14297 (fma_test_data): Likewise.
14298 (fma_towardzero_test_data): Likewise.
14299 (fma_downward_test_data): Likewise.
14300 (fma_upward_test_data): Likewise.
14301 (fmax_test_data): Likewise.
14302 (fmin_test_data): Likewise.
14303 (fmod_test_data): Likewise.
14304 (fpclassify_test_data): Likewise.
14305 (frexp_test_data): Likewise.
14306 (gamma_test_data): Likewise.
14307 (hypot_test_data): Likewise.
14308 (ilogb_test_data): Likewise.
14309 (isfinite_test_data): Likewise.
14310 (isgreater_test_data): Likewise.
14311 (isgreaterequal_test_data): Likewise.
14312 (isinf_test_data): Likewise.
14313 (isless_test_data): Likewise.
14314 (islessequal_test_data): Likewise.
14315 (islessgreater_test_data): Likewise.
14316 (isnan_test_data): Likewise.
14317 (isnormal_test_data): Likewise.
14318 (issignaling_test_data): Likewise.
14319 (isunordered_test_data): Likewise.
14320 (j0_test_data): Likewise.
14321 (j1_test_data): Likewise.
14322 (jn_test_data): Likewise.
14323 (ldexp_test_data): Likewise.
14324 (lgamma_test_data): Likewise.
14325 (lrint_test_data): Likewise.
14326 (lrint_tonearest_test_data): Likewise.
14327 (lrint_towardzero_test_data): Likewise.
14328 (lrint_downward_test_data): Likewise.
14329 (lrint_upward_test_data): Likewise.
14330 (llrint_test_data): Likewise.
14331 (llrint_tonearest_test_data): Likewise.
14332 (llrint_towardzero_test_data): Likewise.
14333 (llrint_downward_test_data): Likewise.
14334 (llrint_upward_test_data): Likewise.
14335 (log_test_data): Likewise.
14336 (log10_test_data): Likewise.
14337 (log1p_test_data): Likewise.
14338 (log2_test_data): Likewise.
14339 (logb_test_data): Likewise.
14340 (logb_downward_test_data): Likewise.
14341 (lround_test_data): Likewise.
14342 (llround_test_data): Likewise.
14343 (modf_test_data): Likewise.
14344 (nearbyint_test_data): Likewise.
14345 (nextafter_test_data): Likewise.
14346 (nexttoward_test_data): Likewise.
14347 (pow_test_data): Likewise.
14348 (pow_tonearest_test_data): Likewise.
14349 (pow_towardzero_test_data): Likewise.
14350 (pow_downward_test_data): Likewise.
14351 (pow_upward_test_data): Likewise.
14352 (remainder_test_data): Likewise.
14353 (remainder_tonearest_test_data): Likewise.
14354 (remainder_towardzero_test_data): Likewise.
14355 (remainder_downward_test_data): Likewise.
14356 (remainder_upward_test_data): Likewise.
14357 (remquo_test_data): Likewise.
14358 (rint_test_data): Likewise.
14359 (rint_tonearest_test_data): Likewise.
14360 (rint_towardzero_test_data): Likewise.
14361 (rint_downward_test_data): Likewise.
14362 (rint_upward_test_data): Likewise.
14363 (round_test_data): Likewise.
14364 (scalb_test_data): Likewise.
14365 (scalbn_test_data): Likewise.
14366 (scalbln_test_data): Likewise.
14367 (signbit_test_data): Likewise.
14368 (sin_test_data): Likewise.
14369 (sin_tonearest_test_data): Likewise.
14370 (sin_towardzero_test_data): Likewise.
14371 (sin_downward_test_data): Likewise.
14372 (sin_upward_test_data): Likewise.
14373 (sincos_test_data): Likewise.
14374 (sinh_test_data): Likewise.
14375 (sinh_tonearest_test_data): Likewise.
14376 (sinh_towardzero_test_data): Likewise.
14377 (sinh_downward_test_data): Likewise.
14378 (sinh_upward_test_data): Likewise.
14379 (sqrt_test_data): Likewise.
14380 (tan_test_data): Likewise.
14381 (tan_tonearest_test_data): Likewise.
14382 (tan_towardzero_test_data): Likewise.
14383 (tan_downward_test_data): Likewise.
14384 (tan_upward_test_data): Likewise.
14385 (tanh_test_data): Likewise.
14386 (tgamma_test_data): Likewise.
14387 (trunc_test_data): Likewise.
14388 (y0_test_data): Likewise.
14389 (y1_test_data): Likewise.
14390 (yn_test_data): Likewise.
14391 (significand_test_data): Likewise.
14393 * math/gen-libm-test.pl (@functions): Remove variable.
14394 (generate_testfile): Don't handle START and END lines.
14395 * math/libm-test.inc (START): New macro.
14397 (END_COMPLEX): Likewise.
14398 (acos_test): Use END macro without arguments.
14399 (acos_test_tonearest): Likewise.
14400 (acos_test_towardzero): Likewise.
14401 (acos_test_downward): Likewise.
14402 (acos_test_upward): Likewise.
14403 (acosh_test): Likewise.
14404 (asin_test): Likewise.
14405 (asin_test_tonearest): Likewise.
14406 (asin_test_towardzero): Likewise.
14407 (asin_test_downward): Likewise.
14408 (asin_test_upward): Likewise.
14409 (asinh_test): Likewise.
14410 (atan_test): Likewise.
14411 (atanh_test): Likewise.
14412 (atan2_test): Likewise.
14413 (cabs_test): Likewise.
14414 (cacos_test): Use END_COMPLEX macro without arguments.
14415 (cacosh_test): Likewise.
14416 (carg_test): Use END macro without arguments.
14417 (casin_test): Use END_COMPLEX macro without arguments.
14418 (casinh_test): Likewise.
14419 (catan_test): Likewise.
14420 (catanh_test): Likewise.
14421 (cbrt_test): Use END macro without arguments.
14422 (ccos_test): Use END_COMPLEX macro without arguments.
14423 (ccosh_test): Likewise.
14424 (ceil_test): Use END macro without arguments.
14425 (cexp_test): Use END_COMPLEX macro without arguments.
14426 (cimag_test): Use END macro without arguments.
14427 (clog_test): Use END_COMPLEX macro without arguments.
14428 (clog10_test): Likewise.
14429 (conj_test): Likewise.
14430 (copysign_test): Use END macro without arguments.
14431 (cos_test): Likewise.
14432 (cos_test_tonearest): Likewise.
14433 (cos_test_towardzero): Likewise.
14434 (cos_test_downward): Likewise.
14435 (cos_test_upward): Likewise.
14436 (cosh_test): Likewise.
14437 (cosh_test_tonearest): Likewise.
14438 (cosh_test_towardzero): Likewise.
14439 (cosh_test_downward): Likewise.
14440 (cosh_test_upward): Likewise.
14441 (cpow_test): Use END_COMPLEX macro without arguments.
14442 (cproj_test): Likewise.
14443 (creal_test): Use END macro without arguments.
14444 (csin_test): Use END_COMPLEX macro without arguments.
14445 (csinh_test): Likewise.
14446 (csqrt_test): Likewise.
14447 (ctan_test): Likewise.
14448 (ctan_test_tonearest): Likewise.
14449 (ctan_test_towardzero): Likewise.
14450 (ctan_test_downward): Likewise.
14451 (ctan_test_upward): Likewise.
14452 (ctanh_test): Likewise.
14453 (ctanh_test_tonearest): Likewise.
14454 (ctanh_test_towardzero): Likewise.
14455 (ctanh_test_downward): Likewise.
14456 (ctanh_test_upward): Likewise.
14457 (erf_test): Use END macro without arguments.
14458 (erfc_test): Likewise.
14459 (exp_test): Likewise.
14460 (exp_test_tonearest): Likewise.
14461 (exp_test_towardzero): Likewise.
14462 (exp_test_downward): Likewise.
14463 (exp_test_upward): Likewise.
14464 (exp10_test): Likewise.
14465 (exp2_test): Likewise.
14466 (expm1_test): Likewise.
14467 (fabs_test): Likewise.
14468 (fdim_test): Likewise.
14469 (finite_test): Likewise.
14470 (floor_test): Likewise.
14471 (fma_test): Likewise.
14472 (fma_test_towardzero): Likewise.
14473 (fma_test_downward): Likewise.
14474 (fma_test_upward): Likewise.
14475 (fmax_test): Likewise.
14476 (fmin_test): Likewise.
14477 (fmod_test): Likewise.
14478 (fpclassify_test): Likewise.
14479 (frexp_test): Likewise.
14480 (gamma_test): Likewise.
14481 (hypot_test): Likewise.
14482 (ilogb_test): Likewise.
14483 (isfinite_test): Likewise.
14484 (isgreater_test): Likewise.
14485 (isgreaterequal_test): Likewise.
14486 (isinf_test): Likewise.
14487 (isless_test): Likewise.
14488 (islessequal_test): Likewise.
14489 (islessgreater_test): Likewise.
14490 (isnan_test): Likewise.
14491 (isnormal_test): Likewise.
14492 (issignaling_test): Likewise.
14493 (isunordered_test): Likewise.
14494 (j0_test): Likewise.
14495 (j1_test): Likewise.
14496 (jn_test): Likewise.
14497 (ldexp_test): Likewise.
14498 (lgamma_test): Likewise.
14499 (lrint_test): Likewise.
14500 (lrint_test_tonearest): Likewise.
14501 (lrint_test_towardzero): Likewise.
14502 (lrint_test_downward): Likewise.
14503 (lrint_test_upward): Likewise.
14504 (llrint_test): Likewise.
14505 (llrint_test_tonearest): Likewise.
14506 (llrint_test_towardzero): Likewise.
14507 (llrint_test_downward): Likewise.
14508 (llrint_test_upward): Likewise.
14509 (log_test): Likewise.
14510 (log10_test): Likewise.
14511 (log1p_test): Likewise.
14512 (log2_test): Likewise.
14513 (logb_test): Likewise.
14514 (logb_test_downward): Likewise.
14515 (lround_test): Likewise.
14516 (llround_test): Likewise.
14517 (modf_test): Likewise.
14518 (nearbyint_test): Likewise.
14519 (nextafter_test): Likewise.
14520 (nexttoward_test): Likewise.
14521 (pow_test): Likewise.
14522 (pow_test_tonearest): Likewise.
14523 (pow_test_towardzero): Likewise.
14524 (pow_test_downward): Likewise.
14525 (pow_test_upward): Likewise.
14526 (remainder_test): Likewise.
14527 (remainder_test_tonearest): Likewise.
14528 (remainder_test_towardzero): Likewise.
14529 (remainder_test_downward): Likewise.
14530 (remainder_test_upward): Likewise.
14531 (remquo_test): Likewise.
14532 (rint_test): Likewise.
14533 (rint_test_tonearest): Likewise.
14534 (rint_test_towardzero): Likewise.
14535 (rint_test_downward): Likewise.
14536 (rint_test_upward): Likewise.
14537 (round_test): Likewise.
14538 (scalb_test): Likewise.
14539 (scalbn_test): Likewise.
14540 (scalbln_test): Likewise.
14541 (signbit_test): Likewise.
14542 (sin_test): Likewise.
14543 (sin_test_tonearest): Likewise.
14544 (sin_test_towardzero): Likewise.
14545 (sin_test_downward): Likewise.
14546 (sin_test_upward): Likewise.
14547 (sincos_test): Likewise.
14548 (sinh_test): Likewise.
14549 (sinh_test_tonearest): Likewise.
14550 (sinh_test_towardzero): Likewise.
14551 (sinh_test_downward): Likewise.
14552 (sinh_test_upward): Likewise.
14553 (sqrt_test): Likewise.
14554 (tan_test): Likewise.
14555 (tan_test_tonearest): Likewise.
14556 (tan_test_towardzero): Likewise.
14557 (tan_test_downward): Likewise.
14558 (tan_test_upward): Likewise.
14559 (tanh_test): Likewise.
14560 (tgamma_test): Likewise.
14561 (trunc_test): Likewise.
14562 (y0_test): Likewise.
14563 (y1_test): Likewise.
14564 (yn_test): Likewise.
14565 (significand_test): Likewise.
14567 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14570 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14572 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14575 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14576 __ppc_mdoio and __ppc_mdoom.
14577 * manual/platform.texi: Document new functions __ppc_yield,
14578 __ppc_mdoio and __ppc_mdoom.
14580 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14582 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14583 (main): Mention "tls" pseudo-hwcap is legacy.
14584 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14586 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14588 * math/gen-libm-test.pl (parse_args): Output only string of
14589 arguments as text for test name, not full call or descriptions of
14590 tests for extra outputs.
14591 (generate_testfile): Do not pass function name to parse_args.
14592 Generate this_func variable from START.
14593 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14595 (struct test_ff_f_data): Likewise.
14596 (test_ff_f_data_nexttoward): Likewise.
14597 (struct test_fi_f_data): Likewise.
14598 (struct test_fl_f_data): Likewise.
14599 (struct test_if_f_data): Likewise.
14600 (struct test_fff_f_data): Likewise.
14601 (struct test_c_f_data): Likewise.
14602 (struct test_f_f1_data): Likewise. Remove field extra_name.
14603 (struct test_fF_f1_data): Likewise.
14604 (struct test_ffI_f1_data): Likewise.
14605 (struct test_c_c_data): Rename test_name field to arg_str.
14606 (struct test_cc_c_data): Likewise.
14607 (struct test_f_i_data): Likewise.
14608 (struct test_ff_i_data): Likewise.
14609 (struct test_f_l_data): Likewise.
14610 (struct test_f_L_data): Likewise.
14611 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14613 (COMMON_TEST_SETUP): New macro.
14614 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14615 (COMMON_TEST_CLEANUP): Likewise.
14616 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14617 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14619 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14620 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14622 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14623 (RUN_TEST_fff_f): Take argument string. Call new setup and
14625 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14626 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14628 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14629 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14631 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14632 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14634 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14635 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14637 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14638 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14640 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14641 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14643 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14644 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14646 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14647 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14649 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14650 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14652 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14653 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14655 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14656 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14658 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14659 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14661 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14662 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14664 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14665 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14667 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14668 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14670 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14672 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14674 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14675 to _sifields.sigfault.
14676 (si_addr_lsb): Define new macro.
14677 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14678 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14679 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14681 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14684 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14686 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14688 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14689 loading the domain.
14691 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14693 * math/gen-libm-test.pl (parse_args): Do not include expected
14694 result in test name.
14695 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14696 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14697 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14698 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14699 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14702 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14704 * benchtests/Makefile: Sort function entries.
14706 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14707 tanh, asinh, acosh, atanh.
14708 * benchtests/acos-inputs: New file.
14709 * benchtests/acosh-inputs: New file.
14710 * benchtests/asin-inputs: New file.
14711 * benchtests/asinh-inputs: New file.
14712 * benchtests/atanh-inputs: New file.
14713 * benchtests/cosh-inputs: New file.
14714 * benchtests/log-inputs: New file.
14715 * benchtests/sinh-inputs: New file.
14716 * benchtests/tanh-inputs: New file.
14718 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14721 * posix/tst-getaddrinfo4.c: New test.
14722 * posix/Makefile (tests): Add it.
14724 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14727 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14728 when no services were used.
14729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14730 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14732 2013-05-21 Andreas Schwab <schwab@suse.de>
14735 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14736 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14738 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14739 redundant variable declarations and reallocation of buffer when
14740 parsing as IPv6 address. Always set NSS status when called from
14741 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14742 buffer too small. Correct computation of needed size.
14743 * nss/Makefile (tests): Add test-digits-dots.
14744 * nss/test-digits-dots.c: New test.
14746 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14748 * benchtests/Makefile: Remove instructions for adding
14750 * benchtests/README: New file to explain how to execute and
14751 enhance the benchmark tests.
14753 2013-05-21 Andreas Schwab <schwab@suse.de>
14756 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14757 * setjmp/tst-sigsetjmp.c: New test.
14759 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14761 * sysdeps/x86_64/memset.S (memset): New implementation.
14762 (__bzero): Likewise.
14763 (__memset_tail): New function.
14765 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14767 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14768 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14769 __memcpy_sse2_unaligned ifunc selection.
14770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14771 Add memcpy-sse2-unaligned.S.
14772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14773 Add: __memcpy_sse2_unaligned.
14775 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14778 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14779 math_force_eval before restoring floating-point envrionment.
14780 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14781 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14783 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14785 (__nearbyintl): Use math_force_eval before restoring
14786 floating-point environment.
14787 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14789 * math/gen-libm-test.pl (special_functions): Remove.
14790 (parse_args): Don't handle TEST_extra. Handle functions with no
14792 * math/libm-test.inc (struct test_sincos_data): Replace with
14793 struct test_fFF_11_data.
14794 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14795 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14796 (sincos_test_data): Change element type to struct
14797 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14798 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14799 RUN_TEST_LOOP_sincos.
14800 * math/README.libm-test: Don't mention special handling of
14801 individual functions.
14802 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14804 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14805 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14806 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14809 * math/gen-libm-test.pl (get_variable): Remove function.
14810 (parse_args): Don't show pointer parameters to call in test
14811 names. Use "extra output N" in test names for extra outputs
14812 rather than naming variables.
14814 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14817 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14818 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14819 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14821 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14823 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14826 * math/gen-libm-test.pl (@tests): Remove variable.
14827 ($count): Likewise.
14828 (new_test): Remove function.
14829 (show_exceptions): New function.
14830 (special_functions): Use show_exceptions instead of new_test.
14831 (parse_args): Likewise.
14832 (generate_testfile): Pass only function name in generated call to
14833 print_max_error or print_complex_max_error.
14834 (get_ulps): Do not handle complex tests specially.
14835 (output_test): Rename to ...
14836 (get_all_ulps_for_test): ... this. Return a string rather than
14837 printing to a file. Require ulps to be present.
14838 (output_ulps): Generate arrays rather than #defines.
14839 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14840 (struct ulp_data): New type.
14841 (BUILD_COMPLEX_ULP): Remove macro.
14842 (compare_ulp_data): New function.
14843 (find_ulps): Likewise.
14844 (find_test_ulps): Likewise.
14845 (find_function_ulps): Likewise.
14846 (find_complex_function_ulps): Likewise.
14847 (print_max_error): Determine allowed ulps using
14848 find_function_ulps.
14849 (print_complex_max_error): Determine allowed ulps using
14850 find_complex_function_ulps.
14851 (check_float_internal): Determine max ulps using find_test_ulps.
14852 (check_float): Do not take max_ulp parameter. Update call to
14853 check_float_internal.
14854 (check_complex): Likewise.
14855 (check_int): Do not take max_ulp parameter.
14856 (check_long): Likewise.
14857 (check_bool): Likewise.
14858 (check_longlong): Likewise.
14859 (struct test_f_f_data): Remove max_ulp field.
14860 (struct test_ff_f_data): Likewise.
14861 (struct test_ff_f_data_nexttoward): Likewise.
14862 (struct test_fi_f_data): Likewise.
14863 (struct test_fl_f_data): Likewise.
14864 (struct test_if_f_data): Likewise.
14865 (struct test_fff_f_data): Likewise.
14866 (struct test_c_f_data): Likewise.
14867 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14868 (struct test_fF_f1_data): Likewise.
14869 (struct test_ffI_f1_data): Likewise.
14870 (struct test_c_c_data): Remove max_ulp field.
14871 (struct test_cc_c_data): Likewise.
14872 (struct test_f_i_data): Likewise.
14873 (struct test_ff_i_data): Likewise.
14874 (struct test_f_l_data): Likewise.
14875 (struct test_f_L_data): Likewise.
14876 (struct test_sincos_data): Likewise.
14877 (RUN_TEST_f_f): Do not handle ulps.
14878 (RUN_TEST_LOOP_f_f): Likewise.
14879 (RUN_TEST_2_f): Likewise.
14880 (RUN_TEST_LOOP_2_f): Likewise.
14881 (RUN_TEST_fff_f): Likewise.
14882 (RUN_TEST_LOOP_fff_f): Likewise.
14883 (RUN_TEST_c_f): Likewise.
14884 (RUN_TEST_LOOP_c_f): Likewise.
14885 (RUN_TEST_f_f1): Likewise.
14886 (RUN_TEST_LOOP_f_f1): Likewise.
14887 (RUN_TEST_fF_f1): Likewise.
14888 (RUN_TEST_LOOP_fF_f1): Likewise.
14889 (RUN_TEST_fI_f1): Likewise.
14890 (RUN_TEST_LOOP_fI_f1): Likewise.
14891 (RUN_TEST_ffI_f1): Likewise.
14892 (RUN_TEST_LOOP_ffI_f1): Likewise.
14893 (RUN_TEST_c_c): Likewise.
14894 (RUN_TEST_LOOP_c_c): Likewise.
14895 (RUN_TEST_cc_c): Likewise.
14896 (RUN_TEST_LOOP_cc_c): Likewise.
14897 (RUN_TEST_f_i): Likewise.
14898 (RUN_TEST_LOOP_f_i): Likewise.
14899 (RUN_TEST_f_i_tg): Likewise.
14900 (RUN_TEST_LOOP_f_i_tg): Likewise.
14901 (RUN_TEST_ff_i_tg): Likewise.
14902 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14903 (RUN_TEST_f_b): Likewise.
14904 (RUN_TEST_LOOP_f_b): Likewise.
14905 (RUN_TEST_f_b_tg): Likewise.
14906 (RUN_TEST_LOOP_f_b_tg): Likewise.
14907 (RUN_TEST_f_l): Likewise.
14908 (RUN_TEST_LOOP_f_l): Likewise.
14909 (RUN_TEST_f_L): Likewise.
14910 (RUN_TEST_LOOP_f_L): Likewise.
14911 (RUN_TEST_sincos): Likewise.
14912 (RUN_TEST_LOOP_sincos): Likewise.
14914 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14918 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14919 main case of finite arguments, set rounding mode to FE_TONEAREST
14920 and discard exceptions.
14921 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14923 (remainder_tonearest_test_data): New variable.
14924 (remainder_test_tonearest): New function.
14925 (remainder_towardzero_test_data): New variable.
14926 (remainder_test_towardzero): New function.
14927 (remainder_downward_test_data): New variable.
14928 (remainder_test_downward): New function.
14929 (remainder_upward_test_data): New variable.
14930 (remainder_test_upward): New function.
14931 (main): Call the new test functions.
14933 * math/libm-test.inc (struct test_f_f1_data): Remove field
14935 (struct test_fF_f1_data): Likewise.
14936 (struct test_ffI_f1_data): Likewise.
14937 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14938 based on value of EXTRA_EXPECTED.
14939 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14940 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14941 EXTRA_VAR based on value of EXTRA_EXPECTED.
14942 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14943 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14944 EXTRA_VAR based on value of EXTRA_EXPECTED.
14945 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14946 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14947 EXTRA_VAR based on value of EXTRA_EXPECTED.
14948 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14949 * math/gen-libm-test.pl (parse_args): Don't output initializers
14950 for extra output values.
14952 * math/libm-test.inc (check_int): Expect result to be exactly
14953 equal to expected value and do not handle ulps.
14954 (check_long): Likewise.
14955 (check_longlong): Likewise.
14957 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14959 (cimag_test_data): Likewise.
14960 (conj_test_data): Likewise.
14961 (copysign_test_data): Likewise.
14962 (cproj_test_data): Likewise.
14963 (creal_test_data): Likewise.
14964 (fabs_test_data): Likewise.
14965 (fdim_test_data): Likewise.
14966 (finite_test_data): Likewise.
14967 (floor_test_data): Likewise.
14968 (fmax_test_data): Likewise.
14969 (fmin_test_data): Likewise.
14970 (fmod_test_data): Likewise.
14971 (fpclassify_test_data): Likewise.
14972 (frexp_test_data): Likewise.
14973 (ilogb_test_data): Likewise.
14974 (isfinite_test_data): Likewise.
14975 (isgreater_test_data): Likewise.
14976 (isgreaterequal_test_data): Likewise.
14977 (isinf_test_data): Likewise.
14978 (isless_test_data): Likewise.
14979 (islessequal_test_data): Likewise.
14980 (islessgreater_test_data): Likewise.
14981 (isnan_test_data): Likewise.
14982 (isnormal_test_data): Likewise.
14983 (issignaling_test_data): Likewise.
14984 (isunordered_test_data): Likewise.
14985 (ldexp_test_data): Likewise.
14986 (lrint_test_data): Likewise.
14987 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14988 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14989 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14990 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14991 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14992 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14994 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14995 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14996 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14997 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14999 (lrint_downward_test_data): Test for "inexact" exceptions.
15000 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15001 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15002 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15004 (lrint_upward_test_data): Test for "inexact" exceptions.
15005 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15007 (llrint_test_data): Test for "inexact" exceptions.
15008 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15009 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15010 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15011 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15012 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15013 (llrint_downward_test_data): Test for "inexact" exceptions.
15014 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15015 (llrint_upward_test_data): Test for "inexact" exceptions.
15016 (logb_test_data): Likewise.
15017 (logb_downward_test_data): Likewise.
15018 (nextafter_test_data): Likewise.
15019 (nexttoward_test_data): Likewise.
15020 (remainder_test_data): Likewise.
15021 (remquo_test_data): Likewise.
15022 (scalbn_test_data): Likewise.
15023 (scalbln_test_data): Likewise.
15024 (signbit_test_data): Likewise.
15025 (sqrt_test_data): Likewise.
15026 (significand_test_data): Likewise.
15028 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15031 * benchtests/bench-modf.c (struct args): Mark arg0 as
15033 * scripts/bench.pl: Mark members of struct args as volatile.
15035 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15038 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15039 negative infinity on POWER6 or lower.
15040 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15042 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15045 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15046 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15047 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15048 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15049 (_FP_SETQNAN): New macro.
15050 (_FP_SETQNAN_SEMIRAW): Likewise.
15051 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15052 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15053 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15054 (FP_EXTEND): Use _FP_FRAC_SNANP.
15055 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15056 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15058 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15063 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15065 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15066 with DIVIDE_BY_ZERO_EXCEPTION.
15067 (gamma_test_data): Likewise.
15068 (lgamma_test_data): Likewise.
15069 (log_test_data): Likewise.
15070 (log10_test_data): Likewise.
15071 (log2_test_data): Likewise.
15072 (tgamma_test_data): Likewise.
15074 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15075 (acos_test_tonearest): Likewise.
15076 (acos_test_towardzero): Likewise.
15077 (acos_test_downward): Likewise.
15078 (acos_test_upward): Likewise.
15079 (acosh_test): Likewise.
15080 (asin_test): Likewise.
15081 (asin_test_tonearest): Likewise.
15082 (asin_test_towardzero): Likewise.
15083 (asin_test_downward): Likewise.
15084 (asin_test_upward): Likewise.
15085 (asinh_test): Likewise.
15086 (atan_test): Likewise.
15087 (atanh_test): Likewise.
15088 (atan2_test): Likewise.
15089 (cabs_test): Likewise.
15090 (cacos_test): Likewise.
15091 (cacosh_test): Likewise.
15092 (casin_test): Likewise.
15093 (casinh_test): Likewise.
15094 (catan_test): Likewise.
15095 (catanh_test): Likewise.
15096 (cbrt_test): Likewise.
15097 (ccos_test): Likewise.
15098 (ccosh_test): Likewise.
15099 (cexp_test): Likewise.
15100 (clog_test): Likewise.
15101 (clog10_test): Likewise.
15102 (cos_test): Likewise.
15103 (cos_test_tonearest): Likewise.
15104 (cos_test_towardzero): Likewise.
15105 (cos_test_downward): Likewise.
15106 (cos_test_upward): Likewise.
15107 (cosh_test): Likewise.
15108 (cosh_test_tonearest): Likewise.
15109 (cosh_test_towardzero): Likewise.
15110 (cosh_test_downward): Likewise.
15111 (cosh_test_upward): Likewise.
15112 (cpow_test): Likewise.
15113 (csin_test): Likewise.
15114 (csinh_test): Likewise.
15115 (csqrt_test): Likewise.
15116 (ctan_test): Likewise.
15117 (ctan_test_tonearest): Likewise.
15118 (ctan_test_towardzero): Likewise.
15119 (ctan_test_downward): Likewise.
15120 (ctan_test_upward): Likewise.
15121 (ctanh_test): Likewise.
15122 (ctanh_test_tonearest): Likewise.
15123 (ctanh_test_towardzero): Likewise.
15124 (ctanh_test_downward): Likewise.
15125 (ctanh_test_upward): Likewise.
15126 (erf_test): Likewise.
15127 (erfc_test): Likewise.
15128 (exp_test): Likewise.
15129 (exp_test_tonearest): Likewise.
15130 (exp_test_towardzero): Likewise.
15131 (exp_test_downward): Likewise.
15132 (exp_test_upward): Likewise.
15133 (exp10_test): Likewise.
15134 (exp2_test): Likewise.
15135 (expm1_test): Likewise.
15136 (fmod_test): Likewise.
15137 (gamma_test): Likewise.
15138 (hypot_test): Likewise.
15139 (j0_test): Likewise.
15140 (j1_test): Likewise.
15141 (jn_test): Likewise.
15142 (lgamma_test): Likewise.
15143 (log_test): Likewise.
15144 (log10_test): Likewise.
15145 (log1p_test): Likewise.
15146 (log2_test): Likewise.
15147 (logb_test_downward): Likewise.
15148 (pow_test): Likewise.
15149 (pow_test_tonearest): Likewise.
15150 (pow_test_towardzero): Likewise.
15151 (pow_test_downward): Likewise.
15152 (pow_test_upward): Likewise.
15153 (remainder_test): Likewise.
15154 (remquo_test): Likewise.
15155 (sin_test): Likewise.
15156 (sin_test_tonearest): Likewise.
15157 (sin_test_towardzero): Likewise.
15158 (sin_test_downward): Likewise.
15159 (sin_test_upward): Likewise.
15160 (sincos_test): Likewise.
15161 (sinh_test): Likewise.
15162 (sinh_test_tonearest): Likewise.
15163 (sinh_test_towardzero): Likewise.
15164 (sinh_test_downward): Likewise.
15165 (sinh_test_upward): Likewise.
15166 (sqrt_test): Likewise.
15167 (tan_test): Likewise.
15168 (tan_test_tonearest): Likewise.
15169 (tan_test_towardzero): Likewise.
15170 (tan_test_downward): Likewise.
15171 (tan_test_upward): Likewise.
15172 (tanh_test): Likewise.
15173 (tgamma_test): Likewise.
15174 (y0_test): Likewise.
15175 (y1_test): Likewise.
15176 (yn_test): Likewise.
15178 * math/gen-libm-test.pl (adjust_arg): Remove function.
15179 (special_function): Remove argument $in_func. Only handle
15180 generating output for tables of tests, not inside functions.
15181 (parse_args): Likewise.
15182 (generate_testfile): Remove variable $in_func. Update call to
15184 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15185 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15186 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15187 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15188 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15189 (MAX_VALUE_INIT): Rename macro to max_value.
15190 (MIN_VALUE_INIT): Rename macro to min_value.
15191 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15192 (plus_zero): Remove variable.
15193 (minus_zero): Likewise.
15194 (plus_infty): Likewise.
15195 (minus_infty): Likewise.
15196 (qnan_value): Likewise.
15197 (max_value): Likewise.
15198 (min_value): Likewise.
15199 (min_subnorm_value): Likewise.
15201 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15203 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15204 uint64_t or uint32_t usage.
15205 * crypt/sha256-block.c: Likewise.
15206 * crypt/sha256-crypt.c: Likewise.
15207 * crypt/sha256.c: Likewise.
15208 * crypt/sha512-block.c: Likewise.
15209 * crypt/sha512-crypt.c: Likewise.
15210 * crypt/sha512.c: Likewise.
15211 * debug/backtrace-tst.c: Likewise.
15212 * debug/pcprofiledump.c: Likewise.
15213 * elf/cache.c: Likewise.
15214 * elf/dl-cache.c: Likewise.
15215 * elf/dl-misc.c: Likewise.
15216 * elf/dl-profile.c: Likewise.
15217 * elf/dl-support.c: Likewise.
15218 * elf/ldconfig.c: Likewise.
15219 * elf/sprof.c: Likewise.
15220 * iconv/dummy-repertoire.c: Likewise.
15221 * iconv/iconv_charmap.c: Likewise.
15222 * iconv/skeleton.c: Likewise.
15223 * iconvdata/8bit-generic.c: Likewise.
15224 * iconvdata/cp737.h: Likewise.
15225 * iconvdata/cp775.h: Likewise.
15226 * iconvdata/ibm1008.h: Likewise.
15227 * iconvdata/ibm1025.h: Likewise.
15228 * iconvdata/ibm1046.h: Likewise.
15229 * iconvdata/ibm1097.h: Likewise.
15230 * iconvdata/ibm1112.h: Likewise.
15231 * iconvdata/ibm1122.h: Likewise.
15232 * iconvdata/ibm1123.h: Likewise.
15233 * iconvdata/ibm1124.h: Likewise.
15234 * iconvdata/ibm1129.h: Likewise.
15235 * iconvdata/ibm1130.h: Likewise.
15236 * iconvdata/ibm1132.h: Likewise.
15237 * iconvdata/ibm1133.h: Likewise.
15238 * iconvdata/ibm1137.h: Likewise.
15239 * iconvdata/ibm1140.h: Likewise.
15240 * iconvdata/ibm1141.h: Likewise.
15241 * iconvdata/ibm1142.h: Likewise.
15242 * iconvdata/ibm1143.h: Likewise.
15243 * iconvdata/ibm1144.h: Likewise.
15244 * iconvdata/ibm1145.h: Likewise.
15245 * iconvdata/ibm1146.h: Likewise.
15246 * iconvdata/ibm1147.h: Likewise.
15247 * iconvdata/ibm1148.h: Likewise.
15248 * iconvdata/ibm1149.h: Likewise.
15249 * iconvdata/ibm1153.h: Likewise.
15250 * iconvdata/ibm1154.h: Likewise.
15251 * iconvdata/ibm1155.h: Likewise.
15252 * iconvdata/ibm1156.h: Likewise.
15253 * iconvdata/ibm1157.h: Likewise.
15254 * iconvdata/ibm1158.h: Likewise.
15255 * iconvdata/ibm1160.h: Likewise.
15256 * iconvdata/ibm1161.h: Likewise.
15257 * iconvdata/ibm1162.h: Likewise.
15258 * iconvdata/ibm1163.h: Likewise.
15259 * iconvdata/ibm1164.h: Likewise.
15260 * iconvdata/ibm1166.h: Likewise.
15261 * iconvdata/ibm1167.h: Likewise.
15262 * iconvdata/ibm12712.h: Likewise.
15263 * iconvdata/ibm1390.h: Likewise.
15264 * iconvdata/ibm1399.h: Likewise.
15265 * iconvdata/ibm16804.h: Likewise.
15266 * iconvdata/ibm4517.h: Likewise.
15267 * iconvdata/ibm4899.h: Likewise.
15268 * iconvdata/ibm4909.h: Likewise.
15269 * iconvdata/ibm4971.h: Likewise.
15270 * iconvdata/ibm5347.h: Likewise.
15271 * iconvdata/ibm803.h: Likewise.
15272 * iconvdata/ibm856.h: Likewise.
15273 * iconvdata/ibm901.h: Likewise.
15274 * iconvdata/ibm902.h: Likewise.
15275 * iconvdata/ibm9030.h: Likewise.
15276 * iconvdata/ibm9066.h: Likewise.
15277 * iconvdata/ibm921.h: Likewise.
15278 * iconvdata/ibm922.h: Likewise.
15279 * iconvdata/ibm9448.h: Likewise.
15280 * iconvdata/isiri-3342.h: Likewise.
15281 * iconvdata/jis0201.h: Likewise.
15282 * include/link.h: Likewise.
15283 * include/netdb.h: Likewise.
15284 * inet/check_native.c: Likewise.
15285 * inet/check_pf.c: Likewise.
15286 * inet/getipv4sourcefilter.c: Likewise.
15287 * inet/getnameinfo.c: Likewise.
15288 * inet/getsourcefilter.c: Likewise.
15289 * inet/htonl.c: Likewise.
15290 * inet/setipv4sourcefilter.c: Likewise.
15291 * inet/setsourcefilter.c: Likewise.
15292 * inet/test-inet6_opt.c: Likewise.
15293 * inet/tst-network.c: Likewise.
15294 * locale/C-collate.c: Likewise.
15295 * locale/C-ctype.c: Likewise.
15296 * locale/C-time.c: Likewise.
15297 * locale/C-translit.h: Likewise.
15298 * locale/loadarchive.c: Likewise.
15299 * locale/programs/3level.h: Likewise.
15300 * locale/programs/charmap.c: Likewise.
15301 * locale/programs/charmap.h: Likewise.
15302 * locale/programs/ld-address.c: Likewise.
15303 * locale/programs/ld-collate.c: Likewise.
15304 * locale/programs/ld-ctype.c: Likewise.
15305 * locale/programs/ld-identification.c: Likewise.
15306 * locale/programs/ld-measurement.c: Likewise.
15307 * locale/programs/ld-messages.c: Likewise.
15308 * locale/programs/ld-monetary.c: Likewise.
15309 * locale/programs/ld-name.c: Likewise.
15310 * locale/programs/ld-numeric.c: Likewise.
15311 * locale/programs/ld-paper.c: Likewise.
15312 * locale/programs/ld-telephone.c: Likewise.
15313 * locale/programs/ld-time.c: Likewise.
15314 * locale/programs/linereader.c: Likewise.
15315 * locale/programs/locale.c: Likewise.
15316 * locale/programs/locarchive.c: Likewise.
15317 * locale/programs/locfile.h: Likewise.
15318 * locale/programs/repertoire.c: Likewise.
15319 * locale/programs/simple-hash.c: Likewise.
15320 * locale/programs/simple-hash.h: Likewise.
15321 * malloc/memusage.c: Likewise.
15322 * malloc/memusagestat.c: Likewise.
15323 * nis/nis_defaults.c: Likewise.
15324 * nis/nis_hash.c: Likewise.
15325 * nis/nis_print.c: Likewise.
15326 * nis/nis_xdr.c: Likewise.
15327 * nscd/connections.c: Likewise.
15328 * nscd/hstcache.c: Likewise.
15329 * nscd/nscd_gethst_r.c: Likewise.
15330 * nscd/nscd_getserv_r.c: Likewise.
15331 * nscd/nscd_helper.c: Likewise.
15332 * nscd/servicescache.c: Likewise.
15333 * nss/makedb.c: Likewise.
15334 * nss/nss_db/db-XXX.c: Likewise.
15335 * nss/nss_db/db-initgroups.c: Likewise.
15336 * nss/nss_db/db-netgrp.c: Likewise.
15337 * nss/nss_files/files-network.c: Likewise.
15338 * nss/nss_files/files-parse.c: Likewise.
15339 * posix/bug-regex5.c: Likewise.
15340 * posix/fnmatch_loop.c: Likewise.
15341 * posix/regcomp.c: Likewise.
15342 * posix/regexec.c: Likewise.
15343 * posix/tst-rfc3484-2.c: Likewise.
15344 * posix/tst-rfc3484-3.c: Likewise.
15345 * posix/tst-rfc3484.c: Likewise.
15346 * resolv/nss_dns/dns-canon.c: Likewise.
15347 * resolv/nss_dns/dns-network.c: Likewise.
15348 * resolv/res_init.c: Likewise.
15349 * resolv/res_mkquery.c: Likewise.
15350 * resolv/tst-aton.c: Likewise.
15351 * stdlib/cxa_atexit.c: Likewise.
15352 * stdlib/cxa_finalize.c: Likewise.
15353 * stdlib/gen-fpioconst.c: Likewise.
15354 * stdlib/strtol_l.c: Likewise.
15355 * string/tst-endian.c: Likewise.
15356 * sunrpc/auth_des.c: Likewise.
15357 * sunrpc/clnt_udp.c: Likewise.
15358 * sunrpc/rtime.c: Likewise.
15359 * sunrpc/svcauth_des.c: Likewise.
15360 * sunrpc/xdr.c: Likewise.
15361 * sunrpc/xdr_intXX_t.c: Likewise.
15362 * sunrpc/xdr_rec.c: Likewise.
15363 * sysdeps/generic/ldconfig.h: Likewise.
15364 * sysdeps/generic/ldsodefs.h: Likewise.
15365 * sysdeps/generic/memusage.h: Likewise.
15366 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15372 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15374 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15376 * sysdeps/posix/getaddrinfo.c: Likewise.
15377 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15378 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15379 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15380 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15381 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15382 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15383 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15384 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15385 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15386 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15387 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15388 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15389 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15390 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15391 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15392 * sysdeps/x86_64/dl-tls.h: Likewise.
15393 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15394 * time/alt_digit.c: Likewise.
15395 * time/era.c: Likewise.
15396 * wcsmbs/tst-c16c32-1.c: Likewise.
15398 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15400 * math/libm-test.inc (struct test_sincos_data): New type.
15401 (RUN_TEST_LOOP_sincos): New macro.
15402 (sincos_test_data): New variable.
15403 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15405 2013-05-16 Richard Henderson <rth@redhat.com>
15407 * math/atest-exp2.c (LIMB64): New macro.
15408 (CONSTSZ): New macro.
15409 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15411 (print_mpn_fp): ... to function scope.
15412 (read_mpn_hex): Remove.
15413 (get_log2): Remove.
15414 (exp2_mpn): Use mp_log2.
15415 (main): Use mp_exp1.
15417 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15419 * math/libm-test.inc: Remove comment about not testing "inexact"
15421 (INEXACT_EXCEPTION): New macro.
15422 (NO_INEXACT_EXCEPTION): Likewise.
15423 (INVALID_EXCEPTION_OK): Update value.
15424 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15425 (OVERFLOW_EXCEPTION_OK): Likewise.
15426 (UNDERFLOW_EXCEPTION_OK): Likewise.
15427 (IGNORE_ZERO_INF_SIGN): Likewise.
15428 (ERRNO_UNCHANGED): Likewise.
15429 (ERRNO_EDOM): Likewise.
15430 (ERRNO_ERANGE): Likewise.
15431 (test_exceptions): Handle testing "inexact" exceptions.
15432 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15433 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15434 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15435 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15437 (rint_towardzero_test_data): Likewise.
15438 (rint_downward_test_data): Likewise.
15439 (rint_upward_test_data): Likewise.
15441 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15442 with OVERFLOW_EXCEPTION.
15443 (exp10_test_data): Likewise.
15444 (exp2_test_data): Likewise.
15445 (expm1_test_data): Likewise.
15446 (lgamma_test_data): Likewise.
15447 (pow_test_data): Likewise.
15448 (tgamma_test_data): Likewise.
15449 (yn_test_data): Remove duplicate test of overflow.
15451 * math/libm-test.inc (struct test_cc_c_data): New type.
15452 (RUN_TEST_LOOP_cc_c): New macro.
15453 (cpow_test_data): New variable.
15454 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15456 * math/libm-test.inc (struct test_f_L_data): New type.
15457 (RUN_TEST_LOOP_f_L): New macro.
15458 (llrint_test_data): New variable.
15459 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15460 (llrint_tonearest_test_data): New variable.
15461 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15462 (llrint_towardzero_test_data): New variable.
15463 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15464 (llrint_downward_test_data): New variable.
15465 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15466 (llrint_upward_test_data): New variable.
15467 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15468 (llround_test_data): New variable.
15469 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15471 2013-05-13 Peter Collingbourne <pcc@google.com>
15473 * math/atest-exp2.c (get_log2): Remove const attribute.
15475 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15477 * math/libm-test.inc (struct test_f_l_data): New type.
15478 (RUN_TEST_LOOP_f_l): New macro.
15479 (lrint_test_data): New variable.
15480 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15481 (lrint_tonearest_test_data): New variable.
15482 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15483 (lrint_towardzero_test_data): New variable.
15484 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15485 (lrint_downward_test_data): New variable.
15486 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15487 (lrint_upward_test_data): New variable.
15488 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15489 (lround_test_data): New variable.
15490 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15492 2013-05-15 Peter Collingbourne <pcc@google.com>
15494 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15495 (EXTRACT_WORDS64) Use where appropriate.
15496 (INSERT_WORDS64) Likewise.
15498 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15499 constraints with x constraints.
15500 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15502 * malloc/obstack.c (_obstack_compat): Add initializer.
15504 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15506 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15507 si_trapno and add si_addr_lsb to _sifields.sigfault.
15508 (si_trapno): Remove macro.
15509 (si_addr_lsb): Define new macro.
15510 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15512 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15514 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15515 instead of TEST_f_l.
15516 (llrint_test_tonearest): Likewise.
15517 (llrint_test_towardzero): Likewise.
15518 (llrint_test_downward): Likewise.
15519 (llrint_test_upward): Likewise.
15520 (llround_test): Likewise.
15522 * math/libm-test.inc (struct test_f_i_data): Add comment.
15523 (RUN_TEST_LOOP_f_b): New macro.
15524 (RUN_TEST_LOOP_f_b_tg): Likewise.
15525 (finite_test_data): New variable.
15526 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15527 (isfinite_test_data): New variable.
15528 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15529 (isinf_test_data): New variable.
15530 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15531 (isnan_test_data): New variable.
15532 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15533 (isnormal_test_data): New variable.
15534 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15535 (issignaling_test_data): New variable.
15536 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15537 (signbit_test_data): New variable.
15538 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15540 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15541 with INVALID_EXCEPTION.
15542 (acosh_test_data): Likewise.
15543 (asin_test_data): Likewise.
15544 (atanh_test_data): Likewise.
15545 (fmod_test_data): Likewise.
15546 (log_test_data): Likewise.
15547 (log10_test_data): Likewise.
15548 (log2_test_data): Likewise.
15549 (pow_test_data): Likewise.
15550 (sqrt_test_data): Likewise.
15551 (y0_test_data): Likewise.
15552 (y1_test_data): Likewise.
15553 (yn_test_data): Likewise.
15555 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15558 * math/libm-test.inc (struct test_ff_i_data): New type.
15559 (RUN_TEST_LOOP_ff_i_tg): New macro.
15560 (isgreater_test_data): New variable.
15561 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15562 (isgreaterequal_test_data): New variable.
15563 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15564 (isless_test_data): New variable.
15565 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15566 (islessequal_test_data): New variable.
15567 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15568 (islessgreater_test_data): New variable.
15569 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15570 (isunordered_test_data): New variable.
15571 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15573 2013-05-14 David S. Miller <davem@davemloft.net>
15575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15577 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15579 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15581 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15583 (struct test_f_i_data): Change type of max_ulp to int.
15585 * math/libm-test.inc (test_ffI_f1_data): New type.
15586 (RUN_TEST_LOOP_ffI_f1): New macro.
15587 (remquo_test_data): New variable.
15588 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15590 * setjmp/tst-setjmp-fp.c: New file.
15591 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15592 (link-libm): New variable.
15593 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15595 * math/libm-test.inc (struct test_f_i_data): New type.
15596 (RUN_TEST_LOOP_f_i): New macro.
15597 (RUN_TEST_LOOP_f_i_tg): Likewise.
15598 (fpclassify_test_data): New variable.
15599 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15600 (ilogb_test_data): New variable.
15601 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15603 * math/libm-test.inc (scalbln_test): Correct function name in END
15606 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15607 (RUN_TEST_LOOP_fI_f1): New macro.
15608 (frexp_test_data): New variable.
15609 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15611 * math/libm-test.inc (struct test_fF_f1_data): New type.
15612 (RUN_TEST_LOOP_fF_f1): New macro.
15613 (modf_test_data): New variable.
15614 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15616 * math/libm-test.inc (struct test_f_f1_data): New type.
15617 (RUN_TEST_LOOP_f_f1): New macro.
15618 (gamma_test_data): New variable.
15619 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15620 (lgamma_test_data): New variable.
15621 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15623 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15625 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15626 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15627 (main): Comment "tls" pseudo-hwcap.
15629 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15631 * math/libm-test.inc (struct test_fl_f_data): New type.
15632 (RUN_TEST_LOOP_fl_f): New variable.
15633 (scalbln_test_data): New variable.
15634 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15636 * math/libm-test.inc (struct test_fi_f_data): New type.
15637 (RUN_TEST_LOOP_fi_f): New macro.
15638 (ldexp_test_data): New variable.
15639 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15640 (scalbn_test_data): New variable.
15641 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15643 * math/libm-test.inc (struct test_c_f_data): New type.
15644 (RUN_TEST_LOOP_c_f): New macro.
15645 (cabs_test_data): New variable.
15646 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15647 (carg_test_data): New variable.
15648 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15649 (cimag_test_data): New variable.
15650 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15651 (creal_test_data): New variable.
15652 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15654 * math/libm-test.inc (struct test_if_f_data): New type.
15655 (RUN_TEST_LOOP_if_f): New macro.
15656 (jn_test_data): New variable.
15657 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15658 (yn_test_data): New variable.
15659 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15661 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15663 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15665 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15666 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15668 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15670 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15671 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15672 (bench-deps): Add bench-timing.h.
15673 * benchtests-bench-skeleton.c: Include bench-timing.h.
15674 (main): Use TIMING_* macros instead of clock_gettime.
15675 * benchtests/bench-timing.h: New file.
15678 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15679 Renamed from _LIB_VERSION.
15680 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15682 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15684 * math/libm-test.inc (struct test_fff_f_data): New type.
15685 (RUN_TEST_LOOP_fff_f): New macro.
15686 (fma_test_data): New variable.
15687 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15688 (fma_towardzero_test_data): New variable.
15689 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15690 (fma_downward_test_data): New variable.
15691 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15692 (fma_upward_test_data): New variable.
15693 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15695 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15696 (struct test_c_c_data): New type.
15697 (RUN_TEST_LOOP_c_c): New macro.
15698 (cacos_test_data): New variable.
15699 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15700 (cacosh_test_data): New variable.
15701 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15702 (casin_test_data): New variable.
15703 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15704 (casinh_test_data): New variable.
15705 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15706 (catan_test_data): New variable.
15707 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15708 (catanh_test_data): New variable.
15709 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15710 (ccos_test_data): New variable.
15711 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15712 (ccosh_test_data): New variable.
15713 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15714 (cexp_test_data): New variable.
15715 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15716 (clog_test_data): New variable.
15717 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15718 (clog10_test_data): New variable.
15719 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15720 (conj_test_data): New variable.
15721 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15722 (cproj_test_data): New variable.
15723 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15724 (csin_test_data): New variable.
15725 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15726 (csinh_test_data): New variable.
15727 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15728 (csqrt_test_data): New variable.
15729 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15730 (ctan_test_data): New variable.
15731 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15732 (ctan_tonearest_test_data): New variable.
15733 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15734 (ctan_towardzero_test_data): New variable.
15735 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15736 (ctan_downward_test_data): New variable.
15737 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15738 (ctan_upward_test_data): New variable.
15739 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15740 (ctanh_test_data): New variable.
15741 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15742 (ctanh_tonearest_test_data): New variable.
15743 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15744 (ctanh_towardzero_test_data): New variable.
15745 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15746 (ctanh_downward_test_data): New variable.
15747 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15748 (ctanh_upward_test_data): New variable.
15749 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15750 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15753 * math/libm-test.inc (struct test_ff_f_data): New type.
15754 (struct test_ff_f_data_nexttoward): Likewise.
15755 (RUN_TEST_LOOP_2_f): New macro.
15756 (RUN_TEST_LOOP_ff_f): Likewise.
15757 (atan2_test_data): New variable.
15758 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15759 (copysign_test_data): New variable.
15760 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15761 (fdim_test_data): New variable.
15762 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15763 (fmax_test_data): New variable.
15764 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15765 (fmin_test_data): New variable.
15766 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15767 (fmod_test_data): New variable.
15768 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15769 (hypot_test_data): New variable.
15770 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15771 (nextafter_test_data): New variable.
15772 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15773 (nexttoward_test_data): New variable.
15774 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15775 (pow_test_data): New variable.
15776 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15777 (pow_tonearest_test_data): New variable.
15778 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15779 (pow_towardzero_test_data): New variable.
15780 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15781 (pow_downward_test_data): New variable.
15782 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15783 (pow_upward_test_data): New variable.
15784 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15785 (remainder_test_data): New variable.
15786 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15787 (scalb_test_data): New variable.
15788 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15789 * sysdeps/i386/fpu/libm-test-ulps: Update.
15791 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15793 * math/libm-test.inc (fma_test): Use max_value instead of local
15795 (nextafter_test): Likewise.
15797 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15798 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15799 (acos_downward_test_data): New variable.
15800 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15801 (acos_upward_test_data): New variable.
15802 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15803 (acosh_test_data): New variable.
15804 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15805 (asin_test_data): New variable.
15806 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15807 (asin_tonearest_test_data): New variable.
15808 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15809 (asin_towardzero_test_data): New variable.
15810 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15811 (asin_downward_test_data): New variable.
15812 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15813 (asin_upward_test_data): New variable.
15814 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15815 (asinh_test_data): New variable.
15816 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15817 (atan_test_data): New variable.
15818 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15819 (atanh_test_data): New variable.
15820 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15821 (cbrt_test_data): New variable.
15822 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15823 (ceil_test_data): New variable.
15824 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15825 (cos_test_data): New variable.
15826 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15827 (cos_tonearest_test_data): New variable.
15828 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15829 (cos_towardzero_test_data): New variable.
15830 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15831 (cos_downward_test_data): New variable.
15832 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15833 (cos_upward_test_data): New variable.
15834 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15835 (cosh_test_data): New variable.
15836 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15837 (cosh_tonearest_test_data): New variable.
15838 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15839 (cosh_towardzero_test_data): New variable.
15840 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15841 (cosh_downward_test_data): New variable.
15842 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15843 (cosh_upward_test_data): New variable.
15844 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15845 (erf_test_data): New variable.
15846 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15847 (erfc_test_data): New variable.
15848 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15849 (exp_test_data): New variable.
15850 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15851 (exp_tonearest_test_data): New variable.
15852 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15853 (exp_towardzero_test_data): New variable.
15854 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15855 (exp_downward_test_data): New variable.
15856 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15857 (exp_upward_test_data): New variable.
15858 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15859 (exp10_test_data): New variable.
15860 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15861 (exp2_test_data): New variable.
15862 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15863 (expm1_test_data): New variable.
15864 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15865 (fabs_test_data): New variable.
15866 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15867 (floor_test_data): New variable.
15868 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15869 (j0_test_data): New variable.
15870 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15871 (j1_test_data): New variable.
15872 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15873 (log_test_data): New variable.
15874 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15875 (log10_test_data): New variable.
15876 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15877 (log1p_test_data): New variable.
15878 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15879 (log2_test_data): New variable.
15880 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15881 (logb_test_data): New variable.
15882 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15883 (logb_downward_test_data): New variable.
15884 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15885 (nearbyint_test_data): New variable.
15886 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15887 (rint_test_data): New variable.
15888 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15889 (rint_tonearest_test_data): New variable.
15890 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15891 (rint_towardzero_test_data): New variable.
15892 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15893 (rint_downward_test_data): New variable.
15894 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15895 (rint_upward_test_data): New variable.
15896 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15897 (round_test_data): New variable.
15898 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15899 (sin_test_data): New variable.
15900 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15901 (sin_tonearest_test_data): New variable.
15902 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15903 (sin_towardzero_test_data): New variable.
15904 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15905 (sin_downward_test_data): New variable.
15906 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15907 (sin_upward_test_data): New variable.
15908 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15909 (sinh_test_data): New variable.
15910 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15911 (sinh_tonearest_test_data): New variable.
15912 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15913 (sinh_towardzero_test_data): New variable.
15914 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15915 (sinh_downward_test_data): New variable.
15916 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15917 (sinh_upward_test_data): New variable.
15918 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15919 (sqrt_test_data): New variable.
15920 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15921 (tan_test_data): New variable.
15922 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15923 (tan_tonearest_test_data): New variable.
15924 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15925 (tan_towardzero_test_data): New variable.
15926 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15927 (tan_downward_test_data): New variable.
15928 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15929 (tan_upward_test_data): New variable.
15930 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15931 (tanh_test_data): New variable.
15932 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15933 (tgamma_test_data): New variable.
15934 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15935 (trunc_test_data): New variable.
15936 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15937 (y0_test_data): New variable.
15938 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15939 (y1_test_data): New variable.
15940 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15941 (significand_test_data): New variable.
15942 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15944 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15947 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15949 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15951 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15953 2013-05-10 Andreas Jaeger <aj@suse.de>
15956 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15957 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15959 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15961 * math/gen-libm-test.pl (adjust_arg): New function.
15962 (special_functions): Handle generating output in both functions
15964 (parse_args): Likewise.
15965 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15966 $in_func argument to parse_args.
15967 * math/libm-test.inc (struct test_f_f_data): New type.
15968 (IF_ROUND_INIT_): New macro.
15969 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15970 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15971 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15972 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15973 (ROUND_RESTORE_): Likewise.
15974 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15975 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15976 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15977 (ROUND_RESTORE_FE_UPWARD): Likewise.
15978 (RUN_TEST_LOOP_f_f): New macro.
15979 (acos_test_data): New variable.
15980 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15981 (acos_tonearest_test_data): New variable.
15982 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15984 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15986 * benchtests/bench-skeleton.c (startup): Fix coding style.
15988 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15991 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15992 negative infinity argument.
15993 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15994 negative infinity argument.
15995 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15996 negative infinity argument.
15997 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16000 2013-05-10 Florian Weimer <fweimer@redhat.com>
16002 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16003 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16004 * iconv/iconv_prog.c (main): Likewise.
16005 * locale/programs/charmap-dir.c (charmap_readdir)
16006 (fopen_uncompressed): Likewise.
16007 * locale/programs/locfile.c (siblings_uncached)
16008 (write_locale_data): Use lstat64 instead of lstat.
16009 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16012 2013-05-10 Andreas Jaeger <aj@suse.de>
16015 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16017 Include <locale.h>.
16019 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16021 * elf/dl-close.c (_dl_close_worker): Add comments.
16023 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16026 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16028 (__ieee754_rem_pio2l): Update comments.
16031 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16033 (__ieee754_rem_pio2l): Update comments.
16035 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16036 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16038 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16041 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16042 (M_PI_34_LOG10El): Likewise.
16043 (M_PI2_LOG10El): Likewise.
16044 (M_PI4_LOG10El): Likewise.
16045 (M_PI_LOG10El): Likewise.
16047 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16051 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16053 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16054 (MINUS_ZERO_INIT): Likewise.
16055 (PLUS_INFTY_INIT): Likewise.
16056 (MINUS_INFTY_INIT): Likewise.
16057 (QNAN_VALUE_INIT): Likewise.
16058 (MAX_VALUE_INIT): Likewise.
16059 (MIN_VALUE_INIT): Likewise.
16060 (MIN_SUBNORM_VALUE_INIT): Likewise.
16061 (plus_zero): Initialize with PLUS_ZERO_INIT.
16062 (minus_zero): Initialize with MINUS_ZERO_INIT.
16063 (plus_infty): Initialize with PLUS_INFTY_INIT.
16064 (minus_infty): Initialize with MINUS_INFTY_INIT.
16065 (qnan_value): Initialize with QNAN_VALUE_INIT.
16066 (max_value): Initialize with MAX_VALUE_INIT.
16067 (min_value): Initialize with MIN_VALUE_INIT.
16068 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16070 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16071 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16072 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16073 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16075 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16076 (RUN_TEST_2_f): Likewise.
16077 (RUN_TEST_ff_f): Likewise.
16078 (RUN_TEST_fi_f): Likewise.
16079 (RUN_TEST_fl_f): Likewise.
16080 (RUN_TEST_fff_f): Likewise.
16081 (RUN_TEST_c_f): Likewise.
16082 (RUN_TEST_f_f1): Likewise.
16083 (RUN_TEST_fF_f1): Likewise.
16084 (RUN_TEST_fI_f1): Likewise.
16085 (RUN_TEST_ffI_f1): Likewise.
16086 (RUN_TEST_c_c): Likewise.
16087 (RUN_TEST_cc_c): Likewise.
16088 (RUN_TEST_f_i): Likewise.
16089 (RUN_TEST_f_i_tg): Likewise.
16090 (RUN_TEST_ff_i_tg): Likewise.
16091 (RUN_TEST_f_b): Likewise.
16092 (RUN_TEST_f_b_tg): Likewise.
16093 (RUN_TEST_f_l): Likewise.
16094 (RUN_TEST_f_L): Likewise.
16095 (RUN_TEST_sincos): Likewise.
16096 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16097 whether to show exceptions. Do not include ");\n" in return
16099 (special_functions): Output call to RUN_TEST_sincos instead of
16100 check_float calls. Update calls to new_test.
16101 (parse_args): Output call to single RUN_TEST_* macro instead of
16102 check_* calls and other assignments. Update calls to new_test.
16108 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16109 input to result for tgamma overflow.
16110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16111 (gamma_coeff): New variable.
16112 (NCOEFF): New macro.
16113 (gamma_positive): New function.
16114 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16115 underflow here. Use gamma_positive instead of exp (lgamma) for
16117 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16118 (gamma_coeff): New variable.
16119 (NCOEFF): New macro.
16120 (gammaf_positive): New function.
16121 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16122 underflow here. Use gamma_positive instead of exp (lgamma) for
16124 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16125 (gamma_coeff): New variable.
16126 (NCOEFF): New macro.
16127 (gammal_positive): New function.
16128 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16129 underflow here. Use gamma_positive instead of exp (lgamma) for
16131 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16132 (gamma_coeff): New variable.
16133 (NCOEFF): New macro.
16134 (gammal_positive): New function.
16135 (__ieee754_gammal_r): Handle positive infinity, overflow and
16136 underflow here. Handle NaN the same as positive infinity. Remove
16137 check x < 0xffffffff for negative integers. Use gamma_positive
16138 instead of exp (lgamma) for other arguments.
16139 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16140 (gamma_coeff): New variable.
16141 (NCOEFF): New macro.
16142 (gammal_positive): New function.
16143 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16144 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16148 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16149 * sysdeps/generic/math_private.h (__gamma_productf): New
16151 (__gamma_product): Likewise.
16152 (__gamma_productl): Likewise.
16153 * math/Makefile (libm-calls): Add gamma_product.
16154 * math/libm-test.inc (tgamma_test): Add more tests.
16155 * sysdeps/i386/fpu/libm-test-ulps: Update.
16156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16158 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16160 * benchtests/bench-skeleton.c (main): Preheat CPU.
16162 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16164 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16166 2013-05-07 Roland McGrath <roland@hack.frob.com>
16168 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16169 and _dl_skip_args_internal.
16171 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16173 * manual/message.texi (Message Translation): Talk about users.
16174 Message to key mapping impacts design.
16176 2013-05-06 Roland McGrath <roland@hack.frob.com>
16178 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16180 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16182 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16183 * sysdeps/wordsize-64/glob64.c: ... here.
16185 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16186 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16189 * debug/getlogin_r_chk.c: Moved to ...
16190 * login/getlogin_r_chk.c: ... here.
16191 * debug/Makefile (routines): Move getlogin_r_chk to ...
16192 * login/Makefile (routines): ... here.
16193 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16194 * login/Versions (libc: GLIBC_2.4): ... here.
16196 * io/poll.c (__poll): Renamed from poll.
16197 Add libc_hidden_def.
16198 (poll): Define as weak alias.
16200 * debug/ptsname_r_chk.c: Moved to ...
16201 * login/ptsname_r_chk.c: ... here.
16202 * debug/Makefile (routines): Move ptsname_r_chk to ...
16203 * login/Makefile (routines): ... here.
16204 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16205 * login/Versions (libc: GLIBC_2.4): ... here.
16207 * posix/getlogin.c: Moved to ...
16208 * login/getlogin.c: ... here.
16209 * posix/getlogin_r.c: Moved to ...
16210 * login/getlogin_r.c: ... here.
16211 * posix/getlogin_r.c: Moved to ...
16212 * login/getlogin_r.c: ... here.
16213 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16214 * login/Makefile (routines): ... here.
16215 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16216 * login/Versions (libc: GLIBC_2.0): ... here.
16218 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16219 (setrlimit): Define as weak alias.
16221 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16222 Call __ names for open, ftruncate, and close.
16223 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16224 (truncate): Define as weak alias.
16226 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16228 * math/gen-libm-test.pl (parse_args): Initialize x before each
16229 test of frexp, modf and remquo.
16231 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16232 test signgam value.
16234 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16238 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16240 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16242 2013-05-06 Roland McGrath <roland@hack.frob.com>
16244 * elf/dl-writev.h: New file.
16245 * elf/dl-misc.c: Include it.
16246 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16247 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16249 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16251 * math/libm-test.inc (noXFails): Remove variable.
16252 (noXPasses): Likewise.
16253 (BUILD_COMPLEX_INT): Remove macro.
16254 (print_screen): Remove xfail argument.
16255 (print_screen_max_error): Likewise.
16256 (update_stats): Likewise.
16257 (print_max_error): Likewise. Update calls to other affected
16259 (print_complex_max_error): Likewise.
16260 (test_single_exception): Update calls to print_screen.
16261 (test_single_errno): Likewise.
16262 (check_float_internal): Remove xfail argument. Update calls to
16263 other affected functions.
16264 (check_float): Likewise.
16265 (check_complex): Likewise.
16266 (check_int): Likewise.
16267 (check_long): Likewise.
16268 (check_bool): Likewise.
16269 (check_longlong): Likewise.
16270 (main): Don't print noXFails and noXPasses.
16271 * math/gen-libm-test.pl (top level): Don't mention expected
16272 failure handling in comment.
16273 (new_test): Don't handle expected failures.
16274 (parse_args): Don't mention expected failure handling in comment.
16275 (generate_testfile): Don't handle expected failures.
16276 (parse_ulps): Likewise.
16277 (print_ulps_file): Likewise.
16278 (get_failure): Remove function.
16279 (output_test): Don't handle expected failures.
16280 * make/README.libm-test: Don't mention expected failure handling.
16282 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16283 (minus_zero): Likewise.
16284 (plus_infty): Likewise.
16285 (minus_infty): Likewise.
16286 (qnan_value): Likewise.
16287 (max_value): Likewise.
16288 (min_value): Likewise.
16289 (min_subnorm_value): Likewise.
16290 (initialize): Do not initialize those variables dynamically.
16292 2013-05-03 Roland McGrath <roland@hack.frob.com>
16294 * io/open.c (__open_2): Moved to ...
16295 * io/open_2.c: ... this new file.
16296 * io/open64.c (__open64_2): Moved to ...
16297 * io/open64_2.c: ... this new file.
16298 * io/openat.c (__openat_2): Moved to ...
16299 * io/openat_2.c: ... this new file.
16300 * io/openat64.c (__openat64_2): Moved to ...
16301 * io/openat64_2.c: ... this new file.
16302 * io/Makefile (routines): Add them.
16303 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16304 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16305 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16306 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16307 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16308 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16309 (__openat64): Add hidden_ver.
16310 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16311 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16313 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16314 Separately conditionalize setting of GLRO(dl_sysinfo) so
16315 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16316 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16318 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16320 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16321 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16323 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16324 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16325 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16326 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16327 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16329 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16331 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16332 test signgam value.
16334 * math/libm-test.inc (hypot_test): Do not use
16335 IGNORE_ZERO_INF_SIGN.
16337 2013-05-03 Andreas Jaeger <aj@suse.de>
16339 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16341 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16342 (PF_MAX): Adjust for VSOCK change.
16344 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16348 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16351 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16352 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16353 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16355 2013-05-02 David S. Miller <davem@davemloft.net>
16357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16359 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16361 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16363 2013-05-01 Roland McGrath <roland@hack.frob.com>
16365 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16367 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16370 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16371 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16372 Use __attribute__ ((__gnu_inline__)).
16373 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16374 Don't use __attribute__ ((__gnu_inline__)).
16376 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16379 * math/s_catan.c (__catan): Handle small real or imaginary part of
16380 input specially to avoid spurious underflow.
16381 * math/s_catanf.c (__catanf): Likewise.
16382 * math/s_catanh.c (__catanh): Likewise.
16383 * math/s_catanhf.c (__catanhf): Likewise.
16384 * math/s_catanhl.c (__catanhl): Likewise.
16385 * math/s_catanl.c (__catanl): Likewise.
16386 * math/libm-test.inc (catan_test): Add more tests.
16387 (catanh_test): Likewise.
16388 * sysdeps/i386/fpu/libm-test-ulps: Update.
16389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16391 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16395 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16398 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16399 accurately for denominator in atan2.
16400 * math/s_catanf.c (__catanf): Likewise.
16401 * math/s_catanh.c (__catanh): Likewise.
16402 * math/s_catanhf.c (__catanhf): Likewise.
16403 * math/s_catanhl.c (__catanhl): Likewise.
16404 * math/s_catanl.c (__catanl): Likewise.
16405 * math/libm-test.inc (catan_test): Add more tests.
16406 (catanh_test): Likewise.
16407 * sysdeps/i386/fpu/libm-test-ulps: Update.
16408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16410 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16412 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16414 * benchtests/Makefile (bench): Remove slow benchmarks.
16415 * benchtests/atan-inputs: Add slow benchmark inputs.
16416 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16417 (BENCH_FUNC): Accept variant offset.
16419 * benchtests/bench-skeleton.c (main): Run benchmark for each
16421 * benchtests/cos-inputs: Add slow benchmark inputs.
16422 * benchtests/exp-inputs: Likewise.
16423 * benchtests/pow-inputs: Likewise.
16424 * benchtests/sin-inputs: Likewise.
16425 * benchtests/slowatan-inputs: Remove.
16426 * benchtests/slowatan.c: Remove.
16427 * benchtests/slowcos-inputs: Remove.
16428 * benchtests/slowcos.c: Remove.
16429 * benchtests/slowexp-inputs: Remove.
16430 * benchtests/slowexp.c: Remove.
16431 * benchtests/slowpow-inputs: Remove.
16432 * benchtests/slowpow.c: Remove.
16433 * benchtests/slowsin-inputs: Remove.
16434 * benchtests/slowsin.c: Remove.
16435 * benchtests/slowtan-inputs: Remove.
16436 * benchtests/slowtan.c: Remove.
16437 * benchtests/tan-inputs: Add slow benchmark inputs.
16438 * scripts/bench.pl: Parse comments and directives.
16440 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16442 ($(objpfx)bench-%.c): Remove *-ITER.
16443 * benchtests/bench-modf.c: Remove definition of ITER.
16444 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16445 (main): Loop for DURATION seconds instead of fixed number of
16447 * scripts/bench.pl: Don't expect iterations in parameters.
16449 2013-04-29 Roland McGrath <roland@hack.frob.com>
16451 * io/fchdir.c (__fchdir): Renamed from fchdir.
16452 (fchdir): Define as weak alias.
16454 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16456 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16457 (ERRNO_EDOM): Likewise.
16458 (ERRNO_ERANGE): Likewise.
16459 (noErrnoTests): New variable.
16460 (init_max_error): Set errno to 0.
16461 (test_single_errno): New function.
16462 (test_errno): Likewise.
16463 (check_float_internal): Call test_errno. Set errno to 0.
16464 (check_complex): Refer to errno tests in comment.
16465 (check_int): Call test_errno. Set errno to 0.
16466 (check_long): Likewise.
16467 (check_bool): Likewise.
16468 (check_longlong): Likewise.
16469 (cos_test): Use ERRNO_* flags for errno tests instead of
16471 (expm1_test): Likewise.
16472 (fmod_test): Likewise.
16473 (ilogb_test): Likewise.
16474 (lgamma_test): Likewise.
16475 (pow_test): Likewise.
16476 (remainder_test): Likewise.
16477 (sin_test): Likewise.
16478 (tan_test): Likewise.
16479 (yn_test): Likewise.
16480 (initialize): Set errno to 0.
16481 (main): Print number of errno tests.
16482 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16484 2013-04-29 Andreas Jaeger <aj@suse.de>
16487 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16491 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16492 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16496 * stdlib/random.c (__initstate): Return NULL if
16500 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16501 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16504 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16508 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16510 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16511 of individual tests.
16512 (casin_test): Likewise.
16513 (casinh_test): Likewise.
16515 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16518 * math/s_catan.c (__catan): Handle arguments with large real or
16519 imaginary part separately without squaring.
16520 * math/s_catanf.c (__catanf): Likewise.
16521 * math/s_catanh.c (__catanh): Likewise.
16522 * math/s_catanhf.c (__catanhf): Likewise.
16523 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16525 (__catanhl): Handle arguments with large real or imaginary part
16526 separately without squaring.
16527 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16529 (__catanl): Handle arguments with large real or imaginary part
16530 separately without squaring.
16531 * math/libm-test.inc (catan_test): Add more tests.
16532 (catanh_test): Likewise.
16533 * sysdeps/i386/fpu/libm-test-ulps: Update.
16534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16536 2013-04-27 Andreas Jaeger <aj@suse.de>
16539 * stdlib/stdlib.h: Update guards for qecvt.
16540 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16543 2013-04-27 Allan McRae <allan@archlinux.org>
16545 * sysdeps/i386/fpu/libm-test-ulps: Update.
16547 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16550 * math/s_catan.c: Include <float.h>.
16551 (__catan): Ensure underflow exception occurs for underflowed
16553 * math/s_catanf.c: Include <float.h>.
16554 (__catanf): Ensure underflow exception occurs for underflowed
16556 * math/s_catanh.c: Include <float.h>.
16557 (__catanh): Ensure underflow exception occurs for underflowed
16559 * math/s_catanhf.c: Include <float.h>.
16560 (__catanhf): Ensure underflow exception occurs for underflowed
16562 * math/s_catanhl.c: Include <float.h>.
16563 (__catanhl): Ensure underflow exception occurs for underflowed
16565 * math/s_catanl.c: Include <float.h>.
16566 (__catanl): Ensure underflow exception occurs for underflowed
16568 * math/libm-test.inc (catan_test): Add more tests.
16569 (catanh_test): Likewise.
16572 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16573 underflowed result.
16574 * math/s_ccoshf.c (__ccoshf): Likewise.
16575 * math/s_ccoshl.c (__ccoshl): Likewise.
16576 * math/s_csin.c (__csin): Likewise.
16577 * math/s_csinf.c (__csinf): Likewise.
16578 * math/s_csinh.c (__csinh): Likewise.
16579 * math/s_csinhf.c (__csinhf): Likewise.
16580 * math/s_csinhl.c (__csinhl): Likewise.
16581 * math/s_csinl.c (__csinl): Likewise.
16582 * math/libm-test.inc (ccos_test): Add more tests.
16583 (ccosh_test): Likewise.
16584 (csin_test): Likewise.
16585 (csinh_test): Likewise.
16587 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16589 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16590 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16591 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16592 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16593 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16594 powerpc/power5+/fpu folders.
16595 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16598 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16602 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16604 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16605 additions to variable.
16606 [$(config-machine) = x86_64] (modules-names): Likewise.
16607 ($(objpfx)tst-audit3): Remove dependency.
16608 ($(objpfx)tst-audit3.out): Likewise.
16609 ($(objpfx)tst-audit4): Likewise.
16610 ($(objpfx)tst-audit4.out): Likewise.
16611 ($(objpfx)tst-audit5): Likewise.
16612 ($(objpfx)tst-audit5.out): Likewise.
16613 ($(objpfx)tst-audit6): Likewise.
16614 ($(objpfx)tst-audit6.out): Likewise.
16615 ($(objpfx)tst-audit7): Likewise.
16616 ($(objpfx)tst-audit7.out): Likewise.
16617 (tst-audit3-ENV): Remove variable.
16618 (tst-audit4-ENV): Likewise.
16619 (tst-audit5-ENV): Likewise.
16620 (tst-audit6-ENV): Likewise.
16621 (tst-audit7-ENV): Likewise.
16622 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16623 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16624 addition to variable.
16625 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16626 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16627 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16628 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16629 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16630 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16631 tst-audit3, tst-audit4 and tst-audit5.
16632 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16633 tst-audit6 and tst-audit7.
16634 [$(subdir) = elf] (modules-names): Add audit modules for those
16636 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16637 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16638 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16639 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16640 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16641 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16642 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16643 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16644 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16645 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16646 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16647 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16648 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16649 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16650 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16651 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16653 [$(subdir) = elf && $(config-cflags-avx) = yes]
16654 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16655 [$(subdir) = elf && $(config-cflags-avx) = yes]
16656 (CFLAGS-tst-auditmod4a.c): Likewise.
16657 [$(subdir) = elf && $(config-cflags-avx) = yes]
16658 (CFLAGS-tst-auditmod4b.c): Likewise.
16659 [$(subdir) = elf && $(config-cflags-avx) = yes]
16660 (CFLAGS-tst-auditmod6b.c): Likewise.
16661 [$(subdir) = elf && $(config-cflags-avx) = yes]
16662 (CFLAGS-tst-auditmod6c.c): Likewise.
16663 [$(subdir) = elf && $(config-cflags-avx) = yes]
16664 (CFLAGS-tst-auditmod7b.c): Likewise.
16665 * elf/tst-audit3.c: Move to ...
16666 * sysdeps/x86_64/tst-audit3.c: ... here.
16667 * elf/tst-audit4.c: Move to ...
16668 * sysdeps/x86_64/tst-audit4.c: ... here.
16669 * elf/tst-audit5.c: Move to ...
16670 * sysdeps/x86_64/tst-audit5.c: ... here.
16671 * elf/tst-audit6.c: Move to ...
16672 * sysdeps/x86_64/tst-audit6.c: ... here.
16673 * elf/tst-audit7.c: Move to ...
16674 * sysdeps/x86_64/tst-audit7.c: ... here.
16675 * elf/tst-auditmod3a.c: Move to ...
16676 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16677 * elf/tst-auditmod3b.c: Move to ...
16678 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16679 * elf/tst-auditmod4a.c: Move to ...
16680 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16681 * elf/tst-auditmod4b.c: Move to ...
16682 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16683 * elf/tst-auditmod5a.c: Move to ...
16684 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16685 * elf/tst-auditmod5b.c: Move to ...
16686 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16687 * elf/tst-auditmod6a.c: Move to ...
16688 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16689 * elf/tst-auditmod6b.c: Move to ...
16690 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16691 * elf/tst-auditmod6c.c: Move to ...
16692 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16693 * elf/tst-auditmod7a.c: Move to ...
16694 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16695 * elf/tst-auditmod7b.c: Move to ...
16696 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16698 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16701 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16702 define unconditionally.
16703 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16704 define unconditionally.
16705 (INT8_C, INT16_C, etc.): Likewise.
16707 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16709 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16710 __ehdr_start with hidden visibility.
16712 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16714 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16716 * math/libm-test.inc (cos_test): Use accurate hex constants.
16717 (sincost_test): Likewise.
16719 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16721 * math/libm-test.inc (catan_test): Add more tests.
16722 (catanh_test): Likewise.
16724 * math/s_catanf.c (__catanf): Use suffixed floating-point
16726 * math/s_catanhf.c (__catanhf): Likewise.
16727 * math/s_catanhl.c (__catanhl): Likewise.
16728 * math/s_catanl.c (__catanl): Likewise.
16731 * math/s_catan.c (__catan): Calculate imaginary part of result
16732 with log1p not log unless computing log of number close to 0.
16733 * math/s_catanf.c (__catanf): Likewise.
16734 * math/s_catanl.c (__catanl): Likewise.
16735 * math/s_catanh.c (__catanh): Calculate real part of result with
16736 log1p not log unless computing log of number close to 0.
16737 * math/s_catanhf.c (__catanhf): Likewise.
16738 * math/s_catanhl.c (__catanhl): Likewise.
16739 * math/libm-test.inc (catan_test): Add more tests.
16740 (catanh_test): Likewise.
16741 * sysdeps/i386/fpu/libm-test-ulps: Update.
16742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16744 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16746 * benchtests/Makefile: Mention files in which fast and slow
16747 paths of math functions are implemented.
16749 2013-04-23 Roland McGrath <roland@hack.frob.com>
16751 * sysdeps/posix/timespec_get.c: New file.
16753 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16755 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16757 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16759 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16760 powerpc/power5/fpu folders.
16761 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16762 * benchtests/Makefile: Add modf testcase.
16763 * benchtests/bench-modf.c: New file: Benchmark test for mo
16765 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16768 * time/Makefile (tests): Add tst-strptime-whitespace.
16769 * time/strptime_l.c (get_number): Use ISSPACE.
16770 (__strptime_internal): Likewise.
16771 * time/tst-strptime-whitespace.c: New test case.
16773 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16775 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16777 (_nss_files_init): Set it here.
16779 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16781 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16782 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16785 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16787 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16789 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16791 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16794 2013-04-21 David S. Miller <davem@davemloft.net>
16796 * po/ru.po: Update Russion translation from translation project.
16798 2013-04-17 Adam Conrad <adconrad@0c3.net>
16800 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16803 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16805 * configure.in: Remove i386 configure warning. Remove i386 case.
16806 * configure: Regenerate.
16807 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16808 Add example to error message.
16809 * sysdeps/i386/configure: Regenerate.
16811 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16813 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16815 * benchtests/cos-inputs: New file.
16816 * benchtests/slowcos-inputs: New file.
16817 * benchtests/slowcos.c: New file.
16818 * benchtests/slowtan-inputs: New file.
16819 * benchtests/slowtan.c: New file.
16820 * benchtests/tan-inputs: New file.
16822 2013-04-16 Roland McGrath <roland@hack.frob.com>
16824 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16827 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16829 * benchtests/Makefile: Include cppflags-iterator.mk to add
16830 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16832 * Makefile.in (bench-clean): New target.
16833 * benchtests/Makefile (bench-clean): Likewise.
16835 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16837 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16839 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16841 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16843 2013-04-15 Andreas Schwab <schwab@suse.de>
16845 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16847 * nscd/pwdcache.c (cache_addpw): Likewise.
16848 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16851 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16853 * benchtests/Makefile (bench): Write all output to
16854 bench-out.tmp together.
16856 2013-04-15 Andreas Schwab <schwab@suse.de>
16858 * nscd/nscd.c (main): Don't fork again after closing files.
16860 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16862 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16864 * benchtests/Rules (bench-deps): Collect dependencies into a
16865 single variable. Add Makefile to dependencies.
16866 ($(objpfx)bench-%.c): Depend on bench-deps.
16868 2013-04-12 Roland McGrath <roland@hack.frob.com>
16869 Xavier Roche <roche+kml2@exalead.com>
16872 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16873 just that it's a file descriptor.
16874 * manual/llio.texi (Synchronizing AIO Operations): Update description
16875 for EBADF error from aio_fsync.
16877 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16879 * Rules (bench): Move target definition...
16880 * benchtests/Makefile: ... here.
16882 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16884 * math/libm-test.inc (cos_test): Fix PI/2 test.
16885 (sincos_test): Likewise.
16886 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16887 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16889 2013-04-11 Andreas Schwab <schwab@suse.de>
16892 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16893 accept exponent character only when digits were seen.
16894 * stdio-common/Makefile (tests): Add bug26.
16895 * stdio-common/bug26.c: New file.
16898 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16901 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16903 * Makeconfig (rtld-prefix): Define built linker prefix.
16904 * Rules (run-bench): Use it.
16905 * math/Makefile (run-regen-ulps): Likewise.
16907 * Rules (bench): Remove eval.
16909 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16910 Roland McGrath <roland@hack.frob.com>
16911 Ondrej Bilka <neleai@seznam.cz>
16914 * time/getdate.c: Include ctype.h and alloca.h.
16915 (__getdate_r): Trim leading and trailing spaces of input.
16916 * time/tst-getdate.c (tests): Add tests with leading and
16919 2013-04-08 Roland McGrath <roland@hack.frob.com>
16922 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16923 when computing value.
16925 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16927 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16928 Use testrun.sh to run libm tests.
16931 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16933 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16936 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16938 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16940 * Makefile.in (regen-ulps): New target.
16941 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16942 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16943 [ifneq (no,$(PERL)] (regen-ulps): New target.
16944 [ifeq (no,$(PERL)] (regen-ulps): New target.
16945 * math/libm-test.inc (ulps_file_name): Define.
16946 (output_dir): New variable.
16947 (options): Add "output-dir" option.
16948 (parse_opt): Handle 'o' case.
16949 (main): If output_dir is non-NULL use it as a prefix
16951 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16953 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16955 [BZ #10060, #10062]
16956 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16957 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16958 fail configure if __sync_val_compare_and_swap is not inlined.
16959 * sysdeps/i386/configure: Regenerate.
16960 * configure.in: Build for i686 when configured for i386.
16961 * configure: Regenerate.
16962 * README: Remove i386 reference.
16964 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16966 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16967 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16969 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16971 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16972 (lmsnanval): New variables.
16973 (F): Add conversion tests.
16974 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16975 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16977 * stdio-common/tstdiomisc.c (F): Properly collect individual
16980 [BZ #14686, #15336]
16981 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16982 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16983 Instead, use input NaN values or generate a qNaN by arithmetic
16984 operation. Also fix bugs to comply with the standard.
16985 * math/libm-test.inc (remainder_test): Add more tests.
16987 [BZ #15335, #15342]
16988 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16990 input NaN values or generate a qNaN by arithmetic operation.
16992 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16995 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16998 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17001 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17002 underflowed result.
17003 * math/s_cexpf.c (__cexpf): Likewise.
17004 * math/s_cexpl.c (__cexpl): Likewise.
17005 * math/libm-test.inc (cexp_test): Add more tests.
17007 2013-04-03 Andreas Schwab <schwab@suse.de>
17010 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17011 order arrays from heap if bigger than alloca cutoff.
17013 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17015 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17016 (SNAN_TESTS_double): Refer to GCC PR56831.
17017 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17020 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17022 * Rules (bench): Move bench.out after the run is complete.
17024 * Rules (bench): Echo currently running benchmark.
17026 * benchtests/Makefile (bench): Add atan and slowatan.
17027 * benchtests/atan-inputs: New file.
17028 * benchtests/slowatan-inputs: New file.
17029 * benchtests/slowatan.c: New file.
17031 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17036 * sysdeps/unix/sysv/linux/kernel-features.h
17037 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17038 __ASSUME_XFS_RESTRICTED_CHOWN.
17039 * sysdeps/unix/sysv/linux/pathconf.c
17040 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17041 Save and restore errno.
17043 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17046 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17047 arguments using __kernel_casinh.
17048 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17049 arguments using __kernel_casinhf.
17050 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17051 arguments using __kernel_casinhl.
17052 * math/libm-test.inc (cacosh_test): Add more tests.
17053 * sysdeps/i386/fpu/libm-test-ulps: Update.
17054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17056 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17058 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17061 * bench/Makefile (bench): Add sin and slowsin.
17062 * benchtests/sin-inputs: New file.
17063 * benchtests/slowsin-inputs: New file.
17064 * benchtests/slowsin.c: New file.
17066 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17067 (bench): Add slowexp and slowpow.
17068 (exp-ITER): Increase iterations.
17069 (pow-ITER): Likewise.
17070 * benchtests/exp-inputs: Change input.
17071 * benchtests/pow-inputs: Likewise.
17072 * benchtests/slowexp-inputs: New file.
17073 * benchtests/slowexp.c: New file.
17074 * benchtests/slowpow-inputs: New file.
17075 * benchtests/slowpow.c: New file.
17077 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17079 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17081 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17082 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17083 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17084 * benchtests/Makefile: Add rint benchtest.
17085 * benchtests/rint-inputs: Input for rint benchtest.
17087 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17089 * Versions.def (libm): Add GLIBC_2.18.
17090 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17091 hidden libm prototypes.
17092 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17093 * math/Makefile (libm-calls): Add s_issignaling.
17094 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17095 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17096 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17098 * math/math.h [__USE_GNU] (issignaling): New macro.
17099 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17100 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17103 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17104 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17105 * manual/arith.texi (issignaling): New section.
17106 * manual/libm-err-tab.pl (@all_functions): Update comment.
17107 * math/gen-libm-test.pl (parse_args): Apply special handling for
17109 * math/libm-test.inc (print_float, issignaling_test): New
17111 (check_float_internal): Add issignaling checks.
17112 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17113 default definition.
17114 * sysdeps/powerpc/math-tests.h: New file.
17115 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17117 * math/test-snan.c (TEST_FUNC): Likewise.
17119 2013-03-30 David S. Miller <davem@davemloft.net>
17121 * po/de.po: Update from translation team.
17123 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17126 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17127 imaginary part less than 1.0 and real part less than 0.5
17129 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17130 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17131 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17132 (cacos_test): Add more tests.
17133 (casin_test): Likewise.
17134 (casinh_test): Likewise.
17135 * sysdeps/i386/fpu/libm-test-ulps: Update.
17136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17140 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17141 ONE with its value.
17143 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17144 (__pow_mp): Replace ONE and MONE with their values.
17145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17146 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17147 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17148 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17149 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17150 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17152 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17154 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17155 (__pow_mp): Replace ZERO and MZERO with their values.
17156 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17157 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17158 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17160 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17161 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17164 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17166 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17168 2013-03-28 Roland McGrath <roland@hack.frob.com>
17170 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17171 Declare with __attribute__ ((weak)).
17172 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17173 Call __call_tls_dtors only if it's not NULL.
17175 2013-03-28 Roland McGrath <roland@hack.frob.com>
17177 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17178 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17179 magic __ehdr_start linker symbol if it's defined.
17180 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17181 them up here if it was already done.
17183 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17184 (_dl_aux_init): Use const in cast when setting it.
17185 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17186 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17187 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17189 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17191 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17192 * csu/libc-tls.c: Nor here.
17193 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17195 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17196 (__libc_message): Never call vsyslog.
17198 2013-03-28 Alan Modra <amodra@gmail.com>
17200 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17202 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17205 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17212 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17215 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17216 Don't add gid passed as argument.
17218 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17220 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17223 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17224 imaginary part between 1.0 and 1.5 and real part less than 0.5
17226 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17227 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17228 * math/libm-test.inc (cacos_test): Add more tests.
17229 (casin_test): Likewise.
17230 (casinh_test): Likewise.
17231 * sysdeps/i386/fpu/libm-test-ulps: Update.
17232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17234 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17236 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17239 (denorm): Likewise.
17240 (__dbl_mp): Likewise.
17241 (add_magnitudes): Likewise.
17242 (sub_magnitudes): Likewise.
17250 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17252 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17253 (__dubcos): Likewise.
17254 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17255 (__ieee754_acos): Likewise.
17256 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17257 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17258 (__exp1): Likewise.
17259 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17262 (my_log2): Likewise.
17263 (checkint): Likewise.
17264 * sysdeps/ieee754/dbl-64/e_remainder.c
17265 (__ieee754_remainder): Likewise.
17266 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17268 (bsloww): Likewise.
17269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17271 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17272 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17273 MANTISSA_STORE_T to store computations on mantissa. Use
17274 macros for rounding and division.
17275 (denorm): Likewise.
17276 (__dbl_mp): Likewise.
17277 (add_magnitudes): Likewise.
17278 (sub_magnitudes): Likewise.
17281 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17282 powers of two in terms of TWOPOW macro.
17283 (mp_no): Make type of mantissa as MANTISSA_T.
17284 [!RADIXI]: Define RADIXI.
17285 [!TWO52]: Define TWO52.
17286 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17288 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17290 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17291 llroundl symbol when building for PPC32.
17293 2013-03-24 Mark H Weaver <mhw@netris.org>
17295 * manual/arith.texi (Normalization Functions): Fix prototypes for
17296 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17298 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17301 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17302 high value to check if expl overflow.
17303 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17304 to check for underflow and overflow.
17305 * math/libm-test.inc: Add exp test.
17307 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17310 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17313 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17315 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17318 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17320 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17321 wrap blocks consisting of several statements.
17323 * sysdeps/generic/math-tests.h: New file.
17324 * sysdeps/i386/fpu/math-tests.h: Likewise.
17325 * math/test-snan.c: Include it.
17326 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17328 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17331 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17332 (__ieee754_j0l): Do not improve calculations using cos of twice
17333 input for inputs above LDBL_MAX / 2.0L.
17334 (__ieee754_y0l): Likewise.
17335 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17336 (__ieee754_j1l): Do not improve calculations using cos of twice
17337 input for inputs above LDBL_MAX / 2.0L.
17338 (__ieee754_y1l): Likewise.
17339 * math/libm-test.inc (j0_test): Add another test.
17340 (j1_test): Likewise.
17341 (y0_test): Likewise.
17342 (y1_test): Likewise.
17343 * sysdeps/i386/fpu/libm-test-ulps: Update.
17345 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17347 * Rules ($(objpfx)bench-%.c): Include code from a C source
17350 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17353 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17354 imaginary part 1.0 and real part less than 0.5 specially.
17355 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17356 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17357 * math/libm-test.inc (cacos_test): Add more tests.
17358 (casin_test): Likewise.
17359 (casinh_test): Likewise.
17360 * sysdeps/i386/fpu/libm-test-ulps: Update.
17361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17363 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17365 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17366 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17368 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17370 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17371 * config.make.in (config-cflags-sse4): Remove variable.
17372 (config-cflags-avx): Likewise.
17373 (config-cflags-sse2avx): Likewise.
17374 (config-cflags-novzeroupper): Likewise.
17375 (config-asflags-i686): Likewise.
17376 (have-mfma4): Likewise.
17377 (have-as-vis3): Likewise.
17379 * configure.in (MIG): Do not AC_SUBST.
17380 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17381 (libc_cv_cc_sse4): Do not AC_SUBST.
17382 (libc_cv_cc_avx): Likewise.
17383 (libc_cv_cc_sse2avx): Likewise.
17384 (libc_cv_cc_novzeroupper): Likewise.
17385 (libc_cv_cc_fma4): Likewise.
17386 (libc_cv_as_i686): Likewise.
17387 (libc_cv_sparc_as_vis3): Likewise.
17388 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17390 (config-asflags-i686): Likewise.
17391 (config-cflags-avx): Likewise.
17392 (config-cflags-sse2avx): Likewise.
17393 (have-mfma4): Likewise.
17394 (config-cflags-novzeroupper): Likewise.
17395 * sysdeps/mach/configure.in (MIG): Likewise.
17396 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17397 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17399 (config-cflags-avx): Likewise.
17400 (config-cflags-sse2avx): Likewise.
17401 (have-mfma4): Likewise.
17402 (config-cflags-novzeroupper): Likewise.
17403 * configure: Regenerated.
17404 * sysdeps/i386/configure: Likewise.
17405 * sysdeps/mach/configure: Likewise.
17406 * sysdeps/sparc/configure: Likewise.
17407 * sysdeps/x86_64/configure: Likewise.
17409 2013-03-20 Roland McGrath <roland@hack.frob.com>
17412 * locale/programs/localedef.c (options): Put N_ translation marker
17413 on argument names, not just descriptions.
17415 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17417 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17419 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17422 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17424 2013-03-19 Roland McGrath <roland@hack.frob.com>
17426 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17427 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17428 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17429 [!BEFORE_ABORT] (before_abort): New function.
17430 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17431 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17432 (writev_for_fatal): New function.
17433 (WRITEV_FOR_FATAL): New macro; call that.
17434 (backtrace_and_maps): New function.
17435 (BEFORE_ABORT): New macro; call that.
17436 (struct str_list): Type removed.
17437 (__libc_message, __libc_fatal): Functions removed.
17438 Include <sysdeps/posix/libc_fatal.c> instead.
17440 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17442 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17444 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17447 2013-03-19 Andreas Schwab <schwab@suse.de>
17449 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17450 * sysdeps/gnu/configure: Regenerate.
17452 * configure.in: Substitute libc_cv_rtlddir.
17453 * configure: Regenerate.
17454 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17455 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17456 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17457 * elf/Makefile (install-others, CFLAGS-interp.c)
17458 (ldso_install, common-ldd-rewrite): Likewise.
17459 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17460 $(inst_slibdir)/$(rtld-installed-name).
17461 * scripts/rellns-sh: Add -p option.
17462 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17465 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17467 * manual/nptl.texi: Renamed to ...
17468 * manual/threads.texi: ... this.
17469 * manual/Makefile (chapters): Update.
17471 2013-03-18 Roland McGrath <roland@hack.frob.com>
17474 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17475 on argument names, not just descriptions.
17476 * malloc/memusagestat.c (options): Likewise.
17477 * nss/getent.c (options): Likewise.
17479 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17482 * iconv/iconv_prog.c (options): Put N_ translation marker
17483 on argument names, not just descriptions.
17484 * iconv/iconvconfig.c (options): Likewise.
17486 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17488 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17489 implementation which is faster on all x86_64 architectures.
17490 Tested on AMD, Intel Nehalem, SNB, IVB.
17491 * sysdeps/x86_64/strnlen.S: Likewise.
17493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17494 Remove all multiarch strlen and strnlen versions.
17495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17496 Remove strlen and strnlen related parts.
17498 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17499 Inline strlen part.
17500 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17502 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17503 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17504 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17505 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17506 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17507 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17509 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17511 * manual/memory.texi (Malloc Tunable Parameters):
17512 Sort parameters alphabetically. Add comments for missing entries.
17514 2013-03-17 David S. Miller <davem@davemloft.net>
17516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17518 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17522 for arguments at most half maximum finite value.
17523 * math/libm-test.inc (j0_test): Add more tests.
17524 (j1_test): Likewise.
17525 (y0_test): Likewise.
17526 (y1_test): Likewise.
17527 * sysdeps/i386/fpu/libm-test-ulps: Update.
17528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17531 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17532 1 / x and functions P and Q for arguments above 0x1p256L.
17533 (__ieee754_y0l): Likewise.
17534 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17535 (__ieee754_y1l): Likewise.
17536 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17537 (j1_test): Likewise.
17538 (y0_test): Likewise.
17539 (y1_test): Likewise.
17541 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17543 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17546 2013-03-15 Roland McGrath <roland@hack.frob.com>
17548 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17549 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17550 zero since it's initialized to EXEC_PAGESIZE.
17552 * sysdeps/unix/sysv/linux/ldsodefs.h
17553 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17554 * sysdeps/generic/ldsodefs.h: ... here.
17556 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17558 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17560 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17562 * math/test-snan.c: Renamed from
17563 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17564 * math/Makefile (tests): Add test-snan.
17565 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17568 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17569 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17571 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17572 __builtin_nan family of functions.
17573 * math/libm-test.inc (initialize): Initialize qnan_value with
17574 __builtin_nan family of functions.
17575 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17577 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17579 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17580 storage class. Initialize qNaN_var and sNaN_var with
17581 __builtin_nan and __builtin_nans families of functions,
17584 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17585 (sqrt_test): Remove duplicate test with qNaN input.
17586 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17587 (round_test, signbit_test, significand_test): Note missing +/-Inf
17588 as well as qNaN tests.
17590 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17591 qNaN_var. Fix a few strings, too.
17592 * math/libm-test.inc (nan_value): Rename to qnan_value.
17593 * math/gen-libm-test.pl (%beautify): Adjust to that.
17594 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17595 * math/test-misc.c (main): Likewise.
17596 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17597 to __qnan_bytes, and __qnan_union, respectively.
17598 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17600 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17601 and lqnanval, respectively.
17602 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17603 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17604 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17605 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17607 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17608 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17611 * math/test-misc.c (main): Fix copy'n'pastos.
17612 * misc/tst-efgcvt.c (special): Likewise.
17614 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17615 Remove declarations.
17617 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17619 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17620 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17621 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17622 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17624 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17627 macro to return vdso values correctly in IFUNC implementations.
17628 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17629 Optimization by using IFUNC.
17631 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17632 Richard Henderson <rth@redhat.com>
17633 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17635 * Makefile.in (bench): New target.
17636 * NEWS: Mention the benchmark framework.
17637 * Rules (bench): Likewise.
17638 (binaries-bench): Generate binaries for functions to
17640 * benchtests/Makefile: New makefile for benchmark tests.
17641 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17643 * benchtests/exp-inputs: New input file for EXP function.
17644 * benchtests/pow-inputs: New input file for POW function.
17645 * scripts/bench.pl: New script to generate source files for
17646 benchmark programs.
17648 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17650 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17652 computations on mantissa. Use macros for rounding and
17654 (denorm): Likewise.
17655 (__dbl_mp): Likewise.
17656 (add_magnitudes): Likewise.
17657 (sub_magnitudes): Likewise.
17660 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17661 powers of two in terms of TWOPOW macro.
17662 (mp_no): Make type of mantissa as MANTISSA_T.
17663 [!RADIXI]: Define RADIXI.
17664 [!TWO52]: Define TWO52.
17665 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17667 * manual/nptl.texi (cindex): Modify threads to pthreads.
17669 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17671 * sysdeps/x86_64/preconfigure: Regenerated.
17673 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17676 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17678 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17679 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17681 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17682 * math/libm-test.inc (j0_test): Do not allow one spurious
17683 underflow exception.
17684 (y1_test): Likewise.
17686 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17688 * manual/Makefile (chapters): Add nptl.
17689 * manual/debug.texi (Debugging Support): Add link to Threads
17691 * manual/nptl.texi: New file.
17693 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17695 2013-03-14 Petr Baudis <pasky@ucw.cz>
17697 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17698 for non-NULL pointer before the memory validity test. Pointed
17699 out by Holger Brunck <holger.brunck@keymile.com>.
17701 2013-03-13 Andreas Schwab <schwab@suse.de>
17703 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17706 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17708 * timezone/zic.c: Update from tzcode 2013b.
17710 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17712 * manual/install.texi (Configuring and compiling):
17713 Mention i686 and i586.
17714 * INSTALL: Regenerate.
17716 2013-03-12 Roland McGrath <roland@hack.frob.com>
17718 * sysdeps/init_array/elf-init.c: New file.
17720 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17721 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17723 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17724 __gmon_start__ as global, but as static with a .preinit_array pointer.
17725 * sysdeps/init_array/gmon-start.c: New file. Use that.
17726 * sysdeps/init_array/crti.S: New file, empty except for comments.
17727 * sysdeps/init_array/crtn.S: Likewise.
17729 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17731 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17734 Remove Prefer_SSE_for_memop.
17735 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17736 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17737 HAS_PREFER_SSE_FOR_MEMOP.
17738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17741 Remove bzero, memset ifunc support.
17742 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17743 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17744 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17745 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17747 2013-03-11 Andreas Schwab <schwab@suse.de>
17750 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17753 (GLIBC_2.16): Remove pthread_atfork.
17755 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17757 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17758 (ptestcases.h): Likewise.
17760 2013-03-08 Roland McGrath <roland@hack.frob.com>
17762 * Makeconfig ($(common-objpfx)config.status): Depend on
17763 sysdeps/*/preconfigure{,.in} too.
17765 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17767 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17768 (__free_hook): Use void * instead of __malloc_ptr_t.
17769 (__malloc_hook): Likewise.
17770 (__realloc_hook): Likewise.
17771 (__memalign_hook): Likewise.
17772 (__after_morecore_hook): Likewise.
17773 * malloc/arena.c (save_malloc_hook): Likewise.
17774 (save_free_hook): Likewise.
17775 * malloc/hooks.c (malloc_hook_ini): Likewise.
17776 (realloc_hook_ini): Likewise.
17777 (memalign_hook_ini): Likewise.
17778 * malloc/malloc.c (malloc_hook_ini): Likewise.
17779 (realloc_hook_ini): Likewise.
17780 (memalign_hook_ini): Likewise.
17781 (__free_hook): Likewise.
17782 (__malloc_hook): Likewise.
17783 (__realloc_hook): Likewise.
17784 (__memalign_hook): Likewise.
17785 (__libc_malloc): Likewise.
17786 (__libc_free): Likewise.
17787 (__libc_realloc): Likewise.
17788 (__libc_memalign): Likewise.
17789 (__libc_valloc): Likewise.
17790 (__libc_pvalloc): Likewise.
17791 (__libc_calloc): Likewise.
17792 (__posix_memalign): Likewise.
17793 * malloc/morecore.c (__sbrk): Likewise.
17794 (__default_morecore): Likewise.
17796 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17798 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17799 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17800 __malloc_ptrdiff_t.
17802 * malloc/malloc.h (__malloc_size_t): Remove macro.
17803 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17805 (old_memalign_hook): Likewise.
17806 (old_realloc_hook): Likewise.
17807 (struct hdr): Likewise.
17809 (mallochook): Likewise.
17810 (memalignhook): Likewise.
17811 (reallochook): Likewise.
17812 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17813 (tr_old_realloc_hook): Likewise.
17814 (tr_old_memalign_hook): Likewise.
17815 (tr_mallochook): Likewise.
17816 (tr_reallochook): Likewise.
17817 (tr_memalignhook): Likewise.
17819 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17821 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17822 default_ldbl_pack and using as default implementation.
17823 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17825 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17826 redundant definition.
17827 (ldbl_insert_mantissa): Likewise.
17828 (ldbl_canonicalize): Likewise.
17829 (ldbl_nearbyint): Likewise.
17830 (ldbl_pack): Rename to ldbl_pack_ppc.
17831 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17832 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17833 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17835 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17838 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17839 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17840 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17842 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17843 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17844 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17846 2013-03-07 Andreas Jaeger <aj@suse.de>
17848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17851 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17853 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17854 Include mpa.h and declare __MPEXP.
17855 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17857 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17858 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17860 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17861 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17863 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17864 (__slowpow): Use long double EXPL and LOGL functions to
17866 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17867 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17868 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17869 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17870 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17871 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17874 intermediate variable to calculate exponent.
17876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17880 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17881 [!NO__SQR]: Define __sqr.
17882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17883 and NO__SQR. Remove all code except __mul and __sqr. Include
17884 sysdeps/ieee754/dbl-64/mpa.c.
17885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17888 * posix/Makefile (tests): Add tst-pathconf.
17889 * posix/tst-pathconf.c: New test case.
17890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17892 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17894 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17896 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17898 2013-03-06 Andreas Jaeger <aj@suse.de>
17900 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17901 definition via __MAP_ANONYMOUS.
17903 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17904 it's not part of Linux headers.
17906 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17907 (MAP_HUGE_MASK): Define.
17909 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17911 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17914 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17915 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17917 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17918 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17920 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17922 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17923 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17924 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17925 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17926 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17927 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17929 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17933 Handle f2fs and efivarfs.
17935 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17938 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17939 (EFIVARFS_MAGIC): Add.
17940 (F2FS_LINK_MAX): Add.
17942 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17944 * stdio-common/vfprintf.c: Replace __builtin_expect with
17947 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17950 * sysdeps/generic/bp-sym.h: Remove file.
17951 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17952 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17953 <bp-sym.h> and <bp-asm.h>.
17954 (__longjmp): Don't use BP_SYM.
17955 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17957 (memcpy): Don't use BP_SYM.
17958 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17959 <bp-sym.h> and <bp-asm.h>.
17960 (memcpy): Don't use BP_SYM.
17961 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17963 (memcpy): Don't use BP_SYM.
17964 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17966 (memset): Don't use BP_SYM.
17967 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17968 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17969 (__bzero): Don't use BP_SYM.
17970 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17971 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17972 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17973 <bp-sym.h> and <bp-asm.h>.
17974 (memcmp): Don't use BP_SYM. Remove comment about bounded
17976 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17977 <bp-sym.h> and <bp-asm.h>.
17978 (memcpy): Don't use BP_SYM.
17979 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17980 <bp-sym.h> and <bp-asm.h>.
17981 (memset): Don't use BP_SYM.
17982 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17983 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17984 (__bzero): Don't use BP_SYM.
17985 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17986 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17987 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17988 <bp-sym.h> and <bp-asm.h>.
17989 (strncmp): Don't use BP_SYM. Remove comment about bounded
17991 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17992 <bp-sym.h> and <bp-asm.h>.
17993 (memcpy): Don't use BP_SYM.
17994 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17995 <bp-sym.h> and <bp-asm.h>.
17996 (memset): Don't use BP_SYM.
17997 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17998 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17999 (__bzero): Don't use BP_SYM.
18000 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18001 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18002 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18003 <bp-sym.h> and <bp-asm.h>.
18004 (__memchr): Don't use BP_SYM.
18005 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18006 <bp-sym.h> and <bp-asm.h>.
18007 (memcmp): Don't use BP_SYM. Remove comment about bounded
18009 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18010 <bp-sym.h> and <bp-asm.h>.
18011 (memcpy): Don't use BP_SYM.
18012 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18013 <bp-sym.h> and <bp-asm.h>.
18014 (__mempcpy): Don't use BP_SYM.
18015 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18016 <bp-sym.h> and <bp-asm.h>.
18017 (__memrchr): Don't use BP_SYM.
18018 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18019 <bp-sym.h> and <bp-asm.h>.
18020 (memset): Don't use BP_SYM.
18021 (__bzero): Likewise.
18022 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18023 <bp-sym.h> and <bp-asm.h>.
18024 (__rawmemchr): Don't use BP_SYM.
18025 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18026 <bp-sym.h> and <bp-asm.h>.
18027 (__STRCMP): Don't use BP_SYM.
18028 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18029 <bp-sym.h> and <bp-asm.h>.
18030 (strchr): Don't use BP_SYM.
18031 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18032 <bp-sym.h> and <bp-asm.h>.
18033 (__strchrnul): Don't use BP_SYM.
18034 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18035 <bp-sym.h> and <bp-asm.h>.
18036 (strlen): Don't use BP_SYM.
18037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18038 <bp-sym.h> and <bp-asm.h>.
18039 (strncmp): Don't use BP_SYM. Remove comment about bounded
18041 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18042 <bp-sym.h> and <bp-asm.h>.
18043 (__strnlen): Don't use BP_SYM.
18044 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18045 <bp-sym.h> and <bp-asm.h>.
18046 (__GI__setjmp): Don't use BP_SYM.
18047 (_setjmp): Likewise.
18048 (__sigsetjmp): Likewise.
18049 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18050 (L(start_addresses)): Don't use BP_SYM.
18051 (_start): Likewise.
18052 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18054 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18055 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18056 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18057 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18058 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18060 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18061 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18062 about bounded pointers.
18063 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18064 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18065 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18067 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18068 about bounded pointers. Remove GKM FIXME comments.
18069 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18070 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18072 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18073 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18074 Remove GKM FIXME comments.
18075 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18076 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18077 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18079 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18080 about bounded pointers. Remove GKM FIXME comment.
18081 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18083 (strncmp): Don't use BP_SYM. Remove comment about bounded
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18086 <bp-sym.h> and <bp-asm.h>.
18087 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18089 <bp-sym.h> and <bp-asm.h>.
18090 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18093 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18095 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18098 2013-03-05 David S. Miller <davem@davemloft.net>
18100 * po/es.po: Update from translation team.
18102 2013-03-05 Andreas Jaeger <aj@suse.de>
18104 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18105 <bits/mman-linux.h>.
18106 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18109 <bits/mman-linux.h> to end of file.
18110 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18112 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18113 <bits/mman-linux.h> to end of file.
18114 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18116 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18117 <bits/mman-linux.h> to end of file.
18119 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18120 (MCL_CURRENT, MCL_FUTURE): Define here.
18122 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18125 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18127 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18129 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18131 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18132 fourth parameter needed for rt_sigprocmask syscall.
18133 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18134 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18135 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18136 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18137 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18138 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18140 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18143 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18144 comment about bounded pointers.
18145 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18146 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18148 2013-03-04 Andreas Jaeger <aj@suse.de>
18150 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18151 common definitions.
18153 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18154 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18155 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18157 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18160 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18163 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18164 __ieee754_sqrl instead of __sqrl.
18166 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18168 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18169 * sysdeps/powerpc/fpu_control.h: ... here.
18170 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18171 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18172 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18173 * sysdeps/powerpc/bits/mathinline.h: ... here.
18175 2013-03-01 Roland McGrath <roland@hack.frob.com>
18177 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18178 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18179 to just [NEED_DL_SYSINFO_DSO].
18180 * elf/dl-support.c: Likewise.
18181 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18182 * elf/rtld.c (dl_main): Likewise.
18183 * elf/setup-vdso.h (setup_vdso): Likewise.
18184 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18185 * sysdeps/unix/sysv/linux/dl-sysdep.c
18186 (_dl_discover_osversion): Likewise.
18188 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18190 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18191 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18193 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18195 * NEWS: Mention libm performance improvements and non-x86 PI
18198 * csu/libc-start.c (__pthread_initialize_minimal): Change
18199 function arguments.
18200 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18202 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18205 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18206 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18207 <bp-sym.h> and <bp-asm.h>.
18208 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18209 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18211 (memcpy): Don't use BP_SYM.
18212 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18214 (__mpn_add_n): Don't use BP_SYM.
18215 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18216 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18218 (__mpn_addmul_1): Don't use BP_SYM.
18219 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18220 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18222 (_setjmp): Don't use BP_SYM.
18223 (__novmx_setjmp): Likewise.
18224 (__GI__setjmp): Likewise.
18225 (__vmx_setjmp): Likewise.
18226 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18228 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18229 (__bzero): Don't use BP_SYM.
18230 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18231 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18232 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18233 <bp-sym.h> and <bp-asm.h>.
18234 (memcpy): Don't use BP_SYM.
18235 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18236 <bp-sym.h> and <bp-asm.h>.
18237 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18238 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18239 <bp-sym.h> and <bp-asm.h>.
18240 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18241 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18243 (__mpn_lshift): Don't use BP_SYM.
18244 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18245 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18247 (memset): Don't use BP_SYM.
18248 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18249 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18250 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18252 (__mpn_mul_1): Don't use BP_SYM.
18253 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18255 <bp-sym.h> and <bp-asm.h>.
18256 (memcmp): Don't use BP_SYM.
18257 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18258 <bp-sym.h> and <bp-asm.h>.
18259 (memcpy): Don't use BP_SYM.
18260 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18261 <bp-sym.h> and <bp-asm.h>.
18262 (memset): Don't use BP_SYM.
18263 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18264 <bp-sym.h> and <bp-asm.h>.
18265 (strncmp): Don't use BP_SYM.
18266 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18267 <bp-sym.h> and <bp-asm.h>.
18268 (memcpy): Don't use BP_SYM.
18269 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18270 <bp-sym.h> and <bp-asm.h>.
18271 (memset): Don't use BP_SYM.
18272 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18273 <bp-sym.h> and <bp-asm.h>.
18274 (__memchr): Don't use BP_SYM.
18275 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18276 <bp-sym.h> and <bp-asm.h>.
18277 (memcmp): Don't use BP_SYM.
18278 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18279 <bp-sym.h> and <bp-asm.h>.
18280 (memcpy): Don't use BP_SYM.
18281 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18282 <bp-sym.h> and <bp-asm.h>.
18283 (__mempcpy): Don't use BP_SYM.
18284 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18285 <bp-sym.h> and <bp-asm.h>.
18286 (__memrchr): Don't use BP_SYM.
18287 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18288 <bp-sym.h> and <bp-asm.h>.
18289 (memset): Don't use BP_SYM.
18290 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18291 <bp-sym.h> and <bp-asm.h>.
18292 (__rawmemchr): Don't use BP_SYM.
18293 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18294 <bp-sym.h> and <bp-asm.h>.
18295 (__STRCMP): Don't use BP_SYM.
18296 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18297 <bp-sym.h> and <bp-asm.h>.
18298 (strchr): Don't use BP_SYM.
18299 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18300 <bp-sym.h> and <bp-asm.h>.
18301 (__strchrnul): Don't use BP_SYM.
18302 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18303 <bp-sym.h> and <bp-asm.h>.
18304 (strlen): Don't use BP_SYM.
18305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18306 <bp-sym.h> and <bp-asm.h>.
18307 (strncmp): Don't use BP_SYM.
18308 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18309 <bp-sym.h> and <bp-asm.h>.
18310 (__strnlen): Don't use BP_SYM.
18311 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18313 (__mpn_rshift): Don't use BP_SYM.
18314 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18315 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18316 <bp-sym.h> and <bp-asm.h>.
18317 (__sigsetjmp): Don't use BP_SYM.
18318 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18319 (L(start_addresses)): Don't use BP_SYM.
18320 (_start): Likewise.
18321 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18323 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18324 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18325 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18326 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18328 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18329 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18330 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18331 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18333 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18335 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18336 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18338 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18340 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18341 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18342 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18344 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18346 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18348 (strncmp): Don't use BP_SYM,
18349 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18351 (__mpn_sub_n): Don't use BP_SYM.
18352 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18353 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18355 (__mpn_submul_1): Don't use BP_SYM.
18356 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18358 <bp-sym.h> and <bp-asm.h>.
18359 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18361 <bp-sym.h> and <bp-asm.h>.
18362 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18365 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18368 Use ZK to minimize writes to Z.
18369 (sub_magnitudes): Simplify code a bit.
18370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18371 Use ZK to minimize writes to Z.
18372 (sub_magnitudes): Simplify code a bit.
18374 2013-02-27 Roland McGrath <roland@hack.frob.com>
18376 * csu/gmon-start.c: Add special exception to license text.
18378 2013-02-27 Richard Henderson <rth@redhat.com>
18380 * scripts/config.guess: Update from config.git.
18381 * scripts/config.sub: Likewise.
18383 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18385 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18387 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18389 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18391 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18393 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18395 2013-02-26 Roland McGrath <roland@hack.frob.com>
18397 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18398 [$(build-shared = yes].
18400 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18402 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18403 (__mul): Reduce iterations for calculating mantissa.
18405 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18407 (__mpranred): Likewise.
18410 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18411 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18413 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18415 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18416 Define __attribute__.
18418 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18420 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18422 * posix/regex_internal.h (__attribute): Remove.
18423 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18424 (re_string_context_at): Likewise.
18425 (bitset_not): Use __attribute__ and mark function as possibly
18427 (bitset_merge): Likewise.
18428 (bitset_mask): Likewise.
18429 (re_string_char_size_at): Likewise.
18430 (re_string_wchar_at): Likewise.
18431 (re_string_elem_size_at): Likewise.
18433 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18435 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18439 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18443 (denorm): Likewise.
18444 (__dbl_mp): Likewise.
18445 (add_magnitudes): Likewise.
18446 (sub_magnitudes): Likewise.
18450 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18453 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18456 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18460 up changes with default code.
18461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18464 2013-02-24 Allan McRae <allan@archlinux.org>
18466 * manual/socket.texi (The Internet Namespace): Order menu items
18467 to match that in the file.
18469 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18470 node listing of the info page menu.
18472 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18475 * sysdeps/i386/bp-asm.h: Remove file.
18476 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18477 (PARMS): Do not use macros from bp-asm.h.
18481 (__mpn_add_n): Do not use BP_SYM
18482 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18484 (PARMS): Do not use macros from bp-asm.h.
18487 (__mpn_addmul_1): Do not use BP_SYM
18488 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18490 (PARMS): Do not use macros from bp-asm.h.
18491 (SIGMSK): Likewise.
18492 (_setjmp): Likewise. Do not use BP_SYM.
18493 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18495 (PARMS): Do not use macros from bp-asm.h.
18496 (SIGMSK): Likewise.
18497 (setjmp): Likewise. Do not use BP_SYM.
18498 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18500 (PARMS): Do not use macros from bp-asm.h.
18501 (__frexp): Do not use BP_SYM.
18503 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18505 (PARMS): Do not use macros from bp-asm.h.
18506 (__frexpf): Do not use BP_SYM.
18507 (frexpf): Likewise.
18508 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18510 (PARMS): Do not use macros from bp-asm.h.
18511 (__frexpl): Do not use BP_SYM.
18512 (frexpl): Likewise.
18513 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18515 (PARMS): Do not use macros from bp-asm.h.
18516 (__remquo): Do not use BP_SYM.
18517 (remquo): Likewise.
18518 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18520 (PARMS): Do not use macros from bp-asm.h.
18521 (__remquof): Do not use BP_SYM.
18522 (remquof): Likewise.
18523 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18525 (PARMS): Do not use macros from bp-asm.h.
18526 (__remquol): Do not use BP_SYM.
18527 (remquol): Likewise.
18528 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18530 (PARMS): Do not use macros from bp-asm.h.
18533 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18534 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18536 (PARMS): Do not use macros from bp-asm.h.
18537 (strlen): Do not use BP_SYM.
18538 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18540 (PARMS): Do not use macros from bp-asm.h.
18544 (__mpn_add_n): Do not use BP_SYM.
18545 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18547 (PARMS): Do not use macros from bp-asm.h.
18550 (__mpn_addmul_1): Do not use BP_SYM.
18551 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18554 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18556 (PARMS): Do not use macros from bp-asm.h.
18559 (__mpn_lshift): Do not use BP_SYM.
18560 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18562 (PARMS): Do not use macros from bp-asm.h.
18566 (memcpy): Likewise. Do not use BP_SYM.
18567 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18568 libc_hidden_def and weak_alias.
18569 (mempcpy): Do not use BP_SYM in weak_alias.
18570 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18572 (PARMS): Do not use macros from bp-asm.h.
18575 [!BZERO_P] (CHR): Likewise.
18576 (memset): Likewise. Do not use BP_SYM.
18577 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18579 (PARMS): Do not use macros from bp-asm.h.
18582 (__mpn_mul_1): Do not use BP_SYM.
18583 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18585 (PARMS): Do not use macros from bp-asm.h.
18588 (__mpn_rshift): Do not use BP_SYM.
18589 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18591 (PARMS): Do not use macros from bp-asm.h.
18594 (strchr): Likewise. Do not use BP_SYM.
18595 (index): Do not use BP_SYM in weak_alias.
18596 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18598 (PARMS): Do not use macros from bp-asm.h.
18601 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18602 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18604 (PARMS): Do not use macros from bp-asm.h.
18605 (strlen): Do not use BP_SYM.
18606 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18608 (PARMS): Do not use macros from bp-asm.h.
18612 (__mpn_sub_n): Do not use BP_SYM.
18613 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18615 (PARMS): Do not use macros from bp-asm.h.
18618 (__mpn_submul_1): Do not use BP_SYM.
18619 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18621 (PARMS): Do not use macros from bp-asm.h.
18625 (__mpn_add_n): Do not use BP_SYM.
18626 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18629 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18631 (PARMS): Do not use macros from bp-asm.h.
18634 (memcmp): Do not use BP_SYM.
18635 (bcmp): Do not use BP_SYM in weak_alias.
18636 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18638 (PARMS): Do not use macros from bp-asm.h.
18642 (memcpy): Likewise. Do not use BP_SYM.
18643 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18645 (PARMS): Do not use macros from bp-asm.h.
18649 (memmove): Likewise. Do not use BP_SYM.
18650 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18652 (PARMS): Do not use macros from bp-asm.h.
18656 (__mempcpy): Likewise. Do not use BP_SYM.
18657 (mempcpy): Do not use BP_SYM in weak_alias.
18658 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18660 (PARMS): Do not use macros from bp-asm.h.
18663 [!BZERO_P] (CHR): Likewise.
18664 (memset): Likewise. Do not use BP_SYM.
18665 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18667 (PARMS): Do not use macros from bp-asm.h.
18669 (strcmp): Do not use BP_SYM.
18670 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18672 (PARMS): Do not use macros from bp-asm.h.
18675 [USE_AS_STRTOK_R] (SAVE): Likewise.
18676 (FUNCTION): Likewise. Do not use BP_SYM.
18677 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18679 (strtok_r): Likewise.
18680 (__GI___strtok_r): Likewise.
18681 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18682 (PARMS): Do not use macros from bp-asm.h.
18685 (__mpn_lshift): Do not use BP_SYM.
18686 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18687 (PARMS): Do not use macros from bp-asm.h.
18690 (__memchr): Do not use BP_SYM.
18691 (memchr): Do not use BP_SYM in weak_alias.
18692 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18693 (PARMS): Do not use macros from bp-asm.h.
18696 (memcmp): Do not use BP_SYM.
18697 (bcmp): Do not use BP_SYM in weak_alias.
18698 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18699 (PARMS): Do not use macros from bp-asm.h.
18702 (__mpn_mul_1): Do not use BP_SYM.
18703 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18705 (PARMS): Do not use macros from bp-asm.h.
18708 (__rawmemchr): Do not use BP_SYM.
18709 (rawmemchr): Do not use BP_SYM in weak_alias.
18710 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18711 (PARMS): Do not use macros from bp-asm.h.
18714 (__mpn_rshift): Do not use BP_SYM.
18715 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18716 (PARMS): Do not use macros from bp-asm.h.
18717 (SIGMSK): Likewise.
18718 (__sigsetjmp): Likewise. Do not use BP_SYM.
18719 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18720 (_start): Do not use BP_SYM.
18721 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18722 (PARMS): Do not use macros from bp-asm.h.
18725 (__stpcpy): Likewise. Do not use BP_SYM.
18726 (stpcpy): Do not use BP_SYM in weak_alias.
18727 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18729 (PARMS): Do not use macros from bp-asm.h.
18733 (__stpncpy): Likewise. Do not use BP_SYM.
18734 (stpncpy): Do not use BP_SYM in weak_alias.
18735 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18736 (PARMS): Do not use macros from bp-asm.h.
18739 (strchr): Likewise. Do not use BP_SYM.
18740 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18742 (PARMS): Do not use macros from bp-asm.h.
18745 (__strchrnul): Likewise. Do not use BP_SYM.
18746 (strchrnul): Do not use BP_SYM in weak_alias.
18747 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18749 (PARMS): Do not use macros from bp-asm.h.
18751 (strcspn): Do not use BP_SYM.
18752 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18754 (PARMS): Do not use macros from bp-asm.h.
18757 (strpbrk): Likewise. Do not use BP_SYM.
18758 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18760 (PARMS): Do not use macros from bp-asm.h.
18763 (strrchr): Likewise. Do not use BP_SYM.
18764 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18765 (PARMS): Do not use macros from bp-asm.h.
18767 (strspn): Do not use BP_SYM.
18768 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18769 (PARMS): Do not use macros from bp-asm.h.
18773 (FUNCTION): Likewise. Do not use BP_SYM.
18774 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18776 (strtok_r): Likewise.
18777 (__GI___strtok_r): Likewise.
18778 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18779 (PARMS): Do not use macros from bp-asm.h.
18783 (__mpn_sub_n): Do not use BP_SYM.
18784 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18786 (PARMS): Do not use macros from bp-asm.h.
18789 (__mpn_submul_1): Do not use BP_SYM.
18790 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18792 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18794 (PARMS): Do not use macros from bp-asm.h.
18799 (__clone): Do not use BP_SYM.
18800 (clone): Do not use BP_SYM in weak_alias.
18801 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18803 (PARMS): Do not use macros from bp-asm.h.
18805 (__mmap64): Do not use BP_SYM.
18806 (mmap64): Do not use BP_SYM in weak_alias.
18807 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18808 <bp-sym.h> and <bp-asm.h>.
18809 (PARMS): Do not use macros from bp-asm.h.
18810 (__posix_fadvise64_l64): Do not use BP_SYM.
18811 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18812 (PARMS): Do not use macros from bp-asm.h.
18814 (semtimedop): Do not use BP_SYM.
18815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18818 2013-02-21 Allan McRae <allan@archlinux.org>
18820 * manual/message.texi (Charset conversion in gettext):
18821 Move @end statement to beginning of line.
18823 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18830 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18831 (denorm): Likewise.
18832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18835 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18837 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18838 tail-call to the resolved function if pltexit isn't needed.
18840 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18843 or Y being zero as being unlikely.
18844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18847 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18849 * manual/nss.texi (System Databases and Name Service Switch):
18850 Remove frobnicate @pxref.
18852 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18854 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18855 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18857 2013-02-20 Petr Machata <pmachata@redhat.com>
18859 * elf/elf.h (R_ARM_TARGET1): New macro.
18860 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18861 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18862 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18863 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18864 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18865 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18866 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18867 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18868 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18869 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18870 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18871 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18872 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18873 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18874 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18875 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18876 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18877 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18878 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18879 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18880 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18881 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18882 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18883 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18884 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18885 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18886 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18887 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18888 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18889 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18890 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18891 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18892 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18893 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18894 (R_ARM_THM_GOT_BREL12): Likewise.
18895 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18896 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18897 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18898 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18899 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18900 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18901 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18902 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18903 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18905 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18907 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18908 __attribute_used__ to __attribute__ ((unused)).
18910 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18912 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18915 comment formatting.
18916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18918 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18921 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18923 (ENTER): Remove both macro definitions.
18925 (CHECK_BOUNDS_LOW): Likewise.
18926 (CHECK_BOUNDS_HIGH): Likewise.
18927 (CHECK_BOUNDS_BOTH): Likewise.
18928 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18929 (RETURN_BOUNDED_POINTER): Likewise.
18930 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18931 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18932 (POP_ERRNO_LOCATION_RETURN): Likewise.
18933 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18934 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18935 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18937 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18938 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18939 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18940 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18941 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18942 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18943 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18944 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18945 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18946 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18947 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18948 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18949 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18950 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18952 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18953 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18955 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18956 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18957 * sysdeps/i386/i586/memset.S (memset): Likewise.
18958 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18959 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18960 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18962 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18963 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18964 Change uses of L(2) to L(out).
18965 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18966 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18967 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18968 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18969 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18971 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18972 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18974 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18975 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18976 (RETURN): Do not use macro LEAVE.
18977 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18978 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18979 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18980 * sysdeps/i386/i686/memset.S (memset): Likewise.
18981 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18982 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18983 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18984 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18986 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18987 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18988 L(1_2) and L(1_3) into L(1).
18989 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18990 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18991 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18992 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18993 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18994 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18995 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18996 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18997 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18999 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19000 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19001 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19002 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19003 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19004 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19005 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19006 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19007 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19008 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19009 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19010 * sysdeps/i386/strspn.S (strspn): Likewise.
19011 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19013 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19014 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19015 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19016 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19017 L(1_3) into L(1_1).
19018 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19019 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19020 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19022 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19024 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19026 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19029 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19031 * math/atest-exp.c (exp_mpn): Remove ROUND.
19032 * math/atest-exp2.c (exp_mpn): Likewise.
19033 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19035 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19036 * stdlib/tst-tls-atexit-lib.c: Likewise.
19037 * stdlib/tst-tls-atexit.c: Likewise.
19039 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19041 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19042 and __attribute_alloc_size__.
19044 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19046 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19047 __attribute_alloc_size__.
19048 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19049 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19051 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19053 * include/programs/xmalloc.h: New file.
19054 * catgets/gencat.c: Include it.
19055 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19056 * elf/pldd.c: Likewise.
19057 * iconv/iconv_charmap.c: Likewise.
19058 * iconv/iconvconfig.c: Likewise.
19059 * iconv/strtab.c: Likewise.
19060 * locale/programs/locale.c: Likewise.
19061 * locale/programs/localedef.h: Likewise.
19062 * locale/programs/simple-hash.c: Likewise.
19063 * nscd/nscd.h: Likewise.
19064 * nss/makedb.c: Likewise.
19065 * sysdeps/generic/ldconfig.h: Likewise.
19067 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19069 * Versions.def: Add GLIBC_2.18.
19070 * include/link.h (struct link_map): New member l_tls_dtor_count.
19071 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19072 (__call_tls_dtors): Likewise.
19073 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19074 __cxa_thread_atexit_impl.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19091 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19092 (tests): Add test case tst-tls-atexit.
19093 (modules-names): Add shared library for tst-tls-atexit.
19094 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19095 (GLIBC_PRIVATE): Add __call_tls_dtors.
19096 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19098 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19099 * stdlib/tst-tls-atexit.c: New test case.
19100 * stdlib/tst-tls-atexit-lib.c: New test case.
19102 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19104 * elf/Versions (ld): Add _dl_find_dso_for_object.
19105 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19106 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19107 (dl_open_worker): Use _dl_find_dso_for_object.
19108 * elf/dl-sym.c (do_sym): Likewise.
19109 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19111 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19113 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19114 Syntactic changes only.
19115 (_dl_runtime_profile): Do a tail-call to the resolved function.
19117 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19120 * sysdeps/x86_64/bp-asm.h: Remove file.
19121 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19122 <bp-sym.h> and <bp-asm.h>.
19123 (__clone): Do not use BP_SYM.
19124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19125 <bp-sym.h> and <bp-asm.h>.
19126 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19127 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19129 (_setjmp): Do not use BP_SYM.
19130 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19132 (setjmp): Do not use BP_SYM.
19133 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19135 (mempcpy): Do not use BP_SYM in weak_alias.
19136 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19138 (strchr): Do not use BP_SYM.
19139 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19141 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19142 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19143 (_start): Do not use BP_SYM.
19144 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19146 (strcat): Do not use BP_SYM.
19147 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19149 (STRCMP): Do not use BP_SYM.
19150 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19152 (STRCPY): Do not use BP_SYM.
19153 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19155 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19157 (FUNCTION): Do not use BP_SYM.
19158 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19160 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19162 2013-02-17 Andreas Jaeger <aj@suse.de>
19164 * time/Versions: Sort entries.
19165 * string/Versions: Likewise.
19166 * resolv/Versions: Likewise.
19167 * posix/Versions: Likewise.
19168 * iconv/Versions: Likewise.
19169 * elf/Versions: Likewise.
19170 * wcsmbs/Versions: Likewise.
19172 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19174 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19175 loop termination condition.
19177 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19178 variable to calculate EZ.
19181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19182 the lower precision input.
19184 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19187 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19188 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19189 (run-via-rtld-prefix): Do not handle %-bp tests.
19190 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19191 (all-object-suffixes): Remove .ob.
19192 (bppfx): Remove variable.
19193 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19194 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19195 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19196 [$(build-bounded) = yes] (libtype.ob): Likewise.
19197 * Makerules (elide-routines.ob): Remove variable.
19198 (do-tests-clean): Do not handle *-bp.out.
19199 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19200 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19201 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19202 (tests): Do not include $(tests-bp.out).
19203 (xtests): Do not include $(xtests-bp.out).
19204 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19205 [$(build-bounded) = yes] ($(addprefix
19206 $(objpfx),$(binaries-bounded))): Remove rule.
19207 ($(objpfx)%-bp.out): Remove rule.
19208 * config.make.in (build-bounded): Remove variable.
19209 * crypt/Makefile [$(build-bounded) = yes]
19210 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19211 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19212 append to variable.
19213 [$(build-bounded) = yes] (install-lib): Likewise.
19214 [$(build-bounded) = yes] (generated): Likewise.
19215 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19217 * intl/Makefile [$(build-bounded) = yes]
19218 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19219 * math/Makefile [$(build-bounded) = yes]
19220 ($(tests:%=$(objpfx)%-bp): Likewise.
19221 * misc/Makefile [$(build-bounded) = yes]
19222 ($(objpfx)tst-tsearch-bp): Likewise.
19223 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19224 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19226 * string/Makefile (o-objects.ob): Remove variable.
19227 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19228 (CFLAGS-.ob): Remove variable.
19229 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19230 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19231 both definitions of variable.
19232 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19233 (ASFLAGS-.ob): Remove variable.
19235 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19238 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19239 Remove __BOUNDED_POINTERS__ from condition.
19240 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19241 * string/bits/string2.h [!__NO_STRING_INLINES &&
19242 !__BOUNDED_POINTERS__]: Likewise.
19243 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19245 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19246 Remove conditional code.
19247 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19248 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19249 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19253 * csu/libc-start.c: Do not include <bp-sym.h>.
19254 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19255 * elf/dl-open.c: Do not include <bp-sym.h>.
19256 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19257 * math/fegetenv.c: Do not include <bp-sym.h>.
19258 (fegetenv): Do not use BP_SYM in versioned symbols.
19259 * nptl/sysdeps/pthread/bits/libc-lockP.h
19260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19263 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19265 (__pthread_mutex_destroy): Likewise.
19266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19267 (__pthread_mutex_lock): Likewise.
19268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19269 (__pthread_mutex_trylock): Likewise.
19270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19271 (__pthread_mutex_unlock): Likewise.
19272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19273 (__pthread_mutexattr_init): Likewise.
19274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19275 (__pthread_mutexattr_destroy): Likewise.
19276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19277 (__pthread_mutexattr_settype): Likewise.
19278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19279 (__pthread_rwlock_init): Likewise.
19280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19281 (__pthread_rwlock_destroy): Likewise.
19282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19283 (__pthread_rwlock_rdlock): Likewise.
19284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19285 (__pthread_rwlock_tryrdlock): Likewise.
19286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19287 (__pthread_rwlock_wrlock): Likewise.
19288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19289 (__pthread_rwlock_trywrlock): Likewise.
19290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19291 (__pthread_rwlock_unlock): Likewise.
19292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19293 (__pthread_key_create): Likewise.
19294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19295 (__pthread_setspecific): Likewise.
19296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19297 (__pthread_getspecific): Likewise.
19298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19301 (_pthread_cleanup_push_defer): Likewise.
19302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19303 (_pthread_cleanup_pop_restore): Likewise.
19304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19305 (pthread_setcancelstate): Likewise.
19306 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19308 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19309 (memchr): Do not use BP_SYM in weak_alias.
19310 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19311 (fegetenv): Do not use BP_SYM in versioned symbols.
19312 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19313 (fesetenv): Do not use BP_SYM in versioned symbols.
19314 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19315 (feupdateenv): Do not use BP_SYM in versioned symbols.
19316 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19317 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19318 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19319 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19320 (open64): Do not use BP_SYM in weak_alias.
19321 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19322 (fegetenv): Do not use BP_SYM in versioned symbols.
19323 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19324 (fesetenv): Do not use BP_SYM in versioned symbols.
19325 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19326 (feupdateenv): Do not use BP_SYM in versioned symbols.
19327 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19328 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19329 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19330 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19331 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19332 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19333 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19335 (__libc_start_main): Do not use BP_SYM.
19337 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19340 redundant return line.
19342 (denorm): Likewise.
19343 (dbl_mp): Likewise.
19344 (sub_magnitudes): Likewise.
19350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19352 (denorm): Likewise.
19353 (dbl_mp): Likewise.
19354 (sub_magnitudes): Likewise.
19361 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19363 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19364 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19367 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19368 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19370 of __mul for squares.
19371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19375 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19376 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19378 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19381 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19383 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19384 prototype or function definition. Rename ubp_* variables and
19385 parameters. Remove argv definitions conditional on
19386 [__BOUNDED_POINTERS__].
19387 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19388 * elf/dl-runtime.c (_dl_fixup): Likewise.
19389 * include/set-hooks.h (RUN_HOOK): Likewise.
19390 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19392 * string/strcpy.c (strcpy): Do not use __unbounded.
19393 * sysdeps/generic/frame.h (struct layout): Likewise.
19394 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19395 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19396 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19397 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19398 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19399 (__backtrace): Likewise.
19400 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19402 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19403 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19404 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19406 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19407 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19408 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19409 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19410 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19411 Do not use __unbounded.
19412 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19413 Rename __unboundedrlimits parameter to rlimits in prototype.
19414 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19415 Do not use __unbounded.
19416 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19417 not use __ptrvalue.
19418 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19419 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19420 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19421 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19422 __ptrvalue or __unbounded.
19423 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19424 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19426 (__new_msgctl): Do not use __ptrvalue.
19427 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19429 (__libc_msgrcv): Do not use __ptrvalue.
19430 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19431 startup_info): Do not use __unbounded.
19432 (__libc_start_main): Likewise. Rename ubp_* variables and
19433 parameters. Remove argv definitions conditional on
19434 [__BOUNDED_POINTERS__].
19435 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19437 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19441 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19443 (__new_shmctl): Do not use __ptrvalue.
19444 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19445 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19447 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19448 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19449 (__libc_sigaction): Likewise.
19450 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19451 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19453 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19455 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19457 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19459 * string/mempcpy.c: Implement by calling memcpy.
19461 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19468 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19469 values in the mantissa.
19471 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19472 minimize writes to Z.
19473 (sub_magnitudes): Simplify code a bit.
19475 2013-02-12 Roland McGrath <roland@hack.frob.com>
19477 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19478 from the message. The linker prefixes all warnings with that already.
19480 2013-02-12 Andreas Schwab <schwab@suse.de>
19483 * posix/regexec.c (extend_buffers): Add parameter min_len.
19484 (check_matching): Pass minimum needed length.
19485 (clean_state_log_if_needed): Likewise.
19486 (get_subexp): Likewise.
19487 * posix/Makefile (tests): Add bug-regex34.
19488 (bug-regex34-ENV): Define.
19489 * posix/bug-regex34.c: New file.
19492 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19493 elements compare against the byte sequence of it, not its name.
19494 * posix/Makefile (tests): Add bug-regex35.
19495 (bug-regex35-ENV): Define.
19496 * posix/bug-regex35.c: New file.
19498 2013-02-11 Tom de Vries <tom@codesourcery.com>
19500 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19502 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19503 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19504 (CHECK_EOL): Add undef.
19506 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19508 * bits/stdlib-bsearch.h: New file.
19509 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19510 * stdlib/stdlib.h: Likewise.
19512 2013-02-11 Roland McGrath <roland@hack.frob.com>
19514 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19515 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19517 * manual/search.texi (Array Search Function): Add missing const in
19519 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19520 declaration to use rlim_t.
19521 (Basic Scheduling Functions): Remove erroneous const from
19522 sched_getparam prototype. Remove erroneous * from
19523 sched_get_priority_max and sched_get_priority_min prototypes.
19524 (Resource Usage): Fix summary @comment on vtimes to refer to
19525 sys/vtimes.h rather than vtimes.h.
19526 Add missing *s in vtimes prototype.
19527 (Limits on Resources): Fix ulimit prototype to return long int.
19528 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19529 prototypes to use long int rather than double.
19530 (BSD Random): Fix initstate and setstate to use char *, not void *.
19531 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19532 prototype to make second argument 'struct aiocb64 *const[]'.
19533 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19534 (Status of AIO Operations): Remove erroneous const in aio_return and
19535 aio_return64 prototypes.
19536 (Synchronizing I/O): Fix sync prototype to return void.
19537 * manual/startup.texi (Suboptions): Remove an erroneous const in
19538 getsubopt prototype.
19539 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19540 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19541 use size_t rather than int.
19542 (Scanning All Users): Likewise for getpwent_r.
19543 (Setting Groups): Add missing const to setgroups prototype.
19544 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19545 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19546 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19547 'const void *' rather than 'const char *'.
19548 (Host Address Functions): Likewise for inet_ntop.
19549 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19550 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19551 ssize_t for return value.
19552 (Sending Data): Likewise for send, sendto, sendmsg.
19553 (Socket Option Functions): Add a missing const in setsockopt prototype.
19554 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19555 use wchar_t for the argument.
19556 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19557 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19559 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19560 double/float/long double for second argument.
19561 Fix return types of significand, significandf, significandl.
19562 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19563 argument in fchmod prototype.
19564 (File Owner): Use uid_t and gid_t in fchown prototype.
19565 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19566 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19567 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19568 use 'const struct dirent **' as argument types to CMP function pointer
19570 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19571 (File Times): Fix summary magic @comment for struct utimbuf and utime
19572 to refer to utime.h, not time.h.
19573 * manual/string.texi (Argz Functions): Add missing const in
19574 argz_extract and argz_next prototypes.
19575 (Finding Tokens in a String): Likewise for basename.
19576 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19577 (Copying and Concatenation): Fix typo in wmemmove prototype.
19578 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19579 (Signal Stack): Remove erroneous const in sigstack prototype.
19580 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19582 (Simple Calendar Time): Likewise for stime.
19583 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19585 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19586 say sys/sysctl.h instead.
19587 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19588 and vsyslog prototypes.
19590 2013-02-11 Tom de Vries <tom@codesourcery.com>
19592 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19595 2013-02-11 Roland McGrath <roland@hack.frob.com>
19597 * misc/sys/mman.h: Fix typo in mremap comment.
19599 2013-02-08 Roland McGrath <roland@hack.frob.com>
19601 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19602 the '\0' terminator.
19604 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19607 * debug/segfault.c: Don't include <bp-checks.h>.
19608 * sysdeps/generic/bp-checks.h: Remove file.
19609 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19610 (__GETDENTS): Don't use CHECK_N.
19611 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19612 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19613 (__getgroups): Don't use CHECK_N.
19614 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19615 (setgroups): Don't use CHECK_N.
19616 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19617 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19618 (__libc_msgrcv): Don't use CHECK_N.
19619 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19620 (__libc_msgsnd): Don't use CHECK_N.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19623 (__libc_pread): Don't use CHECK_N.
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19625 include <bp-checks.h>.
19626 (__libc_pread64): Don't use CHECK_N.
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19628 include <bp-checks.h>.
19629 (__libc_pwrite): Don't use CHECK_N.
19630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19631 include <bp-checks.h>.
19632 (__libc_pwrite64): Don't use CHECK_N.
19633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19635 (__libc_pread): Don't use CHECK_N.
19636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19637 include <bp-checks.h>.
19638 (__libc_pread64): Don't use CHECK_N.
19639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19640 include <bp-checks.h>.
19641 (__libc_pwrite): Don't use CHECK_N.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19643 include <bp-checks.h>.
19644 (__libc_pwrite64): Don't use CHECK_N.
19645 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19646 (do_pread): Don't use CHECK_N.
19647 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19648 (do_pread64): Don't use CHECK_N.
19649 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19650 (do_pwrite): Don't use CHECK_N.
19651 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19652 (do_pwrite64): Don't use CHECK_N.
19653 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19654 (__libc_readv): Don't use CHECK_N.
19655 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19656 (semop): Don't use CHECK_N.
19657 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19659 (semtimedop): Don't use CHECK_N.
19660 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19661 (__libc_pread): Don't use CHECK_N.
19662 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19664 (__libc_pread64): Don't use CHECK_N.
19665 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19667 (__libc_pwrite): Don't use CHECK_N.
19668 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19670 (__libc_pwrite64): Don't use CHECK_N.
19671 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19673 (__libc_msgrcv): Don't use CHECK_N.
19674 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19675 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19676 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19677 (__libc_writev): Don't use CHECK_N.
19679 2013-02-08 Roland McGrath <roland@hack.frob.com>
19681 * string/strcpy.c: Removed unused variable.
19683 * Makeconfig (+sysdep-includes): Define with := rather than =.
19684 Use an existing include/ subdir of each sysdeps dir before it.
19686 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19688 * nscd/connection.c (register_traced_file): Comment function.
19689 [HAVE_INOTIFY] (union __inev): Define.
19690 [HAVE_INOTIFY] (inotify_check_files): New function.
19691 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19692 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19694 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19696 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19698 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19699 loaded if not already and that a failure is permanent.
19701 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19704 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19705 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19707 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19710 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19711 (CHECK_1_NULL_OK): Likewise.
19712 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19713 (__fxstat): Do not use CHECK_1.
19714 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19716 (___fxstat64): Do not use CHECK_1.
19717 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19719 (__fxstatat): Do not use CHECK_1.
19720 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19722 (__fxstatat64): Do not use CHECK_1.
19723 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19725 (__fxstat): Do not use CHECK_1.
19726 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19728 (__fxstatat): Do not use CHECK_1.
19729 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19731 (__getresgid): Do not use CHECK_1.
19732 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19734 (__getresuid): Do not use CHECK_1.
19735 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19737 (__lxstat): Do not use CHECK_1.
19738 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19740 (__old_msgctl): Do not use CHECK_1.
19741 (__new_msgctl): Likewise.
19742 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19744 (__new_setrlimit): Do not use CHECK_1.
19745 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19747 (__old_shmctl): Do not use CHECK_1.
19748 (__new_shmctl): Likewise.
19749 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19751 (__xstat): Do not use CHECK_1.
19752 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19753 (__lxstat): Do not use CHECK_1.
19754 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19756 (___lxstat64): Do not use CHECK_1.
19757 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19758 (__old_msgctl): Do not use CHECK_1.
19759 (__new_msgctl): Likewise.
19760 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19762 (__gettimeofday): Do not use CHECK_1.
19763 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19764 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19765 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19767 (__gettimeofday): Do not use CHECK_1.
19768 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19769 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19770 (__new_shmctl): Do not use CHECK_1.
19771 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19773 (do_sigtimedwait): Do not use CHECK_1.
19774 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19776 (do_sigwaitinfo): Do not use CHECK_1.
19777 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19779 (msgctl): Do not use CHECK_1.
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19782 (shmctl): Do not use CHECK_1.
19783 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19784 (ustat): Do not use CHECK_1.
19785 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19787 (__fxstat): Do not use CHECK_1.
19788 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19790 (__fxstatat): Do not use CHECK_1.
19791 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19793 (__lxstat): Do not use CHECK_1.
19794 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19796 (__xstat): Do not use CHECK_1.
19797 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19798 (__xstat): Do not use CHECK_1.
19799 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19800 (___xstat64): Do not use CHECK_1.
19803 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19805 (CHECK_BOUNDS_HIGH): Likewise.
19806 * string/strcpy.c: Do not include <bp-checks.h>.
19807 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19809 2013-02-07 Roland McGrath <roland@hack.frob.com>
19811 * nscd/nscd-client.h (__nscd_drop_map_ref):
19812 Add __attribute__ ((unused)).
19813 * nis/nss-nisplus.h (niserr2nss): Likewise.
19815 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19816 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19818 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19819 Remove inline keyword.
19820 * include/rounding-mode.h (round_away): Likewise.
19821 * libio/wfileops.c (adjust_wide_data): Likewise.
19822 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19823 (__m128i_strloadu_tolower): Likewise.
19824 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19825 (__m128i_strloadu_tolower): Likewise.
19826 * time/mktime.c (ydhms_diff): Likewise.
19827 * locale/elem-hash.h (elem_hash): Likewise.
19828 * locale/setlocale.c (setdata): Likewise.
19829 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19830 (re_string_wchar_at): Likewise.
19831 (bitset_not, bitset_merge, bitset_mask): Likewise.
19832 [!(__GNUC__ > 3)] (inline): Remove macro.
19833 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19834 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19835 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19836 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19837 * string/memcmp.c (memcmp_bytes): Likewise.
19838 * locale/programs/locarchive.c (compute_hashval): Likewise.
19839 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19840 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19841 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19842 * nss/getent.c (print_rpc, print_protocols): Likewise.
19843 (print_passwd, print_group, print_aliases): Likewise.
19844 * nis/nss-nisplus.h (niserr2nss): Likewise.
19845 * nscd/connections.c (restart_p): Likewise.
19846 Change return type to bool.
19848 2013-02-05 Roland McGrath <roland@hack.frob.com>
19850 * Makeconfig (all-Depend-files): Add existing
19851 $(sorted-subdirs:=/Depend) files.
19852 (all-subdirs): Remove nss.
19853 * sysdeps/unix/inet/Subdirs: Add it here instead.
19854 * hesiod/Depend: New file.
19856 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19857 instead of calling alloca.
19859 * io/lseek.c (__lseek): Rename to __libc_lseek.
19860 Define __lseek as an alias.
19862 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19864 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19866 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19867 else clause and remove check for non-standard endianness.
19869 2013-02-04 David S. Miller <davem@davemloft.net>
19871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19873 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19876 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19877 (__ubp_memchr): Remove prototype.
19878 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19879 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19880 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19881 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19882 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19884 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19885 (__ubp_memchr): Likewise.
19886 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19887 (__ubp_memchr): Likewise.
19888 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19889 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19890 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19891 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19893 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19894 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19895 (__getcwd): Do not use CHECK_STRING.
19896 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19898 (__real_chown): Do not use CHECK_STRING.
19899 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19901 (fchownat): Do not use CHECK_STRING.
19902 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19904 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19906 (__lchown): Do not use CHECK_STRING.
19907 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19908 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19909 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19910 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19912 include <bp-checks.h>.
19913 (truncate64): Do not use CHECK_STRING.
19914 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19916 (__real_chown): Do not use CHECK_STRING.
19917 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19919 (__lchown): Do not use CHECK_STRING.
19920 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19922 (__chown): Do not use CHECK_STRING.
19923 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19925 (truncate64): Do not use CHECK_STRING.
19926 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19928 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19929 (__xmknod): Do not use CHECK_STRING.
19930 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19932 (__xmknodat): Do not use CHECK_STRING.
19933 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19934 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19936 2013-02-04 Andreas Schwab <schwab@suse.de>
19939 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19940 * include/netdb.h: Likewise for h_errno.
19941 * elf/tst-stackguard1.c: Include <tls.h>.
19943 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19945 * elf/link.h (struct link_map): Extend the l_addr comment.
19946 * include/link.h (struct link_map): Likewise.
19948 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19951 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19952 (BOUNDED_1): Remove macro.
19953 * debug/backtrace.c: Don't include <bp-checks.h>.
19954 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19955 (__backtrace): Likewise.
19956 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19958 (__backtrace): Don't use BOUNDED_1.
19959 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19961 (__backtrace): Don't use BOUNDED_1.
19962 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19963 (__backtrace): Don't use BOUNDED_1.
19964 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19965 (shmat): Don't use BOUNDED_N.
19967 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19970 * sysdeps/generic/bp-start.h: Remove file.
19971 * csu/libc-start.c: Don't include <bp-start.h>.
19972 (LIBC_START_MAIN): Set up __environ directly instead of using
19973 INIT_ARGV_and_ENVIRON.
19974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19978 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19980 (CHECK_FCNTL): Likewise.
19981 (CHECK_N_PAGES): Likewise.
19984 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19986 (CHECK_SIGSET_NULL_OK): Likewise.
19987 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19989 (sigpending): Don't use CHECK_SIGSET.
19990 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19992 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19993 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19995 (do_sigsuspend): Don't use CHECK_SIGSET.
19996 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19998 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19999 (do_sigwait): Don't use CHECK_SIGSET.
20000 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20002 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20003 include <bp-checks.h>.
20004 (sigpending): Don't use CHECK_SIGSET.
20005 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20006 include <bp-checks.h>.
20007 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20008 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20010 (sigpending): Don't use CHECK_SIGSET.
20011 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20013 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20016 * sysdeps/generic/bp-semctl.h: Remove file.
20017 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20018 <bp-checks.h> and <bp-semctl.h>.
20019 (__old_semctl): Don't use CHECK_SEMCTL.
20020 (__new_semctl): Likewise.
20021 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20023 (__old_semctl): Don't use CHECK_SEMCTL.
20024 (__new_semctl): Likewise.
20025 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20026 <bp-checks.h> and <bp-semctl.h>.
20027 (__old_semctl): Don't use CHECK_SEMCTL.
20028 (__new_semctl): Likewise.
20029 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20030 <bp-checks.h> and <bp-semctl.h>.
20031 (semctl): Don't use CHECK_SEMCTL.
20034 * Makerules (elide-bp-thunks): Remove variable.
20035 (elide-routines.oS): Don't use $(elide-bp-thunks).
20036 (elide-routines.os): Likewise.
20037 (elide-routines.o): Likewise.
20038 (elide-routines.op): Likewise.
20039 (elide-routines.og): Likewise.
20040 (objects): Don't use $(bp-thunks).
20041 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20043 (common-generated): Do not add s-proto-bp.d.
20044 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20047 Do not generate makefile rules for bounded-pointer thunks.
20048 * sysdeps/generic/bp-thunks.h: Remove file.
20049 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20050 * sysdeps/unix/s-proto-bp.S: Likewise.
20053 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20054 parts of result separately when argument is not close to line from
20055 -i to i and one part of argument is small.
20056 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20057 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20058 * math/libm-test.inc (cacos_test): Add more tests.
20059 (casin_test): Likewise.
20060 (casinh_test): Likewise.
20061 * sysdeps/i386/fpu/libm-test-ulps: Update.
20062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20064 2013-01-31 David S. Miller <davem@davemloft.net>
20066 * po/de.po: Update from translation team.
20068 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20070 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20072 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20074 * configure.in (_AC_PROG_CC_C89): New definition.
20075 * configure: Regenerate.
20077 * configure.in (AC_PROG_CPP): New definition.
20078 * configure: Regenerate.
20080 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20082 * debug/tst-backtrace.h: New file.
20083 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20084 (ret): Remove variable.
20086 (FAIL): Remove macro.
20087 (NO_INLINE): Likewise.
20088 (fn1): Use match function instead of strstr.
20089 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20090 (ret): Remove variable.
20092 (FAIL): Remove macro.
20093 (NO_INLINE): Likewise.
20094 (fn): Use match function instead of strstr.
20095 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20096 (ret): Remove variable.
20098 (FAIL): Remove macro.
20099 (NO_INLINE): Likewise.
20100 (handle_signal): Use match function instead of strstr.
20101 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20102 (ret): Remove variable.
20104 (FAIL): Remove macro.
20105 (NO_INLINE): Likewise.
20106 (handle_signal): Use match function instead of strstr.
20108 2013-01-23 Roland McGrath <roland@hack.frob.com>
20110 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20112 2013-01-23 David S. Miller <davem@davemloft.net>
20114 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20115 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20116 argument of CAS if possible.
20117 * sysdeps/sparc/sparc64/bits/atomic.h
20118 (__arch_compare_and_exchange_val_32_acq): Likewise.
20119 (__arch_compare_and_exchange_val_64_acq): Likewise.
20121 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20123 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20124 * sysdeps/posix/ulimit.c: ... this.
20125 Include <limits.h>.
20126 * sysdeps/unix/bsd/ulimit.c: Remove file.
20128 2013-01-23 Adam Conrad <adconrad@0c3.net>
20130 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20131 (LDFLAGS-tst-array5): Likewise.
20133 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20136 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20137 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20138 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20139 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20141 2013-01-21 David S. Miller <davem@davemloft.net>
20143 * sysdeps/sparc/backtrace.c: New file.
20144 * sysdeps/sparc/sparc32/backtrace.h: New file.
20145 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20146 * sysdeps/sparc/sparc64/backtrace.h: New file.
20147 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20148 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20151 2013-01-21 Andreas Schwab <schwab@suse.de>
20154 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20157 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20159 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20163 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20164 Mark Mitchell <mark@codesourcery.com>
20165 Tom de Vries <tom@codesourcery.com>
20166 Paul Pluzhnikov <ppluzhnikov@google.com>
20168 * debug/tst-backtrace2.c: New file.
20169 * debug/tst-backtrace3.c: Likewise.
20170 * debug/tst-backtrace4.c: Likewise.
20171 * debug/tst-backtrace5.c: Likewise.
20172 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20173 (CFLAGS-tst-backtrace3.c): Likewise.
20174 (CFLAGS-tst-backtrace4.c): Likewise.
20175 (CFLAGS-tst-backtrace5.c): Likewise.
20176 (LDFLAGS-tst-backtrace2): Likewise.
20177 (LDFLAGS-tst-backtrace3): Likewise.
20178 (LDFLAGS-tst-backtrace4): Likewise.
20179 (LDFLAGS-tst-backtrace5): Likewise.
20180 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20181 tst-backtrace4 and tst-backtrace5.
20183 2013-01-18 Anton Blanchard <anton@samba.org>
20184 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20186 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20187 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20188 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20189 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20191 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20192 "+r" and remove output regs list as redundant. Add explicit inline
20193 asm to specify register of return val to work around compiler codegen
20194 bug. Remove (int) cast on return value. Add return type parameter to
20195 use in macro so that this macro does not truncate return value for
20197 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20198 pass to INTERNAL_VSYSCALL_NCS.
20199 (INLINE_VSYSCALL): Add 'long int' as return type to
20200 INTERNAL_VSYSCALL_NCS macro invocation.
20201 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20202 INTERNAL_VSYSCALL_NCS macro invocation.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20205 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20208 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20209 Fix application of SIMD FP exception mask.
20211 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20212 mp_no from a power of two.
20213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20214 __mpexp_twomm1. Use __pow_mp.
20216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20219 2013-01-17 David S. Miller <davem@davemloft.net>
20221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20223 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20226 * include/complex.h: Condition contents on [!_COMPLEX_H].
20227 (__kernel_casinhf): New prototype.
20228 (__kernel_casinh): Likewise.
20229 (__kernel_casinhl): Likewise.
20230 * math/Makefile (libm_calls): Add k_casinh.
20231 * math/k_casinh.c: New file.
20232 * math/k_casinhf.c: Likewise.
20233 * math/k_casinhl.c: Likewise.
20234 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20235 finite nonzero arguments.
20236 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20237 finite nonzero arguments.
20238 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20239 finite nonzero arguments.
20240 * math/s_casinh.c: Do not include <float.h>.
20241 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20242 * math/s_casinhf.c: Do not include <float.h>.
20243 (__casinhf): Move code for finite nonzero arguments to
20245 * math/s_casinhl.c: Do not include <float.h>.
20246 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20248 (__casinhl): Move code for finite nonzero arguments to
20250 * math/libm-test.inc (cacos_test): Add more tests.
20251 * sysdeps/i386/fpu/libm-test-ulps: Update.
20252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20254 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20256 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20257 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20258 [!HAVE_MREMAP]: Remove [defined linux] case.
20259 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20261 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20263 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20265 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20267 * elf/elf.h (R_386_SIZE32): New relocation.
20268 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20270 (elf_machine_rela): Likewise.
20271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20272 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20274 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20276 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20277 (FP_FAST_FMA): Do not define.
20278 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20279 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20280 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20281 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20282 !_SOFT_FLOAT]: Likewise.
20283 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20284 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20286 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20287 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20288 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20289 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20290 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20291 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20294 2013-01-16 Andreas Schwab <schwab@suse.de>
20297 * include/stdlib.h (__mktemp): Add declaration.
20298 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20299 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20301 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20303 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20305 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20306 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20307 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20309 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20310 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20312 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20314 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20315 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20316 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20318 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20319 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20321 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20323 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20325 2013-01-15 David S. Miller <davem@davemloft.net>
20327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20328 trunc{,f} to libm-sysdep_routes.
20329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20339 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20340 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20341 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20342 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20343 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20344 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20347 nearbyint{,f} to libm-sysdep_routes.
20348 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20361 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20362 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20364 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20365 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20366 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20368 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20369 libc_feholdexcept and libc_fesetenv.
20371 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20373 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20375 2013-01-14 David S. Miller <davem@davemloft.net>
20377 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20378 (SPARC_ASM_VIS2_IFUNC): Likewise.
20379 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20381 use of 'siam' instruction.
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20415 routines to libm-sysdep_routines.
20416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20419 fdim/fdimf to libm-sysdep_routines.
20420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20428 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20429 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20430 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20431 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20433 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20435 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20436 to optimize copies.
20438 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20443 local variable MPTWO.
20444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20447 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20449 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20452 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20454 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20456 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20458 * manual/pattern.texi (glob_t): Document gl_flags.
20459 (glob64_t): Likewise.
20461 2013-01-11 David S. Miller <davem@davemloft.net>
20463 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20464 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20465 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20466 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20467 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20468 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20469 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20470 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20471 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20472 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20473 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20474 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20475 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20477 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20478 sparc V9 rather than using V8 code.
20479 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20480 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20482 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20484 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20487 2013-01-11 Roland McGrath <roland@hack.frob.com>
20489 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20490 not in the main loop.
20491 * configure: Regenerated.
20493 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20495 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20496 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20498 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20499 [!__GLIBC_HAVE_LONG_LONG] case.
20500 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20501 condition to just #else.
20502 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20503 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20504 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20505 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20507 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20508 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20509 #elif condition to just #else.
20510 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20511 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20512 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20513 #elif condition to just #else.
20515 2013-01-11 Steve Ellcey <sellcey@mips.com>
20517 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20518 (EF_MIPS_ARCH_64): Fix value.
20519 (EF_MIPS_ARCH_32R2): New.
20520 (EF_MIPS_ARCH_64R2): New.
20522 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20524 * Makeconfig (+link-pie-before-libc): New.
20525 (+link-pie-after-libc): Likewise.
20526 (+link-pie-tests): Likewise.
20527 (+link-pie): Rewritten.
20528 (link-before-libc): Remove $(config-LDFLAGS).
20529 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20530 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20531 (config-LDFLAGS): Renamed to ...
20532 (rtld-LDFLAGS): This.
20533 (rtld-tests-LDFLAGS): New macro.
20534 (link-libc-rpath-link): Likewise.
20535 (link-libc-tests-rpath-link): Likewise.
20536 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20537 (link-libc): Prepand $(link-libc-rpath-link).
20538 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20539 (test-program-prefix): New macro.
20540 (test-via-rtld-prefix): Likewise.
20541 (test-program-cmd): Likewise.
20542 (host-test-program-cmd): Likewise.
20543 * Makefile ($(common-objpfx)testrun.sh): Replace
20544 $(run-program-prefix) with $(test-program-prefix).
20545 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20547 ($(common-objpfx)shlib.lds): Likewise.
20548 (build-module-helper): Likewise.
20549 ($(common-objpfx)format.lds): Likewise.
20550 * Rules (binaries-pie-tests): New.
20551 (binaries-pie-notests): Likewise.
20552 (binaries-pie): Rewritten.
20553 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20554 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20555 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20556 (make-test-out): Replace $(host-built-program-cmd) with
20557 $(host-test-program-cmd).
20558 * config.make.in (build-hardcoded-path-in-tests): New variable.
20559 * configure.in (--enable-hardcoded-path-in-tests): New configure
20561 (hardcoded_path_in_tests): New AC_SUBST.
20562 * configure: Regenerated.
20563 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20564 $(built-program-cmd) with $(test-program-cmd).
20565 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20566 (test_program_cmd): This.
20567 * elf/Makefile ($(objpfx)order.out): Run test with
20568 $(test-program-prefix).
20569 ($(objpfx)order2.out): Likewise.
20570 ($(objpfx)tst-initorder.out): Likewise.
20571 ($(objpfx)tst-initorder2.out): Likewise.
20572 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20573 $(test-program-cmd).
20574 ($(objpfx)tst-array1-static.out): Likewise.
20575 ($(objpfx)tst-array2.out): Likewise.
20576 ($(objpfx)tst-array3.out): Likewise.
20577 ($(objpfx)tst-array4.out): Likewise.
20578 ($(objpfx)tst-array5.out): Likewise.
20579 ($(objpfx)tst-array5-static.out): Likewise.
20580 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20581 $(test-program-cmd).
20582 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20583 $(run-program-prefix) with $(test-program-prefix).
20584 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20585 (test_program_prefix): This.
20586 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20587 $(run-program-prefix) with $(test-program-prefix).
20588 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20589 (test_program_prefix): This.
20590 * iconvdata/tst-tables.sh: Likewise.
20591 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20592 $(run-program-prefix) with $(test-program-prefix).
20593 ($(objpfx)tst-translit.out): Likewise.
20594 ($(objpfx)tst-gettext2.out): Likewise.
20595 ($(objpfx)tst-gettext4.out): Likewise.
20596 ($(objpfx)tst-gettext6.out): Likewise.
20597 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20598 (test_program_prefix): This.
20599 * intl/tst-gettext2.sh: Likewise.
20600 * intl/tst-gettext4.sh Likewise.
20601 * intl/tst-gettext6.sh: Likewise.
20602 * intl/tst-translit.sh: Likewise.
20603 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20604 with $(test-program-cmd).
20605 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20606 $(run-program-prefix) with $(test-program-prefix).
20607 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20608 (test_program_prefix): This.
20609 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20610 $(run-program-prefix) with $(test-program-prefix).
20611 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20612 (test_program_prefix): This.
20613 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20614 * posix/Makefile ($(objpfx)globtest.out): Replace
20615 $(run-via-rtld-prefix) and $(test-wrapper) with
20616 $(test-program-prefix) and $(test-via-rtld-prefix).
20617 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20618 $(test-program-prefix).
20619 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20620 $(host-test-program-cmd).
20621 (tst-spawn-ARGS): Likewise.
20622 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20623 $(test-program-prefix).
20624 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20625 (test_via_rtld_prefix): This.
20626 (test_wrapper): Renamed to ...
20627 (test_program_prefix): This.
20628 (run_program_prefix): Replaced by test_program_prefix.
20629 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20630 (test_program_prefix): This.
20631 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20632 with $(host-test-program-cmd).
20633 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20634 $(run-program-prefix) with $(test-program-prefix).
20635 ($(objpfx)tst-printf.out): Likewise.
20636 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20637 $(test-program-cmd).
20638 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20639 (test_program_prefix): This.
20640 * stdio-common/tst-unbputc.sh: Likewise.
20641 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20642 $(run-program-prefix) with $(test-program-prefix).
20643 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20644 (test_program_prefix): This.
20645 * string/Makefile ($(objpfx)tst-svc.out): Replace
20646 $(built-program-cmd) with $(test-program-cmd).
20648 2013-01-11 Andreas Jaeger <aj@suse.de>
20651 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20652 value. Sync with Linux 3.7.
20654 2013-01-10 David S. Miller <davem@davemloft.net>
20656 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20657 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20658 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20660 2013-01-10 Roland McGrath <roland@hack.frob.com>
20662 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20664 * configure: Regenerated.
20666 2013-01-10 David S. Miller <davem@davemloft.net>
20668 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20669 sparc V9 rather than using V8 code.
20670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20673 2013-01-10 Roland McGrath <roland@hack.frob.com>
20675 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20676 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20677 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20678 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20679 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20680 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20681 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20682 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20683 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20684 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20685 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20686 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20687 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20688 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20689 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20690 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20691 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20692 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20693 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20694 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20695 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20696 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20697 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20698 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20699 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20700 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20701 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20703 2013-01-10 David S. Miller <davem@davemloft.net>
20705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20707 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20709 * posix/Makefile (tests-static): New variable.
20710 (tests): Add $(tests-static).
20711 (tst-exec-static-ARGS): New variable.
20712 (tst-spawn-static-ARGS): Likewise.
20713 * posix/tst-exec-static.c: New file.
20714 * posix/tst-spawn-static.c: Likewise.
20715 * posix/tst-exec.c: Support run directly.
20716 * posix/tst-spawn.c: Likewise.
20718 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20720 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20722 * math/bits/mathcalls.h (llrint): Likewise.
20723 (llround): Likewise.
20724 * stdlib/stdlib.h (struct drand48_data): Likewise.
20725 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20726 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20727 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20729 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20731 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20732 (elf_greg_t): Likewise.
20733 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20734 (__jmp_buf): Likewise.
20735 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20737 (llrint): Likewise, for all definitions.
20738 (llrintl): Likewise.
20740 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20741 Remove [__GNUC__] condition.
20742 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20743 condition to just [__USE_ISOC99].
20744 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20746 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20749 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20750 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20752 (_POSIX_V6_ILP32_OFF32): Likewise.
20753 (_XBS5_ILP32_OFF32): Likewise.
20754 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20755 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20757 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20759 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20762 doubles __mpexp_twomm1. Adjust usage.
20763 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20766 2013-01-10 Andreas Schwab <schwab@suse.de>
20769 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20770 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20772 2013-01-09 David S. Miller <davem@davemloft.net>
20775 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20776 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20777 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20778 (TCP_FASTOPEN): Define.
20779 (tcp_repair_opt): New structure.
20780 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20782 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20783 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20784 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20785 (tcp_cookie_transactions): New structure.
20787 2013-01-09 Anton Blanchard <anton@samba.org>
20789 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20790 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20791 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20792 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20794 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20796 * include/features.h (__USE_ANSI): Remove.
20798 2013-01-09 Roland McGrath <roland@hack.frob.com>
20800 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20802 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20804 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20806 * sysdeps/s390/fpu/libm-test-ulps: Update.
20808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20810 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20814 (denorm): Likewise.
20815 (__mp_dbl): Likewise.
20816 (__dbl_mp): Likewise.
20817 (add_magnitudes): Likewise.
20818 (sub_magnitudes): Likewise.
20824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20828 (denorm): Likewise.
20829 (__mp_dbl): Likewise.
20830 (__dbl_mp): Likewise.
20831 (add_magnitudes): Likewise.
20832 (sub_magnitudes): Likewise.
20838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20842 (denorm): Likewise.
20843 (__mp_dbl): Likewise.
20844 (__dbl_mp): Likewise.
20845 (add_magnitudes): Likewise.
20846 (sub_magnitudes): Likewise.
20853 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20855 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20856 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20857 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20858 2 && __USE_EXTERN_INLINES]: Likewise.
20860 2013-01-08 Andreas Jaeger <aj@suse.de>
20863 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20865 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20866 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20868 2013-01-07 Anton Blanchard <anton@samba.org>
20870 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20871 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20872 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20873 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20874 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20875 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20876 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20877 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20879 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20880 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20881 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20883 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20884 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20885 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20886 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20887 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20888 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20889 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20890 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20891 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20893 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20894 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20895 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20896 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20897 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20898 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20899 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20900 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20902 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20903 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20904 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20905 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20906 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20907 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20908 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20909 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20910 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20912 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20914 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20916 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20917 (__MALLOC_PMT): Likewise.
20918 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20919 [__GNUC__], only on [_LIBC].
20920 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20921 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20922 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20923 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20924 forward declaration.
20925 (realloc_hook_ini): Likewise.
20926 (memalign_hook_ini): Likewise.
20927 (__libc_memalign): Do not use __MALLOC_PMT in variable
20929 (__libc_valloc): Likewise.
20930 (__libc_pvalloc): Likewise.
20931 (__libc_calloc): Likewise.
20932 (__posix_memalign): Likewise.
20935 * math/s_casinh.c: Include <float.h>.
20936 (__casinh): Do not do computation with squaring and square root
20937 for large arguments.
20938 * math/s_casinhf.c: Include <float.h>.
20939 (__casinhf): Do not do computation with squaring and square root
20940 for large arguments.
20941 * math/s_casinhl.c: Include <float.h>.
20942 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20943 (__casinhl): Do not do computation with squaring and square root
20944 for large arguments.
20945 * math/libm-test.inc (casin_test): Add more tests.
20946 (casinh_test): Likewise.
20947 * sysdeps/i386/fpu/libm-test-ulps: Update.
20948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20950 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20952 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20953 (__x86_64_raw_data_cache_size): Likewise.
20954 (__x86_64_data_cache_size_half): Likewise.
20955 (__x86_64_raw_data_cache_size_half): Likewise.
20956 (__x86_64_shared_cache_size): Likewise.
20957 (__x86_64_raw_shared_cache_size): Likewise.
20958 (__x86_64_shared_cache_size_half): Likewise.
20959 (__x86_64_raw_shared_cache_size_half): Likewise.
20960 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20962 (__x86_data_cache_size): This.
20963 (__x86_64_raw_data_cache_size): Renamed to ...
20964 (__x86_raw_data_cache_size): This.
20965 (__x86_64_data_cache_size_half): Renamed to ...
20966 (__x86_data_cache_size_half): This.
20967 (__x86_64_raw_data_cache_size_half): Renamed to ...
20968 (__x86_raw_data_cache_size_half): This.
20969 (__x86_64_shared_cache_size): Renamed to ...
20970 (__x86_shared_cache_size): This.
20971 (__x86_64_raw_shared_cache_size): Renamed to ...
20972 (__x86_raw_shared_cache_size): This.
20973 (__x86_64_shared_cache_size_half): Renamed to ...
20974 (__x86_shared_cache_size_half): This.
20975 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20976 (__x86_raw_shared_cache_size_half): This.
20977 * sysdeps/x86_64/memcpy.S: Updated.
20978 * sysdeps/x86_64/memset.S: Likewise.
20979 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20981 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20983 2013-01-04 David S. Miller <davem@davemloft.net>
20985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20987 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20989 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20990 1 to avoid redefinition warning.
20991 (__USE_GNU): Don't define.
20992 (init_signaling_nan): Protoize.
20994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20996 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20998 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21000 (__cpymn): Likewise.
21001 (norm): Remove commented code.
21002 (denorm): Likewise.
21003 (__mp_dbl): Likewise.
21005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21006 (__cpymn): Likewise.
21007 (norm): Remove commented code.
21008 (denorm): Likewise.
21009 (__mp_dbl): Likewise.
21012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21013 mp_no value for 1.0 and 2.0.
21014 (norm): Use RADIXI instead of radixi.d.
21015 (denorm): Likewise.
21016 (__mul): Use 0.0 instead of zero.d.
21017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21018 mp_no value for 1.0 and 2.0.
21019 (norm): Use RADIXI instead of radixi.d.
21020 (denorm): Likewise.
21021 (__mul): Use 0.0 instead of zero.d.
21023 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21026 * math/s_casinh.c (__casinh): Reduce finite argument to first
21027 quadrant then set signs of results at the end.
21028 * math/s_casinhf.c (__casinhf): Likewise.
21029 * math/s_casinhl.c (__casinhl): Likewise.
21030 * math/libm-test.inc (casin_test): Add more tests.
21031 (casinh_test): Likewise.
21032 * sysdeps/i386/fpu/libm-test-ulps: Update.
21033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21035 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21037 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21039 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21041 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21043 (denorm): Likewise.
21044 (__mp_dbl): Likewise.
21047 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21048 and adjust the header comment.
21050 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21051 variable name from declaration.
21053 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21056 Initialize COMMON_CPUID_INDEX_7 element.
21057 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21058 (CPUID_RTM): Likewise.
21059 (HAS_RTM): Likewise.
21060 (COMMON_CPUID_INDEX_7): New enum.
21062 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21065 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21066 size is zero, record memory as freed.
21068 2013-01-03 Andreas Jaeger <aj@suse.de>
21070 * po/ia.po: Add new Interlingua translation.
21072 2012-01-03 Allan McRae <allan@archlinux.org>
21074 * locale/programs/localedef.c: Fix description of '--posix' flag.
21076 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21078 * NEWS: Update dates in second copyright notice.
21079 * README: Update copyright dates in example.
21080 * manual/libc.texinfo: Update copyright dates.
21081 * scripts/test-installation.pl: Update copyright date in --version
21084 * hurd/ctty-input.c: Fix copyright notice formatting.
21085 * hurd/ctty-output.c: Likewise.
21086 * hurd/dtable.c: Likewise.
21087 * hurd/hurd-raise.c: Likewise.
21088 * hurd/hurdprio.c: Likewise.
21089 * hurd/msgportdemux.c: Likewise.
21090 * misc/sys/file.h: Likewise.
21091 * misc/sys/ioctl.h: Likewise.
21092 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21093 * sysdeps/mach/hurd/chdir.c: Likewise.
21094 * sysdeps/mach/hurd/fchdir.c: Likewise.
21095 * sysdeps/mach/hurd/rename.c: Likewise.
21096 * sysdeps/mach/hurd/rmdir.c: Likewise.
21097 * sysdeps/mach/hurd/seekdir.c: Likewise.
21098 * sysdeps/mach/hurd/setsid.c: Likewise.
21099 * sysdeps/posix/wait3.c: Likewise.
21101 * All files with FSF copyright notices: Update copyright dates
21102 using scripts/update-copyrights.
21103 * intl/plural.c: Regenerated.
21104 * locale/programs/charmap-kw.h: Likewise.
21105 * locale/programs/locfile-kw.h: Likewise.
21107 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21109 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21113 calculation loop and add branch prediction.
21115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21116 check access beyond bounds of m1np.
21118 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21120 (__inv): Remove local variable MPTWO to use the global
21122 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21123 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21125 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21126 MP3HALFS static const.
21128 2013-01-01 David S. Miller <davem@davemloft.net>
21130 * po/ca.po: Update from translation team.
21132 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21134 * scripts/update-copyrights: New file.
21135 * Makeconfig: Reformat copyright notice.
21136 * ctype/ctype.h: Likewise.
21137 * debug/swprintf_chk.c: Likewise.
21138 * elf/dl-cache.c: Likewise.
21139 * elf/dl-debug.c: Likewise.
21140 * elf/dl-object.c: Likewise.
21141 * grp/initgroups.c: Likewise.
21142 * hurd/Makefile: Likewise.
21143 * hurd/hurd/signal.h: Likewise.
21144 * hurd/hurdfault.c: Likewise.
21145 * hurd/hurdioctl.c: Likewise.
21146 * hurd/hurdlookup.c: Likewise.
21147 * hurd/intr-msg.c: Likewise.
21148 * iconv/gconv_open.c: Likewise.
21149 * libio/swprintf.c: Likewise.
21150 * locale/lc-ctype.c: Likewise.
21151 * locale/nl_langinfo.c: Likewise.
21152 * mach/Machrules: Likewise.
21153 * mach/Makefile: Likewise.
21154 * malloc/obstack.h: Likewise.
21155 * manual/Makefile: Likewise.
21156 * manual/tsort.awk: Likewise.
21157 * misc/bits/stab.def: Likewise.
21158 * nis/nis_print_group_entry.c: Likewise.
21159 * nis/nis_table.c: Likewise.
21160 * nis/nss_compat/compat-pwd.c: Likewise.
21161 * nis/nss_compat/compat-spwd.c: Likewise.
21162 * po/Makefile: Likewise.
21163 * posix/fnmatch.c: Likewise.
21164 * posix/regex.h: Likewise.
21165 * resolv/Makefile: Likewise.
21166 * resolv/nss_dns/dns-network.c: Likewise.
21167 * resolv/res_hconf.c: Likewise.
21168 * scripts/gen-sorted.awk: Likewise.
21169 * soft-fp/soft-fp.h: Likewise.
21170 * stdio-common/printf.h: Likewise.
21171 * stdlib/monetary.h: Likewise.
21172 * stdlib/random.c: Likewise.
21173 * stdlib/random_r.c: Likewise.
21174 * sysdeps/generic/Makefile: Likewise.
21175 * sysdeps/gnu/Makefile: Likewise.
21176 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21198 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21204 * sysdeps/mach/hurd/errnos.awk: Likewise.
21205 * sysdeps/mach/hurd/fork.c: Likewise.
21206 * sysdeps/mach/hurd/getcwd.c: Likewise.
21207 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21208 * sysdeps/mach/hurd/mmap.c: Likewise.
21209 * sysdeps/mach/hurd/utimes.c: Likewise.
21210 * sysdeps/mach/hurd/xmknod.c: Likewise.
21211 * sysdeps/posix/profil.c: Likewise.
21212 * sysdeps/posix/readdir_r.c: Likewise.
21213 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21214 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21215 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21216 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21218 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21219 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21220 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21222 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21223 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21224 * sysdeps/pthread/lio_listio.c: Likewise.
21225 * sysdeps/sparc/dl-procinfo.h: Likewise.
21226 * sysdeps/unix/i386/sysdep.S: Likewise.
21227 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21228 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21229 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21230 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21232 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21233 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21234 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21235 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21236 * sysdeps/wordsize-32/divdi3.c: Likewise.
21237 * time/sys/time.h: Likewise.
21238 * wcsmbs/Makefile: Likewise.
21240 2013-01-01 David S. Miller <davem@davemloft.net>
21242 * po/fr.po: Update from translation team.
21244 * catgets/gencat.c: Update copyright year.
21245 * csu/version.c: Likewise.
21246 * debug/catchsegv.sh: Likewise.
21247 * debug/pcprofiledump.c: Likewise.
21248 * debug/xtrace.sh: Likewise.
21249 * elf/ldconfig.c: Likewise.
21250 * elf/ldd.bash.in: Likewise.
21251 * elf/pldd.c: Likewise.
21252 * elf/sotruss.ksh: Likewise.
21253 * elf/sprof.c: Likewise.
21254 * iconv/iconv_prog.c: Likewise.
21255 * iconv/iconvconfig.c: Likewise.
21256 * locale/programs/locale.c: Likewise.
21257 * locale/programs/localedef.c: Likewise.
21258 * login/programs/pt_chown.c: Likewise.
21259 * malloc/memusage.sh: Likewise.
21260 * malloc/memusagestat.c: Likewise.
21261 * malloc/mtrace.pl: Likewise.
21262 * nscd/nscd.c: Likewise.
21263 * nss/getent.c: Likewise.
21264 * nss/makedb.c: Likewise.
21265 * posix/getconf.c: Likewise.
21267 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21269 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21272 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21274 * math/bits/mathcalls.h (modf): Use __nonnull.
21276 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21278 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21279 (split): Use macro CN instead of the bare value.
21280 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21282 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21283 instead of the bare value.
21284 (power1): Likewise.
21286 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21288 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21290 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21292 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21294 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21295 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21296 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21297 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21299 2012-12-28 Andreas Jaeger <aj@suse.de>
21301 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21302 values are from Linux 3.7.
21304 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21305 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21307 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21309 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21312 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21314 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21315 variables with preprocessor constants.
21316 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21317 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21318 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21320 2012-12-27 Bruno Haible <bruno@clisp.org>
21323 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21326 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21329 and use variable directly.
21330 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21332 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21334 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21337 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21339 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21340 include directive. Remove local variable MPONE.
21341 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21342 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21343 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21345 2012-12-25 David S. Miller <davem@davemloft.net>
21347 * version.h (RELEASE): Set to "development".
21348 (VERSION): Set to "2.17.90".
21349 * NEWS: Add 2.18 section.
21351 2012-12-21 David S. Miller <davem@davemloft.net>
21353 * po/hr.po: Update from translation team.
21355 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21357 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21359 2012-12-19 Steve Ellcey <sellcey@mips.com>
21361 * NEWS: Mention new memcpy for MIPS.
21363 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21365 * manual/contrib.texi (Contributors): Spelling correction.
21367 2012-12-15 David S. Miller <davem@davemloft.net>
21369 * po/ru.po: Update from translation team.
21371 2012-12-13 David S. Miller <davem@davemloft.net>
21373 * NEWS: Mention IFUNC testsuite enhancements.
21375 * po/pl.po: Update from translation team.
21376 * po/bg.po: Likewise.
21378 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21379 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21381 2012-12-11 David S. Miller <davem@davemloft.net>
21383 * po/sv.po: Update from translation team.
21385 * po/vi.po: Update from translation team.
21387 * po/cs.po: Update from translation team.
21389 * po/de.po: Update from translation team.
21390 * po/eo.po: Likewise.
21391 * po/nl.po: Likewise.
21393 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21396 * manual/argp.texi (Argp Helper Functions): Move node to follow
21397 Argp Parsing State.
21400 * manual/conf.texi (Limits on File System Capacity): Mention if
21401 terminating null is included in the max size.
21403 2012-12-10 Andreas Jaeger <aj@suse.de>
21405 * po/cs.po: Update from translation team.
21407 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21409 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21410 void pointer and cast to uintptr_t.
21411 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21413 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21414 * sysdeps/s390/s390-64/memset.S: Likewise.
21416 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21419 * menual/message.texi (Message Translation): Fix typos.
21420 (Helper programs for gettext): Likewise.
21422 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21425 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21428 2012-12-07 David S. Miller <davem@davemloft.net>
21430 * po/libc.pot: Update.
21432 2012-12-07 Richard Henderson <rth@redhat.com>
21435 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21436 normal/normal case to before the switch.
21437 (_FP_DIV): Likewise.
21439 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21440 Mike Frysinger <vapier@gentoo.org>
21442 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21443 check for __NR_fadvise64_64.
21445 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21447 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21448 0, not just to plain "0" as a statement.
21449 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21452 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21454 * NEWS: Use sourceware.org in Bugzilla URL.
21456 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21459 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21461 * stdio-common/tst-put-error.c (do_test): Add newline to the
21462 padded test to ensure flush.
21464 2012-12-05 Jeff Law <law@redhat.com>
21466 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21468 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21470 * README: Don't refer to ports add-on as distributed separately.
21471 Mention AArch64 in list of systems supported in the ports add-on.
21473 * LICENSES: Add more non-FSF copyright and license notices.
21475 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21478 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21480 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21481 10000 as width of padded output.
21483 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21485 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21487 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21488 variable LX with __attribute__ ((unused)).
21489 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21491 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21493 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21494 with __attribute__ ((unused)).
21496 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21498 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21500 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21502 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21503 (CFLAGS-nldbl-acos.c): New variable.
21504 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21505 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21506 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21507 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21508 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21513 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21514 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21515 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21516 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21517 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21518 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21519 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21520 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21521 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21522 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21523 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21524 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21525 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21526 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21527 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21528 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21529 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21530 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21531 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21532 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21533 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21534 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21535 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21536 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21537 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21538 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21539 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21540 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21541 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21542 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21543 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21544 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21545 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21546 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21547 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21548 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21549 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21550 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21551 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21552 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21553 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21554 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21555 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21556 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21557 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21558 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21559 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21560 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21561 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21562 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21563 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21564 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21565 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21566 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21567 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21568 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21569 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21570 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21571 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21572 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21573 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21574 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21575 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21576 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21577 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21578 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21579 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21580 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21581 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21582 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21583 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21584 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21585 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21586 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21587 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21588 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21589 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21590 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21591 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21592 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21593 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21594 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21595 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21596 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21597 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21598 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21599 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21600 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21603 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21606 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21607 whole low double instead of just low 47 bits when splitting values
21610 2012-12-03 Allan McRae <allan@archlinux.org>
21612 * manual/stdio.texi (Predefined Printf Handlers): Remove
21613 @hsep and @vsep usage.
21615 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21617 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21618 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21620 2012-12-03 Jeff Law <law@redhat.com>
21622 * time/sys/time.h (settimeofday): Do not mark TV argument
21625 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21627 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21628 when currently writing and seek to current position when not.
21629 * libio/Makefile (tests): Remove bug-fclose1.
21630 * libio/bug-fclose1.c: Delete.
21632 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21634 * manual/arith.texi (feenableexcept): Fix typo.
21635 (fedisableexcept): Likewise.
21637 2012-11-30 Roland McGrath <roland@hack.frob.com>
21639 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21640 second, differently-typed declaration, rather than a cast.
21642 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21644 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21645 * include/rpc/svc.h: ... here.
21647 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21650 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21651 depending n and resplen2 to catch cases where answer
21654 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21656 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21657 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21659 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21661 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21663 2012-11-29 Roland McGrath <roland@hack.frob.com>
21665 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21667 2012-11-28 Jeff Law <law@redhat.com>
21670 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21671 dataset_temporary. Track alloca usage into alloca_used.
21672 If dataset is large allocate and release it via malloc/free.
21674 2012-06-04 Florian Weimer <fweimer@redhat.com>
21677 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21679 2012-11-28 David S. Miller <davem@davemloft.net>
21681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21683 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21686 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21687 of pi/2 rounded to nearest to 64 bits.
21688 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21689 nearest to 64 bits.
21690 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21693 2012-11-28 Jeff Law <law@redhat.com>
21694 Martin Osvald <mosvald@redhat.com>
21697 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21698 * sunrpc/svc.c: Include time.h.
21699 (__svc_accept_failed): New function.
21700 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21701 any reason other than EINTR, call __svc_accept_failed.
21702 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21703 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21705 2012-11-28 Andreas Schwab <schwab@suse.de>
21707 * scripts/abilist.awk: Also handle indirect functions in .opd
21710 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21713 * sysdeps/x86/fpu/powl_helper.c: New file.
21714 * sysdeps/x86/fpu/Makefile: Likewise.
21715 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21717 (__ieee754_powl): Use __powl_helper for finite arguments except
21718 integer exponents below 8.
21719 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21721 (__ieee754_powl): Use __powl_helper for finite arguments except
21722 integer exponents below 8.
21723 * math/libm-test.inc (pow_test): Add more tests and enable some
21724 previously disabled tests.
21725 * sysdeps/i386/fpu/libm-test-ulps: Update.
21726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21728 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21729 Carlos O'Donell <carlos_odonell@mentor.com>
21731 * nss/makedb.c (is_prime): Assert that input is odd and greater
21732 than 4. Note that fact in a comment too.
21733 (next_prime): Add 4 to input.
21735 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21738 * libio/Makefile (tests): Add test case tst-fwrite-error.
21739 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21740 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21741 * libio/tst-fwrite-error.c: New test case.
21743 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21745 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21746 before casting to void *.
21747 * include/libc-internal.h (__pointer_type): New macro.
21748 (__integer_if_pointer_type_sub): Likewise.
21749 (__integer_if_pointer_type): Likewise.
21750 (cast_to_integer): Likewise.
21751 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21752 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21753 before casting to atomic64_t.
21754 (atomic_exchange_acq): Likewise.
21755 (__arch_exchange_and_add_body): Likewise.
21756 (__arch_add_body): Likewise.
21757 (atomic_add_negative): Likewise.
21758 (atomic_add_zero): Likewise.
21760 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21762 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21763 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21764 (add_fdes): Likewise.
21765 (linear_search_fdes): Likewise.
21766 (binary_search_unencoded_fdes): Likewise.
21768 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21770 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21772 2012-11-24 Adam Conrad <adconrad@0c3.net>
21774 * configure.in: Autodetect C++ header directories.
21775 * configure: Regenerated.
21777 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21779 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21781 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21785 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21787 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21788 LDBL_MANT_DIG == 106]: Disable some tests.
21789 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21791 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21795 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21796 input for small inputs. Return +/- pi/2 for large inputs.
21797 * math/libm-test.inc (atan_test): Add more tests.
21799 * sysdeps/generic/unwind-dw2-fde-glibc.c
21800 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21801 __attribute__ ((unused)).
21804 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21805 x * y if x and y are nonzero and z is zero.
21808 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21809 nonzero exponents with absolute value below 0x1p-117 to +/-
21813 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21814 up arguments below 2**-450, not just those below 2**-500.
21815 * math/libm-test.inc (hypot_test): Add another test.
21818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21819 Return a+b for ratio over 2**120, not 2**60.
21820 * math/libm-test.inc (hypot_test): Add another test.
21822 * math/libm-test.inc (clog_test): Use
21823 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21824 (clog10_test): Likewise.
21827 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21829 2012-11-22 Andreas Schwab <schwab@suse.de>
21831 * sysdeps/i386/fpu/libm-test-ulps: Update.
21833 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21835 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21836 printf output with newline.
21838 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21841 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21842 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21843 -z nodlopen, -z initfirst and -z execstack support.
21844 * configure: Regenerated.
21846 * elf/elf.h (DF_1_NODIRECT): New macro.
21847 (DF_1_IGNMULDEF): Likewise.
21848 (DF_1_NOKSYMS): Likewise.
21849 (DF_1_NOHDR): Likewise.
21850 (DF_1_EDITED): Likewise.
21851 (DF_1_NORELOC): Likewise.
21852 (DF_1_SYMINTPOSE): Likewise.
21853 (DF_1_GLOBAUDIT): Likewise.
21854 (DF_1_SINGLETON): Likewise.
21855 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21856 DT_1_SUPPORTED_MASK bits.
21857 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21859 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21861 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21863 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21865 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21868 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21869 (sendmmsg): Move declarations...
21870 * socket/sys/socket.h: ... here.
21871 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21872 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21874 * socket/recvmmsg.c: ... this new file.
21875 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21876 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21877 definition of __sendmmsg hidden.
21878 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21879 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21880 Move ENOSYS stub into and include it from...
21881 * socket/sendmmsg.c: ... this new file.
21882 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21883 (sysdep_routines): Move recvmmsg and sendmmsg...
21884 * socket/Makefile (routines): ... here.
21885 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21886 (GLIBC_PRIVATE): Add __sendmmsg.
21887 * include/sys/socket.h (__sendmmsg): Add declarations.
21888 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21891 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21893 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21894 variable I1 with __attribute__ ((unused)).
21895 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21897 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21899 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21900 DUMMY variables with __attribute__ ((unused)).
21902 * bits/byteswap.h: Include <bits/types.h>.
21903 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21905 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21907 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21908 string_t. Do not manually set errno.
21909 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21910 length with __strnlen. Make sure to both set errno and return it on
21913 2012-11-19 David S. Miller <davem@davemloft.net>
21915 With help from Joseph Myers.
21916 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21917 very large arguments properly.
21918 * math/libm-test.inc (atan_test): New tests.
21919 (atan2_test): New tests.
21920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21923 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21926 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21929 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21930 [POSIX] (EADDRNOTAVAIL): Likewise.
21931 [POSIX] (EAFNOSUPPORT): Likewise.
21932 [POSIX] (EALREADY): Likewise.
21933 [POSIX] (ECONNABORTED): Likewise.
21934 [POSIX] (ECONNREFUSED): Likewise.
21935 [POSIX] (ECONNRESET): Likewise.
21936 [POSIX] (EDESTADDRREQ): Likewise.
21937 [POSIX] (EDQUOT): Likewise.
21938 [POSIX] (EHOSTUNREACH): Likewise.
21939 [POSIX] (EIDRM): Likewise.
21940 [POSIX] (EISCONN): Likewise.
21941 [POSIX] (ELOOP): Likewise.
21942 [POSIX] (EMULTIHOP): Likewise.
21943 [POSIX] (ENETDOWN): Likewise.
21944 [POSIX] (ENETUNREACH): Likewise.
21945 [POSIX] (ENOBUFS): Likewise.
21946 [POSIX] (ENODATA): Likewise.
21947 [POSIX] (ENOLINK): Likewise.
21948 [POSIX] (ENOMSG): Likewise.
21949 [POSIX] (ENOPROTOOPT): Likewise.
21950 [POSIX] (ENOSR): Likewise.
21951 [POSIX] (ENOSTR): Likewise.
21952 [POSIX] (ENOTCONN): Likewise.
21953 [POSIX] (ENOTSOCK): Likewise.
21954 [POSIX] (EOPNOTSUPP): Likewise.
21955 [POSIX] (EOVERFLOW): Likewise.
21956 [POSIX] (EPROTO): Likewise.
21957 [POSIX] (EPROTONOSUPPORT): Likewise.
21958 [POSIX] (EPROTOTYPE): Likewise.
21959 [POSIX] (ESTALE): Likewise.
21960 [POSIX] (ETIME): Likewise.
21961 [POSIX] (ETXTBSY): Likewise.
21962 [POSIX] (EWOULDBLOCK): Likewise.
21963 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21964 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21965 [POSIX] (SEEK_CUR): Likewise.
21966 [POSIX] (SEEK_END): Likewise.
21967 [POSIX || UNIX98] (mode_t): Do not require.
21968 [POSIX] (off_t): Likewise.
21969 [POSIX] (pid_t): Likewise.
21970 [POSIX] (sys/stat.h): Do not allow header.
21971 [POSIX] (unistd.h): Likewise.
21972 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21973 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21974 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21975 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21977 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21978 sigevent): Specify elements.
21979 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21981 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21982 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21984 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21985 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21986 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21987 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21988 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21989 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21990 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21991 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21992 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21993 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21994 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21995 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21996 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21997 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21999 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22001 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22005 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22006 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22007 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22008 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22009 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22010 Specify lower bound on value.
22011 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22012 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22013 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22014 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22015 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22016 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22017 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22018 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22020 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22022 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22023 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22024 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22025 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22026 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22027 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22028 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22029 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22030 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22031 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22032 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22033 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22034 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22035 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22036 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22037 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22039 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22041 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22042 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22043 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22044 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22045 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22046 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22048 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22049 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22050 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22051 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22052 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22053 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22054 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22056 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22057 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22058 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22059 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22060 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22061 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22062 specify as optional.
22063 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22064 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22065 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22066 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22067 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22068 [XPG3] (NL_LANGMAX): Likewise.
22069 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22070 [POSIX || XPG3] (NL_NMAX): Likewise.
22071 [POSIX || XPG3] (NL_SETMAX): Likewise.
22072 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22073 [XPG3] (NZERO): Likewise.
22074 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22075 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22076 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22077 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22078 (REG_ERANGE): Expect.
22079 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22081 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22082 Use (void) in prototype.
22083 [POSIX] (*_t): Allow.
22084 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22085 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22086 (WRDE_BADVAL): Expect.
22088 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22090 [XPG3 || XPG4] (O_RSYNC): Likewise.
22091 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22093 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22094 [XPG3 || XPG4] (sigqueue): Likewise.
22095 [XPG3 || XPG4] (sigtimedwait): Likewise.
22096 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22097 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22098 [XPG3 || XPG4] (vsnprintf): Likewise.
22099 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22101 [XPG3 || XPG4] (blksize_t): Likewise.
22102 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22104 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22105 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22106 [XPG3 || XPG4] (struct itimerspec): Likewise.
22107 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22108 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22109 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22110 [XPG3 || XPG4] (clockid_t): Likewise.
22111 [XPG3 || XPG4] (timer_t): Likewise.
22112 [XPG3 || XPG4] (clock_getres): Likewise.
22113 [XPG3 || XPG4] (clock_gettime): Likewise.
22114 [XPG3 || XPG4] (clock_settime): Likewise.
22115 [XPG3 || XPG4] (nanosleep): Likewise.
22116 [XPG3 || XPG4] (timer_create): Likewise.
22117 [XPG3 || XPG4] (timer_delete): Likewise.
22118 [XPG3 || XPG4] (timer_gettime): Likewise.
22119 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22120 [XPG3 || XPG4] (timer_settime): Likewise.
22121 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22122 [XPG3 || XPG4] (getlogin_r): Likewise.
22123 [XPG3 || XPG4] (pread): Likewise.
22124 [XPG3 || XPG4] (pthread_atfork): Likewise.
22125 [XPG3 || XPG4] (pwrite): Likewise.
22128 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22131 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22133 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22134 finalizing MALLSTREAM.
22136 * sysdeps/mach/hurd/syncfs.c: New file.
22138 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22141 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22142 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22143 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22144 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22145 (_nss_dns_gethostbyname4_r): Likewise.
22146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22147 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22149 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22152 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22154 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22156 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22157 * elf/cache.c (print_entry): Print ",AArch64" for
22160 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22161 * elf/cache.c (print_entry): Print ",hard-float" for
22164 2012-11-18 David S. Miller <davem@davemloft.net>
22166 With help from Joseph Myers.
22167 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22169 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22171 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22172 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22174 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22175 * math/libm-test.inc (y0_test): New tests.
22176 (y1_test): New tests.
22177 * sysdeps/i386/fpu/libm-test-ulps: Update.
22178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22181 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22183 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22185 * configure: Regenerated.
22187 2012-11-17 David S. Miller <davem@davemloft.net>
22190 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22191 nonzero exponents with absolute value below 0x1p-128 to +/-
22194 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22196 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22198 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22200 * posix/getconf-speclist.c: New file.
22201 * posix/posix-envs.def: Likewise.
22202 * posix/confstr.c (START_ENV_GROUP): New macro.
22203 (END_ENV_GROUP): Likewise.
22204 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22205 (KNOWN_PRESENT_ENV_STRING): Likewise.
22206 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22207 (UNKNOWN_ENVIRONMENT): Likewise.
22208 (confstr): Include posix-envs.def instead of handling
22209 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22210 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22211 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22212 (END_ENV_GROUP): Likewise.
22213 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22214 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22215 (UNKNOWN_ENVIRONMENT): Likewise.
22216 (__sysconf): Include posix-envs.def instead of handling associated
22217 cases directly here.
22218 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22219 preprocessing getconf-speclist.c rather than running getconf or
22220 generating empty file.
22222 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22224 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22226 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22229 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22231 2012-11-16 David S. Miller <davem@davemloft.net>
22233 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22234 smaller than LDBL_EPSILON/2.0L, just return xm1.
22236 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22238 * elf/tst-array1.c (init): Set constructor priority to 1000.
22239 (fini): Set destructor priority to 1000.
22240 * elf/tst-array2dep.c: Likewise.
22242 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22245 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22246 (_IO_new_file_xsputn): Also return EOF if none of the input
22247 data was written when overflow failed.
22248 * libio/iopadn.c (_IO_padn): Likewise.
22249 * libio/iowpadn.c (_IO_wpadn): Likewise.
22250 * stdio-common/tst-put-error.c: Add copyright notice.
22251 (do_test): Add case for printing padded string.
22252 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22253 _IO_padn returned error.
22254 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22255 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22258 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22260 * libio/libioP.h: Add comment note that the references to C++
22261 bits are now obsolete.
22263 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22265 * math/libm-test.inc (check_complex): Use asprintf.
22267 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22269 * debug/pcprofiledump.c (print_version): Update copyright year.
22270 * malloc/memusagestat.c (print_version): Likewise.
22272 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22275 * elf/Makefile (tests): Add tst-audit8.
22276 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22277 ($(objpfx)tst-audit8.out): New target.
22278 (tst-audit8-ENV): New variable.
22279 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22280 audit if l_reloc_result is NULL.
22281 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22282 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22283 * elf/tst-audit8.c: New file.
22285 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22287 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22288 * misc/Makefile (CFLAGS-select.c): Define.
22289 * posix/Makefile (CFLAGS-pause.c): Define.
22291 2012-11-13 David S. Miller <davem@davemloft.net>
22293 * crypt/Makefile: Move test targets after toplevel Rules
22294 inclusion. Grab any necessary sysdep routines when linking.
22295 * crypt/md5.c (md5_process_block): Remove define, we will always
22296 name it __md5_process_block.
22297 (md5_finish_ctx): Update md5_process_block call.
22298 (md5_stream): Likewise.
22299 (md5_process_bytes): Likewise.
22300 (md5_process_block): Rename to __md5_process_block and move to ...
22301 * crypt/md5-block.c: ... here.
22302 * crypt/sha256.c (sha256_process_block): Move to ...
22303 * crypt/sha256-block.c: ... here.
22304 * crypt/sha512.c (sha512_process_block): Move to ...
22305 * crypt/sha512-block.c: ... here.
22306 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22308 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22309 * sysdeps/sparc/sparc64/multiarch/Makefile
22310 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22312 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22313 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22315 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22316 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22317 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22318 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22319 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22320 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22321 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22322 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22323 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22325 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22326 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22328 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22330 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22332 * timezone/tzselect.ksh: Update from tzcode git revision
22333 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22334 * timezone/zdump.c: Likewise.
22335 * timezone/zic.c: Likewise.
22336 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22337 in TZVERSION setting, not $(PKGVERSION).
22338 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22339 REPORT_BUGS_TO settings.
22342 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22345 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22347 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22348 detection to immediately after _FP_ROUND().
22349 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22352 2012-11-11 David S. Miller <davem@davemloft.net>
22354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22356 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22357 __close rather than their public counterparts.
22359 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22361 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22363 [UNIX98] (sem_timedwait): Do not expect.
22364 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22365 [XPG4 || UNIX98] (sockatmark): Do not expect.
22366 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22367 (clock_getcpuclockid): Do not expect.
22368 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22369 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22371 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22372 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22373 [UNIX98] (vwscanf): Likewise.
22374 [UNIX98] (vswscanf): Likewise.
22376 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22378 * timezone/version.h: Remove file.
22379 * timezone/README: Do not refer to version.h.
22380 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22381 $(objpfx)version.h.
22382 ($(objpfx)zdump.o): Likewise.
22383 ($(objpfx)version.h): New target.
22385 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22387 * timezone/README: Don't mention modification to tzselect.ksh.
22388 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22389 work on unmodified tzselect.ksh. Substitute version numbers in
22392 * Makefile (format-me): Remove.
22393 (INSTALL): Adjust indentation. Use commands directly instead of
22394 using $(format-me).
22396 * aclocal.m4 (ACX_PKGVERSION): New macro.
22397 (ACX_BUGURL): Likewise.
22398 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22399 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22400 (REPORT_BUGS_TO): Likewise.
22401 * configure: Regenerated.
22402 * config.h.in (PKGVERSION): New macro.
22403 (REPORT_BUGS_TO): Likewise.
22404 * config.make.in (PKGVERSION): New variable.
22405 (PKGVERSION_TEXI): Likewise.
22406 (REPORT_BUGS_TO): Likewise.
22407 (REPORT_BUGS_TEXI): Likewise.
22408 * Makefile (format-me): Use -I$(common-objpfx)manual.
22409 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22410 ($(common-objpfx)manual/%): New target.
22411 (manual/%): Remove target.
22412 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22413 (print_version): Use PKGVERSION.
22414 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22415 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22416 and REPORT_BUGS_TO.
22417 ($(objpfx)xtrace): Likewise.
22418 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22419 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22420 (print_version): Use PKGVERSION.
22421 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22422 (do_version): Use PKGVERSION.
22423 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22425 (common-ldd-rewrite): Likewise.
22426 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22427 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22428 (print_version): Use PKGVERSION.
22429 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22430 * elf/pldd.c (argp_program_bug_address): Remove variable.
22431 (more_help): New function.
22432 (argp): Use more_help.
22433 (print_version): Use PKGVERSION.
22434 * elf/sln.c (main): Use PKGVERSION.
22435 (usage): Use REPORT_BUGS_TO.
22436 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22437 (top level): Use PKGVERSION.
22438 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22439 (print_version): Use PKGVERSION.
22440 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22441 (print_version): Use PKGVERSION.
22442 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22443 (print_version): Use PKGVERSION.
22444 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22445 (print_version): Use PKGVERSION.
22446 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22447 (print_version): Use PKGVERSION.
22448 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22449 (print_version): Use PKGVERSION.
22450 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22452 ($(objpfx)memusage): Likewise.
22453 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22454 (do_version): Use PKGVERSION.
22455 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22456 (print_version): Use PKGVERSION.
22457 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22458 ($PKGVERSION): New variable.
22459 ($REPORT_BUGS_TO): Likewise.
22460 (usage): Use $REPORT_BUGS_TO.
22461 (top level): Use $PKGVERSION.
22462 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22463 ($(objpfx)pkgvers.texi): New rule.
22464 ($(objpfx)stamp-pkgvers): Likewise.
22465 * manual/install.texi: Include pkgvers.texi.
22466 (--with-pkgversion): Document new configure option.
22467 (--with-bugurl): Likewise.
22468 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22469 than necessarily for this particular distribution. Use
22470 REPORT_BUGS_TO for where to report bugs.
22471 * INSTALL: Regenerated.
22472 * manual/libc.texinfo: Include pkgvers.texi.
22473 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22474 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22475 (print_version): Use PKGVERSION.
22476 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22477 (print_version): Use PKGVERSION.
22478 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22479 (print_version): Use PKGVERSION.
22480 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22481 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22483 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22484 (print_version): Use PKGVERSION.
22485 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22486 (print_version): Use PKGVERSION.
22487 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22490 * timezone/checktab.awk: Update from tzcode 2012i.
22491 * timezone/ialloc.c: Likewise.
22492 * timezone/private.h: Likewise.
22493 * timezone/scheck.c: Likewise.
22494 * timezone/tzfile.h: Likewise.
22495 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22496 (TZVERSION): Hardcode tzcode version number.
22497 * timezone/zdump.c: Update from tzcode 2012i.
22498 * timezone/zic.c: Likewise.
22499 * timezone/version.h: New file.
22500 * timezone/README: Describe version.h. Update upstream location.
22503 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22504 (mktemp): Enable declaration.
22505 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22522 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22523 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22524 for copies of such integer values.
22525 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22526 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22528 2012-11-09 Andreas Jaeger <aj@suse.de>
22530 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22531 definitions and declarations that are provided by
22532 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22534 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22536 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22537 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22538 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22541 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22543 * elf/elf.h: Update comment before AArch64 relocations.
22545 2012-11-07 David S. Miller <davem@davemloft.net>
22547 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22548 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22549 (__start_context): Declare.
22550 (__makecontext_ret): Delete.
22551 (__makecontext): Hook up __start_context instead of
22553 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22554 (sysdep_routines): Add __start_context when in stdlib.
22556 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22558 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22559 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22560 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22562 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22563 (READELF): New variable. Use it instead of hardcoded "readelf".
22565 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22567 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22568 * sysdeps/x86/Makefile: Here.
22569 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22570 * sysdeps/x86/tst-xmmymm.sh: This.
22572 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22574 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22576 [UNIX98] (pthread_barrier_t): Do not expect.
22577 [UNIX98] (pthread_barrierattr_t): Likewise.
22578 [UNIX98] (pthread_spinlock_t): Likewise.
22579 [UNIX98] (pthread_barrier_destroy): Likewise.
22580 [UNIX98] (pthread_barrier_init): Likewise.
22581 [UNIX98] (pthread_barrier_wait): Likewise.
22582 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22583 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22584 [UNIX98] (pthread_barrierattr_init): Likewise.
22585 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22586 [UNIX98] (pthread_getcpuclockid): Likewise.
22587 [UNIX98] (pthread_mutex_timedlock): Likewise.
22588 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22589 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22590 [UNIX98] (pthread_sigmask): Likewise.
22591 [UNIX98] (pthread_spin_destroy): Likewise.
22592 [UNIX98] (pthread_spin_init): Likewise.
22593 [UNIX98] (pthread_spin_lock): Likewise.
22594 [UNIX98] (pthread_spin_trylock): Likewise.
22595 [UNIX98] (pthread_spin_unlock): Likewise.
22596 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22598 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22599 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22600 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22601 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22602 [XPG3 || XPG4] (pthread_key_t): Likewise.
22603 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22604 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22605 [XPG3 || XPG4] (pthread_once_t): Likewise.
22606 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22607 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22609 [XPG3 || XPG4] (pthread_t): Likewise.
22611 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22613 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22615 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22616 Change function return type to int.
22618 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22619 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22620 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22621 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22622 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22623 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22624 [!POSIX] (posix_madvise): Likewise.
22625 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22627 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22628 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22629 (mode_t): Likewise.
22630 (posix_mem_offset): Likewise.
22631 (posix_typed_mem_get_info): Likewise.
22632 (posix_typed_mem_open): Likewise.
22634 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22635 Change condition to [XOPEN2K8].
22637 * conform/conformtest.pl: Preprocess allow-header data with -x c
22638 instead of from stdin.
22639 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22640 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22641 [C99-based standards] (cerfc): Likewise.
22642 [C99-based standards] (cexp2): Likewise.
22643 [C99-based standards] (cexpm1): Likewise.
22644 [C99-based standards] (clog10): Likewise.
22645 [C99-based standards] (clog1p): Likewise.
22646 [C99-based standards] (clog2): Likewise.
22647 [C99-based standards] (clgamma): Likewise.
22648 [C99-based standards] (ctgamma): Likewise.
22649 [C99-based standards] (cerff): Likewise.
22650 [C99-based standards] (cerfcf): Likewise.
22651 [C99-based standards] (cexp2f): Likewise.
22652 [C99-based standards] (cexpm1f): Likewise.
22653 [C99-based standards] (clog10f): Likewise.
22654 [C99-based standards] (clog1pf): Likewise.
22655 [C99-based standards] (clog2f): Likewise.
22656 [C99-based standards] (clgammaf): Likewise.
22657 [C99-based standards] (ctgammaf): Likewise.
22658 [C99-based standards] (cerfl): Likewise.
22659 [C99-based standards] (cerfcl): Likewise.
22660 [C99-based standards] (cexp2l): Likewise.
22661 [C99-based standards] (cexpm1l): Likewise.
22662 [C99-based standards] (clog10l): Likewise.
22663 [C99-based standards] (clog1pl): Likewise.
22664 [C99-based standards] (clog2l): Likewise.
22665 [C99-based standards] (clgammal): Likewise.
22666 [C99-based standards] (ctgammal): Likewise.
22667 * conform/data/inttypes.h-data [C99-based standards]: Include
22668 stdint.h-data. Remove all expectations for stdint.h contents.
22669 [C99-based standards] (PRI*): Do not allow.
22670 [C99-based standards] (SCN*): Likewise.
22671 [C99-based standards] (*_t): Likewise.
22672 [C99-based-standards] (PRId8): Expect macro.
22673 [C99-based-standards] (PRIi8): Likewise.
22674 [C99-based-standards] (PRIo8): Likewise.
22675 [C99-based-standards] (PRIu8): Likewise.
22676 [C99-based-standards] (PRIx8): Likewise.
22677 [C99-based-standards] (PRIX8): Likewise.
22678 [C99-based-standards] (SCNd8): Likewise.
22679 [C99-based-standards] (SCNi8): Likewise.
22680 [C99-based-standards] (SCNo8): Likewise.
22681 [C99-based-standards] (SCNu8): Likewise.
22682 [C99-based-standards] (SCNx8): Likewise.
22683 [C99-based-standards] (PRIdLEAST8): Likewise.
22684 [C99-based-standards] (PRIiLEAST8): Likewise.
22685 [C99-based-standards] (PRIoLEAST8): Likewise.
22686 [C99-based-standards] (PRIuLEAST8): Likewise.
22687 [C99-based-standards] (PRIxLEAST8): Likewise.
22688 [C99-based-standards] (PRIXLEAST8): Likewise.
22689 [C99-based-standards] (SCNdLEAST8): Likewise.
22690 [C99-based-standards] (SCNiLEAST8): Likewise.
22691 [C99-based-standards] (SCNoLEAST8): Likewise.
22692 [C99-based-standards] (SCNuLEAST8): Likewise.
22693 [C99-based-standards] (SCNxLEAST8): Likewise.
22694 [C99-based-standards] (PRIdFAST8): Likewise.
22695 [C99-based-standards] (PRIiFAST8): Likewise.
22696 [C99-based-standards] (PRIoFAST8): Likewise.
22697 [C99-based-standards] (PRIuFAST8): Likewise.
22698 [C99-based-standards] (PRIxFAST8): Likewise.
22699 [C99-based-standards] (PRIXFAST8): Likewise.
22700 [C99-based-standards] (SCNdFAST8): Likewise.
22701 [C99-based-standards] (SCNiFAST8): Likewise.
22702 [C99-based-standards] (SCNoFAST8): Likewise.
22703 [C99-based-standards] (SCNuFAST8): Likewise.
22704 [C99-based-standards] (SCNxFAST8): Likewise.
22705 [C99-based-standards] (PRId16): Likewise.
22706 [C99-based-standards] (PRIi16): Likewise.
22707 [C99-based-standards] (PRIo16): Likewise.
22708 [C99-based-standards] (PRIu16): Likewise.
22709 [C99-based-standards] (PRIx16): Likewise.
22710 [C99-based-standards] (PRIX16): Likewise.
22711 [C99-based-standards] (SCNd16): Likewise.
22712 [C99-based-standards] (SCNi16): Likewise.
22713 [C99-based-standards] (SCNo16): Likewise.
22714 [C99-based-standards] (SCNu16): Likewise.
22715 [C99-based-standards] (SCNx16): Likewise.
22716 [C99-based-standards] (PRIdLEAST16): Likewise.
22717 [C99-based-standards] (PRIiLEAST16): Likewise.
22718 [C99-based-standards] (PRIoLEAST16): Likewise.
22719 [C99-based-standards] (PRIuLEAST16): Likewise.
22720 [C99-based-standards] (PRIxLEAST16): Likewise.
22721 [C99-based-standards] (PRIXLEAST16): Likewise.
22722 [C99-based-standards] (SCNdLEAST16): Likewise.
22723 [C99-based-standards] (SCNiLEAST16): Likewise.
22724 [C99-based-standards] (SCNoLEAST16): Likewise.
22725 [C99-based-standards] (SCNuLEAST16): Likewise.
22726 [C99-based-standards] (SCNxLEAST16): Likewise.
22727 [C99-based-standards] (PRIdFAST16): Likewise.
22728 [C99-based-standards] (PRIiFAST16): Likewise.
22729 [C99-based-standards] (PRIoFAST16): Likewise.
22730 [C99-based-standards] (PRIuFAST16): Likewise.
22731 [C99-based-standards] (PRIxFAST16): Likewise.
22732 [C99-based-standards] (PRIXFAST16): Likewise.
22733 [C99-based-standards] (SCNdFAST16): Likewise.
22734 [C99-based-standards] (SCNiFAST16): Likewise.
22735 [C99-based-standards] (SCNoFAST16): Likewise.
22736 [C99-based-standards] (SCNuFAST16): Likewise.
22737 [C99-based-standards] (SCNxFAST16): Likewise.
22738 [C99-based-standards] (PRId32): Likewise.
22739 [C99-based-standards] (PRIi32): Likewise.
22740 [C99-based-standards] (PRIo32): Likewise.
22741 [C99-based-standards] (PRIu32): Likewise.
22742 [C99-based-standards] (PRIx32): Likewise.
22743 [C99-based-standards] (PRIX32): Likewise.
22744 [C99-based-standards] (SCNd32): Likewise.
22745 [C99-based-standards] (SCNi32): Likewise.
22746 [C99-based-standards] (SCNo32): Likewise.
22747 [C99-based-standards] (SCNu32): Likewise.
22748 [C99-based-standards] (SCNx32): Likewise.
22749 [C99-based-standards] (PRIdLEAST32): Likewise.
22750 [C99-based-standards] (PRIiLEAST32): Likewise.
22751 [C99-based-standards] (PRIoLEAST32): Likewise.
22752 [C99-based-standards] (PRIuLEAST32): Likewise.
22753 [C99-based-standards] (PRIxLEAST32): Likewise.
22754 [C99-based-standards] (PRIXLEAST32): Likewise.
22755 [C99-based-standards] (SCNdLEAST32): Likewise.
22756 [C99-based-standards] (SCNiLEAST32): Likewise.
22757 [C99-based-standards] (SCNoLEAST32): Likewise.
22758 [C99-based-standards] (SCNuLEAST32): Likewise.
22759 [C99-based-standards] (SCNxLEAST32): Likewise.
22760 [C99-based-standards] (PRIdFAST32): Likewise.
22761 [C99-based-standards] (PRIiFAST32): Likewise.
22762 [C99-based-standards] (PRIoFAST32): Likewise.
22763 [C99-based-standards] (PRIuFAST32): Likewise.
22764 [C99-based-standards] (PRIxFAST32): Likewise.
22765 [C99-based-standards] (PRIXFAST32): Likewise.
22766 [C99-based-standards] (SCNdFAST32): Likewise.
22767 [C99-based-standards] (SCNiFAST32): Likewise.
22768 [C99-based-standards] (SCNoFAST32): Likewise.
22769 [C99-based-standards] (SCNuFAST32): Likewise.
22770 [C99-based-standards] (SCNxFAST32): Likewise.
22771 [C99-based-standards] (PRId64): Likewise.
22772 [C99-based-standards] (PRIi64): Likewise.
22773 [C99-based-standards] (PRIo64): Likewise.
22774 [C99-based-standards] (PRIu64): Likewise.
22775 [C99-based-standards] (PRIx64): Likewise.
22776 [C99-based-standards] (PRIX64): Likewise.
22777 [C99-based-standards] (SCNd64): Likewise.
22778 [C99-based-standards] (SCNi64): Likewise.
22779 [C99-based-standards] (SCNo64): Likewise.
22780 [C99-based-standards] (SCNu64): Likewise.
22781 [C99-based-standards] (SCNx64): Likewise.
22782 [C99-based-standards] (PRIdLEAST64): Likewise.
22783 [C99-based-standards] (PRIiLEAST64): Likewise.
22784 [C99-based-standards] (PRIoLEAST64): Likewise.
22785 [C99-based-standards] (PRIuLEAST64): Likewise.
22786 [C99-based-standards] (PRIxLEAST64): Likewise.
22787 [C99-based-standards] (PRIXLEAST64): Likewise.
22788 [C99-based-standards] (SCNdLEAST64): Likewise.
22789 [C99-based-standards] (SCNiLEAST64): Likewise.
22790 [C99-based-standards] (SCNoLEAST64): Likewise.
22791 [C99-based-standards] (SCNuLEAST64): Likewise.
22792 [C99-based-standards] (SCNxLEAST64): Likewise.
22793 [C99-based-standards] (PRIdFAST64): Likewise.
22794 [C99-based-standards] (PRIiFAST64): Likewise.
22795 [C99-based-standards] (PRIoFAST64): Likewise.
22796 [C99-based-standards] (PRIuFAST64): Likewise.
22797 [C99-based-standards] (PRIxFAST64): Likewise.
22798 [C99-based-standards] (PRIXFAST64): Likewise.
22799 [C99-based-standards] (SCNdFAST64): Likewise.
22800 [C99-based-standards] (SCNiFAST64): Likewise.
22801 [C99-based-standards] (SCNoFAST64): Likewise.
22802 [C99-based-standards] (SCNuFAST64): Likewise.
22803 [C99-based-standards] (SCNxFAST64): Likewise.
22804 [C99-based-standards] (PRIdMAX): Likewise.
22805 [C99-based-standards] (PRIiMAX): Likewise.
22806 [C99-based-standards] (PRIoMAX): Likewise.
22807 [C99-based-standards] (PRIuMAX): Likewise.
22808 [C99-based-standards] (PRIxMAX): Likewise.
22809 [C99-based-standards] (PRIXMAX): Likewise.
22810 [C99-based-standards] (SCNdMAX): Likewise.
22811 [C99-based-standards] (SCNiMAX): Likewise.
22812 [C99-based-standards] (SCNoMAX): Likewise.
22813 [C99-based-standards] (SCNuMAX): Likewise.
22814 [C99-based-standards] (SCNxMAX): Likewise.
22815 [C99-based-standards] (PRIdPTR): Likewise.
22816 [C99-based-standards] (PRIiPTR): Likewise.
22817 [C99-based-standards] (PRIoPTR): Likewise.
22818 [C99-based-standards] (PRIuPTR): Likewise.
22819 [C99-based-standards] (PRIxPTR): Likewise.
22820 [C99-based-standards] (PRIXPTR): Likewise.
22821 [C99-based-standards] (SCNdPTR): Likewise.
22822 [C99-based-standards] (SCNiPTR): Likewise.
22823 [C99-based-standards] (SCNoPTR): Likewise.
22824 [C99-based-standards] (SCNuPTR): Likewise.
22825 [C99-based-standards] (SCNxPTR): Likewise.
22826 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22828 * conform/data/stdint.h-data: Update comments to clarify
22830 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22832 [C99-based standards] (INT8_MAX): Likewise.
22833 [C99-based standards] (INT16_MIN): Likewise.
22834 [C99-based standards] (INT16_MAX): Likewise.
22835 [C99-based standards] (INT32_MIN): Likewise.
22836 [C99-based standards] (INT32_MAX): Likewise.
22837 [C99-based standards] (INT64_MIN): Likewise.
22838 [C99-based standards] (INT64_MAX): Likewise.
22839 [C99-based standards] (UINT8_MAX): Likewise.
22840 [C99-based standards] (UINT16_MAX): Likewise.
22841 [C99-based standards] (UINT32_MAX): Likewise.
22842 [C99-based standards] (UINT64_MAX): Likewise.
22843 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22844 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22845 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22846 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22847 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22848 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22849 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22850 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22851 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22852 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22853 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22854 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22855 [C99-based standards] (INT_FAST8_MIN): Likewise.
22856 [C99-based standards] (INT_FAST8_MAX): Likewise.
22857 [C99-based standards] (INT_FAST16_MIN): Likewise.
22858 [C99-based standards] (INT_FAST16_MAX): Likewise.
22859 [C99-based standards] (INT_FAST32_MIN): Likewise.
22860 [C99-based standards] (INT_FAST32_MAX): Likewise.
22861 [C99-based standards] (INT_FAST64_MIN): Likewise.
22862 [C99-based standards] (INT_FAST64_MAX): Likewise.
22863 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22864 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22865 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22866 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22867 [C99-based standards] (INTPTR_MIN): Likewise.
22868 [C99-based standards] (INTPTR_MAX): Likewise.
22869 [C99-based standards] (UINTPTR_MAX): Likewise.
22870 [C99-based standards] (INTMAX_MIN): Likewise.
22871 [C99-based standards] (INTMAX_MAX): Likewise.
22872 [C99-based standards] (UINTMAX_MAX): Likewise.
22873 [C99-based standards] (PTRDIFF_MIN): Likewise.
22874 [C99-based standards] (PTRDIFF_MAX): Likewise.
22875 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22876 [C99-based standards] (SIZE_MAX): Likewise.
22877 [C99-based standards] (WCHAR_MAX): Likewise.
22878 [C99-based standards] (WINT_MAX): Likewise.
22879 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22880 constraint on value.
22881 [C99-based standards] (WCHAR_MIN): Likewise.
22882 [C99-based standards] (WINT_MIN): Likewise.
22883 [C99-based standards] (*_t): Allow.
22884 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22885 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22886 Include math.h-data and complex.h-data. Remove all expectations
22887 of math.h and complex.h contents.
22888 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22890 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22891 (struct tm): Expect tag.
22892 [C99-based-standards] (wcstof): Expect function.
22893 [C99-based-standards] (wcstold): Likewise.
22894 [C99-based-standards] (wcstoll): Likewise.
22895 [C99-based-standards] (wcstoull): Likewise.
22896 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22897 macro-int-constant. Specify type.
22898 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22899 constraint on value.
22900 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22902 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22904 [ISO C standards]: Do not allow headers.
22905 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22906 wcs[abcdefghijklmnopqrstuvwxyz]*.
22907 [ISO C standards] (*_t): Do not allow.
22908 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22910 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22911 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22913 [ISO C standards]: Do not allow headers.
22914 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22915 is[abcdefghijklmnopqrstuvwxyz]*.
22916 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22917 to[abcdefghijklmnopqrstuvwxyz]*.
22918 [ISO C standards] (*_t): Do not allow.
22919 * conform/data/stdalign.h-data: New file.
22920 * conform/data/stdbool.h-data: Likewise.
22921 * conform/data/stdnoreturn.h-data: Likewise.
22923 2012-11-07 Roland McGrath <roland@hack.frob.com>
22926 * manual/filesys.texi (Directory Entries): Typo fix.
22927 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22929 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22931 * elf/elf.h (EM_AARCH64): New macro.
22932 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22933 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22934 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22935 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22936 (R_AARCH64_TLSDESC): Likewise.
22937 (NT_ARM_TLS): Likewise.
22938 (NT_ARM_HW_BREAK): Likewise.
22939 (NT_ARM_HW_WATCH): Likewise.
22941 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22944 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22945 (__ieee754_powl): Saturate nonzero exponents with absolute value
22946 below 0x1p-79 to +/- 0x1p-79.
22947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22948 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22949 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22950 nonzero exponents with absolute value below 0x1p-32 to +/-
22952 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22953 (__ieee754_powl): Saturate nonzero exponents with absolute value
22954 below 0x1p-79 to +/- 0x1p-79.
22955 * math/libm-test.inc (pow_test): Add more tests.
22957 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22959 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22960 _dl_s390_cap_flags with kernel. Increase string length.
22961 (_dl_s390_platforms): Add z196 and zEC12.
22963 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22965 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22966 Change XOPEN21K to XOPEN2K.
22968 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22970 * string/memmove.c: Use memcpy when possible.
22972 2012-11-06 Andreas Jaeger <aj@suse.de>
22974 * po/eo.po: Update from translation team.
22976 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22980 exponent and small x and y exponents, scale x or y up. Increase
22981 by 2 the exponent used in scaling up.
22982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22984 * math/libm-test.inc (fma_test): Add more tests.
22985 (fma_test_towardzero): Likewise.
22986 (fma_test_downward): Likewise.
22987 (fma_test_upward): Likewise.
22989 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22992 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22996 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22997 namespace for names of struct fields.
22998 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23000 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23001 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23003 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23006 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23008 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23010 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23014 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23017 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23021 definitely overflow as x * y not x * y + z.
23022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23024 * math/libm-test.inc (fma_test): Add more tests.
23025 (fma_test_towardzero): Likewise.
23026 (fma_test_downward): Likewise.
23027 (fma_test_upward): Likewise.
23029 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23033 * include/stub-tag.h: Remove file.
23034 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23036 * manual/maint.texi (Porting): Don't reference it.
23037 * Makerules ($(objpfx)stubs): Likewise.
23038 * dirent/closedir.c: Don't include <stub-tag.h>.
23039 * dirent/dirfd.c: Likewise.
23040 * dirent/fdopendir.c: Likewise.
23041 * dirent/getdents.c: Likewise.
23042 * dirent/getdents64.c: Likewise.
23043 * dirent/opendir.c: Likewise.
23044 * dirent/readdir.c: Likewise.
23045 * dirent/readdir64.c: Likewise.
23046 * dirent/readdir64_r.c: Likewise.
23047 * dirent/readdir_r.c: Likewise.
23048 * dirent/rewinddir.c: Likewise.
23049 * dirent/seekdir.c: Likewise.
23050 * dirent/telldir.c: Likewise.
23051 * gmon/profil.c: Likewise.
23052 * grp/setgroups.c: Likewise.
23053 * inet/if_index.c: Likewise.
23054 * io/access.c: Likewise.
23055 * io/chdir.c: Likewise.
23056 * io/chmod.c: Likewise.
23057 * io/chown.c: Likewise.
23058 * io/close.c: Likewise.
23059 * io/dup.c: Likewise.
23060 * io/dup2.c: Likewise.
23061 * io/dup3.c: Likewise.
23062 * io/euidaccess.c: Likewise.
23063 * io/faccessat.c: Likewise.
23064 * io/fchdir.c: Likewise.
23065 * io/fchmod.c: Likewise.
23066 * io/fchmodat.c: Likewise.
23067 * io/fchown.c: Likewise.
23068 * io/fchownat.c: Likewise.
23069 * io/fcntl.c: Likewise.
23070 * io/flock.c: Likewise.
23071 * io/fstatfs.c: Likewise.
23072 * io/fstatfs64.c: Likewise.
23073 * io/fstatvfs.c: Likewise.
23074 * io/fstatvfs64.c: Likewise.
23075 * io/futimens.c: Likewise.
23076 * io/fxstat.c: Likewise.
23077 * io/fxstat64.c: Likewise.
23078 * io/fxstatat.c: Likewise.
23079 * io/fxstatat64.c: Likewise.
23080 * io/getcwd.c: Likewise.
23081 * io/isatty.c: Likewise.
23082 * io/lchmod.c: Likewise.
23083 * io/lchown.c: Likewise.
23084 * io/link.c: Likewise.
23085 * io/linkat.c: Likewise.
23086 * io/lseek.c: Likewise.
23087 * io/lseek64.c: Likewise.
23088 * io/lxstat64.c: Likewise.
23089 * io/mkdir.c: Likewise.
23090 * io/mkdirat.c: Likewise.
23091 * io/mkfifo.c: Likewise.
23092 * io/mkfifoat.c: Likewise.
23093 * io/open.c: Likewise.
23094 * io/open64.c: Likewise.
23095 * io/openat.c: Likewise.
23096 * io/openat64.c: Likewise.
23097 * io/pipe.c: Likewise.
23098 * io/pipe2.c: Likewise.
23099 * io/poll.c: Likewise.
23100 * io/posix_fadvise.c: Likewise.
23101 * io/posix_fadvise64.c: Likewise.
23102 * io/posix_fallocate.c: Likewise.
23103 * io/posix_fallocate64.c: Likewise.
23104 * io/read.c: Likewise.
23105 * io/readlink.c: Likewise.
23106 * io/readlinkat.c: Likewise.
23107 * io/rmdir.c: Likewise.
23108 * io/sendfile.c: Likewise.
23109 * io/sendfile64.c: Likewise.
23110 * io/statfs.c: Likewise.
23111 * io/statfs64.c: Likewise.
23112 * io/statvfs.c: Likewise.
23113 * io/statvfs64.c: Likewise.
23114 * io/symlink.c: Likewise.
23115 * io/symlinkat.c: Likewise.
23116 * io/ttyname.c: Likewise.
23117 * io/ttyname_r.c: Likewise.
23118 * io/umask.c: Likewise.
23119 * io/unlink.c: Likewise.
23120 * io/unlinkat.c: Likewise.
23121 * io/utime.c: Likewise.
23122 * io/utimensat.c: Likewise.
23123 * io/write.c: Likewise.
23124 * io/xmknod.c: Likewise.
23125 * io/xmknodat.c: Likewise.
23126 * io/xstat.c: Likewise.
23127 * io/xstat64.c: Likewise.
23128 * login/getpt.c: Likewise.
23129 * login/grantpt.c: Likewise.
23130 * login/unlockpt.c: Likewise.
23131 * math/e_acoshl.c: Likewise.
23132 * math/e_acosl.c: Likewise.
23133 * math/e_asinl.c: Likewise.
23134 * math/e_atan2l.c: Likewise.
23135 * math/e_atanhl.c: Likewise.
23136 * math/e_coshl.c: Likewise.
23137 * math/e_expl.c: Likewise.
23138 * math/e_fmodl.c: Likewise.
23139 * math/e_gammal_r.c: Likewise.
23140 * math/e_hypotl.c: Likewise.
23141 * math/e_j0l.c: Likewise.
23142 * math/e_j1l.c: Likewise.
23143 * math/e_jnl.c: Likewise.
23144 * math/e_lgammal_r.c: Likewise.
23145 * math/e_log10l.c: Likewise.
23146 * math/e_log2l.c: Likewise.
23147 * math/e_logl.c: Likewise.
23148 * math/e_powl.c: Likewise.
23149 * math/e_rem_pio2l.c: Likewise.
23150 * math/e_sinhl.c: Likewise.
23151 * math/e_sqrtl.c: Likewise.
23152 * math/fclrexcpt.c: Likewise.
23153 * math/fedisblxcpt.c: Likewise.
23154 * math/feenablxcpt.c: Likewise.
23155 * math/fegetenv.c: Likewise.
23156 * math/fegetexcept.c: Likewise.
23157 * math/fegetround.c: Likewise.
23158 * math/feholdexcpt.c: Likewise.
23159 * math/fesetenv.c: Likewise.
23160 * math/fesetround.c: Likewise.
23161 * math/feupdateenv.c: Likewise.
23162 * math/fgetexcptflg.c: Likewise.
23163 * math/fraiseexcpt.c: Likewise.
23164 * math/fsetexcptflg.c: Likewise.
23165 * math/ftestexcept.c: Likewise.
23166 * math/k_cosl.c: Likewise.
23167 * math/k_rem_pio2l.c: Likewise.
23168 * math/k_sinl.c: Likewise.
23169 * math/k_tanl.c: Likewise.
23170 * math/s_asinhl.c: Likewise.
23171 * math/s_atanl.c: Likewise.
23172 * math/s_cbrtl.c: Likewise.
23173 * math/s_erfl.c: Likewise.
23174 * math/s_expm1l.c: Likewise.
23175 * math/s_log1pl.c: Likewise.
23176 * math/s_tanhl.c: Likewise.
23177 * misc/acct.c: Likewise.
23178 * misc/brk.c: Likewise.
23179 * misc/chflags.c: Likewise.
23180 * misc/chroot.c: Likewise.
23181 * misc/fchflags.c: Likewise.
23182 * misc/fgetxattr.c: Likewise.
23183 * misc/flistxattr.c: Likewise.
23184 * misc/fremovexattr.c: Likewise.
23185 * misc/fsetxattr.c: Likewise.
23186 * misc/fsync.c: Likewise.
23187 * misc/ftruncate.c: Likewise.
23188 * misc/futimes.c: Likewise.
23189 * misc/futimesat.c: Likewise.
23190 * misc/getdomain.c: Likewise.
23191 * misc/getdtsz.c: Likewise.
23192 * misc/gethostid.c: Likewise.
23193 * misc/gethostname.c: Likewise.
23194 * misc/getloadavg.c: Likewise.
23195 * misc/getpagesize.c: Likewise.
23196 * misc/getsysstats.c: Likewise.
23197 * misc/getxattr.c: Likewise.
23198 * misc/gtty.c: Likewise.
23199 * misc/ioctl.c: Likewise.
23200 * misc/lgetxattr.c: Likewise.
23201 * misc/listxattr.c: Likewise.
23202 * misc/llistxattr.c: Likewise.
23203 * misc/lremovexattr.c: Likewise.
23204 * misc/lsetxattr.c: Likewise.
23205 * misc/lutimes.c: Likewise.
23206 * misc/madvise.c: Likewise.
23207 * misc/mincore.c: Likewise.
23208 * misc/mlock.c: Likewise.
23209 * misc/mlockall.c: Likewise.
23210 * misc/mmap.c: Likewise.
23211 * misc/mprotect.c: Likewise.
23212 * misc/msync.c: Likewise.
23213 * misc/munlock.c: Likewise.
23214 * misc/munlockall.c: Likewise.
23215 * misc/munmap.c: Likewise.
23216 * misc/preadv.c: Likewise.
23217 * misc/preadv64.c: Likewise.
23218 * misc/ptrace.c: Likewise.
23219 * misc/pwritev.c: Likewise.
23220 * misc/pwritev64.c: Likewise.
23221 * misc/readv.c: Likewise.
23222 * misc/reboot.c: Likewise.
23223 * misc/remap_file_pages.c: Likewise.
23224 * misc/removexattr.c: Likewise.
23225 * misc/revoke.c: Likewise.
23226 * misc/select.c: Likewise.
23227 * misc/setdomain.c: Likewise.
23228 * misc/setegid.c: Likewise.
23229 * misc/seteuid.c: Likewise.
23230 * misc/sethostid.c: Likewise.
23231 * misc/sethostname.c: Likewise.
23232 * misc/setregid.c: Likewise.
23233 * misc/setreuid.c: Likewise.
23234 * misc/setxattr.c: Likewise.
23235 * misc/sstk.c: Likewise.
23236 * misc/stty.c: Likewise.
23237 * misc/swapoff.c: Likewise.
23238 * misc/swapon.c: Likewise.
23239 * misc/sync.c: Likewise.
23240 * misc/syncfs.c: Likewise.
23241 * misc/syscall.c: Likewise.
23242 * misc/truncate.c: Likewise.
23243 * misc/ualarm.c: Likewise.
23244 * misc/usleep.c: Likewise.
23245 * misc/ustat.c: Likewise.
23246 * misc/utimes.c: Likewise.
23247 * misc/vhangup.c: Likewise.
23248 * misc/writev.c: Likewise.
23249 * posix/_exit.c: Likewise.
23250 * posix/alarm.c: Likewise.
23251 * posix/execve.c: Likewise.
23252 * posix/fexecve.c: Likewise.
23253 * posix/fork.c: Likewise.
23254 * posix/fpathconf.c: Likewise.
23255 * posix/getaddrinfo.c: Likewise.
23256 * posix/getegid.c: Likewise.
23257 * posix/geteuid.c: Likewise.
23258 * posix/getgid.c: Likewise.
23259 * posix/getgroups.c: Likewise.
23260 * posix/getlogin.c: Likewise.
23261 * posix/getlogin_r.c: Likewise.
23262 * posix/getpgid.c: Likewise.
23263 * posix/getpid.c: Likewise.
23264 * posix/getppid.c: Likewise.
23265 * posix/getresgid.c: Likewise.
23266 * posix/getresuid.c: Likewise.
23267 * posix/getsid.c: Likewise.
23268 * posix/getuid.c: Likewise.
23269 * posix/glob64.c: Likewise.
23270 * posix/nanosleep.c: Likewise.
23271 * posix/pathconf.c: Likewise.
23272 * posix/pause.c: Likewise.
23273 * posix/posix_madvise.c: Likewise.
23274 * posix/pread.c: Likewise.
23275 * posix/pread64.c: Likewise.
23276 * posix/pwrite.c: Likewise.
23277 * posix/pwrite64.c: Likewise.
23278 * posix/sched_getaffinity.c: Likewise.
23279 * posix/sched_getp.c: Likewise.
23280 * posix/sched_gets.c: Likewise.
23281 * posix/sched_primax.c: Likewise.
23282 * posix/sched_primin.c: Likewise.
23283 * posix/sched_rr_gi.c: Likewise.
23284 * posix/sched_setaffinity.c: Likewise.
23285 * posix/sched_setp.c: Likewise.
23286 * posix/sched_sets.c: Likewise.
23287 * posix/sched_yield.c: Likewise.
23288 * posix/setgid.c: Likewise.
23289 * posix/setlogin.c: Likewise.
23290 * posix/setpgid.c: Likewise.
23291 * posix/setresgid.c: Likewise.
23292 * posix/setresuid.c: Likewise.
23293 * posix/setsid.c: Likewise.
23294 * posix/setuid.c: Likewise.
23295 * posix/sleep.c: Likewise.
23296 * posix/spawni.c: Likewise.
23297 * posix/sysconf.c: Likewise.
23298 * posix/times.c: Likewise.
23299 * posix/wait.c: Likewise.
23300 * posix/wait3.c: Likewise.
23301 * posix/wait4.c: Likewise.
23302 * posix/waitpid.c: Likewise.
23303 * resolv/gai_sigqueue.c: Likewise.
23304 * resource/getpriority.c: Likewise.
23305 * resource/getrlimit.c: Likewise.
23306 * resource/getrusage.c: Likewise.
23307 * resource/nice.c: Likewise.
23308 * resource/setpriority.c: Likewise.
23309 * resource/setrlimit.c: Likewise.
23310 * resource/ulimit.c: Likewise.
23311 * rt/aio_cancel.c: Likewise.
23312 * rt/aio_fsync.c: Likewise.
23313 * rt/aio_read.c: Likewise.
23314 * rt/aio_sigqueue.c: Likewise.
23315 * rt/aio_suspend.c: Likewise.
23316 * rt/aio_write.c: Likewise.
23317 * rt/clock_getres.c: Likewise.
23318 * rt/clock_gettime.c: Likewise.
23319 * rt/clock_nanosleep.c: Likewise.
23320 * rt/clock_settime.c: Likewise.
23321 * rt/lio_listio.c: Likewise.
23322 * rt/mq_close.c: Likewise.
23323 * rt/mq_getattr.c: Likewise.
23324 * rt/mq_notify.c: Likewise.
23325 * rt/mq_open.c: Likewise.
23326 * rt/mq_receive.c: Likewise.
23327 * rt/mq_send.c: Likewise.
23328 * rt/mq_setattr.c: Likewise.
23329 * rt/mq_timedreceive.c: Likewise.
23330 * rt/mq_timedsend.c: Likewise.
23331 * rt/mq_unlink.c: Likewise.
23332 * rt/shm_open.c: Likewise.
23333 * rt/shm_unlink.c: Likewise.
23334 * rt/timer_create.c: Likewise.
23335 * rt/timer_delete.c: Likewise.
23336 * rt/timer_getoverr.c: Likewise.
23337 * rt/timer_gettime.c: Likewise.
23338 * rt/timer_settime.c: Likewise.
23339 * setjmp/__longjmp.c: Likewise.
23340 * setjmp/setjmp.c: Likewise.
23341 * signal/kill.c: Likewise.
23342 * signal/killpg.c: Likewise.
23343 * signal/raise.c: Likewise.
23344 * signal/sigaction.c: Likewise.
23345 * signal/sigaltstack.c: Likewise.
23346 * signal/sigblock.c: Likewise.
23347 * signal/sigignore.c: Likewise.
23348 * signal/sigintr.c: Likewise.
23349 * signal/signal.c: Likewise.
23350 * signal/sigpause.c: Likewise.
23351 * signal/sigpending.c: Likewise.
23352 * signal/sigqueue.c: Likewise.
23353 * signal/sigreturn.c: Likewise.
23354 * signal/sigset.c: Likewise.
23355 * signal/sigsetmask.c: Likewise.
23356 * signal/sigstack.c: Likewise.
23357 * signal/sigsuspend.c: Likewise.
23358 * signal/sigtimedwait.c: Likewise.
23359 * signal/sigvec.c: Likewise.
23360 * signal/sigwait.c: Likewise.
23361 * signal/sigwaitinfo.c: Likewise.
23362 * signal/sysv_signal.c: Likewise.
23363 * socket/accept.c: Likewise.
23364 * socket/accept4.c: Likewise.
23365 * socket/bind.c: Likewise.
23366 * socket/connect.c: Likewise.
23367 * socket/getpeername.c: Likewise.
23368 * socket/getsockname.c: Likewise.
23369 * socket/getsockopt.c: Likewise.
23370 * socket/isfdtype.c: Likewise.
23371 * socket/listen.c: Likewise.
23372 * socket/recv.c: Likewise.
23373 * socket/recvfrom.c: Likewise.
23374 * socket/recvmsg.c: Likewise.
23375 * socket/send.c: Likewise.
23376 * socket/sendmsg.c: Likewise.
23377 * socket/sendto.c: Likewise.
23378 * socket/setsockopt.c: Likewise.
23379 * socket/shutdown.c: Likewise.
23380 * socket/sockatmark.c: Likewise.
23381 * socket/socket.c: Likewise.
23382 * socket/socketpair.c: Likewise.
23383 * stdio-common/ctermid.c: Likewise.
23384 * stdio-common/cuserid.c: Likewise.
23385 * stdio-common/remove.c: Likewise.
23386 * stdio-common/rename.c: Likewise.
23387 * stdio-common/renameat.c: Likewise.
23388 * stdio-common/tempname.c: Likewise.
23389 * stdlib/getcontext.c: Likewise.
23390 * stdlib/makecontext.c: Likewise.
23391 * stdlib/setcontext.c: Likewise.
23392 * stdlib/swapcontext.c: Likewise.
23393 * stdlib/system.c: Likewise.
23394 * streams/fattach.c: Likewise.
23395 * streams/fdetach.c: Likewise.
23396 * streams/getmsg.c: Likewise.
23397 * streams/getpmsg.c: Likewise.
23398 * streams/putmsg.c: Likewise.
23399 * streams/putpmsg.c: Likewise.
23400 * sysdeps/unix/bsd/getpt.c: Likewise.
23401 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23402 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23403 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23406 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23407 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23408 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23409 * sysvipc/msgctl.c: Likewise.
23410 * sysvipc/msgget.c: Likewise.
23411 * sysvipc/msgrcv.c: Likewise.
23412 * sysvipc/msgsnd.c: Likewise.
23413 * sysvipc/semctl.c: Likewise.
23414 * sysvipc/semget.c: Likewise.
23415 * sysvipc/semop.c: Likewise.
23416 * sysvipc/semtimedop.c: Likewise.
23417 * sysvipc/shmat.c: Likewise.
23418 * sysvipc/shmctl.c: Likewise.
23419 * sysvipc/shmdt.c: Likewise.
23420 * sysvipc/shmget.c: Likewise.
23421 * termios/tcdrain.c: Likewise.
23422 * termios/tcflow.c: Likewise.
23423 * termios/tcflush.c: Likewise.
23424 * termios/tcgetattr.c: Likewise.
23425 * termios/tcgetpgrp.c: Likewise.
23426 * termios/tcsendbrk.c: Likewise.
23427 * termios/tcsetattr.c: Likewise.
23428 * termios/tcsetpgrp.c: Likewise.
23429 * time/adjtime.c: Likewise.
23430 * time/clock.c: Likewise.
23431 * time/getitimer.c: Likewise.
23432 * time/gettimeofday.c: Likewise.
23433 * time/setitimer.c: Likewise.
23434 * time/settimeofday.c: Likewise.
23435 * time/stime.c: Likewise.
23436 * time/time.c: Likewise.
23438 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23440 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23443 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23445 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23447 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23450 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23451 FE_TONEAREST before applying Dekker multiplication and Knuth
23452 addition. Clear inexact exceptions and check for exact zero
23453 results afterwards.
23454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23455 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23457 * math/libm-test.inc (fma_test): Add more tests.
23458 (fma_test_towardzero): Likewise.
23459 (fma_test_downward): Likewise.
23460 (fma_test_upward): Likewise.
23461 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23463 (libc_fesetround): New macro.
23464 (libc_fesetroundf): Likewise.
23465 (libc_fesetroundl): Likewise.
23466 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23468 (libc_fesetround_387): Likewise.
23469 (libc_fesetroundf): New macro.
23470 (libc_fesetround): Likewise.
23471 (libc_fesetroundl): Likewise.
23472 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23474 (libc_fesetroundf): New macro.
23475 (libc_fesetround): Likewise.
23476 (libc_fesetroundl): Likewise.
23477 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23478 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23479 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23481 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23482 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23484 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23485 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23487 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23491 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23492 integer constant usable in #if and use that to give value to enum
23494 (FE_DIVBYZERO): Likewise.
23495 (FE_UNDERFLOW): Likewise.
23496 (FE_OVERFLOW): Likewise.
23497 (FE_INVALID): Likewise.
23498 (FE_INVALID_SNAN): Likewise.
23499 (FE_INVALID_ISI): Likewise.
23500 (FE_INVALID_IDI): Likewise.
23501 (FE_INVALID_ZDZ): Likewise.
23502 (FE_INVALID_IMZ): Likewise.
23503 (FE_INVALID_COMPARE): Likewise.
23504 (FE_INVALID_SOFTWARE): Likewise.
23505 (FE_INVALID_SQRT): Likewise.
23506 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23507 (FE_TONEAREST): Likewise.
23508 (FE_TOWARDZERO): Likewise.
23509 (FE_UPWARD): Likewise.
23510 (FE_DOWNWARD): Likewise.
23511 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23512 (FE_DIVBYZERO): Likewise.
23513 (FE_OVERFLOW): Likewise.
23514 (FE_UNDERFLOW): Likewise.
23515 (FE_INEXACT): Likewise.
23516 (FE_TONEAREST): Likewise.
23517 (FE_DOWNWARD): Likewise.
23518 (FE_UPWARD): Likewise.
23519 (FE_TOWARDZERO): Likewise.
23520 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23521 (FE_UNDERFLOW): Likewise.
23522 (FE_OVERFLOW): Likewise.
23523 (FE_DIVBYZERO): Likewise.
23524 (FE_INVALID): Likewise.
23525 (FE_TONEAREST): Likewise.
23526 (FE_TOWARDZERO): Likewise.
23527 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23528 (FE_OVERFLOW): Likewise.
23529 (FE_UNDERFLOW): Likewise.
23530 (FE_DIVBYZERO): Likewise.
23531 (FE_INEXACT): Likewise.
23532 (FE_TONEAREST): Likewise.
23533 (FE_TOWARDZERO): Likewise.
23534 (FE_UPWARD): Likewise.
23535 (FE_DOWNWARD): Likewise.
23536 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23537 (FE_DIVBYZERO): Likewise.
23538 (FE_OVERFLOW): Likewise.
23539 (FE_UNDERFLOW): Likewise.
23540 (FE_INEXACT): Likewise.
23541 (FE_TONEAREST): Likewise.
23542 (FE_DOWNWARD): Likewise.
23543 (FE_UPWARD): Likewise.
23544 (FE_TOWARDZERO): Likewise.
23546 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23548 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23550 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23552 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23553 commands. Quote $PWD.
23554 (blacklist_exports): Don't use remove_newlines. Replace "declare
23556 (remove_newlines): Remove.
23558 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23560 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23561 * stdlib/stdlib.h (atof): Moved to ...
23562 * include/bits/stdlib-float.h: Here. New file.
23563 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23564 * stdlib/bits/stdlib-float.h: New file.
23565 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23567 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23570 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23572 * conform/conformtest.pl (@headers): Add fenv.h.
23573 * conform/data/fenv.h-data: New file.
23574 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23575 include of <math/fenv.h>.
23577 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23578 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23579 && !UNIX98]. Enables tests for XOPEN2K8.
23580 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23581 POSIX2008]: Likewise.
23583 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23584 (struct rusage): Do not expect type or its members.
23587 * math/math.h (FP_NAN): Define macro to integer constant usable in
23588 #if and use that to give value to enum constant.
23589 (FP_INFINITE): Likewise.
23590 (FP_ZERO): Likewise.
23591 (FP_SUBNORMAL): Likewise.
23592 (FP_NORMAL): Likewise.
23594 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23596 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23597 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23600 2012-11-02 Roland McGrath <roland@hack.frob.com>
23602 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23603 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23604 autoconf-time if not.
23605 * configure.in: Remove AC_PREREQ.
23607 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23609 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23610 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23611 of the internal implementation.
23613 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23615 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23616 except include of <misc/sys/syslog.h>.
23618 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23621 function returns with a NULL context exit with zero.
23623 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23625 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23627 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23629 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23630 (run_program_cmd): This.
23631 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23632 (tst_langinfo): New variable. Use it.
23634 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23636 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23637 floating point opcodes.
23639 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23641 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23644 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23646 * sysdeps/mach/hurd/powerpc: Remove directory.
23647 * sysdeps/mach/powerpc: Likewise.
23649 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23651 * scripts/check-local-headers.sh: Ignore c++ headers.
23653 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23655 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23656 __libc_cleanup_region_start argument.
23658 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23663 x * y using scaling, not as x * y + z.
23664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23665 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23666 * math/libm-test.inc (fma_test): Add more tests.
23667 (fma_test_towardzero): Likewise.
23668 (fma_test_downward): Likewise.
23669 (fma_test_upward): Likewise.
23671 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23673 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23675 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23677 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23680 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23682 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23684 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23691 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23694 Fix the order of the list for glibc 2.17.
23695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23698 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23702 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23706 for low part of x being zero before using __atanl (y).
23707 * math/libm-test.inc (atan2_test): Add another test.
23709 * manual/install.texi (Configuring and compiling): Document
23710 general use of test-wrapper and test-wrapper-env.
23711 * INSTALL: Regenerated.
23713 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23714 (__fma): Do not extract and scale down low bits on after-rounding
23715 systems when result rounded to normal precision would have normal
23717 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23718 (__fmal): Do not extract and scale down low bits on after-rounding
23719 systems when result rounded to normal precision would have normal
23721 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23722 (__fmal): Do not extract and scale down low bits on after-rounding
23723 systems when result rounded to normal precision would have normal
23725 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23727 (fma_test): Add more tests.
23728 (fma_test_towardzero): Likewise.
23729 (fma_test_downward): Likewise.
23730 (fma_test_upward): Likewise.
23732 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23734 * sysdeps/i386/tininess.h: Renamed to ...
23735 * sysdeps/x86/tininess.h: This.
23736 * sysdeps/x86_64/tininess.h: Removed.
23738 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23740 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23741 input. Use $(build-program-cmd).
23742 ($(objpfx)tst-array1-static.out): Likewise.
23743 ($(objpfx)tst-array2.out): Likewise.
23744 ($(objpfx)tst-array3.out): Likewise.
23745 ($(objpfx)tst-array4.out): Likewise.
23746 ($(objpfx)tst-array5.out): Likewise.
23747 ($(objpfx)tst-array5-static.out): Likewise.
23749 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23751 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23754 * nss/nsswitch.h (nss_interface_function): Provide new
23755 macro for use with NSS functions.
23756 * grp/initgroups.c: Use new macro.
23757 * nss/getXXbyYY.c: Likewise.
23758 * nss/getXXbyYY_r.c: Likewise.
23759 * nss/getXXent.c: Likewise.
23760 * nss/getXXent_r.c: Likewise.
23761 * sysdeps/posix/getaddrinfo.c: Likewise.
23763 2012-10-30 Andreas Jaeger <aj@suse.de>
23765 * po/ru.po: Update Russion translation from translation project.
23767 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23772 result and shift together with sticky bit instead of replicating
23773 round-to-nearest rounding.
23774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23775 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23776 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23777 missing underflow exceptions.
23778 (fma_test_towardzero): Add more tests.
23779 (fma_test_downward): Likewise.
23780 (fma_test_upward): Likewise.
23783 * sysdeps/generic/tininess.h: New file.
23784 * sysdeps/i386/tininess.h: Likewise.
23785 * sysdeps/sh/tininess.h: Likewise.
23786 * sysdeps/x86_64/tininess.h: Likewise.
23787 * stdlib/tst-strtod-underflow.c: Likewise.
23788 * stdlib/tst-tininess.c: Likewise.
23789 * stdlib/strtod_l.c: Include <tininess.h>.
23790 (round_and_return): Do not set errno for exact underflow cases.
23791 Force an underflow exception when setting errno for underflow.
23792 Determine underflow based on rounding to normal precision if
23793 TININESS_AFTER_ROUNDING.
23794 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23795 ERANGE for exact underflow cases.
23796 * stdlib/Makefile (tests): Add tst-tininess and
23797 tst-strtod-underflow.
23798 ($(objpfx)tst-tininess): Use $(link-libm).
23799 ($(objpfx)tst-strtod-underflow): Likewise.
23801 2012-10-30 Andreas Jaeger <aj@suse.de>
23804 * elf/Makefile (tests): Remove conditional for have-initfini-array
23805 since this is now always required and the variable does not exist
23807 (tests-static): Likewise.
23808 (modules-names): Likewise.
23810 * po/eo.po: Add Esperanto translation from translation project.
23812 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23813 merged with constructor/destructor.
23814 (init_array): Likewise.
23815 * elf/tst-array2dep.c (fini_array): Likewise.
23816 (init_array): Likewise.
23818 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23820 * manual/message.texi: Delete @cartouche tags.
23822 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23824 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23826 * sysdeps/mach/hurd/fsync.c: Likewise.
23828 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23829 [_POSIX_REALTIME_SIGNALS]: Change condition to
23830 [_POSIX_REALTIME_SIGNALS > 0].
23832 2012-10-27 Andreas Jaeger <aj@suse.de>
23834 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23835 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23837 [__WORDSIZE != 64]: Likewise.
23839 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23841 * iconvdata/tst-table.sh: Remove ${SHELL}.
23842 * iconvdata/tst-tables.sh: Likewise.
23844 2012-10-25 David S. Miller <davem@davemloft.net>
23846 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23847 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23852 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23853 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23854 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23857 2012-10-25 Roland McGrath <roland@hack.frob.com>
23859 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23860 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23863 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23864 Jim Blandy <jimb@codesourcery.com>
23866 * scripts/cross-test-ssh.sh: New file.
23867 * manual/install.texi (Configuring and compiling): Document use of
23869 * INSTALL: Regenerated.
23871 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23873 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23876 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23878 * Makeconfig (run-program-prefix): Fix comment.
23880 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23881 Jim Blandy <jimb@codesourcery.com>
23883 * Makeconfig (test-wrapper): New variable,
23884 (test-wrapper-env): Likewise.
23885 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23886 (run-built-tests): Define to yes.
23887 (run-program-prefix): Use $(test-wrapper).
23888 (built-program-cmd): Likewise.
23889 * Rules (make-test-out): Use $(test-wrapper-env) and
23890 $(host-built-program-cmd).
23891 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23892 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23894 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23895 $(test-wrapper-env) to tst-rtld-load-self.sh.
23896 ($(objpfx)order2.out): Use $(test-wrapper).
23897 ($(objpfx)tst-initorder.out): Likewise.
23898 ($(objpfx)tst-initorder2.out): Likewise.
23899 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23900 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23901 (test_wrapper_env): New variable. Use it to run ld.so.
23902 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23903 Use it to run ld.so.
23904 (test_wrapper_env): Likewise.
23905 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23906 $(test-wrapper) to run-iconv-test.sh.
23907 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23908 (ICONV): Use $test_wrapper.
23909 * posix/Makefile ($(objpfx)globtest.out): Pass
23910 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23911 globtest.sh, not $(run-program-prefix).
23912 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23913 (test_wrapper): Likewise.
23914 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23915 set together with run_via_rtld_prefix.
23916 (run_program_prefix): Define in terms of test_wrapper and
23917 run_via_rtld_prefix.
23919 2012-10-24 Roland McGrath <roland@hack.frob.com>
23921 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23922 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23926 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23927 Declare __clock_getres, __clock_gettime, __clock_settime,
23928 __clock_nanosleep, and __clock_getcpuclockid.
23929 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23930 Remove librt_hidden_def (clock_gettime).
23931 * sysdeps/unix/clock_gettime.c: Likewise.
23932 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23933 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23934 * rt/clock_getres.c: Define __clock_getres as an alias.
23935 * sysdeps/posix/clock_getres.c: Likewise.
23936 * rt/clock_settime.c: Define __clock_settime as an alias.
23937 * sysdeps/unix/clock_settime.c: Likewise.
23938 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23939 * sysdeps/unix/clock_nanosleep.c: Likewise.
23940 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23941 * rt/clock-compat.c: New file.
23942 * rt/Makefile (librt-routines): Add clock-compat and move
23943 $(clock-routines) to ...
23944 (routines): ... here, new variable.
23945 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23946 Don't add get_clockfreq here.
23947 * rt/Versions (libc: GLIBC_2.17): New version set.
23948 Add clock_* symbols here.
23949 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23951 (GLIBC_2.17): Add clock_* symbols.
23952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23963 * NEWS: Mention the move.
23965 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23966 Use __open, __read, __close rather than their public counterparts.
23967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23968 (__get_clockfreq_via_cpuinfo): Likewise.
23969 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23970 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23972 * config.h.in (HAVE_IFUNC): New #undef.
23973 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23975 * configure: Regenerated.
23977 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23979 * configure.in: Move READELF check to start of file.
23980 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23981 libc_cv_asm_gnu_indirect_function in the process.
23982 * configure: Regenerated.
23984 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23986 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23987 send the output to /dev/null.
23988 (libc_cv_cc_with_libunwind): Likewise.
23989 (libc_cv_as_noexecstack): Likewise.
23990 * configure: Regenerate.
23992 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23994 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23996 * posix/globtest.sh (TMPDIR): Do not set.
23997 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23998 (testout): Likewise.
24000 2012-10-24 Andreas Jaeger <aj@suse.de>
24002 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24003 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24004 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24005 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24006 posix_fadvise64, posix_fallocate64.
24008 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24009 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24010 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24012 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24014 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24016 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24017 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24018 <bits/fcntl-linux.h>.
24019 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24022 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24023 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24024 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24025 [__WORDSIZE != 64]: Likewise.
24027 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24029 * Makeconfig (run-built-tests): New variable.
24030 * Rules [$(cross-compiling) = yes]: Change condition to
24031 [$(run-built-tests) = no].
24032 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24033 to [$(run-built-tests) = yes].
24034 * elf/Makefile [$(cross-compiling) = no]: Likewise
24035 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24036 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24037 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24038 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24039 * io/Makefile [$(cross-compiling) = no]: Likewise.
24040 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24041 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24042 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24043 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24044 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24045 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24046 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24047 * string/Makefile [$(cross-compiling) = no]: Likewise.
24049 * posix/Makefile ($(objpfx)globtest.out): Pass
24050 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24051 $(rtld-installed-name).
24052 * posix/globtest.sh (elf_objpfx): Remove variable.
24053 (rtld_installed_name): Likewise.
24054 (library_path): Likewise.
24055 (run_program_prefix): New variable. Use for running globtest
24058 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24059 Joseph Myers <joseph@codesourcery.com>
24061 * Makeconfig (host-built-program-cmd): New variable.
24062 * elf/Makefile (tst-stackguard1-ARGS): Use
24063 $(host-built-program-cmd).
24064 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24065 (tst-spawn-ARGS): Likewise.
24066 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24068 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24069 Jim Blandy <jimb@codesourcery.com>
24071 * Makeconfig (run-via-rtld-prefix): New variable.
24072 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24073 (built-program-cmd): Likewise.
24075 2012-10-22 Andreas Jaeger <aj@suse.de>
24077 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24078 __O_RSYNC if it exists, otherwise to O_SYNC.
24080 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24081 Joseph Myers <joseph@codesourcery.com>
24083 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24085 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24087 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24090 2012-10-22 Andreas Jaeger <aj@suse.de>
24092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24097 bits/fcntl-linux.h.
24099 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24100 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24107 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24108 Joseph Myers <joseph@codesourcery.com>
24110 * config.make.in (NM): New variable.
24112 2012-10-21 Andreas Jaeger <aj@suse.de>
24114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24115 definitions and declarations that are provided by
24116 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24118 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24121 * elf/Makefile (tests-static): Add tst-leaks1-static.
24122 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24123 ($(objpfx)tst-leaks1-static): New rule.
24124 ($(objpfx)tst-leaks1-static-mem): Likewise.
24125 (tst-leaks1-static-ENV): New macro.
24126 * elf/dl-open.c (dl_open_worker): Check the main application
24127 only if SHARED is defined.
24128 * elf/tst-leaks1-static.c: New file.
24130 2012-10-20 Andreas Jaeger <aj@suse.de>
24132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24133 generic values for Linux.
24134 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24135 and declarations that are provided by <bits/fcntl-linux.h> and
24136 include <bits/fcntl-linux.h>.
24137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24138 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24140 2012-10-20 Roland McGrath <roland@hack.frob.com>
24142 * io/fcntl.h: Move include of <bits/types.h> to the top and
24143 include it unconditionally.
24145 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24147 * wcsmbs/Makefile (tests-ifunc): New variable.
24148 (tests): Add $(tests-ifunc).
24149 * wcsmbs/test-wcschr-ifunc.c: New file.
24150 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24151 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24152 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24153 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24154 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24156 * string/Makefile (tests-ifunc): New variable.
24157 (tests): Add $(tests-ifunc).
24158 * string/test-memccpy.c (TEST_NAME): New macro.
24159 * string/test-memchr.c (TEST_NAME): Likewise.
24160 * string/test-memcmp.c (TEST_NAME): Likewise.
24161 * string/test-memcpy.c (TEST_NAME): Likewise.
24162 * string/test-memmem.c (TEST_NAME): Likewise.
24163 * string/test-memmove.c (TEST_NAME): Likewise.
24164 * string/test-memset.c (TEST_NAME): Likewise.
24165 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24166 * string/test-stpcpy.c (TEST_NAME): Likewise.
24167 * string/test-stpncpy.c (TEST_NAME): Likewise.
24168 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24169 * string/test-strcasestr.c (TEST_NAME): Likewise.
24170 * string/test-strcat.c (TEST_NAME): Likewise.
24171 * string/test-strchr.c (TEST_NAME): Likewise.
24172 * string/test-strcmp.c(TEST_NAME): Likewise.
24173 * string/test-strcpy.c (TEST_NAME): Likewise.
24174 * string/test-strcspn.c (TEST_NAME): Likewise.
24175 * string/test-strlen.c (TEST_NAME): Likewise.
24176 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24177 * string/test-strncmp.c (TEST_NAME): Likewise.
24178 * string/test-strncpy.c (TEST_NAME): Likewise.
24179 * string/test-strnlen.c (TEST_NAME): Likewise.
24180 * string/test-strpbrk.c (TEST_NAME): Likewise.
24181 * string/test-strrchr.c (TEST_NAME): Likewise.
24182 * string/test-strspn.c (TEST_NAME): Likewise.
24183 * string/test-strstr.c (TEST_NAME): Likewise.
24184 * string/test-bcopy-ifunc.c: New file.
24185 * string/test-bzero-ifunc.c: Likewise.
24186 * string/test-memccpy-ifunc.c: Likewise.
24187 * string/test-memchr-ifunc.c: Likewise.
24188 * string/test-memcmp-ifunc.c: Likewise.
24189 * string/test-memcpy-ifunc.c: Likewise.
24190 * string/test-memmem-ifunc.c: Likewise.
24191 * string/test-memmove-ifunc.c: Likewise.
24192 * string/test-mempcpy-ifunc.c: Likewise.
24193 * string/test-memset-ifunc.c: Likewise.
24194 * string/test-rawmemchr-ifunc.c: Likewise.
24195 * string/test-stpcpy-ifunc.c: Likewise.
24196 * string/test-stpncpy-ifunc.c: Likewise.
24197 * string/test-strcasecmp-ifunc.c: Likewise.
24198 * string/test-strcasestr-ifunc.c: Likewise.
24199 * string/test-strcat-ifunc.c: Likewise.
24200 * string/test-strchr-ifunc.c: Likewise.
24201 * string/test-strchrnul-ifunc.c: Likewise.
24202 * string/test-strcmp-ifunc.c: Likewise.
24203 * string/test-strcpy-ifunc.c: Likewise.
24204 * string/test-strcspn-ifunc.c: Likewise.
24205 * string/test-strlen-ifunc.c: Likewise.
24206 * string/test-strncasecmp-ifunc.c: Likewise.
24207 * string/test-strncat-ifunc.c: Likewise.
24208 * string/test-strncmp-ifunc.c: Likewise.
24209 * string/test-strncpy-ifunc.c: Likewise.
24210 * string/test-strnlen-ifunc.c: Likewise.
24211 * string/test-strpbrk-ifunc.c: Likewise.
24212 * string/test-strrchr-ifunc.c: Likewise.
24213 * string/test-strspn-ifunc.c: Likewise.
24214 * string/test-strstr-ifunc.c: Likewise.
24216 * debug/Makefile (tests-ifunc): New variable.
24217 (tests): Add $(tests-ifunc).
24218 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24219 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24220 * debug/test-stpcpy_chk-ifunc.c: New file.
24221 * debug/test-strcpy_chk-ifunc.c: Likewise.
24223 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24226 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24227 header is not read in.
24229 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24231 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24232 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24233 directly. Pass built executable to script as
24234 $(built-program-cmd).
24235 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24236 $testprogram without using LD_LIBRARY_PATH and $ldso.
24238 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24239 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24240 $(rtld-installed-name).
24241 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24242 (rtld_installed_name): Likewise.
24243 (library_path): Likewise.
24244 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24245 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24246 $(run-program-prefix) to tst-tables.sh.
24247 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24248 it to run tst-table-from and tst-table-to.
24249 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24250 Pass it to tst-table.sh.
24251 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24252 $(run-program-prefix) to tst-gettext.sh.
24253 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24255 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24257 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24258 to run tst-gettext.
24259 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24260 to run tst-gettext2.
24261 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24262 to run tst-translit.
24263 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24264 $(run-program-prefix) to tst-mtrace.sh.
24265 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24267 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24268 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24269 $(rtld-installed-name).
24270 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24271 (rtld_installed_name): Likewise.
24272 (run_program_prefix): New variable. Use it to run wordexp-test.
24274 * Makeconfig (ARCH): Remove all definitions.
24275 (machine): Likewise.
24276 [ARCH]: Remove conditional code.
24277 [!objdir]: Give error.
24278 [!objdir] (objpfx): Remove.
24279 [!objdir] (common-objpfx): Likewise.
24280 [!objdir] (common-objdir): Likewise.
24281 * configure.in (config_makefile): Remove. Hardcode Makefile in
24282 AC_CONFIG_FILES call.
24283 * configure: Regenerated.
24286 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24288 (testout): Likewise.
24290 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24291 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24292 $(rtld-installed-name).
24293 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24294 (rtld_installed_name): Likwise.
24295 (runit): Remove function.
24296 (run_getconf): New variable, Use it for running getconf binary.
24298 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24301 * string/test-memmem.c (check_result): New function.
24302 (do_one_test): Use it.
24303 (check1): New function.
24304 (test_main): Use it.
24306 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24308 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24310 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24312 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24313 (_G_LSEEK64): Likewise.
24314 (_G_MMAP64): Likewise.
24315 (_G_FSTAT64): Likewise.
24316 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24317 (_G_LSEEK64): Likewise.
24318 (_G_MMAP64): Likewise.
24319 (_G_FSTAT64): Likewise.
24320 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24321 unconditional. Call __mmap64 directly.
24322 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24323 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24324 __lseek64 directly.
24325 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24326 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24328 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24329 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24330 __lseek64 directly.
24331 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24332 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24333 __lseek64 directly.
24334 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24335 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24336 __lseek64 directly.
24337 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24338 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24339 __fxstat64 directly.
24340 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24341 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24343 (freopen64) [!_G_OPEN64]: Remove conditional code.
24344 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24346 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24347 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24349 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24350 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24352 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24353 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24355 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24356 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24358 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24359 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24361 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24362 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24364 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24366 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24369 * manual/memory.texi (Malloc Tunable Parameters): Add note
24370 about free list pointers overwriting some perturb bytes.
24371 Wording suggested by Roland McGrath.
24373 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24375 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24376 (lgamma_test): Likewise.
24377 (tgamma_test): Likewise.
24379 2012-10-16 Florian Weimer <fweimer@redhat.com>
24382 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24383 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24385 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24387 * NEWS: Mention BZ #14716.
24388 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24389 when removing AVAILABLE1_USES_J macro.
24391 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24393 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24394 (__bswap_64): __uint64_t for unsigned 64-bit int.
24396 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24398 * include/string.h (memmem): Declare libc hidden alias.
24399 * string/memmem.c (memmem): Define libc hidden alias.
24400 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24401 __read, __close instead of open, read, close.
24403 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24406 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24408 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24409 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24410 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24412 (__rawmemchr_sse2): Likewise.
24413 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24414 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24415 (__strchr_sse2): Likewise.
24416 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24417 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24418 (__strcasecmp_sse2): Likewise.
24419 (__strncasecmp_sse2): Likewise.
24420 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24421 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24422 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24423 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24424 (__strrchr_sse2): Likewise.
24425 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24427 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24428 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24429 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24430 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24431 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24432 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24433 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24434 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24435 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24436 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24437 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24438 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24439 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24440 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24441 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24442 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24443 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24444 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24445 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24446 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24447 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24448 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24449 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24450 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24451 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24453 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24454 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24455 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24456 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24458 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24460 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24461 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24462 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24463 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24465 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24467 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24468 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24469 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24470 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24472 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24473 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24474 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24475 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24476 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24477 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24478 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24479 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24480 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24481 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24483 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24484 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24485 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24486 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24488 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24489 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24490 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24491 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24492 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24497 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24498 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24499 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24500 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24501 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24502 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24503 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24504 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24505 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24506 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24507 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24508 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24509 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24510 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24511 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24512 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24514 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24515 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24516 * include/ifunc-impl-list.h: New file.
24517 * misc/ifunc-impl-list.c: Likewise.
24518 * misc/Makefile (routines): Add ifunc-impl-list.
24519 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24520 * string/test-string.h: Include <ifunc-impl-list.h>.
24521 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24522 TEST_NAME]: New variables.
24523 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24525 (test_init): Call __libc_ifunc_impl_list to initialize
24526 func_list if TEST_IFUNC and TEST_NAME are defined.
24528 * string/Makefile (strop-tests): Add bcopy and bzero.
24529 * string/test-bcopy.c: New file.
24530 * string/test-bzero.c: Likewise.
24531 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24533 * string/test-memset.c: Support bzero test if TEST_BZERO is
24535 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24537 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24539 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24542 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24544 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24545 * configure: Regenerated.
24547 * Makeconfig (+link-static-before-libc): Don't include
24548 $(link-static-libc).
24550 * libio/libio.h (_IO_pos_t): Remove.
24552 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24554 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24557 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24559 * crypt/crypt-entry.c: Include fips-private.h.
24560 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24561 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24562 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24563 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24565 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24567 * crypt/crypt-private.h: Include stdbool.h.
24568 (_ufc_setup_salt_r): Return bool.
24569 * crypt/crypt-entry.c: Include errno.h.
24570 (__crypt_r): Return NULL with EINVAL for bad salt.
24571 * crypt/crypt_util.c (bad_for_salt): New.
24572 (_ufc_setup_salt_r): Check that salt is long enough and within
24573 the specified alphabet.
24574 * crypt/badsalttest.c: New file.
24575 * crypt/Makefile (tests): Add it.
24576 ($(objpfx)badsalttest): New.
24578 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24580 * NEWS: Add entry for BZ #14602.
24582 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24584 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24586 * math/libm-test.inc: Update comment listing what functions and
24588 (isgreater_test): New function.
24589 (isgreaterequal_test): Likewise.
24590 (isless_test): Likewise.
24591 (islessequal_test): Likewise.
24592 (islessgreater_test): Likewise.
24593 (isunordered_test): Likewise.
24594 (main): Call the new functions.
24596 2012-10-09 Roland McGrath <roland@hack.frob.com>
24598 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24599 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24600 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24601 * sysdeps/i386/configure: Regenerated.
24602 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24603 * sysdeps/mach/configure: Regenerated.
24604 * sysdeps/mach/hurd/configure: Regenerated.
24605 * sysdeps/powerpc/configure: Regenerated.
24606 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24607 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24608 * sysdeps/s390/s390-32/configure: Regenerated.
24609 * sysdeps/s390/s390-64/configure: Regenerated.
24610 * sysdeps/sh/configure: Regenerated.
24611 * sysdeps/sparc/configure: Regenerated.
24612 * sysdeps/unix/sysv/linux/configure: Regenerated.
24613 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24614 * sysdeps/x86_64/configure: Regenerated.
24616 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24617 defined. Don't check if MAP is NULL.
24619 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24621 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24622 (_G_stat64): Likewise.
24623 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24624 (_G_stat64): Likewise.
24625 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24626 instead of struct _G_stat64.
24627 * libio/fileops.c (mmap_remap_check): Likewise.
24628 (decide_maybe_mmap): Likewise.
24629 (_IO_new_file_seekoff): Likewise.
24630 (_IO_file_stat): Likewise.
24631 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24633 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24634 instead of struct _G_stat64.
24635 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24637 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24640 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24642 (CHECK_EOL): New macro.
24643 (two_way_short_needle): Check beginning of haystack for EOL. Use
24645 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24646 Replace with CHECK_EOL.
24647 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24648 Replace with CHECK_EOL.
24650 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24652 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24654 * math/libm-test.inc: Update comment listing what functions and
24656 (finite_test): New function.
24657 (isinf_test): Likewise.
24658 (isnan_test): Likewise.
24659 (fpclassify_test): Test subnormal input.
24660 (isfinite_test): Likewise.
24661 (isnormal_test): Likewise.
24662 (main): Call the new functions.
24664 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24667 * Makerules (%.dynsym): Force C locale when running
24668 $(OBJDUMP) --dynamic-syms.
24670 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24672 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24675 2012-10-06 David S. Miller <davem@davemloft.net>
24677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24678 upper 32-bits of the length value in %o2 since we use branch-on-register
24679 tests which consider the entire 64-bit register.
24681 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24683 * string/test-strstr.c (check2): Add a test for page boundary.
24685 2012-10-05 David S. Miller <davem@davemloft.net>
24687 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24688 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24690 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24692 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24693 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24694 and bzero when HWCAP_SPARC_CRYPTO is present.
24696 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24699 * string/test-strstr.c (check2): New function.
24700 (test_main): Call check2.
24702 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24704 * string/bug-strcasestr1.c (do_test): Moved to ...
24705 * string/test-strcasestr.c (check1): Here. New function.
24706 (do_one_test): Break out result checking code into ...
24707 (check_result): This. New function.
24708 (do_one_test): Call check_result.
24709 (test_main): Call check1.
24710 * string/bug-strchr1.c (do_test): Moved to ...
24711 * string/test-strchr.c (check1): Here. New function.
24712 (do_one_test): Break out result checking code into ...
24713 (check_result): This. New function.
24714 (do_one_test): Call check_result.
24715 (test_main): Call check1.
24716 * string/bug-strstr1.c (main): Moved to ...
24717 * string/test-strstr.c (check1): Here. New function.
24718 (do_one_test): Break out result checking code into ...
24719 (check_result): This. New function.
24720 (do_one_test): Call check_result.
24721 (test_main): Call check1.
24722 * string/bug-strcasestr1.c: Removed.
24723 * string/bug-strchr1.c: Likewise.
24724 * string/bug-strstr1.c: Likewise.
24726 * elf/Makefile (dl-routines): Add hwcaps.
24727 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24728 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24729 (_dl_important_hwcaps): Moved to ...
24730 * elf/dl-hwcaps.c: Here. New file.
24731 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24734 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24735 if IS_IN_rtld isn't defined.
24737 * elf/dl-support.c (_dl_sysinfo_map): New.
24738 Include "get-dynamic-info.h" and "setup-vdso.h".
24739 (_dl_non_dynamic_init): Call setup_vdso.
24740 * elf/dynamic-link.h: Don't include <assert.h>.
24741 (elf_get_dynamic_info): Moved to ...
24742 * elf/get-dynamic-info.h: Here. New file.
24743 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24744 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24745 * elf/setup-vdso.h: Here. New file.
24746 * elf/rtld.c: Include "setup-vdso.h".
24747 (dl_main): Call setup_vdso.
24749 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24751 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24752 creal in comment listing functions tested. List finite, isinf,
24753 isnan, isless, islessequal, isgreater, isgreaterequal,
24754 islessgreater, isunordered, lgamma_r and pow10 as functions and
24755 macros not tested. Mention which functions not tested are aliases
24756 for other functions. Fix typo. Note that signs of NaNs are not
24759 * scripts/config.guess: Update from config.git.
24760 * scripts/config.sub: Likewise.
24762 2012-10-04 Roland McGrath <roland@hack.frob.com>
24764 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24765 * misc/madvise.c (madvise): Renamed to __madvise.
24766 Make madvise a weak alias.
24767 * include/sys/mman.h: Declare __madvise.
24768 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24769 * sysdeps/unix/syscalls.list
24770 (madvise): Make __madvise the strong name, and madvise a weak alias.
24771 * sysdeps/unix/sysv/linux/syscalls.list
24772 (madvise, mmap): Remove redundant entries.
24773 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24774 * malloc/malloc.c (mtrim): Likewise.
24775 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24777 2012-10-03 Roland McGrath <roland@hack.frob.com>
24779 * sysdeps/mach/hurd/dl-cache.c: File removed.
24780 * config.h.in (USE_LDCONFIG): New #undef.
24781 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24782 * configure: Regenerated.
24783 * elf/Makefile (dl-routines): Add dl-cache only under
24784 [$(use-ldconfig) = yes].
24785 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24786 cache on [USE_LDCONFIG].
24787 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24789 * elf/rtld.c (dl_main): Likewise.
24791 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24793 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24794 _SC_LEVEL4_CACHE_LINESIZE.
24796 2012-10-03 Roland McGrath <roland@hack.frob.com>
24798 * sysdeps/unix/bsd/confstr.h: File removed.
24800 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24802 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24805 2012-10-02 Roland McGrath <roland@hack.frob.com>
24807 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24808 Make 'mapoff' field ElfW(Off) rather than off_t.
24810 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24812 * nscd/Makefile: Remove nscd-cflags and all its users.
24813 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24814 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24817 * malloc.c (malloc_printerr): Clarify error message.
24819 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24823 Set bit_FMA_Usable if FMA is supported.
24824 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24826 (bit_FMA4_Usable): Updated.
24827 (index_FMA_Usable): New macro.
24828 (CPUID_FMA): Likewise
24829 (HAS_FMA): Defined with bit_FMA_Usable.
24831 2012-10-01 Roland McGrath <roland@hack.frob.com>
24833 * bits/types.h (__swblk_t): Type removed.
24834 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24835 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24837 (__SWBLK_T_TYPE): Likewise.
24838 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24839 (__SWBLK_T_TYPE): Likewise.
24840 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24841 (__SWBLK_T_TYPE): Likewise.
24842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24843 (__SWBLK_T_TYPE): Likewise.
24845 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24846 Honza Horak <hhorak@redhat.com>
24848 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24849 (xdr_mapname): Use YPMAXMAP as maxsize.
24850 (xdr_peername): Use YPMAXPEER as maxsize.
24851 (xdr_keydat): Use YPAXRECORD as maxsize.
24852 (xdr_valdat): Use YPMAXRECORD as maxsize.
24854 2012-10-01 Roland McGrath <roland@hack.frob.com>
24856 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24858 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24859 * csu/init-first.c: ... here.
24860 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24861 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24862 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24863 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24864 * sysdeps/i386/init-first.c: File removed.
24865 * sysdeps/sh/init-first.c: File removed.
24867 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24871 if x * y might underflow to zero and z is zero.
24872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24874 * math/libm-test.inc (min_subnorm_value): New variable.
24875 (fma_test): Add more tests.
24876 (fma_test_towardzero): Likewise.
24877 (fma_test_downward): Likewise
24878 (fma_test_upward): Likewise.
24879 (initialize): Set min_subnorm_value.
24881 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24886 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24887 mode for addition resulting in exact zero.
24888 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24891 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24893 * math/libm-test.inc (fma_test): Add more tests.
24894 (fma_test_towardzero): New function.
24895 (fma_test_downward): Likewise.
24896 (fma_test_upward): Likewise.
24897 (main): Call the new functions.
24899 2012-09-28 David S. Miller <davem@davemloft.net>
24901 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24903 2012-09-28 Roland McGrath <roland@hack.frob.com>
24905 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24906 instead of SIGALRM.
24908 * sysdeps/gnu/_G_config.h: Moved to ...
24909 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24910 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24911 * sysdeps/generic/_G_config.h: ... here.
24913 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24915 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24917 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24918 Conditionalize target on [libnss_test1.so-version].
24920 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24922 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24923 (elfobjdir): Move out of conditionals.
24925 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24926 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24927 (__nss_lookup_function): Conditionalize label remove_from_tree on
24928 [!DO_STATIC_NSS || SHARED], matching its only use.
24930 2012-09-28 David S. Miller <davem@davemloft.net>
24932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24933 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24935 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24937 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24939 when HWCAP_SPARC_CRYPTO is present.
24941 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24943 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24945 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24948 * stdio-common/vfprintf.c (process_string_arg): Revert
24951 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24953 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24955 * stdio-common/tst-sprintf.c: Include <locale.h>
24956 (main): Test sprintf's handling of incomplete multibyte
24959 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24961 * elf/dl-runtime.c (VERSYMIDX): Removed.
24962 * elf/dl-version.c (VERSYMIDX): Likewise.
24963 * elf/do-rel.h (VERSYMIDX): Likewise.
24964 (VALIDX): Likewise.
24965 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24966 * elf/rtld.c (VALIDX): Likewise.
24967 (ADDRIDX): Likewise.
24968 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24969 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24970 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24971 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24972 (VALIDX): Likewise.
24973 (ADDRIDX): Likewise.
24975 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24977 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24979 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24982 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24984 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24985 addresses are in the same scope as 192.0.2/24.
24986 * posix/gai.conf: Document new scope table defaults.
24988 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24991 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24992 for ftell. Compute offsets from write pointers instead.
24993 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24995 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24998 * libio/Makefile (tests): New test case tst-fseek.
24999 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25000 combination works in wide mode.
25001 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25002 state when the external buffer state changes.
25004 2012-09-27 David S. Miller <davem@davemloft.net>
25007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25008 pass reloc->r_addend in as the 'high' argument to
25009 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25013 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25015 * rt/tst-aio2.c: Include <pthread.h>.
25016 * rt/tst-aio3.c: Likewise.
25018 2012-09-27 Steve Ellcey <sellcey@mips.com>
25020 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25022 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25024 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25025 contents on [SHARED].
25027 2012-09-26 Marek Polacek <polacek@redhat.com>
25031 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25032 for C++ and GCC <4.3 as well as for non GCC compilers.
25034 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25038 2012-09-25 Roland McGrath <roland@hack.frob.com>
25040 * Makefile.in (all, install): Declare with .PHONY.
25041 Reported by Michael Hope <michael.hope@linaro.org>.
25043 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25045 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25046 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25048 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25050 (sydep_routines): Add the new and the internal functions.
25051 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25052 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25054 (GLIBC_2.17): Add the new function.
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25056 (GLIBC_2.17): Likewise.
25057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25058 (GLIBC_2.17): Likewise.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25060 (GLIBC_2.17): Likewise.
25061 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25063 2012-09-25 Alan Modra <amodra@gmail.com>
25065 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25066 Add release barrier before setting once_control to say
25067 initialisation is done. Add hints on lwarx. Use macro in
25069 (clear_once_control): Add release barrier.
25071 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25074 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25076 * math/s_clog10.c (__clog10): Likewise.
25077 * math/s_clog10f.c (__clog10f): Likewise.
25078 * math/s_clog10l.c (__clog10l): Likewise.
25079 * math/s_clogf.c (__clogf): Likewise.
25080 * math/s_clogl.c (__clogl): Likewise.
25081 * math/Makefile (libm-calls): Add x2y2m1.
25082 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25083 (__x2y2m1): Likewise.
25084 (__x2y2m1l): Likewise.
25085 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25086 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25087 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25088 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25089 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25090 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25091 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25092 * sysdeps/i386/fpu/libm-test-ulps: Update.
25093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25096 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25097 int as type of variable DEPTH.
25098 (glob): Use size_t instead of int as type of variables NEWCOUNT
25101 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25103 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25104 Add s_sincosf-sse2.
25105 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25106 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25107 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25108 macros for using routine as __sincosf_ia32.
25109 Use macro for function declaration and weak_alias.
25110 * sysdeps/i386/fpu/libm-test-ulps: Update.
25112 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25115 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25116 subnormal argument.
25117 * math/s_cexpf.c (__cexpf): Likewise.
25118 * math/s_csinf.c (__csinf): Likewise.
25119 * math/s_csinhf.c (__csinhf): Likewise.
25120 * math/s_ctanf.c (__ctanf): Likewise.
25121 * math/s_ctanhf.c (__ctanhf): Likewise.
25122 * math/s_ccosh.c (__ccoshf): Likewise.
25123 * math/s_cexp.c (__cexpl): Likewise.
25124 * math/s_csin.c (__csin): Likewise.
25125 * math/s_csinh.c (__csinh): Likewise.
25126 * math/s_ctan.c (__ctan): Likewise.
25127 * math/s_ctanh.c (ctanh): Likewise.
25128 * math/s_ccoshl.c (__ccoshl): Likewise.
25129 * math/s_cexpl.c (__cexpl): Likewise.
25130 * math/s_csinl.c (__csinl): Likewise.
25131 * math/s_csinhl.c (__csinhl): Likewise.
25132 * math/s_ctanl.c (__ctanl): Likewise.
25133 * math/s_ctanhl.c (__ctanhl): Likewise.
25135 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25137 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25138 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25139 (_IO_off_t): Define to __off_t, not _G_off_t.
25140 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25141 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25142 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25143 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25144 type of __dummy and __dummy2 fields.
25145 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25146 (_G_ssize_t): Likewise.
25147 (_G_off_t): Likewise.
25148 (_G_pid_t): Likewise.
25149 (_G_uid_t): Likewise.
25150 (_G_wchar_t): Likewise.
25151 (_G_wint_t): Likewise.
25152 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25153 (_G_ssize_t): Likewise.
25154 (_G_off_t): Likewise.
25155 (_G_pid_t): Likewise.
25156 (_G_uid_t): Likewise.
25157 (_G_wchar_t): Likewise.
25158 (_G_wint_t): Likewise.
25159 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25160 (_G_ssize_t): Likewise.
25161 (_G_off_t): Likewise.
25162 (_G_pid_t): Likewise.
25163 (_G_uid_t): Likewise.
25164 (_G_wchar_t): Likewise.
25165 (_G_wint_t): Likewise.
25167 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25169 * malloc/arena.c: Include malloc-sysdep.h.
25170 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25171 is sufficient to shrink the heap or an unmap is needed.
25172 * sysdeps/generic/malloc-sysdep.h: New file. Define
25173 new function check_may_shrink_heap.
25174 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25175 new function check_may_shrink_heap.
25177 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25179 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25182 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25184 * catgets/test-gencat.sh: Add "set -e".
25185 * elf/tst-pathopt.sh: Likewise.
25186 * grp/tst_fgetgrent.sh: Likewise.
25187 * iconvdata/run-iconv-test.sh: Likewise.
25188 * intl/tst-gettext.sh: Likewise.
25189 * intl/tst-gettext2.sh: Likewise.
25190 * intl/tst-gettext4.sh: Likewise.
25191 * intl/tst-gettext6.sh: Likewise.
25192 * intl/tst-translit.sh: Likewise.
25193 * io/ftwtest-sh: Likewise.
25194 * libio/test-freopen.sh: Likewise.
25195 * malloc/tst-mtrace.sh: Likewise.
25196 * posix/globtest.sh: Likewise.
25197 * posix/tst-getconf.sh: Likewise.
25198 * posix/wordexp-tst.sh: Likewise.
25199 * stdio-common/tst-printf.sh: Likewise.
25200 * stdio-common/tst-unbputc.sh: Likewise.
25201 * stdlib/tst-fmtmsg.sh: Likewise.
25202 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25203 * catgets/Makefile: Do not specify -e option when running
25204 testsuite shell scripts.
25205 * elf/Makefile: Likewise.
25206 * grp/Makefile: Likewise.
25207 * iconvdata/Makefile: Likewise.
25208 * intl/Makefile: Likewise.
25209 * io/Makefile: Likewise.
25210 * libio/Makefile: Likewise.
25211 * malloc/Makefile: Likewise.
25212 * posix/Makefile: Likewise.
25213 * stdio-common/Makefile: Likewise.
25214 * stdlib/Makefile: Likewise.
25215 * sysdeps/x86_64/Makefile: Likewise.
25217 * io/ftwtest-sh: Add copyright header.
25218 * posix/globtest.sh: Likewise.
25219 * posix/tst-getconf.sh: Likewise.
25220 * posix/wordexp-tst.sh: Likewise.
25221 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25223 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25226 * Makeconfig (+link): Defined as $(+link-static) if
25227 $(build-shared) isn't yes.
25228 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25230 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25232 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25235 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25236 new chunk size with MALLOC_ALIGN_MASK.
25238 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25241 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25243 (__printf_fphex): Determine rounding using get_rounding_mode and
25245 * stdio-common/tst-printf-round.c (struct hex_test): New
25247 (hex_tests): New variable.
25248 (test_hex_in_one_mode): New function.
25249 (do_test): Also run tests for hex float output.
25251 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25253 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25254 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25255 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25256 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25257 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25258 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25259 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25260 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25262 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25264 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25265 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25266 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25267 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25269 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25272 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25274 * elf/tst-rtld-load-self.sh: New test.
25275 * elf/Makefile: Run it.
25277 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25279 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25280 (tst-writev-ENV): Remove.
25281 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25283 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25285 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25287 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25289 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25291 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25293 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25294 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25295 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25298 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25301 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25302 * config.make.in (have-cpp-asm-debuginfo): Removed.
25303 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25304 * configure: Regenerated.
25306 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25309 * stdio-common/printf_fp.c: Include <stdbool.h> and
25311 (___printf_fp): Determine rounding using get_rounding_mode and
25313 * stdio-common/tst-printf-round.c: New file.
25314 * stdio-common/Makefile (tests): Add tst-printf-round.
25315 (link-libm): New variable.
25316 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25318 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25321 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25322 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25324 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25327 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25329 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25330 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25331 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25332 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25334 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25337 * include/rounding-mode.h: New file.
25338 * sysdeps/generic/get-rounding-mode.h: Likewise.
25339 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25340 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25341 (MAX_VALUE): New macro.
25342 (MIN_VALUE): Likewise.
25343 (overflow_value): New function.
25344 (underflow_value): Likewise.
25345 (round_and_return): Use overflow_value and underflow_value to
25346 determine return values in overflow and underflow cases. Use
25347 round_away to determine rounding depending on rounding mode.
25348 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25349 determine return values in overflow and underflow cases.
25350 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25351 (struct test_results): New structure.
25352 (struct test): Use struct test_results to store expected results
25353 for all rounding modes.
25354 (TEST): Include expected results for all rounding modes.
25355 (test_in_one_mode): New function.
25356 (do_test): Use test_in_one_mode to compute and check results.
25357 Check results for all rounding modes.
25358 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25361 2012-12-09 Allan McRae <allan@archlinux.org>
25363 * sysdeps/i386/fpu/libm-test-ulps: Update
25365 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25367 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25368 (_G_int32_t): Likewise.
25369 (_G_uint16_t): Likewise.
25370 (_G_uint32_t): Likewise.
25371 (_G_HAVE_BOOL): Likewise.
25372 (_G_HAVE_ATEXIT): Likewise.
25373 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25374 (_G_HAVE_IO_FILE_OPEN): Likewise.
25375 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25376 (_G_int32_t): Likewise.
25377 (_G_uint16_t): Likewise.
25378 (_G_uint32_t): Likewise.
25379 (_G_HAVE_BOOL): Likewise.
25380 (_G_HAVE_ATEXIT): Likewise.
25381 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25382 (_G_HAVE_IO_FILE_OPEN): Likewise.
25383 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25384 (_G_int32_t): Likewise.
25385 (_G_uint16_t): Likewise.
25386 (_G_uint32_t): Likewise.
25387 (_G_HAVE_BOOL): Likewise.
25388 (_G_HAVE_ATEXIT): Likewise.
25389 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25390 (_G_HAVE_IO_FILE_OPEN): Likewise.
25392 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25394 * csu/libc-tls.c: Update copyright years.
25396 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25398 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25399 [!_G_USING_THUNKS]: Remove conditional code.
25400 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25401 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25403 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25404 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25405 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25406 (_G_VTABLE_LABEL_PREFIX): Likewise.
25407 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25408 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25409 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25410 (_G_VTABLE_LABEL_PREFIX): Likewise.
25411 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25412 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25413 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25414 (_G_VTABLE_LABEL_PREFIX): Likewise.
25415 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25417 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25419 * libio/Makefile: Include ../Makeconfig before tests.
25420 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25421 only if $(build-shared) is yes.
25423 * iconv/gconv_db.c: Update copyright years.
25425 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25427 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25428 unwind info if defined PIC. Fix special cases description.
25429 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25431 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25433 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25435 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25437 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25439 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25442 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25443 (LDLIBS-tst-chk4): This.
25444 (LDFLAGS-tst-chk5): Renamed to ...
25445 (LDLIBS-tst-chk5): This.
25446 (LDFLAGS-tst-chk6): Renamed to ...
25447 (LDLIBS-tst-chk6): This.
25448 (LDFLAGS-tst-lfschk4): Renamed to ...
25449 (LDLIBS-tst-lfschk4): This.
25450 (LDFLAGS-tst-lfschk5): Renamed to ...
25451 (LDLIBS-tst-lfschk5): This.
25452 (LDFLAGS-tst-lfschk6): Renamed to ...
25453 (LDLIBS-tst-lfschk6): This.
25455 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25456 on $(common-objpfx)soversions.mk.
25458 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25461 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25464 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25466 * malloc/arena.c (arena_get_retry): New function that gets
25467 another arena for the caller to try its request on.
25468 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25469 current arena cannot fulfill the request.
25470 (__libc_memalign): Likewise.
25471 (__libc_memalign): Likewise.
25472 (__libc_pvalloc): Likewise.
25473 (__libc_calloc): Likewise.
25475 2012-09-05 John Tobey <john.tobey@gmail.com>
25478 * manual/arith.texi (Operations on Complex): Fix description
25479 of carg branch cut.
25481 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25484 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25488 * manual/memory.texi (Memory): Make order of menu items match
25491 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25493 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25494 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25495 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25497 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25499 * csu/libc-tls.c (static_dtv): Renamed to ...
25500 (_dl_static_dtv): This. Make it global.
25501 (_dl_initial_dtv): Removed.
25502 (__libc_setup_tls): Updated.
25503 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25504 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25507 2012-09-06 Petr Machata <pmachata@redhat.com>
25509 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25510 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25511 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25512 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25514 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25517 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25518 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25521 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25524 * Makeconfig (link-static-before-libc): Replace $(+prector)
25526 (link-static-after-libc): Replace $(+postctor) with
25528 (link-bounded): Replace $(+prector)/$(+postctor) with
25529 $(+prectorT)/$(+postctorT).
25530 (+prectorT): New macro.
25531 (+postctorT): Likewise.
25533 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25535 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25536 (round_str): Handle values above the maximum for IBM long double
25538 * stdlib/tst-strtod-round.c (tests): Regenerated.
25540 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25542 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25544 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25545 zarch_nohighgprs around the zarch optimized routines.
25546 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25547 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25548 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25551 2012-09-05 David S. Miller <davem@davemloft.net>
25553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25555 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25556 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25557 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25558 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25561 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25563 * malloc/arena.c: Fold copyright years.
25564 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25566 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25568 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25570 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25572 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25574 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25576 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25577 change internal state upon failure.
25579 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25581 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25582 * malloc/memusage.c (mmap): Likewise.
25583 (mmap64, mremap): Likewise. Adjust name in comment.
25585 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25587 * libio/fileops.c: Fix typos in comments.
25588 * libio/oldfileops.c: Likewise.
25589 * libio/wfileops.c: Likewise.
25591 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25594 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25595 (tst-malloc-usable-ENV): Set environment for test case.
25596 * malloc/hooks.c (malloc_check_get_size): New function to get
25598 * malloc/malloc.c (musable): Use malloc_check_get_size.
25599 * malloc/tst-malloc-usable.c: New test case.
25601 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25603 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25605 2012-09-05 Allan McRae <allan@archlinux.org>
25608 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25609 determine header location.
25610 * configure: Regenerated.
25612 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25614 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25616 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25617 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25619 (test): Regenerate.
25621 2012-09-04 David S. Miller <davem@davemloft.net>
25623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25625 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25627 2012-09-04 Florian Weimer <fweimer@redhat.com>
25629 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25632 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25634 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25637 * libio/iogetdelim.c: Include <limits.h>.
25638 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25639 + len + 1 would overflow.
25641 2012-09-03 Andreas Jaeger <aj@suse.de>
25643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25644 * sysdeps/i386/fpu/libm-test-ulps: Update.
25646 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25648 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25649 Add s_sinf-sse2, s_conf-sse2.
25651 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25652 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25653 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25654 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25656 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25657 for using routine as __sinf_ia32.
25658 Use macro for function declaration and weak_alias.
25659 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25660 for using routine as __cosf_ia32.
25661 Use macro for function declaration and weak_alias.
25663 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25664 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25666 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25667 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25670 * math/libm-test.inc (cos_test): Add more test cases.
25671 (sin_test): Likewise.
25672 (sincos_test): Likewise.
25674 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25676 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25677 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25679 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25681 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25684 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25685 first element of the GOT.
25686 (elf_machine_load_address): Return the difference between
25687 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25689 2012-09-01 Allan McRae <allan@archlinux.org>
25692 * configure.in (AWK): Require gawk version 3.0 or later.
25693 * configure: Regenerated.
25695 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25697 * sysdeps/unix/sysv/linux/kernel-features.h
25698 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25699 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25700 [__NR_clock_getres]: Make code unconditional.
25701 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25702 (clock_getcpuclockid): Remove code left unreachable by removal of
25704 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25705 code unconditional.
25706 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25707 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25708 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25709 Make code unconditional.
25710 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25712 * sysdeps/unix/sysv/linux/clock_settime.c
25713 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25715 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25716 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25718 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25721 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25722 scripts/test-installation.pl.
25724 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25725 and $ld_so_version if it is set.
25727 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25730 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25731 failure if reading from procfs failed.
25732 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25734 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25736 * sysdeps/unix/sysv/linux/kernel-features.h
25737 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25738 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25739 Remove conditional code.
25740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25741 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25742 Remove conditional code.
25743 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25744 * sysdeps/unix/sysv/linux/i386/fxstat.c
25745 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25747 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25748 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25750 * sysdeps/unix/sysv/linux/i386/lxstat.c
25751 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25753 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25754 Remove conditional code.
25755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25756 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25757 Remove conditional code.
25758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25759 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25760 <kernel-features.h>.
25761 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25763 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25764 Remove conditional code.
25765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25766 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25767 Remove conditional.
25769 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25772 * NEWS: Add fixed bug number.
25774 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25777 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25778 underflowing exponent in case of negative sign.
25779 * stdlib/tst-strtod-round-data: Add more tests.
25780 * stdlib/tst-strtod-round.c (tests): Regenerated.
25783 * stdlib/strtod_l.c (NDIG): Remove.
25784 (HEXNDIG): Likewise.
25785 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25786 smallest representable value.
25787 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25788 lie within an exact representation of 1/2 ulp of the result.
25789 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25791 (TENS_P9_IDX): Define unconditionally.
25792 (TENS_P9_SIZE): Likewise.
25793 (TENS_P10_IDX): Likewise.
25794 (TENS_P10_SIZE): Likewise.
25795 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25796 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25797 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25798 entries for 10^2^13 and 10^2^14.
25799 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25800 (TENS_P13_IDX): Define.
25801 (TENS_P13_SIZE): Likewise.
25802 (TENS_P14_IDX): Likewise.
25803 (TENS_P14_SIZE): Likewise.
25804 (_fpioconst_pow10): Change array size to
25805 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25807 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25808 1024]: Add entries for 10^2^13 and 10^2^14.
25809 [LAST_POW10 > _LAST_POW10]: Remove #error.
25810 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25811 (_fpioconst_pow10): Change array size to
25812 FPIOCONST_POW10_ARRAY_SIZE.
25813 * stdlib/gen-fpioconst.c: New file.
25814 * stdlib/gen-tst-strtod-round.c: Likewise.
25815 * stdlib/tst-strtod-round-data: Likewise.
25816 * stdlib/tst-strtod-round.c: Likewise.
25817 * stdlib/Makefile (tests): Add tst-strtod-round.
25820 * stdlib/strtod_l.c: Include <stdint.h>.
25821 (NDEBUG): Do not define.
25822 (round_and_return): Change EXPONENT parameter to type intmax_t.
25823 Rearrange calculations to avoid internal overflow possibilities.
25824 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25825 Rearrange calculations to avoid internal overflow possibilities.
25826 Assert that number fits inside MPNSIZE limbs.
25827 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25828 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25829 calculations and add assertions to avoid internal overflow
25830 possibilities. Add casts to avoid signed/unsigned operations.
25831 * stdlib/tst-strtod-overflow.c: New file.
25832 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25834 2012-08-25 Marek Polacek <polacek@redhat.com>
25836 * time/time.h: Fix some typos in comments.
25838 2012-08-23 Roland McGrath <roland@hack.frob.com>
25840 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25841 * posix/tst-rfc3484-2.c: Likewise.
25842 * posix/tst-rfc3484-3.c: Likewise.
25844 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25846 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25847 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25849 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25851 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25852 #include of fxstatat64.c.
25854 2012-08-22 Roland McGrath <roland@hack.frob.com>
25856 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25857 * shadow/getspent_r.c: Likewise.
25858 * shadow/getspnam.c: Likewise.
25859 * shadow/getspnam_r.c: Likewise.
25860 * gshadow/getsgent.c: Likewise.
25861 * gshadow/getsgent_r.c: Likewise.
25862 * gshadow/getsgnam.c: Likewise.
25863 * gshadow/getsgnam_r.c: Likewise.
25864 * inet/getnetbyad.c: Likewise.
25865 * inet/getnetbyad_r.c: Likewise.
25866 * inet/getnetbynm.c: Likewise.
25867 * inet/getnetbynm_r.c: Likewise.
25868 * inet/getnetent.c: Likewise.
25869 * inet/getnetent_r.c: Likewise.
25870 * inet/getproto.c: Likewise.
25871 * inet/getproto_r.c: Likewise.
25872 * inet/getprtent.c: Likewise.
25873 * inet/getprtent_r.c: Likewise.
25874 * inet/getprtname.c: Likewise.
25875 * inet/getprtname_r.c: Likewise.
25876 * inet/getrpcbyname.c: Likewise.
25877 * inet/getrpcbyname_r.c: Likewise.
25878 * inet/getrpcbynumber.c: Likewise.
25879 * inet/getrpcbynumber_r.c: Likewise.
25880 * inet/getrpcent.c: Likewise.
25881 * inet/getrpcent_r.c: Likewise.
25882 * inet/getaliasent.c: Likewise.
25883 * inet/getaliasent_r.c: Likewise.
25884 * inet/getaliasname.c: Likewise.
25885 * inet/getaliasname_r.c: Likewise.
25886 * nscd/getgrgid_r.c: Likewise.
25887 * nscd/getgrnam_r.c: Likewise.
25888 * nscd/gethstbyad_r.c: Likewise.
25889 * nscd/gethstbynm3_r.c: Likewise.
25890 * nscd/getpwnam_r.c: Likewise.
25891 * nscd/getpwuid_r.c: Likewise.
25892 * nscd/getsrvbynm_r.c: Likewise.
25893 * nscd/getsrvbypt_r.c: Likewise.
25894 * nscd/gai.c: Likewise.
25896 * configure.in (build_nscd): New substituted variable, set
25897 by --disable-build-nscd and defaults to $use_nscd.
25898 * configure: Regenerated.
25899 * config.make.in (build-nscd): New substituted variable.
25900 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25901 Change conditional to require [$(build-nscd) = yes] as well.
25902 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25905 * configure.in (use_nscd): New substituted variable, set by
25906 --disable-nscd. If enabled, define USE_NSCD.
25907 * configure: Regenerated.
25908 * config.h.in: Add USE_NSCD.
25909 * config.make.in (use-nscd): New substituted variable.
25910 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25911 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25912 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25913 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25914 (CFLAGS-getgrnam_r.c): Likewise.
25915 (CFLAGS-initgroups.c): Likewise.
25916 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25917 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25919 * inet/getnetgrent_r.c
25920 (nscd_setnetgrent): New function, broken out of ...
25921 (setnetgrent): ... here. Call it.
25922 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25923 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25924 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25925 * nscd/Makefile (routines, aux): Move definitions after include of
25926 Makeconfig. Conditionalize on [$(use-nscd) != no].
25927 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25928 Conditionalize on [USE_NSCD].
25929 (is_nscd, nscd_init_cb): Likewise.
25930 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25931 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25932 * nss/nss_db/db-init.c: Likewise.
25933 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25935 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25936 (make_request): Use it.
25937 (cache_valid_p): New function.
25938 (__check_pf): Use it.
25939 * NEWS: Add item for --disable-nscd.
25941 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25943 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25944 to support sed >= 4.2.1-20-ga9bf076.
25945 * configure: Regenerated.
25947 2012-08-22 Roland McGrath <roland@hack.frob.com>
25949 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25950 Conditionalize whole body on [IREL].
25952 2012-08-22 Jeff Law <law@redhat.com>
25955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25956 if the family is PF_UNSPEC.
25958 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25960 * Makerules (lib-version): Rename from V.
25961 (install-lib-nosubdir): Change V to lib-version.
25963 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25966 * powerpc32/power6/wcschr.c: New file.
25967 * powerpc32/power6/wcscpy.c: New file.
25968 * powerpc32/power6/wcsrchr.c: New file.
25969 * powerpc64/power6/wcschr.c: New file.
25970 * powerpc64/power6/wcscpy.c: New file.
25971 * powerpc64/power6/wcsrchr.c: New file.
25973 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25975 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25976 (two_way_short_needle): Use it.
25977 * string/strstr.c (AVAILABLE1_USES_J): Define.
25978 * string/strcasestr.c: Likewise.
25980 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25982 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25985 * NEWS: Add an entry.
25986 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25987 define their defaults.
25988 (two_way_short_needle): Detect end-of-string on-the-fly.
25989 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25990 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25991 * string/bug-strcasestr1.c: New test.
25992 * string/Makefile: Run it.
25994 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25997 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25998 the first character.
26000 2012-08-21 Roland McGrath <roland@hack.frob.com>
26002 * csu/elf-init.c (__libc_csu_irel): Function removed.
26003 * csu/libc-start.c (apply_irel): New function.
26004 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26006 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26008 * sysdeps/unix/sysv/linux/kernel-features.h
26009 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26010 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26011 <kernel-features.h>.
26012 [__NR_fadvise64_64]: Make code unconditional.
26013 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26014 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26015 !__NR_fadvise64_64)]: Likewise.
26016 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26017 !__NR_fadvise64_64))]: Likewise.
26018 [__NR_fadvise64]: Make code unconditional.
26019 [!__NR_fadvise64]: Remove conditional code.
26020 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26021 <kernel-features.h>.
26022 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26024 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26027 not include <kernel-features.h>.
26028 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26030 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26032 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26033 include <kernel-features.h>.
26034 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26036 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26039 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26041 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26042 slight instruction rearrangements per scrollpipe analysis.
26043 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26045 2012-08-20 Roland McGrath <roland@hack.frob.com>
26047 * manual/syslog.texi (syslog; vsyslog, closelog):
26048 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26049 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26051 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26052 DSOCAPS to match condition on defining it.
26054 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26056 * sysdeps/unix/sysv/linux/kernel-features.h
26057 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26059 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26060 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26062 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26063 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26065 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26066 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26068 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26069 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26071 * sysdeps/unix/sysv/linux/kernel-features.h
26072 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26073 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26075 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26076 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26077 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26078 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26079 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26080 Make code unconditional.
26081 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26082 (__mmap64) [!__NR_mmap2]: Likewise.
26083 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26084 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26085 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26086 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26087 [__NR_mmap2]: Make code unconditional.
26088 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26089 (__mmap64) [!__NR_mmap2]: Likewise.
26091 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26093 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26095 2012-08-18 Andreas Jaeger <aj@suse.de>
26097 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26099 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26101 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26102 * include/unistd.h (__have_sock_cloexec): Likewise.
26103 (__have_pipe2): Likewise.
26104 (__have_dup3): Likewise.
26106 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26109 * include/unistd.h (__have_pipe2): Change define into an extern int.
26110 (__have_dup3): Likewise.
26111 * socket/have_sock_cloexec.c: Include fcntl.h.
26112 (__have_pipe2): New variable.
26113 (__have_dup3): Likewise.
26115 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26117 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26119 2012-08-17 Marek Polacek <polacek@redhat.com>
26121 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26122 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26124 2012-08-17 Roland McGrath <roland@hack.frob.com>
26126 * configure.in: Add AC_SUBST for sysheaders.
26127 * configure: Regenerated.
26128 * config.make.in (sysheaders): New substituted variable.
26130 * sysdeps/unix/mkfifo.c: Moved ...
26131 * sysdeps/posix/mkfifo.c: ... here.
26132 * sysdeps/unix/mkfifoat.c: Moved ...
26133 * sysdeps/posix/mkfifoat.c: ... here.
26135 * sysdeps/unix/utime.c: Moved ...
26136 * sysdeps/posix/utime.c: ... here.
26138 * sysdeps/unix/time.c: Moved ...
26139 * sysdeps/posix/time.c: ... here.
26140 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26141 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26143 * sysdeps/unix/nice.c: Moved ...
26144 * sysdeps/posix/nice.c: ... here.
26146 * sysdeps/unix/alarm.c: Moved ...
26147 * sysdeps/posix/alarm.c: ... here.
26149 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26151 2012-08-17 Jeff Law <law@redhat.com>
26153 * intl/Makefile (codeset_mo): New variable.
26154 ($(codeset_mo)): New target.
26155 (tst-codeset.out): Depend on that. Remove explicit rule.
26156 (tst-gettext3.out, tst-gettext5.out): Likewise.
26157 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26158 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26159 * intl/tst-codeset.sh: Remove.
26160 * intl/tst-gettext3.sh: Likewise.
26161 * intl/tst-gettext5.sh: Likewise.
26163 2012-08-17 Roland McGrath <roland@hack.frob.com>
26165 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26166 * sysdeps/unix/syscalls.list: ... here.
26168 * sysdeps/posix/getaddrinfo.c
26169 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26170 (gaiconf_init, gaiconf_reload): Use them.
26171 [!_STATBUF_ST_NSEC]
26172 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26173 Define using time_t rather than struct timespec.
26175 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26176 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26178 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26180 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26181 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26184 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26185 __libc_cleanup_push argument.
26187 * bits/param.h: New file.
26188 * misc/sys/param.h: New file.
26189 * include/sys/param.h: New file.
26190 * misc/Makefile (headers): Add bits/param.h.
26191 * sysdeps/generic/sys/param.h: File removed.
26192 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26193 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26194 * sysdeps/mach/hurd/bits/param.h: New file.
26195 * sysdeps/mach/hurd/sys/param.h: File removed.
26197 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26200 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26202 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26203 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26206 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26207 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26208 rather than -D_IO_MTSAFE_IO conditionally.
26209 * stdio-common/Makefile (CPPFLAGS): Likewise.
26210 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26211 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26212 Use $(libio-mtsafe).
26213 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26214 of -D_IO_MTSAFE_IO.
26215 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26216 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26217 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26218 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26219 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26220 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26221 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26222 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26223 (CFLAGS-fread_u_chk.c): Likewise.
26224 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26225 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26226 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26227 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26228 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26229 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26230 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26231 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26232 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26234 * libio/Makefile: Test [$(libc-reentrant) = yes]
26235 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26238 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26239 * sysdeps/pthread/configure: File removed.
26240 * sysdeps/pthread/Makeconfig: New file.
26241 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26242 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26244 2012-08-16 Gary Benson <gbenson@redhat.com>
26246 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26247 unmapping the first object in a namespace.
26249 2012-08-16 Roland McGrath <roland@hack.frob.com>
26251 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26252 (__internal_setnetgrent): ... this. Add internal_function to
26253 definition. Add libc_hidden_def.
26254 (setnetgrent): Update caller.
26255 (internal_endnetgrent): Renamed to ...
26256 (__internal_endnetgrent): ... this. Add internal_function to
26257 definition. Add libc_hidden_def.
26258 (endnetgrent): Update caller.
26259 (internal_getnetgrent_r): Renamed to ...
26260 (__internal_getnetgrent_r): ... this. Add internal_function to
26261 definition. Add libc_hidden_def.
26262 (__getnetgrent_r): Update caller.
26263 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26265 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26267 * stdlib/longlong.h: Update from GCC.
26269 2012-08-16 Roland McGrath <roland@hack.frob.com>
26271 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26272 on _QL, which is set by umul_ppmm but never used.
26273 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26274 variables, which are set by GMP macros but never used.
26275 * stdio-common/_itowa.c (_itowa): Likewise.
26276 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26277 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26279 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26281 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26282 struct La_sh_regs is not constant.
26283 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26284 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26285 and struct La_sparc64_regs are not constant.
26287 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26289 * sysdeps/unix/sysv/linux/kernel-features.h
26290 (__ASSUME_POSIX_TIMERS): Remove.
26291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26292 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26293 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26294 Make code unconditional.
26295 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26296 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26297 Make code unconditional.
26298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26299 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26300 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26302 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26303 Make code unconditional.
26304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26305 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26306 (__libc_missing_posix_timers): Remove.
26308 2012-08-15 Roland McGrath <roland@hack.frob.com>
26310 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26311 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26313 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26315 * elf/dl-sym.c: Include <stdlib.h>.
26317 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26318 constants, which avoids warnings in 32-bit builds.
26320 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26321 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26323 * misc/lseek.c: File moved to ...
26324 * io/lseek.c: ... here.
26326 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26328 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26329 shifting LEN more than 31 bits at once.
26331 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26334 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26335 segmentation fault for a case of two empty input strings.
26336 * string/test-strncasecmp.c (check1): Renamed to...
26337 (bz12205): ...this.
26338 (bz14195): Add new testcase for two empty input strings and N > 0.
26339 (test_main): Call new testcase, adapt for renamed function.
26341 2012-08-15 Andreas Jaeger <aj@suse.de>
26344 * crypt/md5test2.c: New test, based on test supplied by Serge
26345 Belyshev <belyshev@depni.sinp.msu.ru>.
26346 * crypt/Makefile (xtests): Add md5test-giant..
26347 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26349 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26352 * crypt/md5.c (md5_process_block): Don't assume the buffer
26353 length is less than 2**32.
26354 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26355 length is less than 2**64.
26357 2012-08-15 Roland McGrath <roland@hack.frob.com>
26359 * string/str-two-way.h: Include <sys/param.h>.
26360 (MAX): Macro removed.
26362 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26363 Move #define and #undef of memmove to just before and after
26364 including <string.h>.
26366 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26367 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26368 and after including <string.h>. Move declarations of
26369 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26370 to before #include "string/memmove.c".
26372 * include/dirent.h: Declare __getdirentries.
26374 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26375 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26377 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26379 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26380 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26381 * sysdeps/i386/configure: Regenerated.
26382 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26383 STABS_CURRENT_FILE, and STABS_FUN.
26384 (END): Remove call to STABS_FUN_END.
26385 (STABS_CURRENT_FILE1): Delete.
26386 (STABS_CURRENT_FILE): Likewise.
26387 (STABS_FUN): Likewise.
26388 (STABS_FUN_END): Likewise.
26389 (STABS_FUN2): Likewise.
26390 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26391 * sysdeps/x86_64/configure: Regenerated.
26393 2012-08-14 Roland McGrath <roland@hack.frob.com>
26395 * elf/dl-open.c: Include <atomic.h>.
26396 * elf/dl-lookup.c: Likewise.
26398 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26400 * sysdeps/unix/sysv/linux/kernel-features.h
26401 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26402 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26404 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26406 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26407 condition on __ASSUME_CLONE_THREAD_FLAGS.
26409 2012-08-14 Andreas Jaeger <aj@suse.de>
26411 * sysdeps/i386/fpu/libm-test-ulps: Update.
26413 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26415 * include/atomic.h (atomic_exchange_and_add): Split into ...
26416 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26419 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26423 2012-08-13 Jeff Law <law@redhat.com>
26425 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26426 null byte in the output string.
26428 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26430 * sysdeps/unix/sysv/linux/kernel-features.h
26431 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26432 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26433 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26434 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26435 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26436 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26437 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26439 2012-08-09 Jeff Law <law@redhat.com>
26442 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26443 When avoid_arena is set, don't retry in the that arena. Pick the
26444 next one, whatever it might be.
26445 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26446 (arena_lock): Pass in new parameter to arena_get2.
26447 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26449 (__libc_malloc): Unify retrying after main arena failure with
26450 __libc_memalign version.
26451 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26453 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26456 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26457 to __redirect_strstr.
26458 (__strstr_sse42): Use typeof __redirect_strstr.
26459 (__strstr_ia32): Likewise.
26460 (__libc_strstr): New prototype.
26461 (strstr): Renamed to ...
26462 (__libc_strstr): This.
26463 (strstr): New strong alias of __libc_strstr.
26464 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26465 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26468 (__libc_time): New prototype.
26469 (time_ifunc): Replace time with __libc_time.
26470 (time): New strong alias and hidden definition of __libc_time.
26471 (__GI_time): Remove strong alias.
26472 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26473 Include <stddef.h>.
26474 (memmove): Redefined to __redirect_memmove.
26475 (__memmove_sse2): Use typeof __redirect_memmove.
26476 (__memmove_ssse3): Likewise.
26477 (__memmove_ssse3_back): Likewise.
26478 (__libc_memmove): New prototype.
26479 (memmove): Renamed to ...
26480 (__libc_memmove): This.
26481 (memmove): New strong alias of __libc_memmove.
26483 2012-08-08 Mark Salter <msalter@redhat.com>
26486 (R_MN10300_TLS_GD): Define.
26487 (R_MN10300_TLS_LD): Likewise.
26488 (R_MN10300_TLS_LDO): Likewise.
26489 (R_MN10300_TLS_GOTIE): Likewise.
26490 (R_MN10300_TLS_IE): Likewise.
26491 (R_MN10300_TLS_LE): Likewise.
26492 (R_MN10300_TLS_DTPMOD): Likewise.
26493 (R_MN10300_TLS_DTPOFF): Likewise.
26494 (R_MN10300_TLS_TPOFF): Likewise.
26495 (R_MN10300_SYM_DIFF): Likewise.
26496 (R_MN10300_ALIGN): Likewise.
26497 (R_MN10300_NUM): Update.
26499 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26501 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26504 2012-08-08 Roland McGrath <roland@hack.frob.com>
26506 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26508 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26509 sysdeps/unix -> sysdeps/posix move.
26510 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26512 2012-08-07 Allan McRae <allan@archlinux.org>
26515 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26516 (SUNOS_CPP): Likewise.
26517 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26519 (open_input): Call CPP using execvp.
26521 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26523 * sysdeps/unix/sysv/linux/kernel-features.h
26524 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26525 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26526 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26527 (__ASSUME_WAITID_SYSCALL): Likewise.
26528 * sysdeps/unix/sysv/linux/dl-execstack.c
26529 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26530 code unconditional.
26531 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26533 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26534 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26535 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26537 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26539 [__ASSUME_WAITID_SYSCALL]: Likewise.
26540 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26542 2012-08-07 Roland McGrath <roland@hack.frob.com>
26544 * sysdeps/unix/closedir.c: Renamed to ...
26545 * sysdeps/posix/closedir.c: ... here.
26546 * sysdeps/unix/dirfd.c: Renamed to ...
26547 * sysdeps/posix/dirfd.c: ... here.
26548 * sysdeps/unix/dirstream.h: Renamed to ...
26549 * sysdeps/posix/dirstream.h: ... here.
26550 * sysdeps/unix/fdopendir.c: Renamed to ...
26551 * sysdeps/posix/fdopendir.c: ... here.
26552 * sysdeps/unix/opendir.c: Renamed to ...
26553 * sysdeps/posix/opendir.c: ... here.
26554 * sysdeps/unix/readdir.c: Renamed to ...
26555 * sysdeps/posix/readdir.c: ... here.
26556 * sysdeps/unix/readdir_r.c: Renamed to ...
26557 * sysdeps/posix/readdir_r.c: ... here.
26558 * sysdeps/unix/rewinddir.c: Renamed to ...
26559 * sysdeps/posix/rewinddir.c: ... here.
26560 * sysdeps/unix/seekdir.c: Renamed to ...
26561 * sysdeps/posix/seekdir.c: ... here.
26562 * sysdeps/unix/telldir.c: Renamed to ...
26563 * sysdeps/posix/telldir.c: ... here.
26564 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26565 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26566 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26567 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26569 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26570 * bits/fcntl.h: ... here.
26572 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26574 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26575 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26576 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26577 (struct flock): Move l_start, l_len to the beginning.
26578 Use __pid_t for l_pid.
26579 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26580 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26581 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26582 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26583 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26584 [__USE_LARGEFILE64] (struct flock64): New type.
26585 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26587 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26588 * bits/dirent.h: ... here.
26590 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26591 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26593 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26595 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26596 Change from 2.6.0 to 2.6.16.
26597 * sysdeps/unix/sysv/linux/configure: Regenerated.
26598 * sysdeps/unix/sysv/linux/kernel-features.h
26599 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26600 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26602 (__ASSUME_UTIMES): Likewise.
26603 (__ASSUME_CLONE_STOPPED): Remove.
26604 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26605 architectures, not kernel version.
26606 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26607 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26608 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26609 (__ASSUME_WAITID_SYSCALL): Likewise.
26610 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26611 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26612 * README: State 2.6.16 as minimum Linux kernel version. Do not
26613 refer to older versions.
26615 2012-08-06 Roland McGrath <roland@hack.frob.com>
26617 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26618 Define alphasort64 as an alias.
26619 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26620 Define versionsort64 as an alias.
26621 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26622 Define scandir64 as an alias.
26623 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26624 Define scandirat64 as an alias.
26625 * dirent/alphasort64.c (alphasort64):
26626 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26627 * dirent/versionsort64.c: Likewise.
26628 * dirent/scandir64.c: Likewise.
26629 * dirent/scandirat64.c: Likewise.
26630 * sysdeps/wordsize-64/alphasort.c: File removed.
26631 * sysdeps/wordsize-64/alphasort64.c: File removed.
26632 * sysdeps/wordsize-64/scandir.c: File removed.
26633 * sysdeps/wordsize-64/scandir64.c: File removed.
26634 * sysdeps/wordsize-64/scandirat.c: File removed.
26635 * sysdeps/wordsize-64/scandirat64.c: File removed.
26636 * sysdeps/wordsize-64/versionsort.c: File removed.
26637 * sysdeps/wordsize-64/versionsort64.c: File removed.
26638 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26640 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26641 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26642 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26643 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26644 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26645 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26647 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26649 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26651 [defined __arch64__ || defined __sparcv9]
26652 (__INO_T_MATCHES_INO64_T): New macro.
26653 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26654 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26655 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26656 * sysdeps/unix/sysv/linux/bits/dirent.h
26657 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26658 (_DIRENT_MATCHES_DIRENT64): New macro.
26660 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26661 Define lockf64 as an alias.
26662 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26663 Define fseeko64 as an alias.
26664 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26665 Define ftello64 as an alias.
26666 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26667 Define _IO_fgetpos64 and fgetpos64 as aliases.
26668 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26669 Define _IO_fsetpos64 and fsetpos64 as aliases.
26670 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26671 Conditionalize body on this.
26672 * libio/fseeko64.c: Likewise.
26673 * libio/ftello64.c: Likewise.
26674 * libio/iofgetpos64.c: Likewise.
26675 * libio/iofsetpos64.c: Likewise.
26676 * sysdeps/wordsize-64/lockf.c: File removed.
26677 * sysdeps/wordsize-64/lockf64.c: File removed.
26678 * sysdeps/wordsize-64/fseeko.c: File removed.
26679 * sysdeps/wordsize-64/fseeko64.c: File removed.
26680 * sysdeps/wordsize-64/ftello.c: File removed.
26681 * sysdeps/wordsize-64/ftello64.c: File removed.
26682 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26683 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26684 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26685 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26686 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26687 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26688 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26689 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26690 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26691 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26692 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26693 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26697 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26698 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26699 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26700 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26701 [defined __arch64__ || defined __sparcv9]
26702 (__OFF_T_MATCHES_OFF64_T): New macro.
26703 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26704 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26706 (__OFF_T_MATCHES_OFF64_T): New macro.
26708 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26710 * stdlib/secure-getenv.c (__secure_getenv): Replace
26711 GLIBC_2_16 with GLIBC_2_17.
26713 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26715 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26716 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26718 2012-08-03 David S. Miller <davem@davemloft.net>
26720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26722 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26724 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26726 (__ASSUME_CORRECT_SI_PID): Likewise.
26727 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26728 (__ASSUME_TMPFS_NAME): Likewise.
26729 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26730 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26731 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26732 (HAVE_AUX_SECURE): Make definition unconditional.
26733 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26734 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26736 2012-08-03 Roland McGrath <roland@hack.frob.com>
26738 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26739 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26740 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26741 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26742 __eloop_threshold instead of SYMLOOP_MAX.
26744 * sysdeps/generic/eloop-threshold.h: New file.
26745 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26747 * elf/chroot_canon.c (chroot_canon): Likewise.
26749 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26752 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26753 Change to 2.6.0 everywhere.
26754 * sysdeps/unix/sysv/linux/configure: Regenerated.
26755 * sysdeps/unix/sysv/linux/kernel-features.h
26756 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26757 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26759 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26760 (__ASSUME_FUTEX_REQUEUE): Remove.
26761 (__ASSUME_STATFS64): Define unconditionally.
26762 (__ASSUME_AT_SECURE): Likewise.
26763 (__ASSUME_CORRECT_SI_PID): Likewise.
26764 (__ASSUME_TGKILL): Define without depending on kernel version for
26766 (__ASSUME_UTIMES): Likewise.
26767 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26769 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26770 (__ASSUME_TMPFS_NAME): Likewise.
26771 * README: Update reference to Linux kernel versions.
26773 2012-08-02 Marek Polacek <polacek@redhat.com>
26776 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26777 libc_cv_asm_type_prefix with %.
26778 * configure: Regenerated.
26779 * include/libc-symbols.h: Remove comment about
26780 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26781 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26782 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26783 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26784 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26785 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26786 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26787 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26788 * elf/tst-unique2mod1.c: Likewise.
26789 * elf/tst-unique1mod2.c: Likewise.
26790 * elf/tst-unique1mod1.c: Likewise.
26791 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26792 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26793 Replace ASM_TYPE_DIRECTIVE with .type.
26794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26795 * sysdeps/i386/sysdep.h: Likewise.
26796 * sysdeps/x86_64/sysdep.h: Likewise.
26797 * sysdeps/sh/sysdep.h: Likewise.
26798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26799 Do not define ASM_TYPE_DIRECTIVE.
26800 * sysdeps/powerpc/sysdep.h: Likewise.
26801 * sysdeps/powerpc/powerpc32/sysdep.h:
26802 Replace ASM_TYPE_DIRECTIVE with .type.
26803 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26804 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26805 * sysdeps/i386/fpu/e_powf.S: Likewise.
26806 * sysdeps/i386/fpu/e_expl.S: Likewise.
26807 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26808 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26809 * sysdeps/i386/fpu/e_pow.S: Likewise.
26810 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26811 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26812 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26813 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26814 * sysdeps/i386/fpu/e_log2.S: Likewise.
26815 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26816 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26817 * sysdeps/i386/fpu/e_powl.S: Likewise.
26818 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26819 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26820 * sysdeps/i386/fpu/e_logl.S: Likewise.
26821 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26822 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26823 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26824 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26825 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26826 * sysdeps/i386/fpu/e_log.S: Likewise.
26827 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26828 * sysdeps/i386/fpu/e_logf.S: Likewise.
26829 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26830 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26831 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26832 * sysdeps/i386/fpu/e_log10.S: Likewise.
26833 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26834 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26835 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26836 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26837 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26838 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26839 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26840 * sysdeps/i386/i686/strtok.S: Likewise.
26841 * sysdeps/i386/i386-mcount.S: Likewise.
26842 * sysdeps/i386/strtok.S: Likewise.
26843 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26844 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26845 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26846 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26847 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26848 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26849 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26850 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26851 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26852 * sysdeps/x86_64/_mcount.S: Likewise.
26853 * sysdeps/x86_64/strtok.S: Likewise.
26854 * sysdeps/sh/_mcount.S: Likewise.
26856 2012-08-01 Roland McGrath <roland@hack.frob.com>
26858 * libio/iofopen.c: Include <fcntl.h>.
26859 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26860 (_IO_fopen64, fopen64): Define as aliases.
26861 * libio/iofopen64.c: Include <fcntl.h>.
26862 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26863 Conditionalize body on this.
26864 * sysdeps/wordsize-64/iofopen.c: File removed.
26865 * sysdeps/wordsize-64/iofopen64.c: File removed.
26867 2012-08-01 Marek Polacek <polacek@redhat.com>
26869 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26870 Use dlfcn directly instead of a variable.
26871 (binfmt-subdir): Do not define.
26874 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26876 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26877 Remove all definitions.
26878 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26879 <kernel-features.h>.
26880 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26881 (miss_F_GETOWN_EX): Remove all definitions.
26882 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26884 [!__ASSUME_FCNTL64]: Remove conditional code.
26885 [__ASSUME_FCNTL64]: Make code unconditional.
26886 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26887 <kernel-features.h>.
26888 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26889 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26890 (lockf64) [__NR_fcntl64]: Make code unconditional.
26891 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26893 * sysdeps/unix/sysv/linux/kernel-features.h
26894 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26895 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26896 Make code unconditional.
26897 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26898 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26900 [__NR_vfork]: Make code unconditional.
26901 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26902 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26904 [__NR_vfork]: Make code unconditional.
26905 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26906 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26908 2012-08-01 Roland McGrath <roland@hack.frob.com>
26910 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26911 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26913 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26914 Define mkstemp64 as an alias.
26915 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26916 Define mkstemps64 as an alias.
26917 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26918 Define mkostemp64 as an alias.
26919 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26920 Define mkostemps64 as an alias.
26921 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26922 Conditionalize body on this.
26923 * misc/mkostemp64.c: Likewise.
26924 * misc/mkostemps64.c: Likewise.
26925 * misc/mkstemps64.c: Likewise.
26926 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26927 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26928 * sysdeps/wordsize-64/mkostemp.c: File removed.
26929 * sysdeps/wordsize-64/mkstemp.c: File removed.
26930 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26931 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26932 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26933 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26936 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26937 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26938 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26939 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26941 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26942 compat_symbol macros from <shlib-compat.h> rather than the underlying
26943 default_symbol_version and symbol_version macros, so that DEFAULT
26944 lines in shlib-versions are respected.
26945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26947 2012-08-01 Florian Weimer <fweimer@redhat.com>
26949 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26950 Declare with warn_unused_result.
26951 (setgid, setregid, setegid, setresgid): Likewise.
26952 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26954 * WUR-REPORT: Remove set*id functions.
26956 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26958 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26960 2012-07-31 Roland McGrath <roland@hack.frob.com>
26963 * include/sys/socket.h (__libc_accept, __libc_accept4):
26964 Add attribute_hidden.
26965 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26967 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26969 * inet/getnetgrent_r.c (setup): Likewise.
26971 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26973 2012-07-31 David S. Miller <davem@davemloft.net>
26975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26977 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26980 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26981 value between 1.0 and 2.0 and smaller part has absolute value less
26983 * math/s_clog10.c (__clog10): Likewise.
26984 * math/s_clog10f.c (__clog10f): Likewise.
26985 * math/s_clog10l.c (__clog10l): Likewise.
26986 * math/s_clogf.c (__clogf): Likewise.
26987 * math/s_clogl.c (__clogl): Likewise.
26988 * math/libm-test.inc (clog_test): Add more tests.
26989 (clog10_test): Likewise.
26990 * sysdeps/i386/fpu/libm-test-ulps: Update.
26991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26993 2012-07-31 Florian Weimer <fweimer@redhat.com>
26995 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26996 Exit with zero in case no suitable GID is found, and write a
26997 message to standard error.
26999 2012-07-30 Roland McGrath <roland@hack.frob.com>
27001 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27003 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27004 (MAXPATHLEN): Removed.
27005 (NOGROUP, NODEV): New macros.
27006 (setbit, clrbit, isset, isclr): New macros.
27007 (howmany, roundup, powerof2): New macros.
27008 (DEV_BSIZE): New macro.
27010 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27011 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27013 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27014 definition on [!__NO_LONG_DOUBLE_MATH].
27016 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27017 PTR_MANGLE and PTR_DEMANGLE.
27019 * socket/accept4.c (accept4): Rename to __libc_accept4.
27020 Define accept4 as a weak alias.
27022 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27023 on [_DIRENT_HAVE_D_TYPE].
27024 * io/ftw.c (ftw_dir): Likewise.
27026 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27028 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27030 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27031 Use the BSD numbers rather than the arbitrary ones we had.
27032 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27033 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27034 (SIGXCPU, SIGXFSZ): New macros.
27037 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27038 initializer on [_LIBC_REENTRANT].
27040 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27041 definitions inside [_POSIX_MAPPED_FILES].
27043 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27045 * dirent/opendir.c: Include <fcntl.h>.
27047 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27048 (__libc_getspecific): Likewise.
27049 (__libc_key_create): Likewise.
27051 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27052 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27053 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27054 (tmpfile64): Define as alias.
27055 * sysdeps/wordsize-64/tmpfile.c: File removed.
27056 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27057 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27058 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27060 * stdio-common/vfscanf.c: Include <stdbool.h>.
27061 * nss/makedb.c: Likewise.
27062 * stdio-common/_i18n_number.h: Likewise.
27063 * argp/argp-help.c: Likewise.
27064 * posix/wordexp.c: Likewise.
27065 * sysdeps/posix/spawni.c: Likewise.
27066 * nss/nss_files/files-initgroups.c: Likewise.
27067 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27068 * nss/nss_files/files-initgroups.c: Likewise.
27069 * nss/nss_db/db-netgrp.c: Likewise.
27070 * nss/nss_db/db-initgroups.c: Likewise.
27071 * io/fchmodat.c: Include <sys/stat.h>.
27073 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27074 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27076 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27079 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27080 Add multiple inclusion protection.
27082 2012-07-27 David S. Miller <davem@davemloft.net>
27084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27086 2012-07-27 Gary Benson <gbenson@redhat.com>
27089 * elf/rtld.c: Include <stap-probe.h>.
27090 (dl_main): Added static probes "init_start" and "init_complete".
27091 * elf/dl-load.c: Include <stap-probe.h>.
27092 (lose): Take new parameter "nsid".
27093 Added static probe "map_failed".
27094 (_dl_map_object_from_fd): Pass namespace id to lose.
27095 Added static probe "map_start".
27096 (open_verify): Pass namespace id to lose.
27097 * elf/dl-open.c: Include <stap-probe.h>.
27098 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27099 and "reloc_complete".
27100 * elf/dl-close.c: Include <stap-probe.h>.
27101 (_dl_close_worker): Added static probes "unmap_start" and
27103 * elf/rtld-debugger-interface.txt: New file documenting the above.
27105 2012-07-26 Roland McGrath <roland@hack.frob.com>
27107 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27108 rather than a string variable.
27109 * sunrpc/rpc_main.c (h_output): Likewise.
27110 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27112 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27114 * inet/check_native.c: New file.
27116 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27119 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27120 if larger part has absolute value 1.0.
27121 * math/s_clog10.c (__clog10): Likewise.
27122 * math/s_clog10f.c (__clog10f): Likewise.
27123 * math/s_clog10l.c (__clog10l): Likewise.
27124 * math/s_clogf.c (__clogf): Likewise.
27125 * math/s_clogl.c (__clogl): Likewise.
27126 * math/libm-test.inc (clog_test): Add more tests.
27127 (clog10_test): Likewise.
27128 * sysdeps/i386/fpu/libm-test-ulps: Update.
27129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27131 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27132 (pltexit): Likewise.
27133 (La_regs): Likewise.
27134 (La_retval): Likewise.
27135 (int_retval): Likewise.
27136 Update #error for removed macros to refer only to definitions in
27138 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27140 (pltexit): Likewise.
27141 (La_regs): Likewise.
27142 (La_retval): Likewise.
27143 (int_retval): Likewise.
27144 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27146 (pltexit): Likewise.
27147 (La_regs): Likewise.
27148 (La_retval): Likewise.
27149 (int_retval): Likewise.
27150 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27152 (pltexit): Likewise.
27153 (La_regs): Likewise.
27154 (La_retval): Likewise.
27155 (int_retval): Likewise.
27156 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27158 (pltexit): Likewise.
27159 (La_regs): Likewise.
27160 (La_retval): Likewise.
27161 (int_retval): Likewise.
27162 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27164 (pltexit): Likewise.
27165 (La_regs): Likewise.
27166 (La_retval): Likewise.
27167 (int_retval): Likewise.
27168 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27170 (pltexit): Likewise.
27171 (La_regs): Likewise.
27172 (La_retval): Likewise.
27173 (int_retval): Likewise.
27174 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27175 macro definitions in tst-audit.h.
27176 * sysdeps/i386/tst-audit.h: New file.
27177 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27178 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27179 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27180 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27181 * sysdeps/sh/tst-audit.h: Likewise.
27182 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27183 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27184 * sysdeps/x86_64/tst-audit.h: Likewise.
27186 2012-07-26 Andreas Jaeger <aj@suse.de>
27188 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27191 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27192 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27193 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27195 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27196 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27197 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27199 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27202 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27204 (si_call_addr, si_syscall, si_arch): Define new macro.
27205 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27207 (si_call_addr, si_syscall, si_arch): Define new marcro.
27208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27210 (si_call_addr, si_syscall, si_arch): Define new macro.
27211 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27213 (si_call_addr, si_syscall, si_arch): Define new macro.
27215 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27219 Change to 2.4.21 where previously 2.4.1.
27220 * sysdeps/unix/sysv/linux/configure: Regenerated.
27221 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27222 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27223 Linux kernel version.
27224 (__ASSUME_STD_AUXV): Remove.
27225 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27227 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27228 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27229 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27230 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27231 (__ASSUME_NETLINK_SUPPORT): Likewise.
27232 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27233 (__no_netlink_support): Remove conditional definition.
27234 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27236 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27237 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27238 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27239 (if_nameindex_ioctl): Remove.
27240 (if_nameindex_netlink): Do not handle __no_netlink_support.
27241 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27243 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27244 Remove conditional code.
27245 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27247 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27249 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27250 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27251 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27253 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27254 [!__ASSUME_STD_AUXV]: Remove conditional code.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27256 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27257 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27259 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27260 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27262 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27264 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27265 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27267 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27269 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27272 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27275 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27276 code unconditional.
27277 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27279 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27281 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27284 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27286 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27289 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27290 code unconditional.
27291 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27293 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27295 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27298 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27299 code unconditional.
27300 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27302 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27304 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27307 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27309 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27310 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27311 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27312 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27313 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27314 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27315 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27316 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27317 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27318 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27319 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27320 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27321 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27322 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27323 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27324 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27325 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27327 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27329 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27330 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27333 2012-07-25 Florian Weimer <fweimer@redhat.com>
27335 * Versions.def: Add GLIBC_2.17.
27336 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27337 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27338 Introduce __libc_secure_getenv.
27339 * stdlib/Versions (2.17): Add secure_getenv
27340 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27341 * stdlib/secure-getenv.c: Rename __secure_getenv to
27342 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27343 symbol __secure_getenv for GLIBC_2.0.
27344 * stdlib/tst-secure-getenv.c: New.
27345 * stdlib/Makefile (tests): Add testcase.
27346 * manual/startup.texi (Environment Access): Document
27348 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27349 __libc_secure_getenv.
27350 * inet/ruserpass.c (ruserpass): Likewise.
27351 * malloc/mtrace.c (mtrace): Likewise.
27352 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27353 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27354 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27355 * sysdeps/posix/tempname.c: Likewise. Evaluate
27356 HAVE_SECURE_GETENV.
27357 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27358 __secure_getenv to __libc_secure_getenv.
27359 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27372 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27374 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27375 (struct La_i86_retval): Likewise.
27376 (struct La_x86_64_regs): Likewise.
27377 (struct La_x86_64_retval): Likewise.
27378 (struct La_x32_regs): Likewise.
27379 (struct La_x32_retval): Likewise.
27380 (struct La_ppc32_regs): Likewise.
27381 (struct La_ppc32_retval): Likewise.
27382 (struct La_ppc64_regs): Likewise.
27383 (struct La_ppc64_retval): Likewise.
27384 (struct La_sh_regs): Likewise.
27385 (struct La_sh_retval): Likewise.
27386 (struct La_s390_32_regs): Likewise.
27387 (struct La_s390_32_retval): Likewise.
27388 (struct La_s390_64_regs): Likewise.
27389 (struct La_s390_64_retval): Likewise.
27390 (struct La_sparc32_regs): Likewise.
27391 (struct La_sparc32_retval): Likewise.
27392 (struct La_sparc64_regs): Likewise.
27393 (struct La_sparc64_retval): Likewise.
27394 (struct audit_ifaces): Remove architecture-specific pltenter and
27396 * sysdeps/i386/ldsodefs.h: New file.
27397 * sysdeps/powerpc/ldsodefs.h: Likewise.
27398 * sysdeps/s390/ldsodefs.h: Likewise.
27399 * sysdeps/sh/ldsodefs.h: Likewise.
27400 * sysdeps/sparc/ldsodefs.h: Likewise.
27401 * sysdeps/x86_64/ldsodefs.h: Likewise.
27403 2012-07-25 Marek Polacek <polacek@redhat.com>
27406 * math/libm-test.inc (yn_test): Add another test.
27407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27408 to ERANGE when the result is +-Inf.
27409 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27410 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27411 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27412 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27414 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27416 * conform/data/time.h-data (NULL): Use macro-constant. Require
27418 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27420 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27422 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27424 * configure.in <sysdeps resolving>: Correct printing
27426 * configure: Regenerate.
27428 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27430 * math/w_ilogb.c: Include <limits.h>.
27431 * math/w_ilogbl.c: Likewise.
27433 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27435 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27436 va_copy. Document allowing for unavailable va_copy only as
27437 pre-C99 compatibility.
27438 * manual/string.texi (Copying and Concatenation): Use va_copy
27439 instead of __va_copy in concat example.
27441 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27443 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27444 (__sendto): Use create_address_port. Initialize APORT and deallocate
27447 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27448 with O_NOLINK passed to __file_name_lookup.
27450 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27451 with O_NOLINK passed to __file_name_lookup.
27453 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27454 negative N or less than NGIDS.
27456 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27457 type to string_t. Set ERANGE as errno and return it if NAME is not big
27458 enough. Use memcpy instead of strncpy.
27460 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27462 * elf/Makefile (check-data): Remove.
27463 (localplt.data): New vpath directive.
27464 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27465 instead of $(check-data).
27466 * scripts/data/localplt-generic.data: Move to ...
27467 * sysdeps/generic/localplt.data: ... here.
27468 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27469 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27470 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27473 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27476 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27479 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27482 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27485 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27489 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27491 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27492 PPC32 and PPC64 files.
27493 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27494 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27496 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27498 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27499 __makecontext_ret to ...
27500 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27501 ... here and call exit if uc_link is NULL. New file.
27502 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27503 __makecontext_ret.S.
27504 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27505 __makecontext_ret to ...
27506 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27507 ... here and call exit if uc_link is NULL. New file.
27508 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27509 __makecontext_ret.S.
27511 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27513 * elf/elf.h (R_390_IRELATIVE): New definition.
27514 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27515 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27516 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27518 (elf_machine_lazy_rel): Likewise.
27519 * sysdeps/s390/dl-irel.h: New file.
27520 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27521 * sysdeps/s390/s390-64/memset.S: New asm code.
27522 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27523 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27524 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27525 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27526 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27527 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27528 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27529 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27530 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27531 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27532 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27533 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27534 * sysdeps/s390/s390-32/memset.S: New asm code.
27535 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27537 2012-07-17 Marek Polacek <polacek@redhat.com>
27540 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27541 * sysdeps/s390/s390-64/configure.in: Likewise.
27542 * sysdeps/sparc/configure.in: Likewise.
27543 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27544 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27545 * sysdeps/i386/configure.in: Likewise.
27546 * sysdeps/x86_64/configure.in: Likewise.
27547 * sysdeps/sh/configure.in: Likewise.
27548 * sysdeps/s390/s390-32/configure: Regenerated.
27549 * sysdeps/s390/s390-64/configure: Likewise.
27550 * sysdeps/x86_64/configure: Likewise.
27551 * sysdeps/sh/configure: Likewise.
27552 * sysdeps/powerpc/powerpc64/configure: Likewise.
27553 * sysdeps/powerpc/powerpc32/configure: Likewise.
27554 * sysdeps/sparc/configure: Likwise.
27555 * sysdeps/i386/configure: Likewise.
27557 * elf/dl-open.c: Comment fixes.
27559 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27561 * Makefile [CXX] (check-data): Remove.
27562 [CXX] (c++-types.data): New vpath directive.
27563 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27564 vpath. Do not allow for C++ type data being missing.
27565 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27566 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27567 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27568 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27569 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27570 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27571 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27574 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27577 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27580 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27583 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27586 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27589 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27592 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27595 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27596 definitions to architecture-specific files.
27597 (TLS_IE): Likewise.
27598 (TLS_LD): Likewise.
27599 (TLS_GD): Likewise.
27600 * sysdeps/i386/tls-macros.h: New file.
27601 * sysdeps/powerpc/tls-macros.h: Likewise.
27602 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27603 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27604 * sysdeps/sh/tls-macros.h: Likewise.
27605 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27606 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27607 * sysdeps/x86_64/tls-macros.h: Likewise.
27609 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27611 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27612 zero value for regular exit case.
27614 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27615 (__start_context): Preserve zero value for regular exit case.
27617 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27618 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27620 * manual/setjmp.texi (setcontext): Clarify normal process
27621 termination when uc_link is the null pointer.
27622 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27625 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27627 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27628 preprocessor. Test for each exception mask separately.
27630 2012-07-16 Andreas Jaeger <aj@suse.de>
27632 * po/ru.po: Update from translation team.
27634 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27636 * conform/data/string.h-data (NULL): Use macro-constant. Require
27638 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27639 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27640 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27641 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27644 2012-07-13 Andreas Jaeger <aj@suse.de>
27646 * po/fr.po: Update from translation team.
27648 2012-07-12 Marek Polacek <polacek@redhat.com>
27651 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27652 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27655 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27659 Change to 2.4.1 where previously 2.4.0.
27660 * sysdeps/unix/sysv/linux/configure: Regenerated.
27661 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27662 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27664 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27665 (__ASSUME_AT_CLKTCK): Remove.
27666 (__ASSUME_AT_PAGESIZE): Likewise.
27667 (__ASSUME_AT_XID): Likewise.
27668 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27669 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27670 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27672 (HAVE_AUX_PAGESIZE): Likewise.
27673 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27674 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27675 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27677 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27681 the temporary buffer used to invoke __gethostbyname2_r,
27682 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27683 host_data / struct gaih_addrtuple.
27684 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27685 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27686 header file nss/nsswitch.h.
27687 * nss/nsswitch.h (global scope): Add definition of implementation
27688 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27689 resolv/nss_dns/dns-host.c).
27691 2012-07-11 Andreas Jaeger <aj@suse.de>
27693 * po/fr.po: Update from translation team.
27695 * po/sv.po: Update from translation team
27696 * po/fr.po: Another update from translation team.
27698 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27700 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27701 for subnormals or multiply small sinh result by itself.
27702 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27705 2012-07-11 David S. Miller <davem@davemloft.net>
27707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27709 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27712 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27713 (INTERNAL_MARK): Shift it here.
27715 2012-07-10 Marek Polacek <polacek@redhat.com>
27718 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27719 libc_cv_asm_global_directive with .globl.
27720 * configure: Regenerated.
27721 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27723 * sysdeps/i386/configure: Regenerated.
27724 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27726 * sysdeps/x86_64/configure: Regenerated.
27727 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27728 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27729 * elf/tst-unique2mod2.c: Likewise.
27730 * elf/tst-unique2mod1.c: Likewise.
27731 * elf/tst-unique1mod2.c: Likewise.
27732 * elf/tst-unique1mod1.c: Likewise.
27733 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27734 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27735 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27736 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27737 * sysdeps/mach/sysdep.h: Likewise.
27738 * sysdeps/i386/sysdep.h: Likewise.
27739 * sysdeps/i386/i386-mcount.S: Likewise.
27740 * sysdeps/x86_64/_mcount.S: Likewise.
27741 * sysdeps/x86_64/sysdep.h: Likewise.
27742 * sysdeps/sh/_mcount.S: Likewise.
27743 * sysdeps/sh/sysdep.h: Likewise.
27744 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27745 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27746 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27747 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27748 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27749 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27750 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27751 * locale/localeinfo.h: Likewise.
27752 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27753 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27755 2012-07-09 Roland McGrath <roland@hack.frob.com>
27758 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27760 * manual/message.texi (The Uniforum approach): Likewise.
27761 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27762 (glibc iconv Implementation): Likewise.
27764 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27767 * math/s_clog.c (__clog): Avoid scaling a value down where that
27768 could result in underflow.
27769 * math/s_clog10.c (__clog10): Likewise.
27770 * math/s_clog10f.c (__clog10f): Likewise.
27771 * math/s_clog10l.c (__clog10l): Likewise.
27772 * math/s_clogf.c (__clogf): Likewise.
27773 * math/s_clogl.c (__clogl): Likewise.
27774 * math/libm-test.inc (clog_test): Add more tests.
27775 (clog10_test): Likewise.
27776 * sysdeps/i386/fpu/libm-test-ulps: Update.
27777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27779 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27782 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27783 by 7 not 8 to examine high bit of fractional part.
27786 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27787 for call to __mcount_internal.
27788 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27789 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27790 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27792 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27795 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27796 approximation for values within 0x1p-13f of an odd multiple of
27798 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27799 exception. Add more tests.
27800 * sysdeps/i386/fpu/libm-test-ulps: Update.
27803 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27804 inputs and return -1 for them. Do not check for +Inf in case not
27805 reachable for +Inf.
27806 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27807 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27808 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27809 and return -1 for them. Do not check for +Inf in case not
27810 reachable for +Inf.
27811 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27813 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27814 and return -1 for them. Do not check for +Inf in case not
27815 reachable for +Inf.
27816 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27817 spurious underflow.
27818 * sysdeps/i386/fpu/libm-test-ulps: Update.
27819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27821 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27823 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27825 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27829 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27830 could result in spurious underflow. Scale down values above
27831 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27832 * math/s_csqrtf.c (__csqrtf): Likewise.
27833 * math/s_csqrtl.c (__csqrtl): Likewise.
27834 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27835 spurious underflow.
27836 * sysdeps/i386/fpu/libm-test-ulps: Update.
27837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27839 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27841 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27843 * catgets/xopen-msg.awk: New file.
27844 * catgets/xopen-msg.sed: Removed.
27846 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27848 * intl/po2test.awk: New file.
27849 * intl/po2test.sed: Removed.
27851 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27854 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27855 or multiply small sinh result by itself.
27856 * math/s_ctanf.c (__ctanf): Likewise.
27857 * math/s_ctanh.c (__ctanh): Likewise.
27858 * math/s_ctanhf.c (__ctanhf): Likewise.
27859 * math/s_ctanhl.c (__ctanhl): Likewise.
27860 * math/s_ctanl.c (__ctanl): Likewise.
27861 * math/libm-test.inc (ctan_test_tonearest): New function.
27862 (ctan_test_towardzero): Likewise.
27863 (ctan_test_downward): Likewise.
27864 (ctan_test_upward): Likewise.
27865 (ctanh_test_tonearest): Likewise.
27866 (ctanh_test_towardzero): Likewise.
27867 (ctanh_test_downward): Likewise.
27868 (ctanh_test_upward): Likewise.
27869 (main): Call these new functions.
27870 * sysdeps/i386/fpu/libm-test-ulps: Update.
27871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27873 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27875 * .gitignore: Delete /ports entry.
27877 2012-07-03 Andreas Jaeger <aj@suse.de>
27879 * po/bg.po: Update from translation team.
27880 * po/cs.po: Likewise.
27881 * po/de.po: Likewise.
27882 * po/hr.po: Likewise.
27883 * po/nl.pl: Likewise.
27884 * po/pl.po: Likewise.
27885 * po/vi.po: Likewise.
27887 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27889 * Makeconfig [!+link] (+link-before-libc): New variable.
27890 [!+link] (+link-after-libc): Likewise.
27891 [!+link] (+link-tests): Likewise.
27892 [!+link] (+link): Define in terms of $(+link-before-libc) and
27893 $(+link-after-libc).
27894 [!+link-static] (+link-static-before-libc): New variable.
27895 [!+link-static] (+link-static-after-libc): Likewise.
27896 [!+link-static] (+link-static-tests): Likewise.
27897 [!+link-static] (+link-static): Define in terms of
27898 $(+link-static-before-libc) and $(+link-static-after-libc).
27899 [build-shared] (link-libc-before-gnulib): New variable.
27900 [build-shared] (link-libc-tests): Likewise.
27901 [build-shared] (link-libc): Define in terms of
27902 $(link-libc-before-gnulib).
27903 [!build-shared] (link-libc-tests): New variable.
27904 (link-libc-static-tests): New variable.
27905 [!gnulib] (gnulib-arch): New variable.
27906 [!gnulib] (gnulib-tests): Likewise.
27907 [!gnulib] (static-gnulib-arch): Likewise.
27908 [!gnulib] (static-gnulib-tests): Likewise.
27909 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27910 Define with "=" instead of ":=".
27911 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27912 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27913 * Rules (binaries-all-notests): New variable.
27914 (binaries-all-tests): Likewise.
27915 (binaries-static-notests): Likewise.
27916 (binaries-static-tests): Likewise.
27917 (binaries-all): Define using $(binaries-all-notests) and
27918 $(binaries-all-tests).
27919 (binaries-static): Define using $(binaries-static-notests) and
27920 $(binaries-static-tests).
27921 (binaries-shared-tests): New variable.
27922 (binaries-shared-notests): Likewise.
27923 (binaries-shared): Remove variable.
27924 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27925 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27926 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27927 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27928 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27929 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27930 * elf/Makefile (sln-modules): New variable.
27931 (extra-objs): Add $(sln-modules:=.o).
27932 (ldconfig-modules): Add static-stubs.
27933 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27934 * elf/static-stubs.c: New file.
27937 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27938 by 7 not 8 to examine high bit of fractional part. Use volatile
27939 variables when splitting into final array of floats if
27940 __FLT_EVAL_METHOD__ != 0.
27941 * math/libm-test.inc (cos_test): Add another test.
27942 (sin_test): Likewise.
27943 * sysdeps/i386/fpu/libm-test-ulps: Update.
27946 * math/libm-test.inc (cosh_test): Add more tests.
27948 * version.h (RELEASE): Set to "development".
27949 (VERSION): Set to "2.16.90".
27951 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27953 * NEWS: Update copyright. Remove last-updated date.
27954 Mention math library bug fixes and timezone data changes.
27955 * README: Mention GNU/Hurd, x32, and HPPA support status.
27957 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27959 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27961 2012-06-27 Andreas Jaeger <aj@suse.de>
27963 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27965 2012-06-25 Andreas Jaeger <aj@suse.de>
27967 * sysdeps/s390/fpu/libm-test-ulps: Update.
27969 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27970 Thomas Schwinge <thomas@codesourcery.com>
27972 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27973 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27977 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27979 * sysdeps/mach/start.c: Remove file.
27980 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27981 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27982 * sysdeps/sh/init-first.c: Likewise.
27984 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27985 registers for frame unwinding purposes, add CFI directives.
27986 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27987 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27988 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27991 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27992 __fortify_fail returning.
27993 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27995 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27996 sysdeps/sh/____longjmp_chk.S.
27997 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27998 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27999 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28000 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28002 * sysdeps/sh/abort-instr.h: New file.
28003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28004 process in case exit returns.
28006 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28007 initialize the GOT register before use.
28009 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28010 calculation of ARGC > 4.
28012 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28013 meaningful names to some local labels.
28015 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28016 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28018 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28019 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28020 (__arch_compare_and_exchange_val_16_acq): Likewise.
28021 (__arch_compare_and_exchange_val_32_acq): Likewise.
28022 (atomic_exchange_and_add): Fix gUSA sequence.
28023 (atomic_add): Likewise.
28024 (atomic_add_negative): Likewise.
28025 (atomic_add_zero): Likewise.
28026 (atomic_bit_test_set): Likewise.
28028 2012-06-22 Andreas Schwab <schwab@redhat.com>
28031 * include/link.h (struct link_map): Add l_free_initfini.
28032 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28034 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28035 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28036 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28039 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28041 * configure.in: Use AC_LANG_SOURCE.
28042 * configure: Regenerate.
28044 2012-06-22 Roland McGrath <roland@hack.frob.com>
28046 * configure.in (libc_cv_localstatedir): New substituted variable.
28047 * configure: Regenerated.
28048 * config.make.in (localstatedir): New variable, substituted from
28049 libc_cv_localstatedir.
28050 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28051 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28052 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28053 * sysdeps/gnu/configure: Regenerated.
28055 2012-06-21 Jeff Law <law@redhat.com>
28058 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28059 free. Simplify list management for _LIBC case.
28061 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28064 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28065 Clear sign bit of 64-bit integer value before comparing against
28068 * sysdeps/mach/configure: Regenerated.
28070 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28073 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28075 2012-06-21 Jeff Law <law@redhat.com>
28078 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28079 uint16_t for elements in the "seen" array to avoid char overflows.
28080 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28081 * elf/dl-open.c (dl_open_worker): Likewise.
28083 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28085 * scripts/list-sources.sh: Scan PORTS for translations.
28086 * po/libc.pot: Regenerated.
28088 2012-06-21 Andreas Jaeger <aj@suse.de>
28091 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28093 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28094 * bits/byteswap-16.h (__bswap_16): Likewise.
28095 * bits/byteswap.h (__bswap_constant_16): Likewise.
28097 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28100 * sysdeps/i386/fpu_control.h: Removed.
28101 * sysdeps/x86_64/fpu_control.h: Moved to ...
28102 * sysdeps/x86/fpu_control.h: Here.
28104 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28105 (_FPU_SETCW): Likewise.
28107 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28110 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28111 * sysdeps/x86/fpu/bits/mathinline.h: This.
28112 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28116 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28117 functions if __x86_64__ is defined.
28119 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28121 * string/endian.h: Add !__ASSEMBLER__ condition for including
28122 conversion interfaces.
28124 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28128 of ABS(x) in calculating zero to negative powers other than odd
28130 * math/libm-test.inc (pow_test): Add more tests.
28132 2012-06-15 Andreas Jaeger <aj@suse.de>
28134 * manual/contrib.texi (Contributors): Update entry of Liubov
28135 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28138 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28140 * string/string.h: Add __wur to GNU version of strerror_r.
28142 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28145 * string/Makefile (tests): Add tst-strtok_r.
28146 * string/tst-strtok_r.c: New file.
28147 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28148 RAX_LP/RDX_LP on SAVE_PTR.
28150 2012-06-14 Roland McGrath <roland@hack.frob.com>
28152 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28154 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28156 * libm_test.inc (csqrt_test): Allow more spurious underflow
28158 (j0_test): Likewise.
28159 (j1_test): Likewise.
28160 (y0_test): Likewise.
28161 (y1_test): Likewise.
28163 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28165 * po/Makefile (libc.pot): Use UTF-8 charset.
28167 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28170 Suppress sign-conversion warning from FD_SET.
28171 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28172 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28173 not unsigned long int.
28174 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28176 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28180 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28181 __extern_always_inline instead of __extern_inline.
28182 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28183 (__signbit): Likewise.
28184 (__signbitl): Support C++ namespace.
28185 (lrintf): New inline function.
28187 (llrintf): Likewise.
28188 (llrint): Likewise.
28198 (floorf): Likewise.
28199 (nearbyint): Likewise.
28200 (nearbyintf): Likewise.
28202 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28204 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28205 non-default versions.
28207 2012-06-11 Roland McGrath <roland@hack.frob.com>
28210 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28212 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28214 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28215 (FE_UPWARD, FE_DOWNWARD): Don't define.
28216 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28219 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28221 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28224 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28226 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28228 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28229 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28231 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28234 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28235 * sysdeps/i386/fpu/Implies: New file.
28236 * sysdeps/x86_64/fpu/Implies: Likewise.
28237 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28238 * sysdeps/x86/fpu/bits/fenv.h: This.
28240 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28243 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28246 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28247 character 0xffff that matches the last element of the
28250 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28255 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28257 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28258 values higher than 25.6283.
28260 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28263 subnormal exponent extraction and add some __builtin_expect.
28264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28265 Fix for subnormal mantissa calculation.
28267 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28269 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28270 cpu2 is -1 and errno is not ENOSYS.
28272 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28275 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28276 * sysdeps/x86/bits/string.h: This.
28277 * sysdeps/x86_64/bits/string.h: Removed.
28279 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28280 if not compiling for x86-64, but compiling for >= i486.
28282 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28283 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28285 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28286 New macro from Linux kernel 3.4.0.
28287 (FP_XSTATE_MAGIC2): Likewise.
28288 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28289 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28290 (struct _fpx_sw_bytes): New struct.
28291 (struct _xsave_hdr): Likewise.
28292 (struct _ymmh_state): Likewise.
28293 (struct _xstate): Likewise.
28295 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28296 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28297 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28298 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28299 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28300 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28302 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28303 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28304 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28305 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28306 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28307 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28309 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28312 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28313 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28314 (sysdep_headers): Include sys/platform/ppc.h.
28315 * sysdeps/powerpc/test-gettimebase.c: Test for
28316 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28317 * manual/Makefile (appendices): Include platform.texi.
28318 * manual/contrib.texi (Contributors): Update @node pointers.
28319 * manual/maint.texi (Maintenance): Likewise.
28320 (Platform): New node.
28321 * manual/platform.texi: New file. Document the new features.
28323 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28324 Jakub Jelinek <jakub@redhat.com>
28327 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28328 where __builtin_expect is unavailable.
28330 2012-06-03 David S. Miller <davem@davemloft.net>
28332 * stdlib/longlong.h: Updated from GCC.
28334 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28337 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28338 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28341 (GLIBC_2.16): Likewise.
28343 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28345 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28347 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28350 (default-abi): New variable.
28351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28352 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28354 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28356 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28358 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28361 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28362 definition. Document in comment.
28364 2012-06-01 David S. Miller <davem@davemloft.net>
28366 * stdlib/longlong.h: Updated from GCC.
28368 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28371 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28372 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28373 sys/debugreg.h sys/io.h here.
28374 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28375 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28377 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28378 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28379 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28380 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28381 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28382 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28384 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28385 Define only if __x86_64__ is defined.
28387 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28391 Use int64_t for variable i.
28392 * math/libm-test.inc (fmod_test): Add more tests.
28394 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28395 z computation is not scheduled after fetestexcept.
28396 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28397 Use math_force_eval instead of asm to ensure calculation scheduled
28398 before exception test.
28399 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28400 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28402 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28405 computation is not scheduled after fetestexcept.
28407 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28410 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28411 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28413 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28415 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28416 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28418 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28421 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28423 (__WCHAR_MIN): Support __WORDSIZE == 64.
28424 (__WCHAR_MAX): Likewise.
28426 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28427 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28431 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28434 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28435 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28437 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28438 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28440 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28441 Defined to 1 if __x86_64__ isn't defined.
28442 (_STAT_VER_LINUX_OLD): New.
28443 (st_atime): Remove duplicate.
28444 (st_mtime): Likewise.
28445 (st_ctime): Likewise.
28447 2012-05-31 David S. Miller <davem@davemloft.net>
28449 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28452 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28454 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28458 * elf/dl-reloc.c: Include <_itoa.h>.
28459 (_dl_reloc_bad_type): Remove use of INTUSE.
28460 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28461 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28462 * stdio-common/psiginfo.c (psiginfo): Likewise.
28463 * stdio-common/psignal.c (psignal): Likewise.
28464 * string/strsignal.c (strsignal): Likewise.
28465 * include/signal.h (_sys_siglist): Declare hidden proto.
28466 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28467 INTVARDEF with libc_hidden_data_def.
28468 * stdio-common/itoa-udigits.c: Likewise.
28469 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28470 (_itoa_lower_digits_internal): Remove declaration.
28471 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28472 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28473 (_sys_sigabbrev_internal): Remove aliases.
28474 (_sys_siglist): Define hidden alias.
28476 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28481 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28484 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28485 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28487 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28488 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28489 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28490 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28492 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28494 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28495 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28496 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28506 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28507 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28508 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28510 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28511 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28513 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28514 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28515 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28517 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28518 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28520 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28521 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28523 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28525 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28527 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28528 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28530 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28532 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28533 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28534 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28536 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28538 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28540 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28542 * math/math.h (M_El): Use two more decimal places.
28543 (M_LOG2El): Likewise.
28544 (M_LOG10El): Likewise.
28545 (M_LN2l): Likewise.
28546 (M_LN10l): Likewise.
28548 (M_PI_2l): Likewise.
28549 (M_PI_4l): Likewise.
28550 (M_1_PIl): Likewise.
28551 (M_2_PIl): Likewise.
28552 (M_2_SQRTPIl): Likewise.
28553 (M_SQRT2l): Likewise.
28554 (M_SQRT1_2l): Likewise.
28556 2012-05-31 David S. Miller <davem@davemloft.net>
28558 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28559 values between float registers.
28560 * sysdeps/sparc/sparc64/memset.S: Likewise.
28561 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28563 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28565 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28566 -D_FORTIFY_SOURCE=1.
28567 (CPPFLAGS-tst-longjmp_chk.c): Define.
28568 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28569 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28570 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28571 CFLAGS-tst-wchar-h.c.
28573 2012-05-31 Marek Polacek <polacek@redhat.com>
28576 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28577 __endmntent_internal): Remove declaration.
28578 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28579 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28580 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28582 2012-05-30 David S. Miller <davem@davemloft.net>
28584 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28585 (___Q_simulate_exceptions): Use real FP ops rather than writing
28587 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28590 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28593 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28594 * sysdeps/x86/bits/xtitypes.h: This.
28596 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28597 * sysdeps/x86/bits/wordsize.h: This.
28599 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28600 * sysdeps/x86/bits/huge_vall.h: This.
28602 * sysdeps/i386/bits/select.h: Removed.
28603 * sysdeps/x86_64/bits/select.h: Renamed to ...
28604 * sysdeps/x86/bits/select.h: This.
28606 * sysdeps/i386/bits/setjmp.h: Removed.
28607 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28608 * sysdeps/x86/bits/setjmp.h: This.
28610 * sysdeps/i386/bits/mathdef.h: Removed.
28611 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28612 * sysdeps/x86/bits/mathdef.h: This.
28614 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28617 * include/sys/socket.h (__connect_internal)
28618 (__libc_sa_len_internal): Remove declaration.
28619 (__connect, __libc_sa_len): Declare hidden_proto.
28620 (SA_LEN): Remove use of INTUSE.
28621 * socket/connect.c: Add libc_hidden_def.
28622 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28623 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28624 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28626 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28627 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28628 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28629 of adding _internal alias.
28631 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28634 * sysdeps/i386/bits/link.h: Removed.
28635 * sysdeps/i386/bits/linkmap.h: Likewise.
28636 * sysdeps/x86_64/bits/link.h: Renamed to ...
28637 * sysdeps/x86/bits/link.h: This.
28638 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28639 * sysdeps/x86/bits/linkmap.h: This.
28641 * sysdeps/i386/bits/endian.h: Removed.
28642 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28643 * sysdeps/x86/bits/endian.h: This.
28645 * sysdeps/i386/bits/byteswap.h: Removed.
28646 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28647 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28648 * sysdeps/x86/bits/byteswap.h: This.
28649 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28650 * sysdeps/x86/bits/byteswap-16.h: This.
28651 * sysdeps/i386/Implies: Add x86.
28652 * sysdeps/x86_64/Implies: Likewise.
28654 2012-05-30 David S. Miller <davem@davemloft.net>
28656 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28657 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28659 (FP_TRAPPING_EXCEPTIONS): Define.
28660 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28661 (FP_TRAPPING_EXCEPTIONS): Define.
28662 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28663 subnormals only when inexact has been signalled or underflow
28664 exceptions are enabled.
28665 (_FP_PACK_CANONICAL): Likewise.
28667 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28671 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28673 2012-05-30 Richard Henderson <rth@twiddle.net>
28675 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28676 with #ifndef NOT_IN_libc.
28678 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28679 marked to avoid plt entry.
28681 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28684 * Makeconfig (default-abi): New macro.
28685 (abi-includes): Likewise.
28686 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28687 $(abi-$(default-abi)-lib-soname) for soname if defined.
28688 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28690 * Makefile (installed-stubs): Likewise.
28691 * include/stubs-biarch.h: Removed.
28692 * scripts/lib-names.awk: Only handle one library at a time.
28693 * scripts/soversions.awk: Remove WORDSIZE support.
28694 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28696 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28698 (syscall-list-default-condition): Likewise.
28699 (syscall-list-default-condition): Likewise.
28700 (syscall-list-includes): Likewise.
28701 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28702 syscall-list-* with abi-*. Handle undefined abi-variants.
28703 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28704 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28705 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28706 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28707 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28708 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28710 (syscall-list-32-options): Likewise.
28711 (syscall-list-32-condition): Likewise.
28712 (syscall-list-64-options): Likewise.
28713 (syscall-list-64-condition): Likewise.
28714 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28716 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28719 (abi-64-ld-soname): New macro.
28720 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28721 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28724 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28725 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28727 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28729 * sysdeps/unix/sysv/linux/kernel-features.h
28730 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28731 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28732 include <kernel-features.h>.
28733 [!__NR_ftruncate64]: Remove conditional code.
28734 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28735 [__NR_ftruncate64]: Make code unconditional.
28736 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28737 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28738 include <kernel-features.h>.
28739 [!__NR_ftruncate64]: Remove conditional code.
28740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28741 [__NR_ftruncate64]: Make code unconditional.
28742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28744 include <kernel-features.h>.
28745 [!__NR_ftruncate64]: Remove conditional code.
28746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28747 [__NR_ftruncate64]: Make code unconditional.
28748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28750 include <kernel-features.h>.
28751 [!__NR_ftruncate64]: Remove conditional code.
28752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28753 [__NR_ftruncate64]: Make code unconditional.
28754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28756 * configure.in (libc_cv_fpie): Weaken to a compile test using
28757 LIBC_TRY_CC_OPTION.
28758 * configure: Regenerated.
28760 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28775 2012-05-27 David S. Miller <davem@davemloft.net>
28777 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28779 (__Q_simulate_exceptions): Return void. Change to simulate
28780 exceptions by writing into the %fsr.
28781 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28782 (__Qp_handle_exceptions): Likewise.
28784 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28785 __Qp_handle_exceptions.
28786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28787 __Qp_handle_exceptions.
28788 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28789 as unused and give dummy FP_RND_NEAREST initializer.
28790 (FP_INHIBIT_RESULTS): Define.
28791 (___Q_simulate_exceptions): Update declaration.
28792 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28794 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28795 as unused and give dummy FP_RND_NEAREST initializer.
28796 (__Qp_handle_exceptions): Update declaration.
28797 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28800 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28802 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28803 the temporary FPU control word.
28804 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28805 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28807 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28808 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28809 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28810 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28811 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28812 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28813 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28814 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28816 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28818 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28821 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28823 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28824 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28825 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28826 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28828 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28829 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28832 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28834 * po/h.po: Update from translation team.
28836 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28838 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28840 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28841 handling of denormals.
28842 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28843 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28844 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28845 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28851 2012-05-26 Marek Polacek <polacek@redhat.com>
28854 * math/libm-test.inc (fma_test): Don't always expect underflow
28857 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28860 * elf/tst-execstack.c: Include stackinfo.h.
28861 (do_test): Adjust test case to ensure that pthread_getattr_np
28862 behaviour remains the same after marking stack executable.
28864 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28866 * sysdeps/unix/sysv/linux/kernel-features.h
28867 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28868 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28870 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28871 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28872 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28874 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28875 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28877 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28879 * configure.in: Define the default includes to being none.
28880 * configure: Regenerated.
28882 2012-05-25 Roland McGrath <roland@hack.frob.com>
28884 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28885 * sysdeps/x86_64/setjmp.S: Likewise.
28886 * sysdeps/i386/bsd-setjmp.S: Likewise.
28887 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28888 * sysdeps/i386/setjmp.S: Likewise.
28889 * sysdeps/i386/__longjmp.S: Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28891 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28893 * include/stap-probe.h: New file.
28894 * configure.in: Handle --enable-systemtap.
28895 * configure: Regenerated.
28896 * config.h.in (USE_STAP_PROBE): New #undef.
28897 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28898 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28899 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28901 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28905 to 2.4.0 where earlier.
28906 * sysdeps/unix/sysv/linux/configure: Regenerated.
28907 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28908 <kernel-features.h>.
28909 [__ASSUME_32BITUIDS]: Make code unconditional.
28910 [!__ASSUME_32BITUIDS]: Remove conditional code.
28911 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28912 <kernel-features.h>.
28913 [__ASSUME_32BITUIDS]: Make code unconditional.
28914 [!__ASSUME_32BITUIDS]: Remove conditional code.
28915 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28916 [__ASSUME_32BITUIDS]: Make code unconditional.
28917 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28918 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28919 <kernel-features.h>.
28920 [__ASSUME_32BITUIDS]: Make code unconditional.
28921 [!__ASSUME_32BITUIDS]: Remove conditional code.
28922 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28923 <kernel-features.h>.
28924 [__ASSUME_32BITUIDS]: Make code unconditional.
28925 [!__ASSUME_32BITUIDS]: Remove conditional code.
28926 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28927 <kernel-features.h>.
28928 [__ASSUME_32BITUIDS]: Make code unconditional.
28929 [!__ASSUME_32BITUIDS]: Remove conditional code.
28930 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28931 <kernel-features.h>.
28932 [__ASSUME_32BITUIDS]: Make code unconditional.
28933 [!__ASSUME_32BITUIDS]: Remove conditional code.
28934 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28935 <kernel-features.h>.
28936 [__ASSUME_32BITUIDS]: Make code unconditional.
28937 [!__ASSUME_32BITUIDS]: Remove conditional code.
28938 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28939 <kernel-features.h>.
28940 [__ASSUME_32BITUIDS]: Make code unconditional.
28941 [!__ASSUME_32BITUIDS]: Remove conditional code.
28942 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28943 <kernel-features.h>.
28944 [__ASSUME_32BITUIDS]: Make code unconditional.
28945 [!__ASSUME_32BITUIDS]: Remove conditional code.
28946 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28947 <kernel-features.h>.
28948 [__ASSUME_32BITUIDS]: Make code unconditional.
28949 [!__ASSUME_32BITUIDS]: Remove conditional code.
28950 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28951 <kernel-features.h>.
28952 [__ASSUME_32BITUIDS]: Make code unconditional.
28953 [!__ASSUME_32BITUIDS]: Remove conditional code.
28954 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28955 <kernel-features.h>.
28956 [__ASSUME_32BITUIDS]: Make code unconditional.
28957 [!__ASSUME_32BITUIDS]: Remove conditional code.
28958 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28959 <kernel-features.h>.
28960 [__NR_setresgid] (__setresgid): Do not declare.
28961 [__ASSUME_32BITUIDS]: Make code unconditional.
28962 [!__ASSUME_32BITUIDS]: Remove conditional code.
28963 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28964 <kernel-features.h>.
28965 [__NR_setresuid] (__setresuid): Do not declare.
28966 [__ASSUME_32BITUIDS]: Make code unconditional.
28967 [!__ASSUME_32BITUIDS]: Remove conditional code.
28968 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28969 <kernel-features.h>.
28970 [__ASSUME_32BITUIDS]: Make code unconditional.
28971 [!__ASSUME_32BITUIDS]: Remove conditional code.
28972 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28973 <kernel-features.h>.
28974 [__ASSUME_32BITUIDS]: Make code unconditional.
28975 [!__ASSUME_32BITUIDS]: Remove conditional code.
28976 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28977 <kernel-features.h>.
28978 [__ASSUME_32BITUIDS]: Make code unconditional.
28979 [!__ASSUME_32BITUIDS]: Remove conditional code.
28980 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28981 <kernel-features.h>.
28982 [__ASSUME_32BITUIDS]: Make code unconditional.
28983 [!__ASSUME_32BITUIDS]: Remove conditional code.
28984 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28985 <kernel-features.h>.
28986 [__ASSUME_32BITUIDS]: Make code unconditional.
28987 [!__ASSUME_32BITUIDS]: Remove conditional code.
28988 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28989 <kernel-features.h>.
28990 [__ASSUME_32BITUIDS]: Make code unconditional.
28991 [!__ASSUME_32BITUIDS]: Remove conditional code.
28992 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28993 <kernel-features.h>.
28994 [__ASSUME_32BITUIDS]: Make code unconditional.
28995 [!__ASSUME_32BITUIDS]: Remove conditional code.
28996 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28997 <kernel-features.h>.
28998 [__ASSUME_32BITUIDS]: Make code unconditional.
28999 [!__ASSUME_32BITUIDS]: Remove conditional code.
29000 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29001 <kernel-features.h>.
29002 [__ASSUME_32BITUIDS]: Make code unconditional.
29003 [!__ASSUME_32BITUIDS]: Remove conditional code.
29004 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29005 <kernel-features.h>.
29006 [__ASSUME_32BITUIDS]: Make code unconditional.
29007 [!__ASSUME_32BITUIDS]: Remove conditional code.
29008 * sysdeps/unix/sysv/linux/kernel-features.h
29009 (__ASSUME_SETRESUID_SYSCALL): Remove.
29010 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29011 (__ASSUME_32BITUIDS): Likewise.
29012 (__ASSUME_LDT_WORKS): Likewise.
29013 (__ASSUME_O_DIRECTORY): Likewise.
29014 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29015 architecture but not kernel version.
29016 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29017 (__ASSUME_MMAP2_SYSCALL): Likewise.
29018 (__ASSUME_STAT64_SYSCALL): Likewise.
29019 (__ASSUME_IPC64): Likewise.
29020 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29021 <kernel-features.h>.
29022 [__ASSUME_32BITUIDS]: Make code unconditional.
29023 [!__ASSUME_32BITUIDS]: Remove conditional code.
29024 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29025 <kernel-features.h>.
29026 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29027 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29028 132096]: Remove conditional code.
29029 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29030 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29031 <kernel-features.h>.
29032 [__ASSUME_32BITUIDS]: Make code unconditional.
29033 [!__ASSUME_32BITUIDS]: Remove conditional code.
29034 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29035 <kernel-features.h>.
29036 [__ASSUME_32BITUIDS]: Make code unconditional.
29037 [!__ASSUME_32BITUIDS]: Remove conditional code.
29038 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29039 <kernel-features.h>.
29040 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29042 (__setresgid): Do not declare.
29043 [__ASSUME_32BITUIDS]: Make code unconditional.
29044 [!__ASSUME_32BITUIDS]: Remove conditional code.
29045 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29046 <kernel-features.h>.
29047 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29049 (__setresuid): Do not declare.
29050 [__ASSUME_32BITUIDS]: Make code unconditional.
29051 [!__ASSUME_32BITUIDS]: Remove conditional code.
29052 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29053 <kernel-features.h>.
29054 [__ASSUME_32BITUIDS]: Make code unconditional.
29055 [!__ASSUME_32BITUIDS]: Remove conditional code.
29056 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29057 <kernel-features.h>.
29058 [__ASSUME_32BITUIDS]: Make code unconditional.
29059 [!__ASSUME_32BITUIDS]: Remove conditional code.
29061 2012-05-25 Richard Henderson <rth@twiddle.net>
29063 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29064 dl_hwcap to ifunc resolver.
29065 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29067 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29068 dl_hwcap to ifunc resolver.
29069 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29071 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29074 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29075 for |x| <= 2**-26, not 2**-57.
29076 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29079 2012-05-24 Jeff Law <law@redhat.com>
29081 * stdio-common/Makefile (tests): Add bug25.
29082 * stdio-common/bug25.c: New test.
29084 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29087 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29088 multiple of MALLOC_ALIGNMENT in size.
29089 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29091 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29093 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29095 (FILENAME_MAX): Use macro-int-constant.
29096 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29097 (_IOFBF): Use macro-int-constant.
29098 (_IOLBF): Likewise.
29099 (_IONBF): Likewise.
29100 (SEEK_CUR): Likewise.
29101 (SEEK_END): Likewise.
29102 (SEEK_SET): Likewise.
29103 (TMP_MAX): Likewise.
29104 (EOF): Use macro-int-constant. Require < 0.
29105 (NULL): Use macro-constant. Require == 0.
29106 (stdin): Require type to be FILE *.
29107 (stdout): Likewise.
29108 (stderr): Likewise.
29109 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29110 macro-int-constant.
29111 (EXIT_SUCCESS): Likewise.
29112 (NULL): Use macro-constant. Require == 0.
29113 (RAND_MAX): Use macro-int-constant.
29114 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29115 [C99-based standards] (strtof): Require function.
29116 [C99-based standards] (strtold): Likewise.
29117 [C99-based standards] (strtoll): Likewise.
29118 [C99-based standards] (strtoull): Likewise.
29119 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29120 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29121 [ISO || ISO99 || ISO11] (math.h): Likewise.
29122 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29123 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29124 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29126 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29129 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29130 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29131 * intl/dgettext.c (DCGETTEXT): Likewise.
29132 * intl/gettext.c (DCGETTEXT): Likewise.
29133 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29134 * posix/regex_internal.h (gettext): Likewise.
29135 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29136 Remove declaration.
29137 * include/argz.h (__argz_count_internal)
29138 (__argz_stringify_internal): Remove declaration.
29139 (__argz_count, __argz_stringify): Declare hidden proto.
29140 * intl/dcgettext.c: Remove use of INTDEF.
29141 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29142 * string/argz-stringify.c: Likewise.
29143 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29144 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29145 Declare hidden proto.
29146 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29147 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29148 Declare hidden proto.
29149 * include/stdio.h (__asprintf_internal): Don't declare.
29150 (__asprintf): Don't define as macro. Declare hidden proto.
29151 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29152 (__fsetlocking): Declare hidden proto.
29153 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29154 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29156 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29157 (_IO_setlinebuf): Remove use of INTUSE.
29158 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29159 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29160 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29161 Remove declaration.
29162 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29163 (_IO_do_flush): Remove use of INTUSE.
29164 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29165 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29166 (_IO_adjust_column, _IO_least_wmarker)
29167 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29168 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29169 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29170 (_IO_default_doallocate, _IO_wdefault_doallocate)
29171 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29172 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29173 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29174 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29175 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29176 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29177 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29178 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29179 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29180 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29181 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29182 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29183 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29185 (_IO_flush_all_internal, _IO_adjust_column_internal)
29186 (_IO_default_uflow_internal, _IO_default_finish_internal)
29187 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29188 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29189 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29190 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29191 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29192 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29193 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29194 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29195 (_IO_file_close_internal, _IO_file_close_it_internal)
29196 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29197 (_IO_file_init_internal, _IO_file_attach_internal)
29198 (_IO_file_fopen_internal, _IO_file_read_internal)
29199 (_IO_file_sync_internal, _IO_file_seek_internal)
29200 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29201 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29202 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29203 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29204 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29205 (_IO_list_all_internal, _IO_link_in_internal)
29206 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29207 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29208 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29209 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29210 (_IO_do_write_internal, _IO_padn_internal)
29211 (_IO_getline_info_internal, _IO_getline_internal)
29212 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29213 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29214 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29215 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29216 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29217 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29218 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29219 with libc_hidden_ver, remove use of INTUSE.
29220 * libio/genops.c: Likewise.
29221 * libio/freopen.c: Likewise.
29222 * libio/freopen64.c: Likewise.
29223 * libio/iofclose.c: Likewise.
29224 * libio/iofdopen.c: Likewise.
29225 * libio/iofflush.c: Likewise.
29226 * libio/iofflush_u.c: Likewise.
29227 * libio/iofgets.c: Likewise.
29228 * libio/iofgets_u.c: Likewise.
29229 * libio/iofopen.c: Likewise.
29230 * libio/iofopncook.c: Likewise.
29231 * libio/iofread.c: Likewise.
29232 * libio/iofread_u.c: Likewise.
29233 * libio/ioftell.c: Likewise.
29234 * libio/iofwrite.c: Likewise.
29235 * libio/iogetline.c: Likewise.
29236 * libio/iogets.c: Likewise.
29237 * libio/iogetwline.c: Likewise.
29238 * libio/iopadn.c: Likewise.
29239 * libio/iopopen.c: Likewise.
29240 * libio/ioseekoff.c: Likewise.
29241 * libio/ioseekpos.c: Likewise.
29242 * libio/iosetbuffer.c: Likewise.
29243 * libio/iosetvbuf.c: Likewise.
29244 * libio/ioungetc.c: Likewise.
29245 * libio/ioungetwc.c: Likewise.
29246 * libio/iovdprintf.c: Likewise.
29247 * libio/iovsprintf.c: Likewise.
29248 * libio/iovsscanf.c: Likewise.
29249 * libio/memstream.c: Likewise.
29250 * libio/obprintf.c: Likewise.
29251 * libio/oldfileops.c: Likewise.
29252 * libio/oldiofclose.c: Likewise.
29253 * libio/oldiofdopen.c: Likewise.
29254 * libio/oldiofopen.c: Likewise.
29255 * libio/oldiopopen.c: Likewise.
29256 * libio/oldstdfiles.c: Likewise.
29257 * libio/putc.c: Likewise.
29258 * libio/setbuf.c: Likewise.
29259 * libio/setlinebuf.c: Likewise.
29260 * libio/stdfiles.c: Likewise.
29261 * libio/strops.c: Likewise.
29262 * libio/vasprintf.c: Likewise.
29263 * libio/vscanf.c: Likewise.
29264 * libio/vsnprintf.c: Likewise.
29265 * libio/vswprintf.c: Likewise.
29266 * libio/wfiledoalloc.c: Likewise.
29267 * libio/wfileops.c: Likewise.
29268 * libio/wgenops.c: Likewise.
29269 * libio/wmemstream.c: Likewise.
29270 * libio/wstrops.c: Likewise.
29271 * libio/__fpurge.c: Likewise.
29272 * libio/__fsetlocking.c: Likewise.
29273 * assert/assert.c: Likewise.
29274 * debug/fgets_chk.c: Likewise.
29275 * debug/fgets_u_chk.c: Likewise.
29276 * debug/fread_chk.c: Likewise.
29277 * debug/fread_u_chk.c: Likewise.
29278 * debug/gets_chk.c: Likewise.
29279 * debug/obprintf_chk.c: Likewise.
29280 * debug/vasprintf_chk.c: Likewise.
29281 * debug/vdprintf_chk.c: Likewise.
29282 * debug/vsnprintf_chk.c: Likewise.
29283 * debug/vsprintf_chk.c: Likewise.
29284 * malloc/mtrace.c: Likewise.
29285 * misc/error.c: Likewise.
29286 * misc/syslog.c: Likewise.
29287 * stdio-common/asprintf.c: Likewise.
29288 * stdio-common/fxprintf.c: Likewise.
29289 * stdio-common/getw.c: Likewise.
29290 * stdio-common/isoc99_fscanf.c: Likewise.
29291 * stdio-common/isoc99_scanf.c: Likewise.
29292 * stdio-common/isoc99_vfscanf.c: Likewise.
29293 * stdio-common/isoc99_vscanf.c: Likewise.
29294 * stdio-common/isoc99_vsscanf.c: Likewise.
29295 * stdio-common/printf-prs.c: Likewise.
29296 * stdio-common/printf_fp.c: Likewise.
29297 * stdio-common/printf_fphex.c: Likewise.
29298 * stdio-common/printf_size.c: Likewise.
29299 * stdio-common/putw.c: Likewise.
29300 * stdio-common/scanf.c: Likewise.
29301 * stdio-common/sprintf.c: Likewise.
29302 * stdio-common/tmpfile.c: Likewise.
29303 * stdio-common/vfprintf.c: Likewise.
29304 * stdio-common/vfscanf.c: Likewise.
29305 * stdlib/strfmon_l.c: Likewise.
29306 * sunrpc/openchild.c: Likewise.
29307 * sunrpc/xdr_stdio.c: Likewise.
29308 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29309 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29311 2012-05-24 Roland McGrath <roland@hack.frob.com>
29313 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29315 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29316 in the third column, to generate for the shared library an IFUNC
29317 that uses _dl_vdso_vsym.
29318 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29319 * Makeconfig (object-suffixes-noshared): New variable.
29321 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29322 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29323 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29324 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29327 * include/sys/time.h (__gettimeofday): Remove macro.
29328 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29329 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29331 (__gettimeofday): Add libc_hidden_def.
29332 (gettimeofday): Add libc_hidden_weak.
29333 * sysdeps/mach/gettimeofday.c: Likewise.
29334 * sysdeps/posix/gettimeofday.c: Likewise.
29335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29336 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29338 (__gettimeofday_internal): Remove strong_alias.
29339 (__gettimeofday): Add libc_hidden_def.
29340 (gettimeofday): Add libc_hidden_weak.
29341 * sysdeps/unix/syscalls.list (gettimeofday):
29342 Remove __gettimeofday_internal alias.
29344 2012-05-24 Daniel Jacobowitz <drow@false.org>
29345 H.J. Lu <hongjiu.lu@intel.com>
29348 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29349 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29350 (largebin_index_32_big): New.
29351 (largebin_index): Use it for 16-byte alignment.
29352 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29353 correction with front_misalign.
29355 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29383 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29384 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29386 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29390 * math/libm-test.inc (exp_test): Add test from bug 14036.
29391 (pow_test): Add test from bug 10846.
29393 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29395 (special_function): Do not include flags in test name.
29396 (parse_args): Likewise.
29397 * sysdeps/i386/fpu/libm-test-ulps: Update.
29398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29399 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29400 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29403 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29405 * math/libm-test.inc ("Philosophy"): Update comment about
29407 (UNDERFLOW_EXCEPTION): New macro.
29408 (UNDERFLOW_EXCEPTION_OK): Likewise.
29409 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29410 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29411 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29412 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29413 (INVALID_EXCEPTION_OK): Update value.
29414 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29415 (OVERFLOW_EXCEPTION_OK): Likewise.
29416 (IGNORE_ZERO_INF_SIGN): Likewise.
29417 (test_exceptions): Handle underflow exceptions.
29418 (acos_test): Update for underflow exception expectations.
29419 (cexp_test): Likewise.
29420 (clog_test): Likewise.
29421 (clog10_test): Likewise.
29422 (csqrt_test): Likewise.
29423 (ctan_test): Likewise.
29424 (ctanh_test): Likewise.
29425 (exp_test): Likewise.
29426 (exp10_test): Likewise.
29427 (exp2_test): Likewise.
29428 (expm1_test): Likewise.
29429 (fma_test): Likewise.
29430 (j0_test): Likewise.
29431 (jn_test): Likewise.
29432 (nexttoward_test): Likewise.
29433 (pow_test): Likewise.
29434 (scalbn_test): Likewise.
29435 (scalbln_test): Likewise.
29436 (tan_test): Likewise.
29437 (y1_test): Likewise.
29438 * sysdeps/i386/fpu/libm-test-ulps: Update.
29439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29441 2012-05-23 David S. Miller <davem@davemloft.net>
29443 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29444 (__libc_sigaction): Remove unused local variables.
29446 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29448 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29450 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29452 mktime: avoid signed integer overflow
29453 * time/mktime.c (__mktime_internal): Do not mishandle the case
29454 where diff == INT_MIN.
29456 mktime: simplify computation of average
29457 * time/mktime.c (ranged_convert): Use new time_t_avg function
29458 instead of rolling our own (probably-slower) code.
29460 mktime: do not assume signed right shift propagates sign bit
29461 * time/mktime.c (isdst_differ): New static function.
29462 (__mktime_internal): No need to normalize tm_isdst now.
29463 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29466 mktime: merge another wrapv change from gnulib
29467 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29468 from some compilers.
29470 mktime: remove incorrect attempt at unusual arithmetics
29471 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29472 The code didn't really work on such machines anyway.
29473 (TYPE_MINIMUM): Assume two's complement.
29474 (twos_complement_arithmetic): Verify that long_int and time_t
29475 are two's complement (or unsigned, in the latter case).
29477 mktime: check signed shifts on long_int and time_t, too
29478 * time/mktime.c (SHR): Check that shifts work as desired
29479 on the types long_int and time_t too, as SHR is used on
29482 mktime: do not assume 'long' is wide enough
29483 * time/mktime.c (verify): Move decl up.
29484 (long_int): New type.
29485 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29486 to remove assumption in the code that 'long' is wide enough to
29487 store year values. This assumption is not true on x32 and on
29488 some non-glibc platforms.
29490 mktime: merge wrapv change from gnulib
29491 * time/mktime.c (WRAPV): New macro.
29492 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29493 (guess_time_tm, __mktime_internal): Do not assume that signed
29494 integer overflow wraps around; modern compilers generate code
29495 where this assumption is no longer valid.
29497 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29499 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29500 Replace "jmp L(pseudo_end)" with "ret".
29501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29504 2012-05-23 Andreas Jaeger <aj@suse.de>
29506 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29507 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29509 2012-05-23 Andreas Jaeger <aj@suse.de>
29510 Maximilian Attems <max@stro.at>
29512 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29515 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29517 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29518 code so that pseudo_end is just ret and the stack pointer is
29519 correct also for static library in error case.
29521 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29523 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29524 move to syscalls.list.
29525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29530 * manual/install.texi (Running make install): Do not mention Linux
29531 kernel version for which pt_chown is not needed.
29532 (Linux): Do not mention problems with nscd with 2.0 kernels.
29533 * INSTALL: Regenerated.
29535 2012-05-23 Andreas Jaeger <aj@suse.de>
29537 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29538 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29540 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29542 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29544 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29550 * sysdeps/unix/sysv/linux/bits/in.h
29551 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29553 2012-05-22 Roland McGrath <roland@hack.frob.com>
29555 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29556 (PREPARE_VERSION): Just use assert instead, it will be elided
29557 under [NDEBUG] anyway.
29559 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29561 * sysdeps/unix/sysv/linux/Makefile: Include
29562 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29563 (sysdep_routines): Remove sysctl.
29564 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29565 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29566 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29567 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29568 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29570 2012-05-22 Andreas Jaeger <aj@suse.de>
29572 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29573 that pseudo_end is just ret and the stack pointer is correct also
29574 for static library in error case.
29576 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29579 * nss/nsswitch.c (defconfig_entries): New variable.
29580 (__nss_database_lookup): Don't leak defconfig entries.
29581 (nss_parse_service_list): Don't leak on error paths.
29582 (free_database_entries): New function.
29583 (free_defconfig): New function.
29584 (free_mem): Move common code to free_database_entries.
29586 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29588 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29590 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29592 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29593 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29596 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29597 (INTERNAL_SYSCALL_TYPES): Likewise.
29598 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29599 (LOAD_REGS_TYPES_[1-6]): Likewise.
29600 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29601 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29603 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29605 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29606 copysignl for GLIBC_2_0.
29607 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29608 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29610 logbl for GLIBC_2_0.
29611 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29612 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29614 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29617 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29619 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29622 * time/mktime.c: Update copyright years.
29624 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29626 mktime: merge comment-quoting-style change from gnulib
29627 * time/mktime.c: Quote 'like this' in comments.
29628 The GNU coding standards suggest that we no longer quote `like this',
29629 as "`" and "'" are typically rendered asymmetrically nowadays.
29630 The typical gnulib style is to quote 'like this' when quoting
29631 code, and "like this" when quoting English.
29633 * time/mktime.c (compile-command): Add "-I.".
29635 mktime: merge mktime-internal.h change from gnulib
29636 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29638 mktime: merge time_r change from gnulib
29639 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29641 mktime: merge DEBUG change from gnulib
29642 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29643 case system <time.h> has a #define.
29645 mktime: merge <sys/types.h> change from gnulib
29646 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29647 since <time.t> is now guaranteed to define time_t.
29649 mktime: merge HAVE_CONFIG_H change from gnulib
29650 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29652 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29657 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29659 (struct rusage): Use anonymous union to pad each field to
29662 2012-05-21 David S. Miller <davem@davemloft.net>
29664 * Makefules (o-iterator): Remove .s cases.
29665 (compile-command.s): Delete.
29666 (COMPILE.s): Delete.
29667 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29669 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29671 * configure.in (libc_cv_predef_stack_protector): Only consider
29672 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29673 * configure: Regenerated.
29675 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29678 New macro. Use R*LP on int and pointer.
29679 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29680 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29681 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29682 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29684 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29685 [__WORDSIZE_TIME64_COMPAT32] instead of
29686 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29687 (struct utmp): Likewise.
29688 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29689 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29691 (__WORDSIZE_TIME64_COMPAT32): This.
29692 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29693 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29694 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29695 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29696 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29697 (__WORDSIZE_TIME64_COMPAT32): New macro.
29699 2012-05-21 Andreas Jaeger <aj@suse.de>
29701 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29702 only if [SHARED]. Add prototype for __wcschr_ia32.
29704 2012-05-21 Roland McGrath <roland@hack.frob.com>
29706 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29707 of %rbp unmolested in the jmp_buf while mangling the low bits.
29708 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29709 unmolested high bits of %rbp while demangling the low bits.
29710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29712 2012-05-21 Andreas Jaeger <aj@suse.de>
29714 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29715 * sunrpc/svc_simple.c: Use it for registerrpc.
29716 * sunrpc/xcrypt.c: Use it for passwd2des.
29718 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29720 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29722 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29723 Don't define if [__SYSCALL_WORDSIZE != 32].
29724 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29727 2012-05-21 Bruno Haible <bruno@clisp.org>
29728 Andreas Jaeger <aj@suse.de>
29730 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29731 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29732 inptr and inend for must_buffer_ch.
29733 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29734 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29735 * stdio-common/Makefile (tests): Remove bug15.
29736 (bug15-ENV): Remove macro.
29737 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29740 2012-05-19 Andreas Jaeger <aj@suse.de>
29741 Roland McGrath <roland@hack.frob.com>
29743 * manual/contrib.texi: Completely rewritten. It contains now an
29744 alphabetical list of contributors and their contributions.
29746 2012-05-21 Richard Henderson <rth@twiddle.net>
29748 * misc/getauxval.c (__getauxval): Use unsigned long int.
29749 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29750 (getauxval): Use unsigned long int.
29752 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29754 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29756 2012-05-21 Roland McGrath <roland@hack.frob.com>
29758 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29759 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29760 __alignof__ (long double).
29762 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29766 2012-05-20 Richard Henderson <rth@twiddle.net>
29768 * misc/getauxval.c: New file.
29769 * misc/sys/auxv.h: New file.
29770 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29771 (routines): Add getauxval.
29772 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29773 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29774 * elf/dl-sysdep.c (_dl_auxv): Remove.
29775 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29776 * elf/dl-support.c (_dl_auxv): New variable.
29777 (_dl_aux_init): Initialize it.
29778 * manual/startup.texi (Auxiliary Vector): New node.
29779 * sysdeps/generic/bits/hwcap.h: New file.
29780 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29781 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29782 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29783 * sysdeps/sparc/sysdep.h: ... here. Include it.
29784 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29797 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29801 2012-05-19 David S. Miller <davem@davemloft.net>
29803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29805 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29808 * math/s_ccosh.c: Include <float.h>
29809 (__ccosh): Avoid internal overflow calculating sinh and cosh
29810 values before multiplying by sin and cos values.
29811 * math/s_ccoshf.c: Likewise.
29812 * math/s_ccoshl.c: Likewise.
29813 * math/s_csin.c: Likewise.
29814 * math/s_csinf.c: Likewise.
29815 * math/s_csinl.c: Likewise.
29816 * math/s_csinh.c: Likewise.
29817 * math/s_csinhf.c: Likewise.
29818 * math/s_csinhl.c: Likewise.
29819 * math/libm-test.inc (ccos_test): Add more tests.
29820 (ccosh_test): Likewise.
29821 (csin_test): Likewise.
29822 (csinh_test): Likewise.
29823 * sysdeps/i386/fpu/libm-test-ulps: Update.
29824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29826 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29828 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29829 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29831 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29833 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29835 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29836 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29837 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29838 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29839 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29840 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29841 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29842 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29843 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29844 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29845 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29846 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29847 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29848 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29849 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29850 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29851 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29852 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29853 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29854 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29855 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29856 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29857 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29858 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29859 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29860 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29861 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29862 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29863 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29864 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29865 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29867 2012-05-18 Andreas Jaeger <aj@suse.de>
29869 * csu/.gitignore: Delete.
29871 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29873 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29874 (timex): Use __syscall_slong_t.
29876 2012-05-18 Andreas Jaeger <aj@suse.de>
29877 Carlos O'Donell <carlos_odonell@mentor.com>
29879 * manual/install.texi (Configuring and compiling): Update
29880 description about files modified in the source directory.
29881 * INSTALL: Regenerated.
29883 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29885 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29886 value. Use "or" to set return value to -1.
29887 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29888 negate return value.
29890 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29892 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29893 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29894 failure if the compiler has Graphite support disabled.
29895 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29897 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29898 (CFLAGS-memmove.c): Likewise.
29899 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29902 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29904 * sysdeps/x86_64/x32/_itoa.h: New file.
29906 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29907 getdents system call only if kernel and user dirents have the
29908 same d_ino and d_off.
29910 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29911 LLONG_MAX != LONG_MAX.
29912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29913 (_fitoa_word): Likewise.
29915 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29917 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29918 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29919 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29921 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29922 include <bits/wordsize.h>. Check __x86_64__ instead of
29924 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29925 if __x86_64__ is defined. Use anonymous union on fpstate.
29927 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29930 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29932 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29933 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29934 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29935 Refer to _rtld_local_ro instead of _rtld_global_ro.
29936 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29938 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29940 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29942 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29943 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29944 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29946 * sysdeps/powerpc/powerpc32/dl-machine.c
29947 (__elf_machine_runtime_setup) [PROF]: Don't reference
29950 2012-05-18 Andreas Jaeger <aj@suse.de>
29952 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29953 function only available for GCCs before 3.4 since GCC 3.4
29954 introduced a builtin.
29956 (llrintf): Likewise.
29957 (llrint): Likewise.
29964 (nearbyint): Likewise.
29965 (nearbyintf): Likewise.
29969 (floorf): Likewise.
29971 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29973 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29974 on both fields and cast pointer to __syscall_ulong_t.
29976 * bits/types.h (__fsword_t): New type.
29977 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29978 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29980 (__FSWORD_T_TYPE): Likewise.
29981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29982 (__FSWORD_T_TYPE): Likewise.
29983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29984 (__FSWORD_T_TYPE): Likewise.
29985 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29986 (__FSWORD_T_TYPE): Likewise.
29987 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29988 __SWORD_TYPE with __fsword_t.
29989 (statfs64): Likewise.
29991 2012-05-17 David S. Miller <davem@davemloft.net>
29993 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29995 2012-05-17 Andreas Jaeger <aj@suse.de>
29997 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30000 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30002 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30004 2012-05-17 Andreas Jaeger <aj@suse.de>
30006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30009 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30011 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30013 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30015 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30016 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30018 2012-05-17 Andreas Jaeger <aj@suse.de>
30019 Carlos O'Donell <carlos_odonell@mentor.com>
30022 * sysdeps/x86_64/multiarch/init-arch.h
30023 (bit_YMM_Usable): Rename to...
30024 (bit_AVX_Usable): ... this.
30025 (bit_FMA4_Usable): New macro.
30026 (bit_XMM_state): New macro.
30027 (bit_YMM_state): New macro.
30028 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30029 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30030 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30031 (CPUID_OSXSAVE): New macro.
30032 (CPUID_AVX): New macro.
30033 (CPUID_FMA4): New macro.
30034 (index_YMM_Usable): Rename to...
30035 (index_AVX_Usable): ... this.
30036 (HAS_AVX): Use HAS_ARCH_FEATURE.
30037 (HAS_FMA4): Likewise.
30038 (HAS_YMM_USABLE): Remove.
30039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30040 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30042 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30043 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30044 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30045 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30046 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30048 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30050 * math/libm-test.c: Support platforms without multiple rounding modes.
30051 * math/bug-nextafter.c: Support platforms without FP exceptions.
30052 * math/bug-nexttoward.c: Likewise.
30053 * math/test-fenv.c: Likewise.
30054 * math/test-misc.c: Likewise.
30055 * stdlib/bug-getcontext.c: Likewise.
30057 2012-05-17 Andreas Jaeger <aj@suse.de>
30059 * manual/examples/search.c (critter_cmp): Change signature to
30061 * manual/string.texi (Collation Functions): Likewise.
30063 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30065 * bits/types.h: Fold copyright years.
30066 * bits/typesizes.h: Likewise.
30067 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30071 * time/time.h: Likewise.
30073 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30076 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30077 in instead of returning them. Return void.
30078 (__libc_mallinfo): Accumulate over all arenas.
30079 (__malloc_stats): Adjust for change in int_mallinfo interface.
30081 2012-05-16 Roland McGrath <roland@hack.frob.com>
30084 * configure.in (NM): Add AC_CHECK_TOOL for it.
30085 (libc_extra_cflags): New substituted variable.
30086 Check for -fstack-protector being used implicitly.
30087 * configure: Regenerated.
30088 * config.make.in (config-extra-cflags): New variable,
30089 gets @libc_extra_cflags@.
30090 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30093 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30094 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30095 * configure: Regenerated.
30096 * config.make.in (CPPUNDEFS): New substituted variable.
30097 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30098 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30099 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30101 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30103 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30104 (mq_attr): Use __syscall_slong_t.
30106 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30109 Check __x86_64__ instead of __WORDSIZE.
30110 (_STAT_VER_LINUX): Likewise.
30111 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30112 __syscall_ulong_t and __syscall_slong_t.
30113 (stat64): Likewise.
30115 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30121 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30125 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30128 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30129 include <bits/wordsize.h>. Check __x86_64__ instead of
30131 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30133 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30136 include <bits/wordsize.h>. Check __x86_64__ instead of
30138 (user_regs_struct): Use "__extension__ unsigned long long"
30139 instead of "unsigned long" if __x86_64__ is defined.
30140 (user): Likewise. Pad after pointer field if __ILP32__ is
30143 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30145 * configure.in (makeinfo): Require version 4.5 or later. Allow
30147 * configure: Regenerated.
30148 * manual/install.texi (texinfo): Increase version requirement to
30150 * INSTALL: Regenerated.
30152 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30154 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30156 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30158 * sysdeps/x86_64/x32/ffs.c: New file.
30160 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30162 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30163 defined. Use __syscall_ulong_t.
30164 (shminfo): Use __syscall_ulong_t.
30165 (shm_info): Likewise.
30167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30170 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30172 (msgqnum_t): Use __syscall_ulong_t.
30173 (msglen_t): Likewise.
30174 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30177 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30178 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30180 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30182 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30183 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30185 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30188 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30189 include <bits/wordsize.h>. Check __x86_64__ instead of
30192 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30193 "unsigned long long int" if __x86_64__ is defined.
30194 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30197 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30198 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30200 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30202 (GET_PC): Cast to uintptr_t first.
30203 (GET_FRAME): Likewise.
30204 (GET_STACK): Likewise.
30206 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30207 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30208 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30210 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30212 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30213 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30214 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30215 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30216 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30217 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30218 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30219 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30221 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30222 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30223 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30224 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30225 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30226 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30231 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30232 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30233 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30234 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30236 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30238 * Makerules (+depfiles): Also collect depfiles from .oS in
30240 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30241 .oS, $(libnldbl-routines)).
30243 * Makerules (native-compile-mkdep-flags): Define.
30244 * sunrpc/Makefile (extra-objs): Add $(addprefix
30245 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30246 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30247 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30248 calling $(make-target-directory).
30250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30252 * bits/types.h (__snseconds_t): Removed.
30253 * time/time.h (struct timespec): Replace __snseconds_t with
30255 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30256 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30259 (__SNSECONDS_T_TYPE): Likewise.
30260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30261 (__SNSECONDS_T_TYPE): Likewise.
30262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30263 (__SNSECONDS_T_TYPE): Likewise.
30265 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30267 * sysdeps/mach/hurd/bits/typesizes.h
30268 (__SYSCALL_SLONG_TYPE): New macro.
30269 (__SYSCALL_ULONG_TYPE): Likewise.
30271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30273 * bits/types.h (__syscall_slong_t): New type.
30274 (__syscall_ulong_t): Likewise.
30276 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30277 (__SYSCALL_ULONG_TYPE): Likewise.
30278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30279 (__SYSCALL_SLONG_TYPE): Likewise.
30280 (__SYSCALL_ULONG_TYPE): Likewise.
30281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30282 (__SYSCALL_SLONG_TYPE): Likewise.
30283 (__SYSCALL_ULONG_TYPE): Likewise.
30284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30285 (__SYSCALL_SLONG_TYPE): Likewise.
30286 (__SYSCALL_ULONG_TYPE): Likewise.
30288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30290 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30291 Add sigaltstack-offsets.sym.
30292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30293 <sigaltstack-offsets.h>.
30294 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30295 longjmp_msg pointer.
30296 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30297 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30299 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30301 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30303 * elf/stackguard-macros.h: Remove file.
30304 * sysdeps/generic/stackguard-macros.h: New file.
30305 * sysdeps/i386/stackguard-macros.h: Likewise.
30306 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30307 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30308 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30309 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30310 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30311 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30312 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30313 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30314 <elf/stackguard-macros.h>.
30317 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30318 __aligned__ in attribute.
30319 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30320 (gregset_t): Likewise.
30322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30324 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30325 * sysdeps/x86_64/64/Implies-after: Here. New file.
30326 * sysdeps/x86_64/x32/Implies-after: New file.
30328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30330 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30331 and access return value for _dl_profile_fixup. Use R10_LP to
30334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30340 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30341 * sysdeps/x86_64/x32/sysdep.h: New file.
30343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30345 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30346 * sysdeps/x86_64/setjmp.S: Likewise.
30348 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30350 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30351 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30352 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30353 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30354 remove unused global constant.
30356 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30358 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30359 include of <not-cancel.h>.
30361 2012-05-15 Roland McGrath <roland@hack.frob.com>
30363 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30365 2012-05-15 Jeff Law <law@redhat.com>
30366 Andreas Jaeger <aj@suse.de>
30369 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30371 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30372 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30373 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30374 code changing __hst_map_handle.map.
30376 2012-05-15 Roland McGrath <roland@hack.frob.com>
30378 * configure.in (sysnames): Look for Implies-before and Implies-after
30380 * configure: Regenerated.
30382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30384 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30385 8-byte data alignment with LP_SIZE alignment.
30387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30389 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30394 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30398 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30399 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30400 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30406 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30407 (stackinfo_sub_sp): Likewise.
30409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30411 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30416 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30426 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30430 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30431 into R11_LP and load __x86_64_shared_cache_size_half into
30434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30439 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30448 powerpc32/power7/fpu/s_logb.c via #include.
30449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30450 powerpc32/power7/fpu/s_logbf.c via #include.
30451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30452 powerpc32/power7/fpu/s_logbl.c via #include.
30454 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30456 * README.libm: Remove file.
30458 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30460 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30461 count for x32. Use R*_LP and omit operand-size suffix.
30463 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30465 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30466 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30467 * sysdeps/x86_64/x32/shlib-versions: New file.
30469 2012-05-14 Roland McGrath <roland@hack.frob.com>
30471 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30472 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30473 Use _dl_fatal_printf instead.
30475 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30477 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30478 set if not set by the user. Do not allow for being unset.
30479 * sysdeps/unix/sysv/linux/configure: Regenerated.
30481 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30483 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30484 the `q' suffix from lea and replace .quad with ASM_ADDR.
30486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30489 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30491 (PTR_DEMANGLE): Likewise.
30493 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30495 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30497 (ASM_ADDR): Likewise.
30498 (RAX_LP): Likewise.
30499 (RBP_LP): Likewise.
30500 (RBX_LP): Likewise.
30501 (RCX_LP): Likewise.
30502 (RDI_LP): Likewise.
30503 (RSI_LP): Likewise.
30504 (RSP_LP): Likewise.
30507 (R10_LP): Likewise.
30508 (R10_LP): Likewise.
30509 (R11_LP): Likewise.
30510 (R12_LP): Likewise.
30511 (R13_LP): Likewise.
30512 (R14_LP): Likewise.
30513 (R15_LP): Likewise.
30515 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30517 * sysdeps/x86_64/x32/dl-machine.h: New file.
30519 2012-05-14 Andreas Jaeger <aj@suse.de>
30521 * manual/Makefile (subdir): Remove export of subdir.
30522 (all): Remove target.
30523 (.PHONY): Remove all from list.
30524 (mkinstalldirs): Remove.
30525 (.PHONY): Remove installdirs from list.
30526 ($(inst_infodir)/libc.info): Use make-target-directory.
30527 (installdirs): Remove.
30528 (subdir_%): Remove.
30529 (glibc-targets): Remove.
30532 ($(objpfx)stubs ../po/manual.pot): Remove.
30533 ($(objpfx)stamp%): Remove.
30534 (make-target-directory): Remove.
30535 (subdir_install): Remove.
30536 (routines): Remove.
30543 * manual/.gitignore: Remove, it's not needed anymore.
30544 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30546 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30548 (texis): Renamed to $(objpfx)texis.
30549 (texis-path): New, contains path to generated files.
30550 (chapters.%): Use texis-path for complete path, add extra argument
30552 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30553 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30554 (summary,texi, stamp-summary): Use complete path of
30555 files. Generate files in build dir.
30556 (dir-add.texi): Build in build dir.
30557 (libm-err.texi,stamp-libm-err): Likewise.
30558 (version.texi, stamp-version): Likewise.
30559 (.%c.texi): Likewise.
30560 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30561 (mostlyclean): Remove target.
30562 (realclean): Remove target.
30563 (generated): Add new variable with contents from mostlyclean and
30564 realclean, remove entries duplicated in common-mostlyclean, add
30565 stamp-libm-err and stamp-version.
30566 (generated-dirs): Add libc directory.
30567 ($(inst_infodir)/libc.info): Install files from build dir.
30569 * manual/install.texi (Configuring and compiling): Adjust since
30570 the info files are not part of the tar ball anymore.
30572 2012-05-14 Andreas Jaeger <aj@suse.de>
30574 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30577 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30581 to 2.2.0 where earlier.
30582 * sysdeps/unix/sysv/linux/configure: Regenerated.
30583 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30584 Remove conditional code.
30585 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30586 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30587 Remove conditional code.
30588 [!__NR_lchown]: Likewise.
30589 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30590 [__NR_lchown]: Likewise.
30591 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30592 comment referencing __ASSUME_LCHOWN_SYSCALL.
30593 * sysdeps/unix/sysv/linux/i386/sigaction.c
30594 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30595 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30596 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30597 Remove conditional code.
30598 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30599 (__protocol_available): Remove #if 0 code.
30600 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30602 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30603 * sysdeps/unix/sysv/linux/kernel-features.h
30604 (__ASSUME_GETCWD_SYSCALL): Don't define.
30605 (__ASSUME_REALTIME_SIGNALS): Likewise.
30606 (__ASSUME_PREAD_SYSCALL): Likewise.
30607 (__ASSUME_PWRITE_SYSCALL): Likewise.
30608 (__ASSUME_POLL_SYSCALL): Likewise.
30609 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30610 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30612 (__ASSUME_SIOCGIFNAME): Don't define.
30613 (__ASSUME_MSG_NOSIGNAL): Likewise.
30614 (__ASSUME_SENDFILE): Define unconditionally.
30615 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30616 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30618 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30619 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30620 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30621 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30622 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30623 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30624 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30626 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30629 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30630 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30632 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30635 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30638 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30641 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30647 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30649 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30650 Remove conditional code.
30651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30652 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30653 Remove conditional code.
30654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30655 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30656 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30657 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30658 Remove conditional code.
30659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30660 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30661 Remove conditional code.
30662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30663 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30664 Remove conditional code.
30665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30666 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30667 Remove conditional code.
30668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30669 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30670 Remove conditional code.
30671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30672 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30675 * sysdeps/unix/sysv/linux/sigaction.c
30676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30678 * sysdeps/unix/sysv/linux/sigpending.c
30679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30681 * sysdeps/unix/sysv/linux/sigprocmask.c
30682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30684 * sysdeps/unix/sysv/linux/sigsuspend.c
30685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30688 (__libc_missing_rt_sigs): Remove.
30689 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30690 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30691 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30692 Remove conditional code.
30693 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30694 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30696 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30697 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30698 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30699 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30701 2012-05-14 Andreas Jaeger <aj@suse.de>
30703 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30704 it's not used in glibc.
30705 (__coshm1): Likewise.
30706 (__acosh1p): Likewise.
30709 * manual/string.texi (Copying and Concatenation): Add missing
30710 variable in concat example.
30711 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30713 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30717 __builtin_clzl with __builtin_clzll.
30719 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30722 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30725 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30727 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30728 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30729 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30730 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30732 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30734 * NEWS: Update ia64 info.
30736 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30738 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30741 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30743 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30744 * sysdeps/unix/syscalls.list (dup3): Likewise.
30745 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30746 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30748 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30750 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30751 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30753 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30755 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30757 (TLS_IE): Use mov/add instead of movq/addq to load thread
30759 (TLS_GD_PREFIX): New.
30762 2012-05-11 David S. Miller <davem@davemloft.net>
30764 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30765 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30766 (_FPU_SETCW): Likewise.
30768 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30770 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30771 is 32-byte aligned.
30773 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30776 * iconvdata/gb18030.c: Update tables.
30777 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30778 characters specially.
30779 (BODY for TO_LOOP): Add encoding of missing ranges.
30781 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30784 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30785 * sysdeps/mach/hurd/dup3.c: Likewise.
30786 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30787 * sysdeps/powerpc/memmove.c:: Likewise.
30789 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30792 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30794 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30796 * elf/elf.h (R_X86_64_RELATIVE64): New.
30797 (R_X86_64_NUM): Updated.
30798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30799 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30800 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30801 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30802 tst-quad1pie tst-quad2pie
30803 (modules-names): Add tst-quadmod1 tst-quadmod2.
30804 ($(objpfx)tst-quad1): New dependency.
30805 ($(objpfx)tst-quad2): Likewise.
30806 ($(objpfx)tst-quad1pie): Likewise.
30807 ($(objpfx)tst-quad2pie): Likewise.
30808 * sysdeps/x86_64/tst-quad1.c: New file.
30809 * sysdeps/x86_64/tst-quad1pie.c: New file.
30810 * sysdeps/x86_64/tst-quad2.c: Likewise.
30811 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30812 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30813 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30814 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30815 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30819 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30820 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30821 * streams/stropts.h (t_scalar_t): Define type.
30823 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30824 (_PATH_PRESERVE): Set to "/var/lib".
30825 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30827 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30830 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30831 if __dir_mkfile succeeded.
30833 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30834 checking for _hurd_dtablesize. Unlock it right after having
30835 finished _hurd_dtable allocation.
30837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30839 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30840 * sysdeps/mach/hurd/configure: Regenerated.
30841 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30842 special-casing to...
30843 * sysdeps/gnu/configure.in: ... this new file.
30844 * sysdeps/unix/sysv/linux/configure: Regenerated.
30845 * sysdeps/gnu/configure: New generated file.
30847 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30848 for Linux: use nsec instead of usec, as well as:
30849 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30850 members of type struct timespec.
30851 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30853 (struct stat64): Likewise.
30854 (_STATBUF_ST_NSEC): New macro.
30855 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30857 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30858 __strtoul_internal rather than strtoul.
30860 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30862 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30865 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30867 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30868 which preserves existing values.
30869 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30871 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30873 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30874 TIMEOUT values. Return EINVAL for NFDS values either negative or
30875 greater than FD_SETSIZE.
30877 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30879 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30880 allocated, call __vm_protect to finish enabling the existing space, and
30881 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30882 allocate the remainder.
30884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30886 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30887 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30889 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30891 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30892 sysdeps/mach/hurd/readlink.c.
30894 * posix/tst-sysconf.c (posix_options): Only use
30895 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30896 _POSIX_SYNCHRONIZED_IO when they are defined
30897 * sysdeps/mach/hurd/bits/posix_opt.h:
30898 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30899 (_XOPEN_REALTIME): Undefine macro.
30900 (_XOPEN_REALTIME_THREADS): Undefine macro.
30901 (_XOPEN_SHM): Undefine macro.
30902 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30904 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30906 (_POSIX_ASYNC_IO): Undefine macro.
30907 (_POSIX_PRIORITIZED_IO): Undefine macro.
30908 (_POSIX_SPIN_LOCKS): Define macro to -1.
30910 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30911 SA_NODEFER, SA_RESETHAND.
30912 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30913 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30916 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30918 * elf/Makefile (pldd-modules): Define unconditionally.
30920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30922 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30924 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30926 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30927 Return ENOENT when name is empty.
30928 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30932 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30934 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30938 Fix mlock in all cases except non-readable pages.
30939 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30940 instead of VM_PROT_ALL as parameter to __vm_wire function.
30942 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30943 (__mkdir): When path is `/', just fail with EEXIST.
30944 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30946 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30948 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30949 <sys/uio.h> (for writev).
30950 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30951 and <sys/param.h> (for MIN).
30953 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30955 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30956 REQUESTED_TIME. Properly set the remaining time and return EINTR
30959 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30961 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30962 Depend on against $(link-rpcuserlibs).
30964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30966 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30967 (__libc_stack_end): Do not use attribute_relro.
30968 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30969 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30970 to libthread-provided value.
30971 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30977 * bits/libc-lock.h (__libc_once_get): New macro.
30978 * sysdeps/mach/bits/libc-lock.h: Likewise.
30979 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30981 instead of using implementation details.
30983 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30984 * libio/freopen.c: Likewise.
30985 * libio/freopen64.c: Likewise.
30986 * misc/syslog.c: Likewise.
30987 * nscd/connections.c: Likewise.
30988 * nscd/netgroupcache.c: Likewise.
30989 * sysdeps/posix/getcwd.c: Likewise.
30991 2012-05-10 Roland McGrath <roland@hack.frob.com>
30993 * math/w_ilogbf.c: Add #include <limits.h>.
30995 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30997 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30998 path instead of returning without unlocking.
31000 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31001 immediate-write ioctls.
31002 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31004 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31006 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31007 __builtin_frame_address instead of making assumptions about the
31008 location of the return address relative to DATA. Force early load of
31009 the return address.
31010 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31011 __builtin_frame_address.
31014 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31015 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31016 implement dup3 and do some further code clean-ups.
31017 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31018 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31022 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31024 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31025 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31026 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31027 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31028 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31031 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31032 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31033 when handler == SIG_ERR, not when handler != SIG_ERR.
31035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31037 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31038 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31041 accept4 for GNU Hurd.
31042 * include/sys/socket.h (__libc_accept4): New prototype.
31043 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31044 to implement __libc_accept4.
31045 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31047 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31049 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31050 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31051 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31052 signal-defines.sym.
31054 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31056 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31060 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31061 assertion on O_CLOEXEC flag.
31062 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31063 * hurd/intern-fd.c: Likewise.
31064 * hurd/port2fd.c: Likewise.
31066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31069 * bits/in.h (IPV6_PKTINFO): Define new macro.
31070 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31072 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31077 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31079 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31080 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31082 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31083 * math/libm-test.inc (logb_test) : Additional logb tests.
31085 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31086 Andreas Jaeger <aj@suse.de>
31088 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31089 * configure: Regenerated.
31090 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31091 * config.make.in (link-obsolete-rpc): New substituted variable.
31092 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31093 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31094 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31095 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31096 so that libc.a contains the symbols.
31097 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31098 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31099 * sunrpc/auth_none.c: Likewise.
31100 * sunrpc/auth_unix.c: Likewise.
31101 * sunrpc/authdes_prot.c: Likewise.
31102 * sunrpc/authuxprot.c: Likewise.
31103 * sunrpc/clnt_gen.c: Likewise.
31104 * sunrpc/clnt_perr.c: Likewise.
31105 * sunrpc/clnt_raw.c: Likewise.
31106 * sunrpc/clnt_simp.c: Likewise.
31107 * sunrpc/clnt_tcp.c: Likewise.
31108 * sunrpc/clnt_udp.c: Likewise.
31109 * sunrpc/clnt_unix.c: Likewise.
31110 * sunrpc/des_crypt.c: Likewise.
31111 * sunrpc/des_soft.c: Likewise.
31112 * sunrpc/get_myaddr.c: Likewise.
31113 * sunrpc/key_call.c: Likewise.
31114 * sunrpc/key_prot.c: Likewise.
31115 * sunrpc/netname.c: Likewise.
31116 * sunrpc/pm_getmaps.c: Likewise.
31117 * sunrpc/pm_getport.c: Likewise.
31118 * sunrpc/pmap_clnt.c: Likewise.
31119 * sunrpc/pmap_prot.c: Likewise.
31120 * sunrpc/pmap_prot2.c: Likewise.
31121 * sunrpc/pmap_rmt.c: Likewise.
31122 * sunrpc/publickey.c: Likewise.
31123 * sunrpc/rpc_cmsg.c: Likewise.
31124 * sunrpc/rpc_common.c: Likewise.
31125 * sunrpc/rpc_dtable.c: Likewise.
31126 * sunrpc/rpc_prot.c: Likewise.
31127 * sunrpc/rpc_thread.c: Likewise.
31128 * sunrpc/rtime.c: Likewise.
31129 * sunrpc/svc.c: Likewise.
31130 * sunrpc/svc_auth.c: Likewise.
31131 * sunrpc/svc_raw.c: Likewise.
31132 * sunrpc/svc_run.c: Likewise.
31133 * sunrpc/svc_tcp.c: Likewise.
31134 * sunrpc/svc_udp.c: Likewise.
31135 * sunrpc/svc_unix.c: Likewise.
31136 * sunrpc/svcauth_des.c: Likewise.
31137 * sunrpc/xcrypt.c: Likewise.
31138 * sunrpc/xdr.c: Likewise.
31139 * sunrpc/xdr_array.c: Likewise.
31140 * sunrpc/xdr_float.c: Likewise.
31141 * sunrpc/xdr_intXX_t.c: Likewise.
31142 * sunrpc/xdr_mem.c: Likewise.
31143 * sunrpc/xdr_rec.c: Likewise.
31144 * sunrpc/xdr_ref.c: Likewise.
31145 * sunrpc/xdr_sizeof.c: Likewise.
31146 * sunrpc/xdr_stdio.c: Likewise.
31148 2012-05-10 Roland McGrath <roland@hack.frob.com>
31150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31151 change. Update copyright years.
31153 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31155 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31157 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31158 Joseph Myers <joseph@codesourcery.com>
31159 Paul Pluzhnikov <ppluzhnikov@google.com>
31162 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31164 [cross-compiling] (extra-libs): Likewise.
31165 [cross-compiling] (extra-libs-others): Likewise.
31166 [cross-compiling] (librpcsvc-routines): Likewise.
31167 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31168 [cross-compiling] (omit-deps): Likewise.
31169 (sunrpc-CPPFLAGS): New variable.
31170 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31171 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31172 (cross-rpcgen-objs): New variable.
31173 (extra-objs): Append $(cross-rpcgen-objs).
31174 ($(cross-rpcgen-objs)): New rule.
31175 ($(objpfx)cross-rpcgen): Likewise.
31176 (rpcgen-cmd): Define to use $(built-program-file). Expand
31178 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31179 ($(objpfx)x%.stmp): Likewise.
31180 * sunrpc/proto.h [IS_IN_build] (_): Define.
31181 [IS_IN_build] (_libc_intl_domainname): Likewise.
31183 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31186 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31187 and R_X86_64_TPOFF64.
31189 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31191 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31192 sysdeps/unix/sysv/syscalls.list.
31195 * sysdeps/unix/sysv/syscalls.list: Remove file.
31197 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31200 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31201 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31202 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31203 (__LC_IDENTIFICATION): Make these macros useful in #if
31204 expressions, as required by C99.
31206 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31208 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31209 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31212 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31214 * stdlib/longlong.h: Updated from GCC.
31216 2012-05-09 Andreas Jaeger <aj@suse.de>
31218 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31219 default is first entry.
31220 (run_mode): Set type.
31221 (main): Remove informal message about syslog.
31222 (options): Fix typo.
31225 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31228 (llrintf): Likewise.
31229 (llrint): Likewise.
31232 (nearbyint): Likewise.
31233 (nearbyintf): Likewise.
31235 2012-05-09 Andreas Jaeger <aj@suse.de>
31236 Pedro Alves <palves@redhat.com>
31238 * nscd/nscd.c (run_mode): Use enum.
31239 (main): Cleanup coding style issue.
31241 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31242 Andreas Jaeger <aj@suse.de>
31244 * nscd/nscd.c (go_background): Replaced with...
31245 (run_mode): ... this.
31246 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31247 (options): Add -F --foreground.
31248 (main): Implement it.
31249 (parse_opt): Parse it.
31251 2012-05-09 Andreas Jaeger <aj@suse.de>
31254 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31255 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31256 -Wconversion warning.
31257 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31260 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31262 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31264 (LC_ALL): Use macro-int-constant.
31265 (LC_COLLATE): Likewise.
31266 (LC_CTYPE): Likewise.
31267 (LC_MESSAGES): Likewise.
31268 (LC_MONETARY): Likewise.
31269 (LC_NUMERIC): Likewise.
31270 (LC_TIME): Likewise.
31271 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31272 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31274 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31276 [C99-based standards] (float_t): Expect type.
31277 [C99-based standards] (double_t): Expect type.
31278 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31280 [C99-based standards] (HUGE_VALL): Likewise.
31281 [C99-based standards] (INFINITY): Likewise.
31282 [C99-based standards] (NAN): Likewise.
31283 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31284 [C99-based standards] (FP_NAN): Likewise.
31285 [C99-based standards] (FP_NORMAL): Likewise.
31286 [C99-based standards] (FP_SUBNORMAL): Likewise.
31287 [C99-based standards] (FP_ZERO): Likewise.
31288 [C99-based standards] (FP_FAST_FMA): Use
31289 optional-macro-int-constant. Specify type. Require == 1.
31290 [C99-based standards] (FP_FAST_FMAF): Likewise.
31291 [C99-based standards] (FP_FAST_FMAL): Likewise.
31292 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31293 [C99-based standards] (FP_ILOGBNAN): Likewise.
31294 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31296 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31297 [C99-based standards] (math_errhandling): Specify type.
31298 [ISO99 || ISO11] (signgam): Do not allow.
31299 [non-C99-based standards] (copysignf): Do not allow.
31300 [non-C99-based standards] (exp2f): Likewise.
31301 [non-C99-based standards] (log2f): Likewise.
31302 [non-C99-based standards] (modff): Allow.
31303 [non-C99-based standards] (erff): Do not allow.
31304 [non-C99-based standards] (erfcf): Likewise.
31305 [non-C99-based standards] (gammaf): Likewise.
31306 [non-C99-based standards] (hypotf): Likewise.
31307 [non-C99-based standards] (j0f): Likewise.
31308 [non-C99-based standards] (j1f): Likewise.
31309 [non-C99-based standards] (jnf): Likewise.
31310 [non-C99-based standards] (lgammaf): Likewise.
31311 [non-C99-based standards] (tgammaf): Likewise.
31312 [non-C99-based standards] (y0f): Likewise.
31313 [non-C99-based standards] (y1f): Likewise.
31314 [non-C99-based standards] (ynf): Likewise.
31315 [non-C99-based standards] (isnanf): Likewise.
31316 [non-C99-based standards] (acoshf): Likewise.
31317 [non-C99-based standards] (asinhf): Likewise.
31318 [non-C99-based standards] (atanhf): Likewise.
31319 [non-C99-based standards] (cbrtf): Likewise.
31320 [non-C99-based standards] (expm1f): Likewise.
31321 [non-C99-based standards] (ilogbf): Likewise.
31322 [non-C99-based standards] (log1pf): Likewise.
31323 [non-C99-based standards] (logbf): Likewise.
31324 [non-C99-based standards] (nextafterf): Likewise.
31325 [non-C99-based standards] (remainderf): Likewise.
31326 [non-C99-based standards] (rintf): Likewise.
31327 [non-C99-based standards] (scalbf): Likewise.
31328 [non-C99-based standards] (copysignl): Likewise.
31329 [non-C99-based standards] (exp2l): Likewise.
31330 [non-C99-based standards] (log2l): Likewise.
31331 [non-C99-based standards] (modfl): Allow.
31332 [non-C99-based standards] (erfl): Do not allow.
31333 [non-C99-based standards] (erfcl): Likewise.
31334 [non-C99-based standards] (gammal): Likewise.
31335 [non-C99-based standards] (hypotl): Likewise.
31336 [non-C99-based standards] (j0l): Likewise.
31337 [non-C99-based standards] (j1l): Likewise.
31338 [non-C99-based standards] (jnl): Likewise.
31339 [non-C99-based standards] (lgammal): Likewise.
31340 [non-C99-based standards] (tgammal): Likewise.
31341 [non-C99-based standards] (y0l): Likewise.
31342 [non-C99-based standards] (y1l): Likewise.
31343 [non-C99-based standards] (ynl): Likewise.
31344 [non-C99-based standards] (isnanl): Likewise.
31345 [non-C99-based standards] (acoshl): Likewise.
31346 [non-C99-based standards] (asinhl): Likewise.
31347 [non-C99-based standards] (atanhl): Likewise.
31348 [non-C99-based standards] (cbrtl): Likewise.
31349 [non-C99-based standards] (expm1l): Likewise.
31350 [non-C99-based standards] (ilogbl): Likewise.
31351 [non-C99-based standards] (log1pl): Likewise.
31352 [non-C99-based standards] (logbl): Likewise.
31353 [non-C99-based standards] (nextafterl): Likewise.
31354 [non-C99-based standards] (remainderl): Likewise.
31355 [non-C99-based standards] (rintl): Likewise.
31356 [non-C99-based standards] (scalbl): Likewise.
31357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31358 [non-C99-based standards] (FP_*): Do not allow.
31359 [C99-based standards] (FP_*): Change to
31360 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31361 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31363 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31364 (SIG_ERR): Likewise.
31365 [X/Open-based standards] (SIG_HOLD): Likewise.
31366 (SIG_IGN): Likewise.
31367 (SIGABRT): Use macro-int-constant. Specify type. Require
31369 (SIGFPE): Likewise.
31370 (SIGILL): Likewise.
31371 (SIGINT): Likewise.
31372 (SIGSEGV): Likewise.
31373 (SIGTER): Likewise.
31374 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31375 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31376 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31377 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31378 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31379 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31380 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31381 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31382 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31383 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31384 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31385 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31386 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31387 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31388 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31389 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31390 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31391 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31392 [X/Open-based standards] (SIGTRAP): Likewise.
31393 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31394 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31395 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31396 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31397 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31400 2012-05-08 Ian Wienand <ianw@vmware.com>
31403 * time/tzset.c (__tzset_parse_tz): Update default rules for
31404 daylight time changes in the Energy Policy Act of 2005.
31406 2012-05-09 Andreas Jaeger <aj@suse.de>
31409 * elf/ldconfig.c (parse_conf): Change string to make clear that
31410 ldconfig only issued a warning if ld.so.conf does not exist.
31412 2012-05-08 David S. Miller <davem@davemloft.net>
31414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31415 movxtod instead of popping the value on the stack.
31417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31419 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31421 * config.h.in: Add HAVE_ARM_PCS_VFP.
31423 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31426 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31427 checking but the checks are disabled for any reason.
31429 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31431 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31432 and ELF64_R_TYPE with ELFW(R_TYPE).
31434 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31436 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31437 (ulimit): Likewise.
31439 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31440 (settimeofday): Likewise.
31442 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31444 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31445 a struct th_u2 inside the union, and move tu_block/tu_code into
31446 a new th_u3 union of tu_block/tu_code inside of that. Move
31447 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31448 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31449 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31450 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31451 (th_stuff): Change to th_u1.tu_stuff.
31453 (th_msg): Change to th_u1.th_u2.tu_data.
31455 2012-05-07 David S. Miller <davem@davemloft.net>
31457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31460 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31461 (SETUP_PIC_REG): Use it.
31462 (SETUP_PIC_REG_LEAF): Use it.
31464 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31470 (EXPL_FINITE): Likewise.
31471 (FLDLOG): Likewise.
31472 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31473 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31475 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31477 (EXPL_FINITE): Likewise.
31478 (FLDLOG): Likewise.
31479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31480 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31482 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31483 test of -max_value argument for long double.
31484 * sysdeps/i386/fpu/libm-test-ulps: Update.
31485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31487 2012-05-06 David S. Miller <davem@davemloft.net>
31489 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31490 quad soft-float symbols whose references which are compiler
31492 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31494 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31498 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31500 (EXPL_FINITE): Likewise.
31501 (FLDLOG): Likewise.
31504 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31505 Adjust comments for base varying.
31506 (__expl_finite): Change alias to EXPL_FINITE.
31507 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31509 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31510 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31511 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31512 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31515 (EXPL_FINITE): Likewise.
31516 (FLDLOG): Likewise.
31519 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31520 Adjust comments for base varying.
31521 (__expl_finite): Change alias to EXPL_FINITE.
31522 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31527 * math/libm-test.inc (check_float_internal): Correct ulp
31528 calculation for subnormal expected results.
31530 2012-05-06 Andreas Jaeger <aj@suse.de>
31532 * Makeconfig (+math-flags): New, set to -frounding-math.
31533 (+cflags): Add +math-flags so that all of glibc gets compiled with
31536 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31538 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31540 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31546 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31547 (__ieee754_expl): Allow for and saturate large arguments.
31548 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31549 (u_threshold): Likewise.
31550 (__exp): Call __ieee754_exp before checking for overflow and
31552 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31553 (u_threshold): Likewise.
31554 (__expf): Call __ieee754_expf before checking for overflow and
31556 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31557 (u_threshold): Likewise.
31558 (__expl): Call __ieee754_expl before checking for overflow and
31560 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31561 (__ieee754_expl): Allow for and saturate large arguments.
31562 * math/libm-test.inc (exp_test): Add another test. Do not allow
31563 missing overflow exception on overflow.
31564 (expm1_test): Do not allow missing overflow exception on overflow.
31566 * sysdeps/i386/fpu/e_expl.c: Move to ...
31567 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31568 rather than using inline asm.
31569 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31570 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31571 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31573 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31576 (signal): Likewise.
31580 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31582 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31583 sysdeps/unix/common/syscalls.list.
31584 (fchmod): Likewise.
31585 (fchown): Likewise.
31586 (ftruncate): Likewise.
31587 (getrusage): Likewise.
31588 (gettimeofday): Likewise.
31589 (setpgid): Likewise.
31590 (setregid): Likewise.
31591 (setreuid): Likewise.
31592 (sigaction): Likewise.
31593 (truncate): Likewise.
31594 (vhangup): Likewise.
31595 * sysdeps/unix/common/syscalls.list: Remove file.
31596 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31597 * sysdeps/unix/sysv/linux/Implies: Likewise.
31599 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31601 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31603 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31607 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31610 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31613 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31616 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31619 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31622 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31625 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31629 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31633 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31636 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31640 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31644 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31646 * sysdeps/unix/common/bits/dirent.h: Remove file.
31647 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31649 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31650 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31651 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31652 * sysdeps/unix/bsd/isatty.c: Likewise.
31653 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31654 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31655 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31657 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31661 long double comparison inaccuracies.
31662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31665 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31667 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31670 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31674 nonzero digits before rounding a hex value.
31675 * stdlib/tst-strtod.c (tests): Add another test.
31677 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31679 * sysdeps/s390/fpu/libm-test-ulps: Update.
31681 2012-05-03 Andreas Jaeger <aj@suse.de>
31683 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31684 does not get optimized out.
31685 (malloc_opt_barrier): New.
31687 2012-05-03 Andreas Jaeger <aj@suse.de>
31688 Roland McGrath <roland@hack.frob.com>
31690 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31691 intermediate file deletion.
31692 (generated): Add .symlist files.
31694 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31697 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31698 Redirect under this condition.
31699 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31700 [__USE_GNU] (__dprintf_chk): Not under this condition.
31701 [__USE_GNU] (__vdprintf_chk): Likewise.
31702 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31703 under this condition.
31704 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31705 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31706 [__USE_XOPEN2K8] (vdprintf): Likewise.
31707 [__USE_GNU] (__dprintf_chk): Not under this condition.
31708 [__USE_GNU] (__vdprintf_chk): Likewise.
31709 [__USE_GNU] (dprintf): Likewise.
31710 [__USE_GNU] (vdprintf): Likewise.
31712 2012-05-03 Roland McGrath <roland@hack.frob.com>
31714 * elf/Makefile (common-generated): Set this instead of generated for
31715 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31716 $(all-built-dso)-derived lists.
31718 2012-05-03 Andreas Jaeger <aj@suse.de>
31720 * sysdeps/i386/fpu/libm-test-ulps: Update.
31723 * FAQ.in: Likewise.
31724 * scripts/gen-FAQ.pl: Likewise.
31725 * manual/install.texi (Installation): Point to online location of
31727 * Makefile (files-for-dist): Remove FAQ.
31730 2012-05-02 Allan McRae <allan@archlinux.org>
31732 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31733 (LDFLAGS-reldepmod5.so): Likewise.
31734 (LDFLAGS-reldep6mod1.so): Likewise.
31735 (LDFLAGS-reldep6mod4.so): Likewise.
31736 (LDFLAGS-reldep8mod3.so): Likewise.
31737 (LDFLAGS-unload4mod1.so): Likewise.
31738 (LDFLAGS-unload4mod2.so): Likewise.
31739 (LDFLAGS-tst-initorder): Likewise.
31740 (LDFLAGS-tst-initordera2.so): Likewise.
31741 (LDFLAGS-tst-initordera3.so): Likewise.
31742 (LDFLAGS-tst-initordera4.so): Likewise.
31743 (LDFLAGS-tst-initorderb2.so): Likewise.
31744 (LDFLAGS-noload): Likewise.
31745 (LDFLAGS-next): Likewise.
31746 (LDFLAGS-order2mod1.so): Likewise.
31747 (LDFLAGS-order2mod2.so): Likewise.
31748 (LDFLAGS-tst-initorder2): Likewise.
31749 (LDFLAGS-tst-initorder2a.so): Likewise.
31750 (LDFLAGS-tst-initorder2b.so): Likewise.
31751 (LDFLAGS-tst-initorder2c.so): Likewise.
31752 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31754 2012-05-02 David S. Miller <davem@davemloft.net>
31756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31758 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31761 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31763 2012-05-02 Andreas Jaeger <aj@suse.de>
31765 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31766 since we manipulate rounding mode.
31767 (CPPFLAGS-test-idouble.c): Likewise.
31768 (CPPFLAGS-test-ifloat.c): Likewise.
31769 (CFLAGS-test-ldouble.c): Likewise.
31770 (CFLAGS-test-double.c): Likewise.
31771 (CFLAGS-test-float.c): Likewise.
31772 (CFLAGS-test-misc.c): Likewise.
31773 (CFLAGS-test-test-fenv.c): Likewise.
31775 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31779 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31780 comparisons to determine direction to adjust input.
31782 2012-05-01 Roland McGrath <roland@hack.frob.com>
31784 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31785 output to the target.
31787 * scripts/localplt.awk: New file.
31788 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31789 (check-localplt-CFLAGS): Variable removed.
31790 ($(all-built-dso:=.jmprel)): New static pattern rule.
31791 (generated): Add those targets.
31792 (localplt-built-dso): New variable.
31793 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31795 * elf/check-localplt.c: File removed.
31797 * scripts/check-execstack.awk: New file.
31798 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31799 (check-execstack-CFLAGS): Variable removed.
31800 ($(objpfx)check-execstack.h): Target removed.
31801 ($(objpfx)execstack-default): New target.
31802 (generated): Add that instead of check-execstack.h.
31803 ($(all-built-dso:=.phdr)): New static pattern rule.
31804 (generated): Add those targets.
31805 * elf/check-execstack.c: File removed.
31807 * scripts/check-textrel.awk: New file.
31808 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31809 (check-textrel-CFLAGS): Variable removed.
31810 (all-built-dso): Use := to define.o
31811 ($(all-built-dso:=.dyn)): New static pattern rule.
31812 (generated): Add those targets.
31813 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31814 * config.make.in (READELF): New substituted variable.
31815 * elf/check-textrel.c: File removed.
31817 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31819 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31821 * conform/data/ctype.h-data [C99-based standards] (isblank):
31823 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31824 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31826 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31827 Specify type. Require positive value.
31828 (EILSEQ): Likewise.
31829 (ERANGE): Likewise.
31830 [ISO || POSIX] (EILSEQ): Do not expect.
31831 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31832 Specify type. Require positive value.
31833 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31834 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31835 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31836 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31837 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31838 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31839 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31840 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31841 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31842 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31843 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31844 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31845 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31846 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31847 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31848 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31849 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31850 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31851 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31852 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31853 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31854 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31855 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31856 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31857 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31858 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31859 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31860 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31861 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31862 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31863 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31864 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31865 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31866 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31867 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31868 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31869 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31870 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31871 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31872 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31873 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31874 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31875 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31876 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31877 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31878 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31879 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31880 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31881 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31882 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31883 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31884 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31885 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31886 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31887 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31888 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31889 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31890 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31891 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31892 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31893 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31894 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31895 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31896 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31897 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31898 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31899 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31900 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31901 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31902 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31903 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31904 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31905 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31906 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31907 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31908 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31909 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31911 (FLT_ROUNDS): Expect as macro, not constant.
31912 (FLT_MANT_DIG): Use macro-int-constant.
31913 (DBL_MANT_DIG): Likewise.
31914 (LDBL_MANT_DIG): Likewise.
31915 (FLT_DIG): Likewise.
31916 (DBL_DIG): Likewise.
31917 (LDBL_DIG): Likewise.
31918 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31919 (DBL_MIN_EXP): Likewise.
31920 (LDBL_MIN_EXP): Likewise.
31921 (FLT_MAX_EXP): Use macro-int-constant.
31922 (DBL_MAX_EXP): Likewise.
31923 (LDBL_MAX_EXP): Likewise.
31924 (FLT_MAX_10_EXP): Likewise.
31925 (DBL_MAX_10_EXP): Likewise.
31926 (LDBL_MAX_10_EXP): Likewise.
31927 (FLT_MAX): Use macro-constant.
31928 (DBL_MAX): Likewise.
31929 (LDBL_MAX): Likewise.
31930 (FLT_EPSILON): Use macro-constant. Give upper bound.
31931 (DBL_EPSILON): Likewise.
31932 (LDBL_EPSILON): Likewise.
31933 (FLT_MIN): Likewise.
31934 (DBL_MIN): Likewise.
31935 (LDBL_MIN): Likewise.
31936 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31937 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31938 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31939 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31940 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31941 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31942 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31943 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31944 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31945 [ISO11] (FLT_TRUE_MIN): Likewise.
31946 [ISO11] (LDBL_TRUE_MIN): Likewise.
31947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31948 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31949 (SCHAR_MIN): Use macro-int-constant. Specify type.
31950 (SCHAR_MAX): Likewise.
31951 (UCHAR_MAX): Likewise.
31952 (CHAR_MIN): Likewise.
31953 (CHAR_MAX): Likewise.
31954 (MB_LEN_MAX): Use macro-int-constant.
31955 (SHRT_MIN): Use macro-int-constant. Specify type.
31956 (SHRT_MAX): Likewise.
31957 (USHRT_MAX): Likewise.
31958 (INT_MAX): Likewise.
31959 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31961 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31963 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31965 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31966 bound negative. Suffix upper bound with "L".
31967 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31969 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31971 [C99-based standards] (LLONG_MAX): Likewise.
31972 [C99-based standards] (ULLONG_MAX): Likewise.
31973 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31975 [ISO11] (max_align_t): Require type.
31976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31978 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31979 from $CFLAGS, without defining away __attribute__ calls.
31980 (checknamespace): Use $CFLAGS_namespace.
31982 * conform/conformtest.pl (@keywords): Only include C99 keywords
31983 for standards based on C99 or C11.
31985 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31987 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31990 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31991 usability of symbols in #if.
31993 * conform/conformtest.pl: If macro or constant types start
31994 "promoted:", expect the symbol to be of the following type
31995 promoted by the integer promotions.
31997 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31998 in one place. Also handle "macro-constant".
32000 * conform/conformtest.pl: Only accept expected macro values with
32001 "==". Parse all "macro" lines in one place.
32002 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32004 * conform/conformtest.pl: Handle braced types on "constant" lines
32005 instead of handling "typed-constant".
32006 * conform/data/signal.h-data: Use "constant" instead of
32009 * conform/conformtest.pl: Handle "optional-" at start of lines in
32010 one place rather than duplicating several cases. Handle each
32011 format of "macro" line with initial "optional-".
32013 * conform/conformtest.pl: Only accept expected constant or
32014 optional-constant values with "==". Parse all "constant" lines in
32015 one place. Parse all "optional-constant" lines in one place.
32016 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32017 * conform/data/fmtmsg.h-data: Likewise.
32018 * conform/data/netinet/in.h-data: Likewise.
32019 * conform/data/tar.h-data: Likewise.
32020 * conform/data/limits.h-data: Use "==" form on "constant" and
32021 "optional-constant" lines.
32023 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32024 Use -std=c99 for XOPEN2K.
32025 (@knownproblems): Remove.
32026 (newtoken): Don't check %isknown.
32028 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32029 Do not expect macro.
32030 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32042 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32043 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32060 [XPG3] (acosh): Likewise.
32061 [XPG3] (asinh): Likewise.
32062 [XPG3] (atanh): Likewise.
32063 [XPG3] (cbrt): Likewise.
32064 [XPG3] (expm1): Likewise.
32065 [XPG3] (ilogb): Likewise.
32066 [XPG3] (log1p): Likewise.
32067 [XPG3] (logb): Likewise.
32068 [XPG3] (nextafter): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32071 [XPG3] (remainder): Likewise.
32072 [XPG3] (rint): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32080 [UNIX98 || XOPEN2K] (scalb): Expect.
32081 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32082 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32091 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32092 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32093 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32094 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32095 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32096 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32097 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32098 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32099 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32100 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32101 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32102 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32103 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32104 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32105 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32106 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32107 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32108 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32109 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32110 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32111 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32112 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32113 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32114 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32115 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32116 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32117 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32118 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32119 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32120 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32121 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32122 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32123 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32124 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32125 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32126 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32127 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32128 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32129 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32130 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32131 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32132 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32133 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32134 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32135 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32136 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32137 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32138 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32139 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32140 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32141 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32142 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32143 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32144 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32145 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32146 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32147 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32148 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32149 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32150 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32151 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32152 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32153 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32154 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32155 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32156 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32157 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32158 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32159 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32160 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32161 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32162 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32163 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32164 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32165 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32166 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32167 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32168 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32169 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32170 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32171 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32172 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32173 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32174 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32175 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32176 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32177 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32178 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32179 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32180 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32181 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32182 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32183 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32184 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32185 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32186 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32187 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32188 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32189 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32190 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32191 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32192 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32193 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32194 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32195 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32196 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32197 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32198 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32199 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32200 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32201 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32202 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32203 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32204 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32205 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32206 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32207 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32208 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32209 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32210 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32211 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32212 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32213 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32214 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32215 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32216 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32217 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32219 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32220 _XOPEN_SOURCE_EXTENDED for XPG4.
32222 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32224 * Makeconfig (localtime): Remove variable.
32225 (inst_localtime-file): Likewise.
32227 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32248 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32252 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32253 comparisons to determine direction to adjust input.
32254 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32255 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32256 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32258 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32262 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32265 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32267 * math/libm-test.inc (nexttoward_test): Add more tests.
32269 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32273 in version GLIBC_2.1, not GLIBC_2.0.
32274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32277 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32282 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32283 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32284 * math/libm-test.inc (acos_test): Add more tests.
32285 (asin_test): Likewise.
32286 * sysdeps/i386/fpu/libm-test-ulps: Update.
32287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32290 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32292 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32293 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32294 * math/libm-test.inc (acos_test_tonearest): New function.
32295 (acos_test_towardzero): Likewise.
32296 (acos_test_downward): Likewise.
32297 (acos_test_upward): Likewise.
32298 (asin_test_tonearest): Likewise.
32299 (asin_test_towardzero): Likewise.
32300 (asin_test_downward): Likewise.
32301 (asin_test_upward): Likewise.
32302 (main): Call the new functions.
32303 * sysdeps/i386/fpu/libm-test-ulps: Update.
32304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32308 * math/e_exp10.c: Include <float.h>.
32309 (__ieee754_exp10): Handle underflow here rather than multiplying
32310 large negative argument by M_LN10.
32311 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32313 * math/e_exp10l.c: Include <float.h>.
32314 (__ieee754_exp10l): Handle underflow here rather than multiplying
32315 large negative argument by M_LN10l.
32316 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32317 spurious overflow exception on underflow.
32319 2012-04-29 Marek Polacek <polacek@redhat.com>
32321 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32322 (__fortify_function): New macro.
32323 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32324 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32325 __extern_always_inline.
32326 * libio/bits/stdio2.h: Likewise.
32327 * libio/bits/stdio.h: Likewise.
32328 * string/string.h: Likewise.
32329 * string/bits/string3.h: Likewise.
32330 * include/stdio.h: Likewise.
32331 * stdlib/bits/stdlib.h: Likewise.
32332 * stdlib/stdlib.h: Likewise.
32333 * rt/bits/mqueue2.h: Likewise.
32334 * rt/mqueue.h: Likewise.
32335 * posix/bits/unistd.h: Likewise.
32336 * posix/unistd.h: Likewise.
32337 * io/bits/poll2.h: Likewise.
32338 * io/bits/fcntl2.h: Likewise.
32339 * io/fcntl.h: Likewise.
32340 * io/sys/poll.h: Likewise.
32341 * misc/bits/syslog.h: Likewise.
32342 * misc/bits/syslog-ldbl.h: Likewise.
32343 * misc/sys/syslog.h: Likewise.
32344 * socket/bits/socket2.h: Likewise.
32345 * socket/sys/socket.h: Likewise.
32346 * debug/tst-chk1.c: Likewise.
32347 * wcsmbs/bits/wchar2.h: Likewise.
32348 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32349 * wcsmbs/wchar.h: Likewise.
32351 2012-04-29 Andreas Jaeger <aj@suse.de>
32353 * Makerules (tests): Remove enable-check-abi protection.
32354 (check-abi-warn): Remove.
32355 (check-abi-%): Remove check-abi-warn usage.
32357 * configure.in: Remove check-abi configure option.
32358 * configure: Regenerated.
32359 * config.make.in (enable-check-abi): Remove.
32361 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32364 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32365 double functions to double *_finite functions.
32368 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32369 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32371 * stdio-common/Makefile (tests): Add tst-sprintf3.
32372 * stdio-common/tst-sprintf3.c: New file.
32374 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32375 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32377 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32379 * conform/conformtest.pl: Remove duplicate typed-constant
32382 2012-04-28 David S. Miller <davem@davemloft.net>
32384 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32385 (check-abi-%): Remove AWK script prerequisite and explicit
32387 (check-abi): Rewrite to just diff the symlist with the abilist.
32388 (config-tls, config-abi-config): Delete, no longer used.
32389 (update-abi-%): Remove AWK script and explicit abilist directory.
32390 (update-abi): Rewrite to simply compare and conditionally copy the
32391 symlist and the sysdep abilist file. Remove update-abi-config
32393 * abilist/ld.abilist: Remove.
32394 * abilist/libBrokenLocale.abilist: Remove.
32395 * abilist/libanl.abilist: Remove.
32396 * abilist/libcrypt.abilist: Remove.
32397 * abilist/libdl.abilist: Remove.
32398 * abilist/librt.abilist: Remove.
32399 * abilist/libthread_db.abilist: Remove.
32400 * abilist/libutil.abilist: Remove.
32401 * scripts/extract-abilist.awk: Remove.
32402 * scripts/merge-abilist.awk: Remove.
32403 * sysdeps/generic/libcidn.abilist: New file.
32404 * sysdeps/generic/libnss_compat.abilist: New file.
32405 * sysdeps/generic/libnss_db.abilist: New file.
32406 * sysdeps/generic/libnss_dns.abilist: New file.
32407 * sysdeps/generic/libnss_files.abilist: New file.
32408 * sysdeps/generic/libnss_hesiod.abilist: New file.
32409 * sysdeps/generic/libnss_nis.abilist: New file.
32410 * sysdeps/generic/libnss_nisplus.abilist: New file.
32411 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32412 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32413 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32416 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32417 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32418 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32419 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32420 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32421 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32422 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32423 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32425 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32426 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32427 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32428 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32430 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32431 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32432 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32433 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32434 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32435 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32437 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32438 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32439 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32441 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32544 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32545 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32546 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32549 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32550 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32551 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32552 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32553 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32554 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32555 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32556 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32557 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32609 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32611 * conform/conformtest.pl: Fix typo in handling typed-constant from
32614 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32616 * README: Cut down references to pre-2.6 Linux kernels and
32617 Linuxthreads. Update lists of configurations in libc and ports
32618 and sort alphabetically. Say "or newer" with Linux kernel version
32621 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32623 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32626 * math/libm-test.inc (logb_test_downward): New test to expose
32627 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32630 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32633 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32635 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32636 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32638 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32640 * sysdeps/unix/i386/brk.S: Remove file.
32641 * sysdeps/unix/i386/dl-brk.S: Likewise.
32642 * sysdeps/unix/i386/pipe.S: Likewise.
32643 * sysdeps/unix/i386/sigreturn.S: Likewise.
32644 * sysdeps/unix/i386/syscall.S: Likewise.
32645 * sysdeps/unix/i386/vfork.S: Likewise.
32646 * sysdeps/unix/i386/wait.S: Likewise.
32648 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32649 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32651 * configure.in (arm*-none*): Do not allow without
32652 --enable-hacker-mode.
32653 (netbsd*): Remove case setting base_os.
32654 (386bsd*): Likewise.
32655 (freebsd*): Likewise.
32658 (sunos*): Likewise.
32659 (ultrix*): Likewise.
32660 (newsos*): Likewise.
32661 (dynix*): Likewise.
32667 (minix*): Likewise.
32668 (irix4*): Likewise.
32669 (irix6*): Likewise.
32670 (solaris[2-9]*): Likewise.
32672 * configure: Regenerated.
32674 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32677 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32678 overflow or cancellation in calculating denominator.
32679 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32680 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32681 down expression to avoid unexpected rounding in newer GCCs.
32682 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32684 2012-04-26 David S. Miller <davem@davemloft.net>
32686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32687 long-double compat symbols.
32688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32702 2012-04-25 David S. Miller <davem@davemloft.net>
32704 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32705 HWCAP_* values only after the memory barriers have been defined.
32706 (atomic_full_barrier): Define.
32707 (atomic_read_barrier): Define.
32708 (atomic_write_barrier): Define.
32710 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32712 * shlib-versions: Add libgcc_s version information.
32713 * sysdeps/generic/libgcc_s.h: Remove.
32714 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32716 * sysdeps/gnu/unwind-resume.c: Likewise.
32717 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32719 2012-04-25 David S. Miller <davem@davemloft.net>
32721 * sysdeps/unix/sparc/brk.S: Delete.
32722 * sysdeps/unix/sparc/dl-brk.S: Delete.
32723 * sysdeps/unix/sparc/pipe.S: Delete.
32724 * sysdeps/unix/sparc/sysdep.S: Delete.
32725 * sysdeps/unix/sparc/sysdep.h: Delete.
32726 * sysdeps/unix/sparc/vfork.S: Delete.
32727 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32728 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32729 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32730 (ret_ERRVAL, r0, r1, MOVE): Define.
32731 (JUMPTARGET): Remove.
32732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32733 sysdeps/unix/sparc/sysdep.h
32734 (ENTRY, END): Remove.
32735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32737 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32739 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32740 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32743 * timezone/README: Update upstream location and email address for
32745 * timezone/zdump.c: Update from tzcode 2012b.
32746 * timezone/zic.c: Likewise.
32748 * configure.in (libc_cv_as_needed): Remove test.
32749 * configure: Regenerated.
32750 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32751 conditional definition.
32752 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32753 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32754 * config.make.in (have-as-needed): Remove variable.
32756 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32757 Paul Pluzhnikov <ppluzhnikov@google.com>
32759 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32762 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32764 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32765 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32766 * sysdeps/sh/strlen.S: Likewise.
32768 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32770 * sysdeps/unix/fork.S: Remove file.
32771 * sysdeps/unix/i386/fork.S: Likewise.
32772 * sysdeps/unix/sparc/fork.S: Likewise.
32774 * sysdeps/unix/system.c: Remove file.
32775 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32777 * sysdeps/unix/getegid.S: Remove file.
32778 * sysdeps/unix/geteuid.S: Likewise.
32780 2012-04-24 Roland McGrath <roland@hack.frob.com>
32782 * scripts/check-localplt.awk: New file.
32783 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32785 * scripts/data/localplt-generic.data: Add a comment.
32787 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32788 NODE when __dir_mkfile failed.
32789 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32790 Reported by Ludovic Courtès <ludo@gnu.org>.
32792 2012-04-24 Andreas Jaeger <aj@suse.de>
32794 * Makerules (common-clean): Also remove gen-as-const-headers
32797 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32799 * Makerules (native-compile): Do not change working directory for
32800 build. Use $(OUTPUT_OPTION) in command.
32801 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32803 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32806 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32807 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32808 * math/libm-test.inc (floor_test): Add more tests.
32809 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32811 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32813 * sysdeps/unix/getdents.c: Remove file.
32814 * sysdeps/unix/sysv/getdents.c: Likewise.
32815 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32817 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32818 sysdeps/unix/mman/syscalls.list.
32820 (mprotect): Likewise.
32822 (munmap): Likewise.
32823 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32824 * sysdeps/unix/mman/syscalls.list: Remove.
32825 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32827 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32828 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32829 * configure: Regenerated.
32830 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32831 $(libgcc_s_suffix).
32832 * config.make.in (libgcc_s_suffix): Remove variable.
32834 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32836 * sysdeps/unix/sysv/gethostname.c: Move to ...
32837 * sysdeps/posix/gethostname.c: ... here.
32839 * sysdeps/unix/execve.S: Remove file.
32841 * sysdeps/unix/_exit.S: Remove file.
32843 2012-04-23 Andreas Jaeger <aj@suse.de>
32846 * manual/Makefile: Remove make dist support, there's no
32847 need for a stand-alone documentation tar ball.
32848 (TEXI2DVI): Define always, it's not in Makeconfig.
32851 (edition): Removed.
32852 (glibc-doc-$(edition).tar): Removed
32856 (ETAGS): Remove, it's in Makeconfig.
32857 (move-if-change): Remove, it's in Makeconfig.
32859 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32862 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32863 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32864 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32865 (strtod_l, strtof_l, strtold_l): Remove __wur.
32866 It is not necessarily an error to ignore strtol's return value.
32867 One can reliably look at the stored endptr to decide whether
32868 the number had valid syntax.
32870 2012-04-21 Andreas Jaeger <aj@suse.de>
32873 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32875 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32877 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32878 * sysdeps/unix/sysv/Versions: Remove file.
32880 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32885 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32889 version from __vm86.
32891 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32893 * sysdeps/unix/common/lxstat.c: Remove file.
32894 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32896 * sysdeps/unix/sysv/Makefile: Remove file.
32898 * sysdeps/unix/sysv/direct.h: Remove file.
32900 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32901 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32902 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32903 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32904 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32905 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32906 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32908 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32910 * sysdeps/unix/xmknod.c: Remove file.
32911 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32913 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32915 * sysdeps/unix/sysv/i386/time.S: Remove file.
32917 * sysdeps/unix/fxstat.c: Remove file.
32918 * sysdeps/unix/xstat.c: Likewise.
32919 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32921 * sysdeps/unix/sysv/sigaction.c: Remove file.
32923 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32924 (sysdep_headers): Remove variable.
32925 [termio.h not in sysdep_headers] (generated): Likewise.
32926 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32927 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32928 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32929 * sysdeps/unix/sysv/tcflow.c: Likewise.
32930 * sysdeps/unix/sysv/tcflush.c: Likewise.
32931 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32932 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32933 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32934 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32935 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32937 * sysdeps/unix/siglist.c: Remove file.
32939 * sysdeps/unix/getppid.S: Remove file.
32941 * sysdeps/unix/mkdir.c: Remove file.
32942 * sysdeps/unix/rmdir.c: Likewise.
32944 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32946 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32948 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32949 errlist-compat value.
32951 2012-04-18 David S. Miller <davem@davemloft.net>
32953 * sysdeps/generic/memcopy.h (reg_char): Delete.
32954 * debug/strcat_chk.c: Use char, not reg_char.
32955 * debug/strcpy_chk.c: Likewise.
32956 * debug/strncat_chk.c: Likewise.
32957 * debug/strncpy_chk.c: Likewise.
32958 * string/memchr.c: Likewise.
32959 * string/memrchr.c: Likewise.
32960 * string/rawmemchr.c: Likewise.
32961 * string/strcat.c: Likewise.
32962 * string/strchr.c: Likewise.
32963 * string/strchrnul.c: Likewise.
32964 * string/strcmp.c: Likewise.
32965 * string/strcpy.c: Likewise.
32966 * string/strncat.c: Likewise.
32967 * string/strncmp.c: Likewise.
32968 * string/strncpy.c: Likewise.
32970 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32972 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32973 __builtin_memcopy is called when src and dest ranges are known to not
32976 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32979 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32980 fwd_align_merge macro call.
32981 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32982 bwd_align_merge macro call.
32983 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32985 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32987 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32988 bwd_align_merge macros.
32989 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32990 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32991 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32993 2012-04-18 David S. Miller <davem@davemloft.net>
32995 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32997 2012-04-18 Andreas Jaeger <aj@suse.de>
33000 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33001 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33002 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33004 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33005 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33008 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33009 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33010 Adjust for changed ldbl-128 files.
33012 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33013 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33014 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33016 2012-04-17 David S. Miller <davem@davemloft.net>
33018 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33020 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33022 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33023 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33024 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33025 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33026 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33027 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33029 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33032 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33033 * math/libm-test.inc: Add ilogb errno and exception tests.
33034 * math/w_ilogb.c: New file: ilogb wrapper.
33035 * math/w_ilogbf.c: New file: ilogbf wrapper.
33036 * math/w_ilogbl.c: New file: ilogbl wrapper.
33037 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33038 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33039 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33040 exception being thrown with 0.0 as argument.
33041 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33042 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33043 exception being thrown with 0.0 as argument.
33044 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33045 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33046 exception being thrown with 0.0 as argument.
33047 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33048 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33049 exception being thrown with 0.0 as argument.
33050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33051 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33052 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33053 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33055 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33056 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33057 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33058 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33060 2012-04-17 Petr Baudis <pasky@ucw.cz>
33062 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33065 2012-04-16 Marek Polacek <polacek@redhat.com>
33067 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33069 2012-04-16 Marek Polacek <polacek@redhat.com>
33071 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33072 operands of fdivp instruction.
33074 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33076 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33077 * elf/tst-auditmod3b.c: Likewise.
33078 * elf/tst-auditmod4b.c: Likewise.
33079 * elf/tst-auditmod5b.c: Likewise.
33080 * elf/tst-auditmod6b.c: Likewise.
33081 * elf/tst-auditmod6c.c: Likewise.
33082 * elf/tst-auditmod7b.c: Likewise.
33083 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33084 * sysdeps/x86_64/preconfigure.in: Likewise.
33085 * sysdeps/x86_64/preconfigure: Regenerated.
33087 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33089 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33092 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33095 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33097 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33100 * locale/iso-639.def: Fix gl language name. Spotted by
33103 2012-04-12 Roland McGrath <roland@hack.frob.com>
33106 * libio/libio.h (__io_write_fn): Update comment.
33108 2012-04-12 Petr Baudis <pasky@ucw.cz>
33111 * stdio.texi (Hook Functions): The user provided writer function
33112 is not allowed to return -1.
33114 2012-04-11 David S. Miller <davem@davemloft.net>
33116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33118 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33120 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33121 Add a leading slash to rtkaio.
33123 2012-04-11 Jim Meyering <meyering@redhat.com>
33126 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33127 It is not necessarily an error to ignore fwrite's return
33128 value. One can reliably use ferror to test for errors after
33131 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33133 * bits/types.h (__snseconds_t): New type.
33134 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33136 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33138 (__SNSECONDS_T_TYPE): Likewise.
33139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33140 (__SNSECONDS_T_TYPE): Likewise.
33141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33142 (__SNSECONDS_T_TYPE): Likewise.
33144 2012-04-10 Andreas Jaeger <aj@suse.de>
33147 * manual/time.texi (Processor Time): Return type of times is
33148 elapsed real time since an arbitrary point in the past.
33149 (CPU Time): Move CLK_TCK from here...
33150 (Processor Time): ...to here. Correct description.
33151 * manual/conf.texi (Constants for Sysconf): Correct description of
33154 2012-04-10 David S. Miller <davem@davemloft.net>
33157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33158 where the is a gap between DT_REL(A) and DT_JMPREL.
33160 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33162 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33163 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33164 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33166 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33168 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33169 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33170 (dl_main): Handle --inhibit-cache.
33171 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33173 * elf/dl-load.c (_dl_map_object): Use it.
33174 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33176 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33179 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33180 (__ieee754_powl): Saturate large exponents rather than testing for
33181 overflow of y*log2(x).
33182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33183 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33187 * math/s_ctan.c: Include <float.h>.
33188 (__ctan): Avoid internal overflow or cancellation in calculating
33190 * math/s_ctanf.c: Likewise.
33191 * math/s_ctanl.c: Likewise.
33192 * math/s_ctanh.c: Likewise.
33193 * math/s_ctanhf.c: Likewise.
33194 * math/s_ctanhl.c: Likewise.
33195 * math/libm-test.inc (ctan_test): Add more tests.
33196 (ctanh_test): Likewise.
33197 * sysdeps/i386/fpu/libm-test-ulps: Update.
33198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33200 2012-04-09 Andreas Jaeger <aj@suse.de>
33203 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33204 is an optional BSD extension.
33207 * manual/stdio.texi (Opening Streams): Document additional fopen
33210 2012-04-09 Roland McGrath <roland@hack.frob.com>
33212 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33213 %eax without telling the compiler.
33215 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33218 * manual/install.texi: Use sourceware.org.
33220 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33223 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33224 (__ieee754_pow): Generate overflow and underflow using huge*huge
33225 and tiny*tiny rather than just returning constant infinity or zero
33226 for large exponents.
33227 * math/libm-test.inc (pow_test): Require overflow exceptions for
33228 applicable cases of large exponents.
33231 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33232 (__ieee754_pow): Use iterative multiplication algorithm only for
33233 integer exponents with absolute value below 1024. Check for odd
33234 integer exponents when using algorithm for real exponents.
33235 * math/libm-test.inc (pow_test): Add more tests.
33236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33238 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33241 * math/libm-test.inc (exp_test): Do not allow overflow exception
33244 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33247 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33248 instead of __kernel_standard_f.
33250 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33252 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33253 * sysdeps/x86_64/memset_chk.S: Likewise.
33255 2012-04-08 Andreas Jaeger <aj@suse.de>
33258 * manual/startup.texi (Environment Access): Describe return value
33259 for putenv and setenv.
33262 * manual/filesys.texi (Directory Entries): Add description for
33266 * manual/filesys.texi (Directory Entries): Clarify that it's file
33267 system not operating system in the description of DT_UNKNOWN.
33270 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33272 2012-04-08 Stephen Compall <s11@member.fsf.org>
33275 * manual/llio.texi (Opening and Closing Files): Add cross
33276 reference to explain mode argument.
33278 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33280 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33281 * sysdeps/x86_64/memset_chk.S: Likewise.
33283 2012-04-07 David S. Miller <davem@davemloft.net>
33285 * elf/elf.h (R_SPARC_WDISP10): Define.
33286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33289 R_SPARC_SIZE64 and R_SPARC_H34.
33291 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33294 conditions and remove no longer applicable assertion.
33296 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33298 * bits/byteswap.h: Include <features.h>.
33299 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33300 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33302 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33304 * bits/byteswap.h (__bswap_16): Removed.
33305 Include <bits/byteswap-16.h> to get __bswap_16.
33306 * sysdeps/i386/bits/byteswap.h: Likewise.
33307 * sysdeps/s390/bits/byteswap.h: Likewise.
33308 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33309 * bits/byteswap-16.h: New file.
33310 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33311 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33312 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33313 * string/Makefile (headers): Add bits/byteswap-16.h.
33315 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33318 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33320 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33321 * nss/tst-nss-static.c: New.
33323 2012-04-06 Robert Millan <rmh@gnu.org>
33326 * manual/llio.texi (File Position Primitive): lseek
33327 refers to WHENCE when it really means OFFSET.
33329 2012-04-06 Andreas Jaeger <aj@suse.de>
33331 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33332 strncmp declarations.
33334 * abilist/libc.abilist: Add __poll and __ppoll.
33336 2012-04-05 David S. Miller <davem@davemloft.net>
33338 * scripts/check-local-headers.sh: Accept a host triplet in the
33339 path matched by the exclude regexp.
33341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33343 * sysdeps/powerpc/powerpc32/dl-machine.h
33344 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33345 * sysdeps/s390/s390-32/dl-machine.h
33346 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33347 * sysdeps/sparc/sparc32/dl-machine.h
33348 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33349 * sysdeps/sparc/sparc64/dl-machine.h
33350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33352 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33354 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33355 undefined symbol errors.
33357 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33360 2012-04-05 Michael Matz <matz@suse.de>
33363 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33365 2012-04-05 Andreas Jaeger <aj@suse.de>
33368 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33371 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33374 which ROUND is no valid rounding mode.
33376 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33378 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33380 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33382 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33384 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33385 an exception using FPU order intentionally.
33387 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33389 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33390 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33391 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33392 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33394 2012-04-05 Simon Josefsson <simon@josefsson.org>
33397 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33398 EINVAL when BUFLEN is too smal.
33400 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33403 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33404 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33406 2012-04-03 Andreas Jaeger <aj@suse.de>
33409 * manual/setjmp.texi (System V contexts): Fix sentence.
33412 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33413 New macro for this case.
33414 [!__GNUC__] (__bswap_64): New inline function for this case.
33415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33416 * bits/byteswap.h: Likewise.
33417 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33418 ull, guard with __GLIBC_HAVE_LONG_LONG.
33420 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33421 __GLIBC_HAVE_LONG_LONG.
33423 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33424 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33426 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33429 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33430 inptr and inend, rather than using last_ch.
33432 2012-04-02 David S. Miller <davem@davemloft.net>
33434 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33435 * stdio-common/printf-parse.h (read_int): Change return type to
33436 'int', return -1 on INT_MAX overflow.
33437 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33438 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33439 overflows INT_MAX. Check for overflow of in-format-string precision
33440 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33441 SIZE_MAX not INT_MAX for integer overflow test.
33442 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33443 skip the construct in the format string but do not record anything.
33444 * stdio-common/bug22.c: Adjust to test both width/prevision
33445 INT_MAX overflow as well as total length INT_MAX overflow. Check
33446 explicitly for proper errno values.
33448 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33450 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33452 * string/test-strcmp.c [! WIDE]: Likewise.
33453 * time/tst-mktime2.c: Likewise for INT_MAX.
33454 * string/test-string.h: #include <sys/param.h> for MIN.
33456 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33457 * sysdeps/i386/init-first.c (init): Likewise.
33458 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33459 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33460 * sysdeps/sh/init-first.c (init): Likewise.
33462 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33464 * po/ru.po: Update from translation team.
33465 * po/vi.po: Likewise.
33467 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33469 * resolv/nss_dns/dns-host.c: Merge copyright years.
33471 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33474 Optimize memcpy with prefetch if
33475 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33476 src, dst pointers have unequal 16 byte alignments.
33478 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33481 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33482 from a CNAME entry and return the minimum ttl for the query.
33483 (gaih_getanswer_slice): Likewise.
33485 2012-03-30 Jeff Law <law@redhat.com>
33487 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33489 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33490 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33492 * resolv/nss_dns/dns-host.c: Update copyright year.
33494 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33496 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33497 requests to save a system call. Fix check that all bytes are sent.
33499 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33500 comments for sendmmsg.
33502 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33505 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33506 with only 1 character between 0x0041 and 0x01b0.
33507 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33508 * wcsmbs/tst-mbsnrtowcs.c: New file.
33510 2012-03-29 David S. Miller <davem@davemloft.net>
33512 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33513 small copies by hand.
33515 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33518 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33519 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33522 2012-03-28 David S. Miller <davem@davemloft.net>
33524 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33525 that branches into memcpy.
33526 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33529 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33532 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33533 implementation too.
33534 * sysdeps/sparc/mempcpy.S: New file.
33536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33537 the IFUNC routine in the libc case.
33538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33540 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33541 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33542 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33543 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33544 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33545 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33546 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33547 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33549 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33550 loop to 256 bytes instead of 64 bytes and fix test signedness.
33552 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33553 * sysdeps/sparc/sparc32/Makefile: rather than here...
33554 * sysdeps/sparc/sparc64/Makefile: and here.
33556 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33558 * malloc/mallocbug.c: Avoid warnings about unused variables.
33560 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33563 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33564 in the right place. Discard and retry query if response is
33565 larger than input buffer size.
33567 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33572 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33573 x for large integer exponent.
33574 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33575 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33576 sign of result as needed afterwards.
33577 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33578 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33579 result for underflowing pow the same as for overflow.
33580 (__kernel_standard_l): Handle powl overflow and underflow here
33581 rather than calling __kernel_standard.
33582 * math/libm-test.inc (pow_test): Add more tests.
33597 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33598 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33599 (__kernel_standard_l): New function.
33600 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33602 * math/w_acosl.c (__acosl): Likewise.
33603 * math/w_asinl.c (__asinl): Likewise.
33604 * math/w_atan2l.c (__atan2l): Likewise.
33605 * math/w_atanhl.c (__atanhl): Likewise.
33606 * math/w_coshl.c (__coshl): Likewise.
33607 * math/w_exp10l.c (__exp10l): Likewise.
33608 * math/w_exp2l.c (__exp2l): Likewise.
33609 * math/w_fmodl.c (__fmodl): Likewise.
33610 * math/w_hypotl.c (__hypotl): Likewise.
33611 * math/w_j0l.c (__j0l, __y0l): Likewise.
33612 * math/w_j1l.c (__j1l, __y1l): Likewise.
33613 * math/w_jnl.c (__jnl, __ynl): Likewise.
33614 * math/w_lgammal.c (__lgammal): Likewise.
33615 * math/w_log10l.c (__log10l): Likewise.
33616 * math/w_log2l.c (__log2l): Likewise.
33617 * math/w_logl.c (__logl): Likewise.
33618 * math/w_powl.c (__powl): Likewise.
33619 * math/w_remainderl.c (__remainderl): Likewise.
33620 * math/w_scalbl.c (sysv_scalbl): Likewise.
33621 * math/w_sinhl.c (__sinhl): Likewise.
33622 * math/w_sqrtl.c (__sqrtl): Likewise.
33623 * math/w_tgammal.c (__tgammal): Likewise.
33624 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33625 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33626 * math/libm-test.inc (acos_test): Add more tests.
33627 (acosh_test): Likewise.
33628 (asin_test): Likewise.
33629 (atanh_test): Likewise.
33630 (exp_test): Likewise.
33631 (exp10_test): Likewise.
33632 (exp2_test): Likewise.
33633 (expm1_test): Likewise.
33634 (lgamma_test): Likewise.
33635 (log_test): Likewise.
33636 (log10_test): Likewise.
33637 (log1p_test): Likewise.
33638 (log2_test): Likewise.
33639 (pow_test): Do not allow some spurious overflow exceptions.
33640 (sqrt_test): Add more tests.
33641 (tgamma_test): Likewise.
33642 (y0_test): Likewise.
33643 (y1_test): Likewise.
33644 (yn_test): Likewise.
33646 2012-03-27 Anton Blanchard <anton@samba.org>
33648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33650 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33651 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33654 2012-03-27 David S. Miller <davem@davemloft.net>
33656 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33658 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33659 have-as-vis3 check.
33661 2012-03-27 Andreas Jaeger <aj@suse.de>
33663 * sysdeps/x86_64/elf/configure.in: Moved to ...
33664 * sysdeps/x86_64/configure.in: ... here.
33665 * sysdeps/x86_64/elf/start.S: Moved to ...
33666 * sysdeps/x86_64/start.S: ... here.
33667 * sysdeps/x86_64/elf/configure: Delete.
33669 * sysdeps/x86_64/configure.in: Merge contents from
33670 sysdeps/i386/configure.in (without i686 check).
33672 * sysdeps/i386/elf/Versions: Merge into ...
33673 * sysdeps/i386/Versions: ... this.
33674 * sysdeps/i386/elf/Versions: Delete file.
33675 * sysdeps/i386/elf/start.S: Moved to ...
33676 * sysdeps/i386/start.S: ...here.
33677 * sysdeps/i386/elf/configure.in: Merge into...
33678 * sysdeps/i386/configure.in: ...here.
33679 * sysdeps/i386/elf/configure.in: Delete file.
33680 * sysdeps/i386/elf/configure: Delete file.
33682 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33683 * debug/backtracesyms.c: ... here.
33684 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33685 * debug/backtracesymsfd.c: ... here.
33686 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33687 * sysdeps/generic/ifunc-sel.h: ... here.
33689 * sysdeps/unix/i386/start.c: Delete file.
33690 * sysdeps/unix/sparc/start.c: Delete file.
33691 * sysdeps/unix/start.c: Delete file.
33693 * sysdeps/sh/elf/configure.in: Moved to ...
33694 * sysdeps/sh/configure.in: ... here.
33695 * sysdeps/sh/elf/start.S: Moved to ...
33696 * sysdeps/sh/start.S: ... here.
33697 * sysdeps/sh/elf/configure: Delete file.
33699 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33700 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33701 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33702 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33703 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33704 * sysdeps/powerpc/powerpc64/start.S: here.
33705 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33706 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33707 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33708 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33709 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33711 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33712 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33713 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33714 * sysdeps/powerpc/powerpc32/start.S: ... here.
33715 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33716 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33717 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33719 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33720 * sysdeps/powerpc/ifunc-sel.h: ... here.
33721 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33722 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33724 * sysdeps/sparc/elf/configure.in: Moved to ...
33725 * sysdeps/sparc/configure.in: ... here.
33726 * sysdeps/sparc/elf/configure: Delete file.
33727 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33728 * sysdeps/sparc/sparc32/start.S: ... here.
33729 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33730 * sysdeps/sparc/sparc64/start.S: ... here.
33731 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33732 * sysdeps/sparc/sparc32/Makefile: ... this.
33733 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33734 * sysdeps/sparc/sparc64/Makefile: ... this.
33736 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33737 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33738 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33739 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33740 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33741 * sysdeps/s390/s390-32/setjmp.S: ... here.
33742 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33743 * sysdeps/s390/s390-32/configure.in: ... here.
33744 * sysdeps/s390/s390-32/elf/configure: Delete file.
33745 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33746 * sysdeps/s390/s390-32/start.S: ... here.
33748 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33749 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33750 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33751 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33752 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33753 * sysdeps/s390/s390-64/setjmp.S: ... here.
33754 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33755 * sysdeps/s390/s390-64/configure.in: ... here
33756 * sysdeps/s390/s390-64/elf/configure: Delete file.
33757 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33758 * sysdeps/s390/s390-64/start.S: ... here.
33759 * sysdeps/s390/s390-64/elf/configure: Delete.
33761 * configure.in: Remove support for elf directories in sysdeps.
33763 * configure: Regenerated.
33764 * sysdeps/i386/configure: Regenerated.
33765 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33766 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33767 * sysdeps/s390/s390-32/configure: Regenerated.
33768 * sysdeps/s390/s390-64/configure: Regenerated.
33769 * sysdeps/sh/configure: Regenerated.
33770 * sysdeps/sparc/configure: Regenerated.
33771 * sysdeps/x86_64/configure: Regenerated.
33773 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33778 denormal result into account.
33780 2012-03-25 Roland McGrath <roland@hack.frob.com>
33782 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33783 Reported by Allan McRae <allan@archlinux.org>.
33785 2012-03-23 Jeff Law <law@redhat.com>
33787 * nss/getnssent.c (__nss_getent): Fix typo.
33789 2012-03-23 David S. Miller <davem@davemloft.net>
33791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33793 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33795 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33796 to pad to uint64_t for each field.
33797 (dl_tls_index): Replace unsigned long with uint64_t.
33799 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33800 Paul Pluzhnikov <ppluzhnikov@google.com>
33803 * grp/Makefile (otherlibs): Don't set it.
33804 * inet/Makefile (otherlibs): Likewise.
33805 * login/Makefile (otherlibs): Likewise.
33806 * nscd/Makefile (otherlibs): Likewise.
33807 * posix/Makefile (otherlibs): Likewise.
33808 * pwd/Makefile (otherlibs): Likewise.
33809 * rt/Makefile (otherlibs): Likewise.
33810 * sunrpc/Makefile (otherlibs): Likewise.
33811 * nss/Makefile (otherlibs): Likewise.
33812 Add libnss_files to routines and static-only-routines.
33813 ($(objpfx)getent): Remove rule.
33814 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33815 static-only-routines.
33817 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33820 * math/s_cexp.c: Include <float.h>.
33821 (__cexp): Handle exp result overflowing not necessarily
33822 overflowing both real and imaginary parts of result.
33823 * math/s_cexpf.c: Likewise.
33824 * math/s_cexpl.c: Likewise.
33825 * math/libm-test.inc (cexp_test): Add more tests.
33826 * sysdeps/i386/fpu/libm-test-ulps: Update.
33827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33829 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33831 * include/link.h (ELFW): New macro.
33832 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33833 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33835 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33837 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33840 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33842 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33844 (struct La_x32_retval): Likewise.
33846 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33848 * sysdeps/x86_64/preconfigure.in: New file.
33849 * sysdeps/x86_64/preconfigure: New generated file.
33851 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33854 * math/e_exp2l.c: Include <float.h>.
33855 (__ieee754_exp2l): Handle overflow and underflow cases
33856 separately. Only pass fractional part of argument to
33858 * math/libm-test.inc (exp2_test): Add more tests.
33860 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33861 negating x to take absolute value.
33862 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33864 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33867 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33868 computing low part if x was negated.
33869 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33871 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33873 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33874 la_x32_gnu_pltexit.
33875 (pltexit): Cast int_retval to ptrdiff_t.
33876 * elf/tst-auditmod3b.c: Likewise.
33877 * elf/tst-auditmod4b.c: Likewise.
33878 * elf/tst-auditmod5b.c: Likewise.
33879 * elf/tst-auditmod6b.c: Likewise.
33880 * elf/tst-auditmod6c.c: Likewise.
33881 * elf/tst-auditmod7b.c: Likewise.
33883 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33884 and x32_gnu_pltexit.
33886 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33887 __ELF_NATIVE_CLASS.
33888 (La_x32_regs): New macro.
33889 (La_x32_retval): Likewise.
33890 (la_x32_gnu_pltenter): New function prototype.
33891 (la_x32_gnu_pltexit): Likewise.
33893 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33900 * configure.in (libc_cv_cc_nofma): Check for option to disable
33901 generation of FMA instructions.
33902 * configure: Regenerate.
33903 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33904 * sysdeps/ieee754/dbl-64/Makefile: New file.
33905 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33906 Remove brandred-fma4.
33907 (CFLAGS-brandred-fma4.c): Remove.
33908 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33911 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33914 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33916 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33917 LLONG_MAX != LONG_MAX.
33918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33919 (_fitoa_word): Likewise.
33920 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33921 LLONG_MAX != LONG_MAX.
33922 * stdio-common/_itowa.h: Include <_itoa.h>.
33923 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33924 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33925 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33926 only if not defined.
33927 (_ITOA_WORD_TYPE): Likewise.
33928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33929 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33931 2012-03-21 David S. Miller <davem@davemloft.net>
33933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33935 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33937 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33938 of x86_64 when setting libc_cv_slibdir, libdir and
33940 * sysdeps/unix/sysv/linux/configure: Regenerated.
33942 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33944 * manual/lang.texi (Old Varargs): Remove section.
33945 (How Variadic): Update menu.
33946 (va_start): Do not mention varargs.h.
33948 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33949 Joseph Myers <joseph@codesourcery.com>
33951 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33953 * configure: Regenerated.
33955 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33957 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33958 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33961 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33964 * Makefile (files-for-dist): Remove NOTES.
33965 (NOTES): Remove rule.
33966 * README: Don't refer to NOTES.
33967 * manual/creature.texi: Don't include macros.texi.
33968 * manual/intro.texi (creature.texi): Remove comment referring to
33971 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33972 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33973 * configure: Regenerated.
33974 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33975 LIBC_TRY_CC_OPTION.
33976 (libc_cv_as_i686): Likewise.
33977 (libc_cv_cc_avx): Likewise.
33978 (libc_cv_cc_sse2avx): Likewise.
33979 (libc_cv_cc_fma4): Likewise.
33980 (libc_cv_cc_novzeroupper): Likewise.
33981 * sysdeps/i386/configure: Regenerated.
33984 * sysdeps/i386/fpu/s_cexp.S: Remove.
33985 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33986 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33987 * math/libm-test.inc (cexp_test): Add more tests.
33988 * sysdeps/i386/fpu/libm-test-ulps: Update.
33989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33991 2012-03-21 Allan McRae <allan@archlinux.org>
33993 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33995 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33998 * math/w_exp2.c: Do not include <float.h>.
33999 (o_threshold, u_threshold): Remove.
34000 (__exp2): Calculate result before checking finiteness and calling
34002 * math/w_exp2f.c: Likewise.
34003 * math/w_exp2l.c: Likewise.
34004 * math/libm-test.inc (exp2_test): Require overflow exception for
34008 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34009 range of signed 64-bit integers before using fistpll. Remove
34010 checks for whether integers fit in mantissa bits.
34011 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34012 the range of signed 32-bit integers before using fistpl. Remove
34013 checks for whether integers fit in mantissa bits.
34014 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34015 (__ieee754_powl): Test for y outside the range of signed 64-bit
34016 integers before using fistpll. Reduce 64-bit values to 63-bit
34018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34019 divide-by-zero is raised for zero to large negative powers.
34020 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34021 (__ieee754_powl): Test for y outside the range of signed 64-bit
34022 integers before using fistpll. Reduce 64-bit values to 63-bit
34024 * math/libm-test.inc (pow_test): Add more tests.
34026 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34028 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34029 <stdio-common/_itoa.h>.
34030 * debug/segfault.c: Likewise.
34031 * elf/dl-cache.c: Likewise.
34032 * elf/dl-minimal.c: Likewise.
34033 * elf/dl-misc.c: Likewise.
34034 * elf/dl-sysdep.c: Likewise.
34035 * elf/dl-version.c: Likewise.
34036 * elf/rtld.c: Likewise.
34037 * hurd/hurdsock.c: Likewise.
34038 * hurd/lookup-retry.c: Likewise.
34039 * malloc/malloc.c: Likewise.
34040 * malloc/mtrace.c: Likewise.
34041 * nscd/nscd_getgr_r.c: Likewise.
34042 * nscd/nscd_getpw_r.c: Likewise.
34043 * nscd/nscd_getserv_r.c: Likewise.
34044 * posix/getopt_init.c: Likewise.
34045 * posix/wordexp.c: Likewise.
34046 * stdio-common/_itoa.c: Likewise.
34047 * stdio-common/printf_fphex.c: Likewise.
34048 * stdio-common/vfprintf.c: Likewise.
34049 * string/_strerror.c: Likewise.
34050 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34051 * sysdeps/i386/i686/hp-timing.h: Likewise.
34052 * sysdeps/mach/_strerror.c: Likewise.
34053 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34054 * sysdeps/mach/hurd/sethostid.c: Likewise.
34055 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34056 * sysdeps/mach/xpg-strerror.c: Likewise.
34057 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34059 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34060 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34061 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34062 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34063 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34064 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34065 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34066 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34067 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34068 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34069 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34070 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34071 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34072 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34073 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34074 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34075 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34076 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34077 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34079 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34081 * stdio-common/_itoa.h: Moved to ...
34082 * sysdeps/generic/_itoa.h: Here.
34084 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34086 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34087 instead of "_itoa.h" and "_itowa.h".
34088 * stdio-common/vfprintf.: Likewise.
34090 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34092 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34094 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34095 (__signbit): Likwise.
34096 (llrintf): Likwise.
34099 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34101 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34104 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34106 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34107 OVERFLOW_EXCEPTION_OK.
34108 * math/libm-test.inc ("Philosophy"): Update comment about
34110 (OVERFLOW_EXCEPTION): Define.
34111 (OVERFLOW_EXCEPTION_OK): Likewise.
34112 (INVALID_EXCEPTION_OK): Renumber.
34113 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34114 (IGNORE_ZERO_INF_SIGN): Likewise.
34115 (test_exceptions): Handle FE_OVERFLOW.
34116 (exp10_test): Expect overflow exceptions.
34117 (exp2_test): Likewise.
34118 (expm1_test): Likewise.
34119 (nextafter_test): Likewise.
34120 (pow_test): Likewise.
34121 (scalbn_test): Likewise.
34122 (scalbln_test): Likewise.
34124 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34126 * sysdeps/x86_64/bits/atomic.h
34127 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34129 (atomic_exchange_acq): Likewise.
34130 (__arch_exchange_and_add_body): Likewise.
34131 (__arch_add_body): Likewise.
34132 (atomic_add_negative): Likewise.
34133 (atomic_add_zero): Likewise.
34135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34137 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34138 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34142 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34143 Check __x86_64__ instead of __WORDSIZE.
34145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34147 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34149 2012-03-19 David S. Miller <davem@davemloft.net>
34151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34153 * sysdeps/sparc/fpu/fenv_private.h: New file.
34154 * sysdeps/sparc/fpu/math_private.h: Use it.
34155 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34157 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34158 (libc_feholdexcept_setroundl): Remove.
34159 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34161 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34162 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34164 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34166 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34167 int64_t instead of long int.
34168 (INSERT_WORDS64): Likwise.
34170 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34172 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34173 _Unwind_GetCFA return to _Unwind_Ptr first.
34175 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34178 * math/s_clog.c: Include <float.h>.
34179 (__clog): Scale large or subnormal inputs.
34180 * math/s_clogf.c: Likewise.
34181 * math/s_clogl.c: Likewise.
34182 * math/s_clog10.c: Include <float.h>.
34183 (M_LOG10_2): Define.
34184 (__clog10): Scale large or subnormal inputs.
34185 * math/s_clog10f.c: Likewise.
34186 * math/s_clog10l.c: Likewise.
34187 * math/libm-test.inc (clog_test): Add more tests.
34188 (clog10_test): Likewise.
34189 * sysdeps/i386/fpu/libm-test-ulps: Update.
34190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34193 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34195 * math/libm-test.inc (atan2_test): Add another test.
34197 * Makerules (common-objdir-compile): Remove.
34198 * sysdeps/unix/Makefile (config-generated): Do not add
34199 $(unix-generated) to variable.
34200 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34201 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34203 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34205 [generic bits/local_lim.h] (before-compile): Do not append to
34207 [generic bits/local_lim.h] (common-generated): Likewise.
34208 [generic sys/param.h] (before-compile): Do not append to variable.
34209 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34210 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34211 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34212 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34214 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34215 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34216 [generic sys/param.h] ($(addprefix
34217 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34218 [generic sys/param.h] (common-generated): Do not append to
34220 [generic sys/param.h] (sysdep_headers): Likewise.
34221 [generic bits/errno.h] (before-compile): Do not append to
34223 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34225 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34226 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34227 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34228 [generic bits/errno.h] (common-generated): Do not append to
34230 [generic bits/ioctls.h] (before-compile): Do not append to
34232 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34234 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34235 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34236 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34238 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34239 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34240 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34241 [generic bits/ioctls.h] (common-generated): Do not append to
34243 [generic sys/syscall.h] (syscall.h): Remove variable.
34244 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34246 [generic sys/syscall.h] (before-compile): Do not append to
34248 [generic sys/syscall.h] (common-generated): Likewise.
34249 * sysdeps/unix/errnos-tmpl.c: Remove file.
34250 * sysdeps/unix/errnos.awk: Likewise.
34251 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34252 * sysdeps/unix/ioctls.awk: Likewise.
34253 * sysdeps/unix/mk-local_lim.c: Likewise.
34254 * sysdeps/unix/snarf-ioctls: Likewise.
34256 2012-03-19 Richard Henderson <rth@twiddle.net>
34258 * sysdeps/i386/fpu/fenv_private.h: New file.
34259 * sysdeps/i386/fpu/math_private.h: Use it.
34260 (math_opt_barrier, math_force_eval): Remove.
34261 (libc_feholdexcept_setround_53bit): Remove.
34262 (libc_feupdateenv_53bit): Remove.
34263 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34264 (math_opt_barrier, math_force_eval): Remove.
34265 (libc_feholdexcept): Remove.
34266 (libc_feholdexcept_setround): Remove.
34267 (libc_fetestexcept, libc_fesetenv): Remove.
34268 (libc_feupdateenv_test): Remove.
34269 (libc_feupdateenv, libc_feholdsetround): Remove.
34270 (libc_feresetround): Remove.
34272 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34273 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34275 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34276 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34277 (libc_feupdateenv_testl): New.
34278 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34279 (libc_feupdateenv_testf): New.
34280 (libc_feupdateenv): Use libc_feupdateenv_test.
34281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34282 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34284 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34285 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34286 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34287 (libc_feresetround_noex): New.
34288 (libc_feresetround_noexf): New.
34289 (libc_feresetround_noexl): New.
34290 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34291 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34292 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34293 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34295 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34298 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34299 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34300 SET_RESTORE_ROUND_NOEX.
34301 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34302 SET_RESTORE_ROUND_NOEXF.
34303 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34304 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34305 (libc_feholdsetroundf): New.
34306 (libc_feresetround, libc_feresetroundf): New.
34308 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34309 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34310 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34312 * sysdeps/generic/math_private.h: Include <fenv.h>.
34313 (default_libc_feholdexcept): New.
34314 (default_libc_feholdexcept_setround): New.
34315 (default_libc_fesetenv, default_libc_feupdateenv): New.
34316 (libc_feholdexcept): Only define if undefined.
34317 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34318 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34319 (libc_feholdexcept_setroundl): Likewise.
34320 (libc_feholdexcept_setround_53bit): Likewise.
34321 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34322 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34323 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34324 (libc_feupdateenv_53bit): Likewise.
34325 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34326 (libc_feholdexcept): Convert from macro to inline function.
34327 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34328 (libc_fesetenv, libc_feupdateenv): Likewise.
34330 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34331 not previously defined.
34332 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34333 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34334 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34335 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34336 * sysdeps/ieee754/flt-32/math_private.h: New file.
34337 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34338 math_private.h below SET_FLOAT_WORD.
34339 (__isnan, __isinf_ns, __finite): Remove.
34340 (__isnanf, __isinf_nsf, __finitef): Remove.
34342 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34346 2012-03-17 David S. Miller <davem@davemloft.net>
34349 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34352 2012-03-16 David S. Miller <davem@davemloft.net>
34354 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34360 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34361 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34362 sysdep_routines when subdir is sysvipc.
34363 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34364 __getshmlba helper.
34366 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34370 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34373 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34376 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34377 (__lround): Renamed to ...
34378 (__llround): This. Replace long int with long long int.
34379 Define lround functions as aliases of llround functions.
34380 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34382 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34384 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34385 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34386 adresses to uintptr_t. Replace "long int" and "unsigned long
34387 int" with "greg_t" on va_arg.
34389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34391 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34392 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34394 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34395 Move e_machine check before EI_CLASS check. Handle x32
34396 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34397 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34398 SKIP_EM_IA_64 and include
34399 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34401 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34402 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34403 (add_system_dir): New macro.
34405 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34406 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34408 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34419 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34421 * math/w_j0f.c (j0f): Likewise.
34423 * math/w_j0l.c (__j0l): Likewise.
34425 * math/w_j1.c (j1): Likewise.
34427 * math/w_j1f.c (j1f): Likewise.
34429 * math/w_j1l.c (__j1l): Likewise.
34431 * math/w_jn.c (jn): Likewise.
34433 * math/w_jnf.c (jnf): Likewise.
34435 * math/w_jnl.c (__jnl): Likewise.
34437 * math/libm-test.inc (j0_test): Add more tests.
34438 (j1_test): Likewise.
34439 (jn_test): Likewise. Add trailing semicolon to existing test.
34440 (y0_test): Likewise.
34441 (y1_test): Likewise.
34442 * sysdeps/i386/fpu/libm-test-ulps: Update.
34443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34447 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34448 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34449 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34450 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34451 (__tanl): Set errno for infinite argument.
34452 * sysdeps/i386/fpu/mptan.c: Remove.
34453 * sysdeps/i386/fpu/s_tan.S: Likewise.
34454 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34455 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34456 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34457 * math/libm-test.inc (tan_test): Add more tests and enable more
34458 tests for double and long double.
34459 * sysdeps/i386/fpu/libm-test-ulps: Update.
34460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34462 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34464 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34465 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34467 2012-03-16 Roland McGrath <roland@hack.frob.com>
34469 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34470 * configure.in: Use it for both main tree and add-ons.
34471 * configure: Regenerated.
34473 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34475 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34477 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34479 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34483 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34484 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34489 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34491 != 0 for prec == 2.
34492 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34493 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34494 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34495 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34496 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34497 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34498 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34499 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34500 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34501 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34502 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34503 * math/libm-test.inc (cos_test): Add more tests and enable more
34504 tests for long double.
34505 (sin_test): Likewise.
34506 (sincos_test): Likewise.
34507 * sysdeps/i386/fpu/libm-test-ulps: Update.
34508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34510 2012-03-16 David S. Miller <davem@davemloft.net>
34512 * sysdeps/sparc/fpu/math_private.h: New file.
34514 2012-03-15 David S. Miller <davem@davemloft.net>
34516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34530 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34531 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34533 * sysdeps/sparc/sparc-ifunc.h: New file.
34534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34579 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34581 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34585 2012-03-15 Andreas Jaeger <aj@suse.de>
34588 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34589 ieee754/flt-32 implementation for sin, cos and sincos.
34590 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34591 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34592 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34593 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34594 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34595 ieee754/flt-32 implementation for tan.
34597 * math/libm-test.inc (cos_test): Enable some large input tests for
34599 (sin_test): Likewise.
34600 (sincos_test): Likewise.
34601 (tan_test): Add tests for large input.
34603 * sysdeps/i386/fpu/libm-test-ulps: Update.
34605 2012-03-15 Andreas Jaeger <aj@suse.de>
34608 * math/libm-test.inc (cos_test): Add more test cases.
34609 (sin_test): Likewise.
34610 (sincos_test): Likewise.
34612 2012-03-15 Andreas Jaeger <aj@suse.de>
34615 * math/libm-test.inc (cos_test): Add a test case for large input
34617 (sin_test): Likewise.
34618 (sincos_test): Likewise.
34620 2012-03-15 Andreas Jaeger <aj@suse.de>
34621 Joseph Myers <joseph@codesourcery.com>
34624 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34625 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34626 * sysdeps/i386/fpu/branred.c: Likewise.
34627 * sysdeps/i386/fpu/dosincos.c: Likewise.
34628 * sysdeps/i386/fpu/mpa.c: Likewise.
34629 * sysdeps/i386/fpu/s_cos.S: Likewise.
34630 * sysdeps/i386/fpu/s_sin.S: Likewise.
34631 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34632 * sysdeps/i386/fpu/sincos32.c: Likewise.
34634 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34636 (libc_feupdateenv_53bit): Define.
34637 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34639 (libc_feupdateenv_53bit): Define.
34641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34642 53 bit (without extend i386 double precision).
34644 * math/libm-test.inc (sincos_test): Add tests for large input.
34648 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34650 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34654 2012-03-15 David S. Miller <davem@davemloft.net>
34656 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34657 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34684 fmin/fmax sysdep routines.
34685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34687 2012-03-14 David S. Miller <davem@davemloft.net>
34689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34761 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34766 * sysdeps/sparc/configure.in: New file.
34767 * sysdeps/sparc/configure: Generate.
34768 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34769 * configure: Regenerate.
34770 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34771 * config.make.in (have-as-vis3): New.
34772 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34773 available use -Av9d instead of -Av9a.
34774 * sysdeps/sparc/sparc64/Makefile: Likewise.
34775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34790 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34791 fzeros/fnegs to load 0x80000000 into a float register instead of
34793 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34795 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34799 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34800 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34801 ($(inst_includedir)/bits/syscall.h): Remove rule.
34802 ($(objpfx)bits/syscall.d): Include instead of
34803 $(objpfx)syscall-list.d.
34804 (generated): Change syscall-list.h and syscall-list.d to
34805 bits/syscall.h and bits/syscall.d.
34807 2012-03-14 Roland McGrath <roland@hack.frob.com>
34810 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34812 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34815 * math/s_csqrt.c: Include <float.h>.
34816 (__csqrt): Scale large or subnormal inputs.
34817 * math/s_csqrtf.c: Likewise.
34818 * math/s_csqrtl.c: Likewise.
34819 * math/libm-test.inc (csqrt_test): Add more tests.
34820 * sysdeps/i386/fpu/libm-test-ulps: Update.
34821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34824 * math/libm-test.inc (hypot_test): Add more tests.
34826 2012-03-13 David S. Miller <davem@davemloft.net>
34829 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34830 double-precision for the calculation instead of scaling.
34832 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34835 manipulate bits before adding and subtracting TWO52[sx].
34836 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34837 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34841 2012-03-13 David S. Miller <davem@davemloft.net>
34843 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34844 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34846 rtld-global-offsets.h
34847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34849 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34852 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34854 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34855 'err' in the ifdef scope in which it is actually used.
34857 * nss/nss_db/db-init.c: Include string.h
34859 2012-03-12 David S. Miller <davem@davemloft.net>
34861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34862 masking out of the most significant byte of random value used.
34863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34864 Fix coding style in previous change.
34866 * sysdeps/unix/sysv/linux/kernel-features.h
34867 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34868 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34870 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34873 2012-03-11 David S. Miller <davem@davemloft.net>
34875 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34876 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34877 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34878 for 'resultvar' otherwise things get truncated on 64-bit.
34880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34881 Fix masking out of the most significant byte of random value used.
34883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34885 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34889 2012-03-09 David S. Miller <davem@davemloft.net>
34891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34892 variables with appropriate CPP guards.
34893 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34894 from the frame pointer, not the stack pointer. Correct layout
34895 comments. Fix test on resulting framesize and the management of
34896 the outregs buffer for pltexit. Preserve floating point return
34897 values across _dl_call_pltexit call.
34898 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34899 framesize and the management of the outregs buffer for pltexit.
34900 Preserve floating point return values across _dl_call_pltexit
34902 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34903 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34904 (la_sparc64_gnu_pltexit): New functions.
34905 (print_exit): Fix format string for return register value.
34907 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34909 * sunrpc/Makefile (others): Add rpcgen.
34910 ($(objpfx)rpcgen): Remove special build rule and dependency on
34912 * sunrpc/rpcgen.c: New file.
34914 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34917 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34918 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34919 * sysdeps/i386/crti.S: Likewise.
34920 * sysdeps/i386/crtn.S: Likewise.
34921 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34922 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34923 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34924 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34925 * sysdeps/sh/crti.S: Likewise.
34926 * sysdeps/sh/crtn.S: Likewise.
34927 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34930 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34932 * locale/programs/locfile-kw.gperf: Likewise.
34933 * locale/programs/charmap-kw.h: Regenerated.
34934 * locale/programs/locfile-kw.h: Likewise.
34937 * intl/plural.y: Replace FSF snail mail address with URL.
34938 * intl/plural.c: Regenerated.
34940 2012-03-09 Richard Henderson <rth@twiddle.net>
34942 * include/math_private.h: Remove file.
34943 * math/math_private.h: Move file ...
34944 * sysdeps/generic/math_private.h: ... here.
34946 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34947 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34948 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34950 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34951 and <math_private.h>.
34952 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34953 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34954 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34955 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34956 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34977 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34978 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34982 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34984 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34985 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34986 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34987 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34988 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34989 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34990 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34991 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34992 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34995 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34996 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34997 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34998 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34999 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35000 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35001 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35002 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35003 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35004 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35005 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35006 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35011 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35014 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35015 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35016 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35021 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35024 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35025 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35026 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35028 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35030 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35036 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35037 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35038 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35039 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35040 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35043 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35045 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35046 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35047 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35048 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35049 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35050 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35051 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35052 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35053 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35054 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35055 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35056 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35057 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35058 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35059 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35060 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35062 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35063 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35065 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35066 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35067 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35068 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35069 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35070 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35071 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35074 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35075 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35079 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35080 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35081 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35082 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35083 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35084 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35085 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35086 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35087 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35089 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35090 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35091 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35092 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35094 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35095 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35096 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35097 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35098 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35099 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35100 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35101 * sysdeps/ieee754/k_standard.c: Likewise.
35102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35114 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35115 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35129 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35133 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35135 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35136 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35137 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35140 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35142 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35143 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35144 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35145 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35146 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35147 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35148 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35149 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35152 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35153 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35158 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35159 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35160 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35161 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35163 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35164 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35178 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35181 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35182 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35183 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35184 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35185 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35186 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35187 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35188 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35193 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35195 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35198 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35199 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35200 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35209 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35210 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35211 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35212 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35213 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35214 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35215 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35216 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35217 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35218 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35225 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35227 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35228 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35231 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35232 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35233 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35234 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35235 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35237 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35239 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35240 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35241 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35242 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35244 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35245 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35247 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35248 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35249 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35250 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35251 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35253 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35256 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35257 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35261 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35262 * sysdeps/ieee754/s_lib_version.c: Likewise.
35263 * sysdeps/ieee754/s_matherr.c: Likewise.
35264 * sysdeps/ieee754/s_signgam.c: Likewise.
35265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35267 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35268 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35269 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35270 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35271 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35272 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35273 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35274 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35275 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35276 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35277 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35278 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35279 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35280 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35282 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35287 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35289 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35290 * sunrpc/rpc_main.c: Likewise.
35291 * sunrpc/rpc_svcout.c: Likewise.
35293 2012-03-09 David S. Miller <davem@davemloft.net>
35295 * include/math_private.h: New file.
35297 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35299 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35300 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35301 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35302 from <bits/socket_type.h>.
35303 (enum __socket_type): Don't define here.
35304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35306 bits/socket_type.h.
35309 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35310 checking __USE_GNU.
35312 * Makerules ($(inst_includedir)/%.h): New rule.
35313 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35314 (install-others): Remove variable setting.
35315 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35317 2012-03-08 Richard Henderson <rth@twiddle.net>
35319 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35320 from macro to inline function; merge with the
35321 !__LIBC_INTERNAL_MATH_INLINES version.
35322 (__ieee754_sqrtf): Likewise.
35324 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35325 to inline function.
35326 (__rintf, __floor, __floorf): Likewise.
35328 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35329 macro to inline function.
35330 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35333 not <math/math_private.h>.
35335 2012-03-08 David S. Miller <davem@davemloft.net>
35337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35339 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35341 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35343 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35345 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35346 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35348 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35350 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35351 be defined individually, they must be defined as a block. Define
35352 S for printing a string instead of hidint the different by using a
35353 macro for adding the 'l'.
35354 * stdio-common/tst-fphex-wide.c: Adjust.
35356 2012-03-07 Marek Polacek <polacek@redhat.com>
35358 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35360 2012-03-08 Marek Polacek <polacek@redhat.com>
35363 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35364 * stdio-common/tst-fphex.c: Define a few macros to make the
35365 test reusable. Use them.
35366 * stdio-common/tst-fphex-wide.c: New file.
35368 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35371 * manual/macros.texi (gnusystems): New macro.
35372 (nongnusystems): Likewise.
35373 (gnulinuxhurdsystems): Likewise.
35374 (gnuhurdsystems): Likewise..
35375 (gnulinuxsystems): Likewise.
35376 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35377 variants of the GNU system, not "GNU system".
35378 * manual/conf.texi: Likewise.
35379 * manual/errno.texi: Likewise. Update example of errno macro
35381 * manual/filesys.texi: Likewise.
35382 (getumask): Document as specific to GNU/Hurd.
35383 * manual/install.texi: Likewise. Reword some references to
35385 * manual/intro.texi: Likewise.
35386 * manual/io.texi: Likewise.
35387 (File Name Portability): Detail which constraints are inapplicable
35388 to all GNU systems and which are only inapplicable to GNU/Hurd.
35389 * manual/job.texi: Likewise.
35390 * manual/llio.texi: Likewise.
35391 (O_NOCTTY): Document as present on GNU/Linux.
35392 * manual/maint.texi: Likewise.
35393 * manual/memory.texi: Likewise.
35394 * manual/pattern.texi: Likewise.
35395 * manual/pipe.texi: Likewise.
35396 * manual/process.texi: Likewise.
35397 * manual/resource.texi: Likewise.
35398 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35400 * manual/setjmp.texi: Likewise.
35401 * manual/signal.texi: Likewise.
35402 * manual/startup.texi: Likewise.
35403 * manual/stdio.texi: Likewise.
35404 * manual/terminal.texi: Likewise.
35405 (ONLCR): Document as POSIX.
35406 (OXTABS): Document availability on GNU/Linux as XTABS.
35407 (ONOEOT): Document availability separately from other bits.
35408 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35409 * manual/time.texi: Likewise.
35410 * manual/users.texi: Likewise.
35411 * INSTALL: Regenerated.
35412 * sysdeps/gnu/errlist.c: Regenerated.
35414 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35415 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35416 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35418 * configure: Regenerated.
35420 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35422 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35423 default includes instead of AC_HEADER_CHECK.
35424 * sysdeps/i386/configure: Regenerated.
35427 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35428 * math/s_cacoshf.c (__cacoshf): Likewise.
35429 * math/s_cacoshl.c (__cacoshl): Likewise.
35430 * math/s_casinh.c (__casinh): Set signs of result from argument.
35431 * math/s_casinhf.c (__casinhf): Likewise.
35432 * math/s_casinhl.c (__casinhl): Likewise.
35433 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35434 (casinh_test): Add more tests.
35435 * sysdeps/i386/fpu/libm-test-ulps: Update.
35436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35438 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35440 * po/zh_TW.po: Update from translation team.
35442 * login/Makefile (distribute): Remove variable.
35443 * catgets/Makefile: Likewise.
35444 * mach/Makefile: Likewise.
35445 * malloc/Makefile: Likewise.
35446 * misc/Makefile: Likewise.
35447 * iconv/Makefile: Likewise.
35448 * nscd/Makefile: Likewise.
35449 * hurd/Makefile: Likewise.
35450 * manual/Makefile: Likewise.
35451 * locale/Makefile: Likewise.
35452 * intl/Makefile: Likewise.
35453 * conform/Makefile: Likewise.
35454 * nss/Makefile: Likewise.
35455 * time/Makefile: Likewise.
35456 * soft-fp/Makefile: Likewise.
35457 * dirent/Makefile: Likewise.
35458 * gmon/Makefile: Likewise.
35459 * po/Makefile: Likewise.
35460 * rt/Makefile: Likewise.
35461 * socket/Makefile: Likewise.
35462 * math/Makefile: Likewise.
35463 * signal/Makefile: Likewise.
35464 * debug/Makefile: Likewise.
35465 * elf/Makefile: Likewise.
35466 * timezone/Makefile: Likewise.
35467 * stdlib/Makefile: Likewise.
35468 * iconvdata/Makefile: Likewise.
35469 * sunrpc/Makefile: Likewise.
35470 * io/Makefile: Likewise.
35471 * argp/Makefile: Likewise.
35472 * inet/Makefile: Likewise.
35473 * hesiod/Makefile: Likewise.
35474 * grp/Makefile: Likewise.
35475 * csu/Makefile: Likewise.
35476 * wctype/Makefile: Likewise.
35477 * crypt/Makefile: Likewise.
35478 * libio/Makefile: Likewise.
35479 * string/Makefile: Likewise.
35480 * nis/Makefile: Likewise.
35481 * resolv/Makefile: Likewise.
35482 * stdio-common/Makefile: Likewise.
35483 * wcsmbs/Makefile: Likewise.
35484 * dlfcn/Makefile: Likewise.
35485 * posix/Makefile: Likewise.
35488 * timezone/Makefile: Don't install timezone files, just the programs
35491 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35493 * nss/databases.def: Add missing gshadow entry.
35495 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35497 2012-03-06 Marek Polacek <polacek@redhat.com>
35500 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35501 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35502 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35503 * stdio-common/tst-long-dbl-fphex.c: New file.
35505 2012-03-06 David S. Miller <davem@davemloft.net>
35507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35508 (set_obp_int): New function.
35509 (get_obp_int): New function.
35510 (__get_clockfreq_via_dev_openprom): Likewise.
35511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35512 Avoid unused variable warnings on 'val' and use builtin_expect.
35513 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35515 (INLINE_CLONE_SYSCALL): Likewise.
35517 2012-03-05 David S. Miller <davem@davemloft.net>
35519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35521 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35525 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35526 only for |x| >= 40.
35527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35529 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35532 Replace gettimeofday with __vdso_gettimeofday.
35534 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35535 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35536 __vdso_clock_gettime and __vdso_getcpu.
35538 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35539 time with __vdso_time.
35541 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35543 * manual/lang.texi (size_t): Note types to which size_t may be
35544 equivalent with the GNU C Library, but do not describe when
35545 differences between them are significant.
35547 2012-03-05 Andreas Jaeger <aj@suse.de>
35549 * sysdeps/i386/fpu/libm-test-ulps: Update.
35551 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35554 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35555 (__ieee754_pow): Save and restore rounding mode and use
35556 round-to-nearest for main computations.
35557 * math/libm-test.inc (pow_test_tonearest): New function.
35558 (pow_test_towardzero): Likewise.
35559 (pow_test_downward): Likewise.
35560 (pow_test_upward): Likewise.
35561 (main): Call the new functions.
35562 * sysdeps/i386/fpu/libm-test-ulps: Update.
35563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35566 * math/libm-test.inc (cosh_test_tonearest): New function.
35567 (cosh_test_towardzero): Likewise.
35568 (cosh_test_downward): Likewise.
35569 (cosh_test_upward): Likewise.
35570 (sinh_test_tonearest): Likewise.
35571 (sinh_test_towardzero): Likewise.
35572 (sinh_test_downward): Likewise.
35573 (sinh_test_upward): Likewise.
35574 (main): Call the new functions.
35575 * sysdeps/i386/fpu/libm-test-ulps: Update.
35576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35578 2012-03-05 Tom de Vries <tom@codesourcery.com>
35580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35581 default stack guard is set in last bytes.
35582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35584 2012-03-05 Kees Cook <keescook@chromium.org>
35586 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35589 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35590 possibly allocate from heap instead of stack.
35591 * stdio-common/bug-vfprintf-nargs.c: New file.
35592 * stdio-common/Makefile (tests): Add nargs overflow test.
35594 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35598 2012-03-03 Marek Polacek <polacek@redhat.com>
35600 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35601 * math/math_private.h: Likewise.
35602 * stdlib/tst-strtod.c: Likewise.
35603 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35604 * sysdeps/x86_64/bits/atomic.h: Likewise.
35606 2012-03-02 David S. Miller <davem@davemloft.net>
35608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35612 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35613 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35614 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35615 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35617 2012-03-02 Roland McGrath <roland@hack.frob.com>
35620 * manual/examples/README: New file, says the example source files
35621 can be used under GPL>=2.
35622 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35623 line containing just "*/".
35624 * manual/examples/add.c: Add copyright header (GPL>=2).
35625 * manual/examples/argp-ex1.c: Likewise.
35626 * manual/examples/argp-ex2.c: Likewise.
35627 * manual/examples/argp-ex3.c: Likewise.
35628 * manual/examples/argp-ex4.c: Likewise.
35629 * manual/examples/atexit.c: Likewise.
35630 * manual/examples/db.c: Likewise.
35631 * manual/examples/dir.c: Likewise.
35632 * manual/examples/dir2.c: Likewise.
35633 * manual/examples/execinfo.c: Likewise.
35634 * manual/examples/filecli.c: Likewise.
35635 * manual/examples/filesrv.c: Likewise.
35636 * manual/examples/fmtmsgexpl.c: Likewise.
35637 * manual/examples/genpass.c: Likewise.
35638 * manual/examples/inetcli.c: Likewise.
35639 * manual/examples/inetsrv.c: Likewise.
35640 * manual/examples/isockad.c: Likewise.
35641 * manual/examples/longopt.c: Likewise.
35642 * manual/examples/memopen.c: Likewise.
35643 * manual/examples/memstrm.c: Likewise.
35644 * manual/examples/mkfsock.c: Likewise.
35645 * manual/examples/mkisock.c: Likewise.
35646 * manual/examples/mygetpass.c: Likewise.
35647 * manual/examples/pipe.c: Likewise.
35648 * manual/examples/popen.c: Likewise.
35649 * manual/examples/rprintf.c: Likewise.
35650 * manual/examples/search.c: Likewise.
35651 * manual/examples/select.c: Likewise.
35652 * manual/examples/setjmp.c: Likewise.
35653 * manual/examples/sigh1.c: Likewise.
35654 * manual/examples/sigusr.c: Likewise.
35655 * manual/examples/stpcpy.c: Likewise.
35656 * manual/examples/strdupa.c: Likewise.
35657 * manual/examples/strftim.c: Likewise.
35658 * manual/examples/strncat.c: Likewise.
35659 * manual/examples/subopt.c: Likewise.
35660 * manual/examples/swapcontext.c: Likewise.
35661 * manual/examples/termios.c: Likewise.
35662 * manual/examples/testopt.c: Likewise.
35663 * manual/examples/testpass.c: Likewise.
35664 * manual/examples/timeval_subtract.c: Likewise.
35667 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35669 * manual/timeval_subtract.c.texi: ... here, new file.
35671 2012-03-02 David S. Miller <davem@davemloft.net>
35673 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35675 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35678 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35679 (__sin): Save and restore rounding mode and use round-to-nearest
35680 for all computations.
35681 (__cos): Save and restore rounding mode and use round-to-nearest
35682 for all computations.
35683 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35685 (tan): Save and restore rounding mode and use round-to-nearest for
35687 * math/libm-test.inc (cos_test_tonearest): New function.
35688 (cos_test_towardzero): Likewise.
35689 (cos_test_downward): Likewise.
35690 (cos_test_upward): Likewise.
35691 (sin_test_tonearest): Likewise.
35692 (sin_test_towardzero): Likewise.
35693 (sin_test_downward): Likewise.
35694 (sin_test_upward): Likewise.
35695 (tan_test_tonearest): Likewise.
35696 (tan_test_towardzero): Likewise.
35697 (tan_test_downward): Likewise.
35698 (tan_test_upward): Likewise.
35699 (main): Call the new functions.
35700 * sysdeps/i386/fpu/libm-test-ulps: Update.
35701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35704 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35705 small n, then large n, before computing and testing k+n.
35706 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35711 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35712 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35717 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35719 * math/libm-test.inc (scalbn_test): Add more tests.
35720 (scalbln_test): Likewise.
35722 * manual/filesys.texi (mode_t): Describe constraints on size and
35723 signedness, not exact equivalence to a particular type.
35725 (ino64_t): Likewise.
35727 (nlink_t): Likewise.
35728 (blkcnt_t): Likewise.
35729 (blkcnt64_t): Likewise.
35730 * manual/llio.texi (off_t): Likewise.
35733 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35734 (__ieee754_exp): Save and restore rounding mode and use
35735 round-to-nearest for all computations.
35736 * math/libm-test.inc (exp_test_tonearest): New function.
35737 (exp_test_towardzero): Likewise.
35738 (exp_test_downward): Likewise.
35739 (exp_test_upward): Likewise.
35740 (main): Call the new functions.
35741 * sysdeps/i386/fpu/libm-test-ulps: Update.
35742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35744 2012-03-01 Chris Demetriou <cgd@google.com>
35746 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35747 have predictable order.
35749 2012-03-01 David S. Miller <davem@davemloft.net>
35751 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35753 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35754 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35755 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35756 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35758 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35759 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35760 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35762 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35763 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35764 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35765 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35766 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35770 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35771 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35774 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35776 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35777 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35778 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35779 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35781 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35782 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35783 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35784 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35785 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35786 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35787 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35788 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35790 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35791 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35792 * sysdeps/sparc/elf/configure: Regenerated.
35794 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35796 * configure.in (AS, LD): Require binutils 2.20 or later.
35797 * configure: Regenerated.
35798 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35799 as required minimum version.
35800 * INSTALL: Regenerated.
35804 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35805 before squaring exponent.
35806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35807 bottom long double and 27 bits of top long double before squaring
35809 * math/libm-test.inc (erfc_test): Add more tests.
35810 * sysdeps/i386/fpu/libm-test-ulps: Update.
35811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35814 2012-03-01 Kai Tietz <ktietz@redhat.com>
35816 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35817 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35818 containing bit-fields.
35819 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35820 * soft-fp/single.h (_FP_UNION_S): Likewise.
35821 * soft-fp/double.h (_FP_UNION_D): Likewise.
35823 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35826 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35827 not include ../strcmp.S.
35828 [USE_AS_STRNCASECMP_L]: Likewise.
35829 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35830 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35831 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35832 (__strncasecmp_l_ia32): Define as alias to
35833 __strncasecmp_l_nonascii.
35836 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35837 * sysdeps/i386/fpu/libm-test-ulps: Update.
35838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35840 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35843 2012-02-29 Jeff Law <law@redhat.com>
35845 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35846 out of bounds read.
35848 2012-02-29 Marek Polacek <polacek@redhat.com>
35851 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35852 * elf/Makefile: Add rules to run tst-unused-dep.out.
35854 2012-02-28 David S. Miller <davem@davemloft.net>
35856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35860 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35861 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35863 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35865 * math/libm-test.inc (llround_test): Move one test from
35866 lround_test. Use TEST_f_L in moved test.
35867 (lround_test): Move misplaced test to llround_test. Add testcase
35870 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35872 * sysdeps/x86_64/fpu/e_expf.S: New file.
35873 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35875 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35878 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35879 of remain_len that may cause incomplete multi-byte character and
35881 * posix/bug-regex33.c: New file.
35882 * posix/Makefile (tests): Add bug-regex33.
35884 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35886 * manual/macros.texi: New file.
35887 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35888 * manual/libc.texinfo: Include macros.texi.
35889 * manual/creatute.texi: Likewise.
35890 * manual/install.texi: Likewise.
35891 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35892 @glibcadj{} in references to the GNU C Library.
35893 * manual/charset.texi: Likewise.
35894 * manual/conf.texi: Likewise.
35895 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35896 when not using those macros.
35897 * manual/creature.texi: Likewise.
35898 * manual/crypt.texi: Likewise.
35899 * manual/errno.texi: Likewise.
35900 * manual/filesys.texi: Likewise.
35901 * manual/header.texi: Likewise.
35902 * manual/install.texi: Likewise.
35903 * manual/intro.texi: Likewise.
35904 * manual/io.texi: Likewise.
35905 * manual/job.texi: Likewise.
35906 * manual/lang.texi: Likewise.
35907 * manual/libc.texiinfo: Likewise.
35908 * manual/llio.texi: Likewise.
35909 * manual/locale.texi: Likewise.
35910 * manual/maint.texi: Likewise.
35911 * manual/math.texi: Likewise.
35912 * manual/memory.texi: Likewise.
35913 * manual/message.texi: Likewise.
35914 * manual/nss.texi: Likewise.
35915 * manual/pattern.texi: Likewise.
35916 * manual/process.texi: Likewise.
35917 * manual/resource.texi: Likewise.
35918 * manual/search.texi: Likewise.
35919 * manual/setjmp.texi: Likewise.
35920 * manual/signal.texi: Likewise.
35921 * manual/socket.texi: Likewise.
35922 * manual/startup.texi: Likewise.
35923 * manual/stdio.texi: Likewise.
35924 * manual/string.texi: Likewise.
35925 * manual/sysinfo.texi: Likewise.
35926 * manual/syslog.texi: Likewise.
35927 * manual/terminal.texi: Likewise.
35928 * manual/time.texi: Likewise.
35929 * manual/users.texi: Likewise.
35930 * INSTALL: Regenerated.
35931 * NOTES: Regenerated.
35932 * sysdeps/gnu/errlist.c: Regenerated.
35934 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35936 * include/dirent.h: Include <dirstream.h> before
35939 2012-02-28 David S. Miller <davem@davemloft.net>
35941 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35942 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35943 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35944 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35946 2012-02-27 David S. Miller <davem@davemloft.net>
35948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35950 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35951 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35954 frame pointer instead of stack pointer relative arg slot.
35955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35956 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35957 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35959 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35962 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35964 2012-02-27 David S. Miller <davem@davemloft.net>
35966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35972 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35973 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35975 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35977 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35978 later. Allow versions 5-9.
35979 * configure: Regenerated.
35980 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35981 required minimum version and 4.6 as recommended version. Do not
35982 mention bugs in GCC 2.7 and 2.8.
35983 * INSTALL: Regenerated.
35985 2012-02-27 David S. Miller <davem@davemloft.net>
35987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35991 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35992 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35993 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35994 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35996 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35997 manipulate bits before adding and subtracting TWO112[sx].
35998 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36000 2012-02-27 Roland McGrath <roland@hack.frob.com>
36003 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36004 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36005 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36006 being in POSIX, because they are in 1003.1-2008.
36008 * rt/tst-aio.c: Include <fcntl.h>.
36009 * rt/tst-aio7.c: Likewise.
36010 * rt/tst-aio64.c: Likewise.
36012 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36014 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36016 * manual/install.texi (--with-headers): Describe headers as
36017 interface headers, not private headers.
36018 (Specific advice for GNU/Linux systems): Describe use of headers
36019 from "make headers_install", not private headers from older
36021 * INSTALL: Regenerated.
36022 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36024 * sysdeps/unix/sysv/linux/configure: Regenerated.
36026 * manual/llio.texi (fclean): Remove documentation.
36028 * manual/Makefile (libc-texi-generated): New variable. Include
36030 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36031 $(libc-texi-generated), not duplicated list of files.
36032 (version.texi, stamp-version): New rules.
36033 (realclean): Remove $(libc-texi-generated), not individual files
36034 from that list. Do not remove dir-add.texinfo.
36035 * manual/libc.texinfo: Comment out uses of edition numbers and
36036 references to printed manual. Remove last-updated dates.
36037 (EDITION): Comment out.
36039 (VERSION, UPDATED): Remove.
36040 (version.texi): Include.
36042 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36044 * sysdeps/posix/spawni.c: Include <signal.h>.
36045 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36046 * sysdeps/pthread/aio_fsync.c: Likewise.
36048 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36050 * conform/Makefile (tests): Run only when not cross-compiling and
36051 when fast-check is not defined.
36053 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36054 * conform/data/limits.h-data: Fixes for POSIX2008.
36055 * conform/run-conformtest.sh: Run all tests.
36056 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36058 * include/bits/dlfcn.h: Likewise.
36059 * include/langinfo.h: Likewise.
36060 * include/monetary.h: Likewise.
36061 * include/sys/poll.h: Likewise.
36063 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36065 * posix/spawn.h: Define __need_sigset_t.
36066 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36067 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36068 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36069 to get sigevent_t only.
36070 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36071 only for __USE_GNU.
36072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36073 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36074 process_vm_writev only for __USE_GNU.
36075 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36077 * conform/Makefile: For now ignore errors from run-conformtest.
36078 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36079 POSIX to avoid namespace pollution. Don't prepend headers.
36080 * conform/data/aio.h-data: Fixes for POSIX testing.
36081 * conform/data/fcntl.h-data: Likewise.
36082 * conform/data/glob.h-data: Likewise.
36083 * conform/data/grp.h-data: Likewise.
36084 * conform/data/pthread.h-data: Likewise.
36085 * conform/data/pwd.h-data: Likewise.
36086 * conform/data/signal.h-data: Likewise.
36087 * conform/data/spawn.h-data: Likewise.
36088 * conform/data/stdio.h-data: Likewise.
36089 * conform/data/stdlib.h-data: Likewise.
36090 * conform/data/stropts.h-data: Likewise.
36091 * conform/data/sys/mman.h-data: Likewise.
36092 * conform/data/sys/stat.h-data: Likewise.
36093 * conform/data/sys/types.h-data: Likewise.
36094 * conform/data/sys/wait.h-data: Likewise.
36095 * conform/data/time.h-data: Likewise.
36096 * conform/data/unistd.h-data: Likewise.
36097 * conform/data/utime.h-data: Likewise.
36099 * io/sys/stat.h: fchmod was always in POSIX.
36100 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36101 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36102 * rt/aio.h: Define __need_timespec before including <time.h>.
36103 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36104 struct. Add forward declaration of pthread_attr_t and use it in
36106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36108 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36109 always remove CLK_TCK definition.
36111 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36113 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36115 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36117 * conform/run-conformtest.sh: New file.
36118 * conform/Makefile: Run run-conformtest for tests.
36119 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36122 * conform/data/uchar.h-data: New file.
36123 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36124 * conform/data/arpa/inet.h-data: Likewise.
36125 * conform/data/assert.h-data: Likewise.
36126 * conform/data/complex.h-data: Likewise.
36127 * conform/data/cpio.h-data: Likewise.
36128 * conform/data/ctype.h-data: Likewise.
36129 * conform/data/dirent.h-data: Likewise.
36130 * conform/data/dlfcn.h-data: Likewise.
36131 * conform/data/errno.h-data: Likewise.
36132 * conform/data/fcntl.h-data: Likewise.
36133 * conform/data/float.h-data: Likewise.
36134 * conform/data/fmtmsg.h-data: Likewise.
36135 * conform/data/fnmatch.h-data: Likewise.
36136 * conform/data/ftw.h-data: Likewise.
36137 * conform/data/glob.h-data: Likewise.
36138 * conform/data/grp.h-data: Likewise.
36139 * conform/data/iconv.h-data: Likewise.
36140 * conform/data/inttypes.h-data: Likewise.
36141 * conform/data/langinfo.h-data: Likewise.
36142 * conform/data/libgen.h-data: Likewise.
36143 * conform/data/limits.h-data: Likewise.
36144 * conform/data/locale.h-data: Likewise.
36145 * conform/data/math.h-data: Likewise.
36146 * conform/data/monetary.h-data: Likewise.
36147 * conform/data/mqueue.h-data: Likewise.
36148 * conform/data/ndbm.h-data: Likewise.
36149 * conform/data/net/if.h-data: Likewise.
36150 * conform/data/netdb.h-data: Likewise.
36151 * conform/data/netinet/in.h-data: Likewise.
36152 * conform/data/nl_types.h-data: Likewise.
36153 * conform/data/poll.h-data: Likewise.
36154 * conform/data/pthread.h-data: Likewise.
36155 * conform/data/pwd.h-data: Likewise.
36156 * conform/data/regex.h-data: Likewise.
36157 * conform/data/sched.h-data: Likewise.
36158 * conform/data/search.h-data: Likewise.
36159 * conform/data/semaphore.h-data: Likewise.
36160 * conform/data/setjmp.h-data: Likewise.
36161 * conform/data/signal.h-data: Likewise.
36162 * conform/data/spawn.h-data: Likewise.
36163 * conform/data/stdarg.h-data: Likewise.
36164 * conform/data/stdio.h-data: Likewise.
36165 * conform/data/stdlib.h-data: Likewise.
36166 * conform/data/string.h-data: Likewise.
36167 * conform/data/strings.h-data: Likewise.
36168 * conform/data/stropts.h-data: Likewise.
36169 * conform/data/sys/ipc.h-data: Likewise.
36170 * conform/data/sys/mman.h-data: Likewise.
36171 * conform/data/sys/msg.h-data: Likewise.
36172 * conform/data/sys/resource.h-data: Likewise.
36173 * conform/data/sys/select.h-data: Likewise.
36174 * conform/data/sys/sem.h-data: Likewise.
36175 * conform/data/sys/shm.h-data: Likewise.
36176 * conform/data/sys/socket.h-data: Likewise.
36177 * conform/data/sys/stat.h-data: Likewise.
36178 * conform/data/sys/statvfs.h-data: Likewise.
36179 * conform/data/sys/time.h-data: Likewise.
36180 * conform/data/sys/timeb.h-data: Likewise.
36181 * conform/data/sys/times.h-data: Likewise.
36182 * conform/data/sys/types.h-data: Likewise.
36183 * conform/data/sys/uio.h-data: Likewise.
36184 * conform/data/sys/un.h-data: Likewise.
36185 * conform/data/sys/utsname.h-data: Likewise.
36186 * conform/data/sys/wait.h-data: Likewise.
36187 * conform/data/syslog.h-data: Likewise.
36188 * conform/data/tar.h-data: Likewise.
36189 * conform/data/termios.h-data: Likewise.
36190 * conform/data/utime.h-data: Likewise.
36191 * conform/data/utmpx.h-data: Likewise.
36192 * conform/data/varargs.h-data: Likewise.
36193 * conform/data/wchar.h-data: Likewise.
36194 * conform/data/wctype.h-data: Likewise.
36195 * conform/data/wordexp.h-data: Likewise.
36197 * include/stropts.h: New file.
36198 * include/uchar.h: New file.
36199 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36200 * include/assert.h: Likewise.
36201 * include/ctype.h: Likewise.
36202 * include/dirent.h: Likewise.
36203 * include/dlfcn.h: Likewise.
36204 * include/fcntl.h: Likewise.
36205 * include/fnmatch.h: Likewise.
36206 * include/glob.h: Likewise.
36207 * include/grp.h: Likewise.
36208 * include/libio.h: Likewise.
36209 * include/locale.h: Likewise.
36210 * include/math.h: Likewise.
36211 * include/net/if.h: Likewise.
36212 * include/netdb.h: Likewise.
36213 * include/netinet/in.h: Likewise.
36214 * include/pthread.h: Likewise.
36215 * include/pwd.h: Likewise.
36216 * include/regex.h: Likewise.
36217 * include/sched.h: Likewise.
36218 * include/search.h: Likewise.
36219 * include/setjmp.h: Likewise.
36220 * include/signal.h: Likewise.
36221 * include/stdio.h: Likewise.
36222 * include/stdlib.h: Likewise.
36223 * include/string.h: Likewise.
36224 * include/sys/cdefs.h: Likewise.
36225 * include/sys/mman.h: Likewise.
36226 * include/sys/msg.h: Likewise.
36227 * include/sys/resource.h: Likewise.
36228 * include/sys/select.h: Likewise.
36229 * include/sys/socket.h: Likewise.
36230 * include/sys/stat.h: Likewise.
36231 * include/sys/statvfs.h: Likewise.
36232 * include/sys/time.h: Likewise.
36233 * include/sys/times.h: Likewise.
36234 * include/sys/uio.h: Likewise.
36235 * include/sys/utsname.h: Likewise.
36236 * include/sys/wait.h: Likewise.
36237 * include/termios.h: Likewise.
36238 * include/time.h: Likewise.
36239 * include/ulimit.h: Likewise.
36240 * include/unistd.h: Likewise.
36241 * include/utime.h: Likewise.
36242 * include/wchar.h: Likewise.
36243 * include/wctype.h: Likewise.
36244 * include/wordexp.h: Likewise.
36246 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36248 * time/time.h: TIME_UTC must be a macro.
36249 Make timespec_get available for ISO C11 only as well.
36251 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36253 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36254 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36256 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36258 * configure.in: Use -o not -a in test for unsupported multi-arch.
36260 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36262 * manual/texinfo.tex: Update to version 2012-01-19.16.
36264 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36266 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36268 2012-02-24 Roland McGrath <roland@hack.frob.com>
36271 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36272 * manual/fdl-1.3.texi: New file.
36273 * manual/fdl-1.1.texi: File removed.
36276 * manual/libc.texinfo (FDL_VERSION): New @set.
36277 Use it for mention of FDL in cover text.
36278 (Documentation License): Use it in @include file name.
36280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36281 Roland McGrath <roland@hack.frob.com>
36284 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36285 (not LONG_LONG_MAX and LONG_LONG_MIN.
36286 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36287 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36289 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36291 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36295 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36296 manipulate bits before adding and subtracting TWO23[sx].
36297 * math/libm-test.inc (nearbyint_test): Add more tests.
36299 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36302 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36303 bits before adding and subtracting TWO23[sx].
36304 * math/libm-test.inc (rint_test): Add more tests.
36305 (rint_test_tonearest): Likewise.
36306 (rint_test_towardzero): Likewise.
36307 (rint_test_downward): Likewise.
36308 (rint_test_upward: Likewise.
36310 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36313 * include/stdc-predef.h: New file. Extracted from features.h.
36314 * include/features.h: Include stdc-predef.h.
36315 * Makefile (headers): Add stdc-predef.h.
36316 * CONFORMANCE (Compiler limitations): Update.
36318 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36320 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36322 2012-02-21 David S. Miller <davem@davemloft.net>
36324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36325 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36327 2012-02-20 David S. Miller <davem@davemloft.net>
36329 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36330 using a normal save/restore sequence, rather than allocating a
36331 dummy stack frame just to store a frame pointer and restore.
36332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36334 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36336 * manual/install.texi: Fix stray word in line-wrapped comment.
36338 2012-02-20 David S. Miller <davem@davemloft.net>
36340 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36341 both binutils and gcc support GOTDATA.
36343 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36344 "rd %pc" in the PIC register setup sequences.
36346 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36347 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36348 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36349 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36350 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36353 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36355 (SYSCALL_ERROR_HANDLER): Likewise.
36356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36357 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36359 (SYSCALL_ERROR_HANDLER): Likewise.
36361 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36362 (HAVE_GCC_GOTDATA): New.
36363 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36364 relocation support in both binutils and gcc.
36365 * sysdeps/sparc/elf/configure: Regenerate.
36367 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36368 * sysdeps/sparc/sparc32/elf/configure: Delete.
36369 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36370 * sysdeps/sparc/sparc64/elf/configure: Delete.
36371 * sysdeps/sparc/elf/configure.in: New file.
36372 * sysdeps/sparc/elf/configure: Generate.
36374 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36375 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36376 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36377 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36378 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36380 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36382 * manual/install.texi: Do not mention specific glibc version
36384 * manual/libc.texinfo (VERSION, UPDATED): Update.
36385 (@copying): Use @copyright{} and range of years.
36387 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36390 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36391 [crti.S not in sysdirs] (generated): Do not append.
36392 [crti.S not in sysdirs] (omit-deps): Likewise.
36393 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36394 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36395 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36396 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36397 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36399 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36400 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36401 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36402 * csu/defs.awk: Remove file.
36403 * sysdeps/generic/initfini.c: Likewise.
36404 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36406 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36409 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36411 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36412 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36413 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36414 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36416 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36418 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36419 (__EPOLL_PACKED): Define to empty if not defined by
36421 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36425 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36427 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36428 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36429 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36432 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36436 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36438 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36440 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36441 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36445 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36447 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36448 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36450 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36452 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36453 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36455 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36457 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36460 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36462 * math/w_acos.c: Use non-signaling floating-point comparisons.
36463 * math/w_acosf.c: Likewise.
36464 * math/w_acosh.c: Likewise.
36465 * math/w_acoshf.c: Likewise.
36466 * math/w_acoshl.c: Likewise.
36467 * math/w_acosl.c: Likewise.
36468 * math/w_asin.c: Likewise.
36469 * math/w_asinf.c: Likewise.
36470 * math/w_asinl.c: Likewise.
36471 * math/w_atanh.c: Likewise.
36472 * math/w_atanhf.c: Likewise.
36473 * math/w_atanhl.c: Likewise.
36474 * math/w_exp2.c: Likewise.
36475 * math/w_exp2f.c: Likewise.
36476 * math/w_exp2l.c: Likewise.
36477 * math/w_j0.c: Likewise.
36478 * math/w_j0f.c: Likewise.
36479 * math/w_j0l.c: Likewise.
36480 * math/w_j1.c: Likewise.
36481 * math/w_j1f.c: Likewise.
36482 * math/w_j1l.c: Likewise.
36483 * math/w_jn.c: Likewise.
36484 * math/w_jnf.c: Likewise.
36485 * math/w_log.c: Likewise.
36486 * math/w_log10.c: Likewise.
36487 * math/w_log10f.c: Likewise.
36488 * math/w_log10l.c: Likewise.
36489 * math/w_log2.c: Likewise.
36490 * math/w_log2f.c: Likewise.
36491 * math/w_log2l.c: Likewise.
36492 * math/w_logf.c: Likewise.
36493 * math/w_logl.c: Likewise.
36494 * math/w_sqrt.c: Likewise.
36495 * math/w_sqrtf.c: Likewise.
36496 * math/w_sqrtl.c: Likewise.
36497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36498 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36500 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36501 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36503 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36506 * manual/string.texi (strnlen): Use correct parameter name in
36507 equivalent expression.
36509 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36512 * manual/users.texi (seteuid): Consistently use neweuid for
36515 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36518 * manual/nss.texi (Services in the NSS configuration): Correct
36519 list of services in example configuration file.
36521 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36524 * manual/arith.texi: Remove statements about negative zero
36525 behaving identically to zero.
36527 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36530 * manual/install.texi: Do not document upgrading from libc5.
36532 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36535 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36537 2012-02-18 David S. Miller <davem@davemloft.net>
36539 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36540 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36541 %o7 across the call.
36542 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36545 SETUP_PIC_REG_LEAF.
36546 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36547 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36548 * sysdeps/sparc/crtn.S: Likewise.
36550 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36552 * aout/Makefile: Remove.
36554 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36557 * manual/examples/argp-ex1.c (main): Format definition in GNU
36559 * manual/examples/argp-ex2.c (main): Likewise.
36560 * manual/examples/argp-ex3.c (main): Likewise.
36561 * manual/examples/argp-ex4.c (main): Likewise.
36562 * manual/examples/longopt.c (main): Use new-style prototype
36564 * manual/examples/strncat.c (main): Specify return type and use
36565 (void) for arguments.
36566 * manual/examples/subopt.c (main): Use char **argv argument.
36568 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36571 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36574 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36577 * manual/string.texi (strchr): Change when strchrnul is
36580 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36583 * manual/locale.texi (setlocale): Document LOCPATH.
36585 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36588 * manual/process.texi (execle): Move @dots{} before last argument.
36590 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36593 * manual/charset.texi (Generic Charset Conversion): Fix typo
36594 (LC_TYPE -> LC_CTYPE).
36596 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36599 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36600 (scalbnf): Likewise.
36601 (scalbnl): Likewise.
36602 (scalbln): Likewise.
36603 (scalblnf): Likewise.
36604 (scalblnl): Likewise.
36605 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36606 (vwarnx): Likewise.
36609 * manual/filesys.texi (telldir): Use braces around return type.
36610 * manual/llio.texi (mmap): Add space after comma.
36611 (mmap64): Likewise.
36612 * manual/math.texi (jn): Use @var{} on parameter names.
36618 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36620 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36622 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36623 (sched_get_priority_max): Likewise.
36624 * manual/signal.texi (sigvec): Add space after comma.
36625 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36627 (if_indextoname): Likewise.
36628 (if_freenameindex): Likewise.
36629 (sendto): Use ',' instead of '.' in prototype.
36630 * manual/startup.texi (syscall): Use @dots{} instead of literal
36632 * manual/stdio.texi (__fpending): Separate initial words of
36633 paragraph from @deftypefun line.
36634 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36636 (vsyslog): Use @var{} on parameter names.
36637 * manual/terminal.texi (stty): Use @var{} on parameter names.
36638 * manual/users.texi (getutmp): Use @var{} on parameter names.
36639 (getutmpx): Likewise.
36641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36644 * manual/stdio.texi (fopen): Fix typos in description of
36647 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36650 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36651 get clock_id definition.
36653 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36656 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36657 (madvise): Cast every argument to void on its own.
36659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36662 * manual/startup.texi (Exit Status): Fix typo.
36664 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36667 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36668 * manual/examples/argp-ex2.c: Likewise.
36669 * manual/examples/argp-ex3.c: Likewise.
36671 2012-02-16 Richard Henderson <rth@redhat.com>
36673 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36674 * sysdeps/s390/s390-32/initfini.c: Remove.
36675 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36676 * sysdeps/s390/s390-64/initfini.c: Remove.
36678 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36680 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36681 compiler output for sysdeps/generic/initfini.c.
36682 * sysdeps/sh/elf/initfini.c: Remove file.
36684 2012-02-16 David S. Miller <davem@davemloft.net>
36687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36689 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36690 * sysdeps/sparc/crti.S: New file.
36691 * sysdeps/sparc/crtn.S: New file.
36692 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36693 * sysdeps/sparc/sparc64/Makefile: Likewise.
36695 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36698 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36700 2012-02-15 Roland McGrath <roland@hack.frob.com>
36703 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36705 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36706 (write, read, close): Likewise.
36707 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36709 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36711 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36712 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36713 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36714 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36716 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36720 2012-02-14 Marek Polacek <polacek@redhat.com>
36722 * sysdeps/x86_64/crti.S: New file.
36723 * sysdeps/x86_64/crtn.S: New file.
36724 * sysdeps/x86_64/elf/initfini.c: Remove file.
36726 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36728 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36729 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36730 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36731 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36733 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36737 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36739 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36740 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36741 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36742 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36744 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36748 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36750 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36751 __feraiseexcept instead of feraiseexcept.
36753 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36754 nanosleep invocations.
36755 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36756 strings, and add error checking for a nanosleep invocations.
36758 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36760 Replace FSF snail mail address with URLs, as per GNU coding standards.
36761 Most of the snail mail addresses were wrong anyway, and omitting
36762 them makes the source code easier to maintain. Almost all of the
36763 changes are to license notices and to locale LC_IDENTIFICATION
36764 addresses, except for this one:
36765 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36766 not its snail mail address.
36768 2012-02-09 Richard Henderson <rth@twiddle.net>
36770 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36771 of kernel-features.h.
36773 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36775 2012-02-08 Marek Polacek <polacek@redhat.com>
36777 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36778 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36779 * sysdeps/gnu/_G_config.h: Likewise.
36780 * sysdeps/generic/_G_config.h: Likewise.
36782 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36784 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36788 * sysdeps/powerpc/powerpc32/crti.S: New file.
36789 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36790 * sysdeps/powerpc/powerpc64/crti.S: New file.
36791 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36793 * Makeconfig (have-initfini): Don't set.
36794 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36795 * configure.in (nopic_initfini): Don't substitute.
36796 * config.h.in (HAVE_INITFINI): Don't #undef.
36797 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36798 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36800 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36802 Support crti.S and crtn.S provided directly by architectures.
36803 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36804 [crti.S in sysdirs] (omit-deps): Likewise.
36805 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36806 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36807 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36808 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36809 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36810 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36811 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36812 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36813 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36814 compiler output for sysdeps/generic/initfini.c.
36815 * sysdeps/i386/elf/Makefile: Remove file.
36816 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36818 2012-02-07 Marek Polacek <polacek@redhat.com>
36820 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36821 * sysdeps/gnu/_G_config.h: Likewise.
36822 * sysdeps/mach/hurd/_G_config.h: Likewise.
36824 2012-02-07 Marek Polacek <polacek@redhat.com>
36826 * math/Makefile (tests): Add tst-CMPLX2.
36827 * math/tst-CMPLX2.c: New file.
36829 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36831 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36833 * math/libm-test.inc (jn_test): Add missing L suffix.
36835 2012-02-06 Marek Polacek <polacek@redhat.com>
36837 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36838 * sysdeps/i386/fpu/e_powf.S: Likewise.
36839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36840 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36841 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36842 * sysdeps/i386/fpu/e_pow.S: Likewise.
36843 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36844 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36845 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36846 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36847 * sysdeps/i386/fpu/e_log2.S: Likewise.
36848 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36849 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36850 * sysdeps/i386/fpu/e_powl.S: Likewise.
36851 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36852 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36853 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36854 * sysdeps/i386/fpu/e_logl.S: Likewise.
36855 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36856 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36857 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36858 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36859 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36860 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36861 * sysdeps/i386/fpu/e_log.S: Likewise.
36862 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36864 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36865 * sysdeps/i386/fpu/e_logf.S: Likewise.
36866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36868 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36869 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36870 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36871 * sysdeps/i386/fpu/e_log10.S: Likewise.
36872 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36873 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36874 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36875 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36876 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36877 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36878 * sysdeps/i386/asm-syntax.h: Likewise.
36879 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36881 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36882 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36883 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36884 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36885 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36886 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36887 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36888 * sysdeps/powerpc/sysdep.h: Likewise.
36889 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36890 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36892 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36895 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36897 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36899 * sysdeps/i386/sysdep.h: Include <features.h>.
36900 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36903 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36905 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36907 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36910 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36912 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36913 (SETUP_PIC_REG): Use GET_PC_THUNK.
36914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36917 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36920 for non-PIC compilation.
36921 (SETUP_PIC_REG): Add .p2align directive.
36922 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36923 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36924 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36925 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36927 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36930 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36931 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36932 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36933 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36934 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36935 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36936 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36938 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36939 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36940 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36941 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36942 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36948 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36950 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36951 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36952 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36953 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36954 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36955 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36956 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36957 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36958 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36959 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36960 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36961 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36962 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36964 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36966 * math/tst-CMPLX.c: Include <stdio.h>.
36968 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36970 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36972 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36973 * sysdeps/sparc/bits/mathdef.h: Likewise.
36975 2012-01-31 Marek Polacek <polacek@redhat.com>
36977 * libio/libio.h: Don't define _PARAMS.
36978 * locale/programs/config.h: Don't define PARAMS.
36979 * stdlib/strtol_l.c: Likewise.
36980 (__strtol_l): Remove PARAMS from the prototype.
36982 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36984 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36985 names. Just use the correct names. Remove unnecessary wrapper
36987 * malloc/arena.c: Likewise.
36988 * malloc/hooks.c: Likewise.
36990 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36991 ARENA_TEST says not to. Simplify test for creation of a new arena.
36992 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36994 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36996 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36998 (update_get_addr): New function.
36999 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37000 GET_ADDR_MODULE parameter.
37002 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37004 * crypt/cert.c: Remove __STDC__ conditionals.
37005 * crypt/crypt-entry.c: Likewise.
37006 * crypt/crypt_util.c: Likewise.
37007 * libio/filedoalloc.c: Likewise.
37008 * libio/fileops.c: Likewise.
37009 * libio/genops.c: Likewise.
37010 * libio/iofclose.c: Likewise.
37011 * libio/iofdopen.c: Likewise.
37012 * libio/iofopen.c: Likewise.
37013 * libio/iofopen64.c: Likewise.
37014 * libio/iogetdelim.c: Likewise.
37015 * libio/iopopen.c: Likewise.
37016 * libio/obprintf.c: Likewise.
37017 * libio/oldfileops.c: Likewise.
37018 * libio/oldiofclose.c: Likewise.
37019 * libio/oldiofdopen.c: Likewise.
37020 * libio/oldiofopen.c: Likewise.
37021 * libio/oldiopopen.c: Likewise.
37022 * libio/wfiledoalloc.c: Likewise.
37023 * libio/wgenops.c: Likewise.
37024 * locale/programs/xmalloc.c: Likewise.
37025 * misc/syslog.c: Likewise.
37026 * stdio-common/xbug.c: Likewise.
37027 * string/memchr.c: Likewise.
37028 * string/memcmp.c: Likewise.
37029 * string/memrchr.c: Likewise.
37030 * string/rawmemchr.c: Likewise.
37031 * sysdeps/posix/getcwd.c: Likewise.
37032 * time/strftime_l.c: Likewise.
37034 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37036 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37037 * config.make.in (config-cflags-sse2avx): Define.
37038 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37041 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37043 * scripts/config.guess: Update from upstream config git repository.
37044 * scripts/config.sub: Likewise.
37046 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37048 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37050 (R_TILEPRO_*, R_TILEGX_*): New macros.
37052 * scripts/firstversions.awk: Fix bug in version range handling.
37054 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37056 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37058 * include/sys/epoll.h: New file.
37059 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37062 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37064 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37065 Avoid unnecessary __WORDSIZE == 64 test.
37066 (fmaxf): Use VEX format if possible.
37071 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37072 * math/math_private.h: Remove libc_fegetround* and
37074 * sysdeps/i386/configure.in: Check for -msse2avx.
37075 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37076 also if SSE2AVX is defined.
37077 Remove libc_fegetround* and libc_fesetround*.
37078 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37079 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37080 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37082 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37083 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37084 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37085 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37086 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37088 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37090 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37094 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37096 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37099 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37101 * Makeconfig (libm): Define.
37102 * elf/Makefile: Add rules to build and run tst-relsort1.
37103 * elf/tst-relsort1.c: New file.
37104 * elf/tst-relsort1mod1.c: New file.
37105 * elf/tst-relsort1mod2.c: New file.
37107 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37109 * math/s_ldexp.c: Remove __STDC__ conditionals.
37110 * math/s_ldexpf.c: Likewise.
37111 * math/s_ldexpl.c: Likewise.
37112 * math/s_nextafter.c: Likewise.
37113 * math/s_nexttowardf.c: Likewise.
37114 * math/s_significand.c: Likewise.
37115 * math/s_significandf.c: Likewise.
37116 * math/s_significandl.c: Likewise.
37117 * math/w_jnl.c: Likewise.
37118 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37119 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37120 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37121 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37122 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37137 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37138 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37139 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37140 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37142 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37143 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37145 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37146 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37147 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37148 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37149 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37150 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37152 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37154 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37155 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37156 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37158 * sysdeps/ieee754/k_standard.c: Likewise.
37159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37163 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37167 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37168 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37170 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37172 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37173 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37175 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37177 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37182 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37183 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37190 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37198 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37199 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37218 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37220 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37225 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37231 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37233 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37234 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37238 * sysdeps/ieee754/s_matherr.c: Likewise.
37239 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37240 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37241 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37242 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37244 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37246 * crypt/md5.h: Remove __STDC__ conditionals.
37247 * libio/libioP.h: Likewise.
37248 * locale/programs/config.h: Likewise.
37249 * sysdeps/generic/sysdep.h: Likewise.
37250 * sysdeps/i386/asm-syntax.h: Likewise.
37251 * sysdeps/s390/asm-syntax.h: Likewise.
37252 * sysdeps/unix/sysdep.h: Likewise.
37253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37256 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37258 * libio/libio.h: Remove __STDC__ conditionals.
37259 * malloc/obstack.h: Likewise.
37260 * math/complex.h: Likewise.
37261 * math/math.h: Likewise.
37262 * sysdeps/generic/_G_config.h: Likewise.
37263 * sysdeps/gnu/_G_config.h: Likewise.
37264 * sysdeps/mach/hurd/_G_config.h: Likewise.
37265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37266 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37267 * sysdeps/sparc/bits/mathdef.h: Likewise.
37269 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37272 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37273 Clean up HAS_* macros.
37274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37275 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37277 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37279 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37280 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37281 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37282 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37283 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37285 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37287 * elf/tst-unique3.cc (gets): Remove declaration.
37288 * elf/tst-unique3lib.cc (gets): Likewise.
37289 * elf/tst-unique3lib2.cc (gets): Likewise.
37290 * elf/tst-unique4.cc (gets): Likewise.
37292 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37294 * include/stdio.h: Add C++ protection. Add gets declarations and
37296 * debug/tst-chk1.c: Don't declare gets here.
37297 * stdio-common/tst-gets.c: Likewise.
37299 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37301 * posix/glob: Remove directory.
37303 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37305 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37307 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37309 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37310 of the non-standard EPFNOSUPPORT.
37312 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37314 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37315 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37316 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37318 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37320 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37322 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37324 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37326 * nscd/grpcache.c (cache_addgr): Likewise.
37327 * nscd/hstcache.c (cache_addhst): Likewise.
37328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37329 * nscd/pwdcache.c (cache_addpw): Likewise.
37330 * nscd/servicescache.c (cache_addserv): Likewise.
37332 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37334 * malloc/malloc.c: Various cleanups.
37335 * malloc/hooks.c: Likewise.
37337 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37338 * stdlib/bug-fmtmsg1.c: New file.
37340 * stdlib/fmtmsg.c (init): Add missing unlock.
37341 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37343 2012-01-12 Marek Polacek <polacek@redhat.com>
37345 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37348 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37350 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37351 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37352 macro to ensure uniqueness of label name.
37353 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37354 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37356 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37358 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37360 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37365 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37367 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37369 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37370 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37373 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37376 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37380 * math/bits/math-finite.h: Add ldexp support.
37382 2012-01-10 Marek Polacek <polacek@redhat.com>
37384 * locale/programs/localedef.h (show_archive_content): Add noreturn
37387 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37389 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37391 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37393 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37395 * io/Makefile (headers): Add bits/poll2.h.
37397 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37400 typo #include statement.
37402 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37404 * include/sys/cdefs.h: Define __attribute_alloc_size.
37405 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37406 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37407 * elf/pldd.c: Likewise.
37408 * iconv/iconv_charmap.c: Likewise.
37409 * iconv/iconvconfig.c: Likewise.
37410 * iconv/strtab.c: Likewise.
37411 * locale/programs/locale.c: Likewise.
37412 * locale/programs/localedef.h: Likewise.
37413 * locale/programs/simple-hash.c: Likewise.
37414 * nscd/nscd.h: Likewise.
37415 * nss/makedb.c: Likewise.
37416 * sysdeps/generic/ldconfig.h: Likewise.
37417 * locale/programs/localedef.c: Remove xmalloc prototype.
37418 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37420 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37422 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37425 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37427 * math/Makefile (tests): Add tst-CMPLX.
37428 * math/tst-CMPLX.c: New file.
37430 * math/complex.h (CMPLXL): Fix typo.
37432 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37433 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37435 * debug/tst-chk1.c: Add poll and ppoll tests.
37436 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37437 * include/sys/poll.h: Add hidden proto for ppoll.
37438 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37439 * sysdeps/mach/hurd/ppoll.c: Likewise.
37440 * io/ppoll.c: Likewise.
37441 * debug/poll_chk.c: New file.
37442 * debug/ppoll_chk.c: New file.
37443 * include/bits/poll2.h: New file.
37444 * io/bits/poll2.h: New file.
37447 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37449 * configure.in: static is always set to yes. Remove.
37450 * config.make.in: Don't set build-static.
37451 * Makeconfig: Remove use of build-static.
37452 * dlfcn/Makefile: Likewise.
37453 * elf/Makefile: Likewise.
37454 * math/Makefile: Likewise.
37455 * misc/Makefile: Likewise.
37456 * nptl/Makefile: Likewise.
37457 * sysdeps/mach/hurd/Makefile: Likewise.
37459 * configure.in: PWD_P is not used anymore.
37460 * config.make.in: Remove PWD_P entry.
37462 * configure.in: Remove last remnants of RANLIB.
37463 No need to check for signed size_t anymore.
37464 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37466 Remove __builtin_expect test because we require at least gcc 3.4.
37467 * aclocal.m4: Likewise.
37469 * wcsmbs/mbrtoc16.c: Implement using towc function.
37470 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37471 * wcsmbs/wcsmbsload.c: Likewise.
37472 * iconv/gconv_simple.c: Likewise.
37473 * iconv/gconv_int.h: Likewise.
37474 * iconv/gconv_builtin.h: Likewise.
37475 * iconv/iconv_prog.c: Remove CHAR16 handling.
37477 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37479 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37481 * configure.in: Remove --with-elf and --enable-bounded options.
37482 Dont set base_machine for ia64. More non-ELF conditions removed.
37483 Remove testing and setting of leading underscore information.
37484 * config.make.in (build-bounded): Set to no.
37485 * config.h.in: Remove NO_UNDERSCORES entry.
37486 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37488 * csu/start.c: Remove !NO_UNDERSCORE code.
37489 * locale/localeinfo.h: Likewise.
37490 * sysdeps/generic/machine-gmon.h: Likewise.
37491 * sysdeps/generic/sysdep.h: Likewise.
37492 * sysdeps/i386/sysdep.h: Likewise.
37493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37494 * sysdeps/mach/sysdep.h: Likewise.
37495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37497 * sysdeps/sh/sysdep.h: Likewise.
37498 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37499 * sysdeps/unix/i386/sysdep.S: Likewise.
37500 * sysdeps/unix/sparc/start.c: Likewise.
37501 * sysdeps/unix/sparc/sysdep.S: Likewise.
37502 * sysdeps/unix/sparc/sysdep.h: Likewise.
37503 * sysdeps/unix/start.c: Likewise.
37504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37505 * sysdeps/x86_64/sysdep.h: Likewise.
37507 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37510 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37512 * argp/argp-fmtstream.h: Use const instead __const.
37513 * argp/argp.h: Likewise.
37514 * assert/assert.h: Likewise.
37515 * bits/fenv.h: Likewise.
37516 * bits/sched.h: Likewise.
37517 * bits/sigset.h: Likewise.
37518 * bits/sigthread.h: Likewise.
37519 * catgets/nl_types.h: Likewise.
37520 * conform/data/pthread.h-data: Likewise.
37521 * crypt/crypt-private.h: Likewise.
37522 * crypt/crypt.h: Likewise.
37523 * crypt/crypt_util.c: Likewise.
37524 * ctype/ctype.h: Likewise.
37525 * debug/execinfo.h: Likewise.
37526 * debug/mbsnrtowcs_chk.c: Likewise.
37527 * debug/mbsrtowcs_chk.c: Likewise.
37528 * debug/wcsnrtombs_chk.c: Likewise.
37529 * debug/wcsrtombs_chk.c: Likewise.
37530 * debug/wcstombs_chk.c: Likewise.
37531 * dirent/dirent.h: Likewise.
37532 * dlfcn/dlfcn.h: Likewise.
37533 * elf/neededtest4.c: Likewise.
37534 * grp/grp.h: Likewise.
37535 * gshadow/gshadow.h: Likewise.
37536 * iconv/gconv.h: Likewise.
37537 * iconv/gconv_int.h: Likewise.
37538 * iconv/gconv_simple.c: Likewise.
37539 * iconv/iconv.h: Likewise.
37540 * iconv/loop.c: Likewise.
37541 * iconv/skeleton.c: Likewise.
37542 * include/aio.h: Likewise.
37543 * include/aliases.h: Likewise.
37544 * include/argz.h: Likewise.
37545 * include/arpa/inet.h: Likewise.
37546 * include/assert.h: Likewise.
37547 * include/dirent.h: Likewise.
37548 * include/dlfcn.h: Likewise.
37549 * include/execinfo.h: Likewise.
37550 * include/fcntl.h: Likewise.
37551 * include/fenv.h: Likewise.
37552 * include/glob.h: Likewise.
37553 * include/grp.h: Likewise.
37554 * include/libintl.h: Likewise.
37555 * include/mntent.h: Likewise.
37556 * include/netdb.h: Likewise.
37557 * include/pwd.h: Likewise.
37558 * include/rpc/netdb.h: Likewise.
37559 * include/sched.h: Likewise.
37560 * include/search.h: Likewise.
37561 * include/shadow.h: Likewise.
37562 * include/signal.h: Likewise.
37563 * include/stdio.h: Likewise.
37564 * include/stdlib.h: Likewise.
37565 * include/string.h: Likewise.
37566 * include/sys/socket.h: Likewise.
37567 * include/sys/stat.h: Likewise.
37568 * include/sys/statfs.h: Likewise.
37569 * include/sys/statvfs.h: Likewise.
37570 * include/sys/syslog.h: Likewise.
37571 * include/sys/time.h: Likewise.
37572 * include/sys/uio.h: Likewise.
37573 * include/time.h: Likewise.
37574 * include/unistd.h: Likewise.
37575 * include/utmp.h: Likewise.
37576 * include/wchar.h: Likewise.
37577 * include/wctype.h: Likewise.
37578 * inet/aliases.h: Likewise.
37579 * inet/arpa/inet.h: Likewise.
37580 * inet/netinet/ether.h: Likewise.
37581 * inet/netinet/in.h: Likewise.
37582 * intl/libintl.h: Likewise.
37583 * io/bits/fcntl2.h: Likewise.
37584 * io/fcntl.h: Likewise.
37585 * io/ftw.h: Likewise.
37586 * io/sys/poll.h: Likewise.
37587 * io/sys/stat.h: Likewise.
37588 * io/sys/statfs.h: Likewise.
37589 * io/sys/statvfs.h: Likewise.
37590 * io/utime.h: Likewise.
37591 * libio/bits/stdio.h: Likewise.
37592 * libio/bits/stdio2.h: Likewise.
37593 * libio/libio.h: Likewise.
37594 * libio/libioP.h: Likewise.
37595 * libio/stdio.h: Likewise.
37596 * locale/lc-ctype.c: Likewise.
37597 * locale/locale.h: Likewise.
37598 * login/utmp.h: Likewise.
37599 * malloc/arena.c: Likewise.
37600 * malloc/malloc.c: Likewise.
37601 * malloc/malloc.h: Likewise.
37602 * malloc/mcheck.c: Likewise.
37603 * malloc/mtrace.c: Likewise.
37604 * math/bits/mathcalls.h: Likewise.
37605 * math/fenv.h: Likewise.
37606 * math/math_private.h: Likewise.
37607 * misc/bits/error.h: Likewise.
37608 * misc/bits/syslog.h: Likewise.
37609 * misc/err.h: Likewise.
37610 * misc/error.h: Likewise.
37611 * misc/fstab.h: Likewise.
37612 * misc/mntent.h: Likewise.
37613 * misc/regexp.h: Likewise.
37614 * misc/search.h: Likewise.
37615 * misc/sgtty.h: Likewise.
37616 * misc/sys/mman.h: Likewise.
37617 * misc/sys/syslog.h: Likewise.
37618 * misc/sys/uio.h: Likewise.
37619 * misc/sys/xattr.h: Likewise.
37620 * misc/ttyent.h: Likewise.
37621 * nis/rpcsvc/ypclnt.h: Likewise.
37622 * nss/nss.h: Likewise.
37623 * posix/bits/unistd.h: Likewise.
37624 * posix/fnmatch.h: Likewise.
37625 * posix/glob.h: Likewise.
37626 * posix/sched.h: Likewise.
37627 * posix/spawn.h: Likewise.
37628 * posix/sys/wait.h: Likewise.
37629 * posix/unistd.h: Likewise.
37630 * posix/wordexp.h: Likewise.
37631 * pwd/pwd.h: Likewise.
37632 * resolv/netdb.h: Likewise.
37633 * resource/sys/resource.h: Likewise.
37634 * rt/aio.h: Likewise.
37635 * rt/bits/mqueue2.h: Likewise.
37636 * rt/mqueue.h: Likewise.
37637 * shadow/shadow.h: Likewise.
37638 * signal/signal.h: Likewise.
37639 * socket/send.c: Likewise.
37640 * socket/sendto.c: Likewise.
37641 * socket/sys/socket.h: Likewise.
37642 * stdio-common/printf.h: Likewise.
37643 * stdlib/bits/stdlib.h: Likewise.
37644 * stdlib/fmtmsg.h: Likewise.
37645 * stdlib/monetary.h: Likewise.
37646 * stdlib/stdlib.h: Likewise.
37647 * stdlib/ucontext.h: Likewise.
37648 * streams/stropts.h: Likewise.
37649 * string/argz.h: Likewise.
37650 * string/bits/string2.h: Likewise.
37651 * string/string.h: Likewise.
37652 * string/strings.h: Likewise.
37653 * sunrpc/rpc/auth.h: Likewise.
37654 * sunrpc/rpc/auth_des.h: Likewise.
37655 * sunrpc/rpc/clnt.h: Likewise.
37656 * sunrpc/rpc/netdb.h: Likewise.
37657 * sunrpc/rpc/pmap_clnt.h: Likewise.
37658 * sunrpc/rpc/xdr.h: Likewise.
37659 * sysdeps/generic/inttypes.h: Likewise.
37660 * sysdeps/generic/net/if.h: Likewise.
37661 * sysdeps/generic/sys/swap.h: Likewise.
37662 * sysdeps/gnu/net/if.h: Likewise.
37663 * sysdeps/gnu/utmpx.h: Likewise.
37664 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37665 * sysdeps/i386/i486/bits/string.h: Likewise.
37666 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37667 * sysdeps/s390/bits/string.h: Likewise.
37668 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37669 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37670 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37671 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37672 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37673 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37674 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37675 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37676 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37677 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37678 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37679 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37680 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37681 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37682 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37683 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37684 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37686 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37687 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37689 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37690 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37691 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37692 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37693 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37694 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37695 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37696 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37697 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37698 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37699 * sysvipc/sys/ipc.h: Likewise.
37700 * sysvipc/sys/msg.h: Likewise.
37701 * sysvipc/sys/sem.h: Likewise.
37702 * sysvipc/sys/shm.h: Likewise.
37703 * termios/termios.h: Likewise.
37704 * time/sys/time.h: Likewise.
37705 * time/time.h: Likewise.
37706 * wcsmbs/bits/wchar2.h: Likewise.
37707 * wcsmbs/uchar.h: Likewise.
37708 * wcsmbs/wchar.h: Likewise.
37709 * wctype/wctype.h: Likewise.
37712 * Makeconfig: Remove all but ELF support including AIX support.
37713 * Makerules: Likewise.
37714 * config.h.in: Likewise.
37715 * config.make.in: Likewise.
37716 * configure: Likewise.
37717 * configure.in: Likewise.
37718 * csu/Makefile: Likewise.
37719 * csu/version.c: Likewise.
37720 * debug/Makefile: Likewise.
37721 * dlfcn/Makefile: Likewise.
37722 * elf/Makefile: Likewise.
37723 * extra-lib.mk: Likewise.
37724 * iconv/Makefile: Likewise.
37725 * include/libc-symbols.h: Likewise.
37726 * include/shlib-compat.h: Likewise.
37727 * resolv/Makefile: Likewise.
37728 * resolv/res_libc.c: Likewise.
37729 * rt/Makefile: Likewise.
37730 * sysdeps/i386/asm-syntax.h: Likewise.
37731 * sysdeps/i386/sysdep.h: Likewise.
37732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37733 * sysdeps/mach/sysdep.h: Likewise.
37734 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37735 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37736 * sysdeps/s390/asm-syntax.h: Likewise.
37737 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37738 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37739 * sysdeps/sh/sysdep.h: Likewise.
37740 * sysdeps/unix/sparc/sysdep.h: Likewise.
37741 * sysdeps/wordsize-32/divdi3.c: Likewise.
37742 * sysdeps/x86_64/sysdep.h: Likewise.
37744 * argp/Versions: Remove _argp_unlock_xxx.
37747 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37748 * abilist/libBrokenLocale.abilist: Likewise.
37749 * abilist/libanl.abilist: Likewise.
37750 * abilist/libc.abilist: Likewise.
37751 * abilist/libcrypt.abilist: Likewise.
37752 * abilist/libdl.abilist: Likewise.
37753 * abilist/libm.abilist: Likewise.
37754 * abilist/libnsl.abilist: Likewise.
37755 * abilist/libpthread.abilist: Likewise.
37756 * abilist/libresolv.abilist: Likewise.
37757 * abilist/librt.abilist: Likewise.
37758 * abilist/libthread_db.abilist: Likewise.
37759 * abilist/libutil.abilist: Likewise.
37760 * abilist/libnss_db.abilist: New file.
37762 * scripts/abilist.awk: Add support for indirect functions.
37764 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37766 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37768 * shlib-versions: Remove entries for ports architectures.
37770 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37772 * elf/stackguard-macros.h: Remove support for IA-64.
37773 * elf/tst-auditmod1.c: Likewise.
37774 * sysdeps/generic/ldsodefs.h: Likewise.
37776 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37777 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37781 * configure.in: Remove --enable-omitfp support.
37783 * config.make.in: Likewise.
37784 * Makeconfig: Likewise.
37785 * manual/install.texi: Likewise.
37787 In case anyone cares, the IA-64 architecture could move to ports.
37788 * sysdeps/ia64/*: Removed.
37789 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37790 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37793 * configure.in: Remove entries for unsupported architectures.
37796 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37797 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37799 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37800 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37801 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37802 fall back to using wcrtomb.
37803 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37804 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37806 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37807 * wcsmbs/tst-c16c32-1.c: New file.
37809 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37812 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37814 * elf/tst-unique3.cc: Add explicit declaration of gets.
37815 * elf/tst-unique3lib.cc: Likewise.
37816 * elf/tst-unique3lib2.cc: Likewise.
37817 * elf/tst-unique4.cc: Likewise.
37819 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37821 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37824 * assert/assert.h (static_assert): Don't define for C++.
37825 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37826 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37828 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37830 * iconv/loop.c (single loop): Fix assertion in storing of
37833 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37835 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37837 * posix/getconf.c: Update copyright year.
37838 * nss/getent.c: Likewise.
37839 * nss/makedb.c: Likewise.
37840 * iconv/iconvconfig.c: Likewise.
37841 * iconv/iconv_prog.c: Likewise.
37842 * elf/ldconfig.c: Likewise.
37843 * elf/pldd.c: Likewise.
37844 * elf/sotruss.ksh: Likewise.
37845 * catgets/gencat.c: Likewise.
37846 * csu/version.c: Likewise.
37847 * elf/ldd.bash.in: Likewise.
37848 * elf/sprof.c (print_version): Likewise.
37849 * locale/programs/locale.c: Likewise.
37850 * locale/programs/localedef.c: Likewise.
37851 * login/programs/pt_chown.c: Likewise.
37852 * nscd/nscd.c (print_version): Likewise.
37853 * debug/xtrace.sh: Likewise.
37854 * malloc/memusage.sh: Likewise.
37855 * malloc/mtrace.pl: Likewise.
37856 * debug/catchsegv.sh: Likewise.
37858 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37860 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37863 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37866 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37867 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37869 * iconv/gconv_int.h: Likewise.
37870 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37871 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37872 from libc for GLIBC_2.16.
37873 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37874 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37875 * wcsmbs/uchar.h: Really define mbstate_t.
37876 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37877 * wcsmbs/c16rtomb.c: New file.
37878 * wcsmbs/mbrtoc16.c: New file.
37879 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37880 for C/POSIX locale.
37881 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37882 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37884 * wcsmbs/wchar.h: Add missing __restrict.
37886 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37889 * time/Makefile (routines): Add timespec_get.
37890 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37891 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37892 timespec for ISO C11.
37893 * time/timespec_get.c: New file.
37894 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37895 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37898 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37899 * stdlib/stdlib.h: Declare aligned_alloc.
37900 * Versions.def: Add GLIBC_2.16 for libc.
37901 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37904 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37907 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37911 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37914 * assert/assert.h (static_assert): Define.
37916 * version.h: Update for 2.16 development version.
37919 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37922 * version.h (RELEASE): Bump for 2.15 release.
37923 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37925 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37926 Patch by Marek Polacek <mpolacek@redhat.com>.
37928 * bits/byteswap.h: Protect long long constants with __extension__.
37929 * sysdeps/i386/bits/byteswap.h: Likewise.
37930 * sysdeps/ia64/bits/byteswap.h: Likewise.
37931 * sysdeps/s390/bits/byteswap.h: Likewise.
37932 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37934 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37938 destination buffer.
37939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37941 2011-12-23 Marek Polacek <polacek@redhat.com>
37943 * elf/dl-addr.c (determine_info): Add inline keyword.
37944 * elf/tst-auditmod4b.c (check_avx): Likewise.
37945 * elf/tst-auditmod6b.c (check_avx): Likewise.
37946 * elf/tst-auditmod6c.c (check_avx): Likewise.
37947 * elf/tst-auditmod7b.c (check_avx): Likewise.
37949 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37951 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37954 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37958 processing for last bytes.
37960 2011-08-06 Bruno Haible <bruno@clisp.org>
37963 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37964 U+0385, not to U+1FEE.
37967 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37968 entry for U+00A5 U+0301.
37970 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37973 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37974 buffer for the output is too small.
37976 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37980 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37981 SSE flags if possible.
37983 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37987 processing for last bytes.
37989 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37991 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37992 (syscall-list-default-options, syscall-list-default-condition)
37993 (syscall-list-includes): Define.
37994 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37995 list of ABIs and options and #if conditions for each ABI. Do not
37996 handle common syscalls between ABIs specially.
37997 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37999 (syscall-list-variants, syscall-list-32bit-options)
38000 (syscall-list-32bit-condition, syscall-list-64bit-options)
38001 (syscall-list-64bit-condition): Define.
38002 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38003 (syscall-list-variants, syscall-list-32bit-options)
38004 (syscall-list-32bit-condition, syscall-list-64bit-options)
38005 (syscall-list-64bit-condition): Define.
38006 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38008 (syscall-list-variants, syscall-list-32bit-options)
38009 (syscall-list-32bit-condition, syscall-list-64bit-options)
38010 (syscall-list-64bit-condition): Define.
38011 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38013 (syscall-list-variants, syscall-list-32bit-options)
38014 (syscall-list-32bit-condition, syscall-list-64bit-options)
38015 (syscall-list-64bit-condition): Define.
38017 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38019 * locale/iso-639.def: Add brx entry.
38022 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38023 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38025 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38026 __feraiseexcept_renamed.
38028 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38031 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38032 EPOLLET with unsigned values.
38033 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38036 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38037 to large cancellation.
38038 * math/s_cacoshf.c: Likewise.
38039 * math/s_cacoshl.c: Likewise.
38041 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38045 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38046 * math/s_cacoshf.c: Likewise.
38047 * math/s_cacoshl.c: Likewise.
38049 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38052 * iconv/gconv.h: Define __GCONV_SWAP.
38053 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38054 * iconvdata/utf-16.c: Likewise.
38055 * iconvdata/utf-32.c: Likewise.
38057 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38061 numerator after shifting it by one limb.
38063 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38066 under [__USE_EXTERN_INLINES].
38068 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38071 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38073 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38075 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38076 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38078 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38079 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38080 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38081 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38082 for strncasecmp/strncasecmp_l compilation.
38083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38084 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38086 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38089 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38092 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38095 * time/tzfile.c (__tzfile_read): Check values from file header.
38097 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38099 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38100 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38101 * powerpc/powerpc32/dl-start.S: Likewise.
38102 * powerpc/powerpc32/elf/start.S: Likewise.
38103 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38104 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38105 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38106 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38107 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38108 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38109 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38110 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38111 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38112 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38113 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38114 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38115 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38116 * powerpc/powerpc32/memset.S: Likewise.
38117 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38118 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38119 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38120 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38121 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38122 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38123 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38124 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38125 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38126 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38127 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38128 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38129 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38131 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38133 * math/libm-test.inc: Added more nearbyint tests.
38134 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38139 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38141 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38144 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38146 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38147 Add wcscpy-ssse3 wcscpy-c.
38148 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38149 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38150 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38151 * sysdeps/x86_64/wcschr.S: New file.
38152 * sysdeps/x86_64/wcsrchr.S: New file.
38153 * string/test-strcmp.c: Remove checking of wcscmp function for
38155 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38156 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38157 wcsrchr-sse2 wcsrchr-c.
38158 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38159 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38160 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38161 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38162 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38163 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38164 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38165 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38166 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38167 * wcsmbc/wcschr.c (WCSCHR): New macro.
38169 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38171 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38172 * wcsmbs/test-wcsrchr.c: New file.
38173 * string/test-strrchr.c: Add wcsrchr support.
38175 * wcsmbs/test-wcscpy.c: New file.
38176 * string/test-strcpy.c: Add wcscpy support.
38179 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38181 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38184 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38187 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38189 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38192 Minor optimizations.
38194 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38195 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38196 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38198 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38200 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38201 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38202 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38203 for gcc to avoid warnings.
38204 * inet/Makefile (tests): Add tst-checks.
38205 * inet/tst-checks.c: New file.
38207 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38210 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38213 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38214 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38216 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38218 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38220 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38223 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38225 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38227 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38228 conditional on GCC version.
38229 (__arch_compare_and_exchange_val_8_acq)
38230 (__arch_compare_and_exchange_val_16_acq)
38231 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38232 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38233 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38235 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38237 * sysdeps/sh/backtrace.c: New file.
38239 2011-12-02 Andreas Schwab <schwab@redhat.com>
38241 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38244 2011-12-01 Andreas Schwab <schwab@redhat.com>
38246 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38247 falling back to utime.
38249 2011-11-30 Andreas Schwab <schwab@redhat.com>
38251 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38252 expectations for float.
38254 2011-11-29 Andreas Schwab <schwab@redhat.com>
38256 * locale/weight.h (findidx): Add parameter len.
38257 * locale/weightwc.h (findidx): Likewise.
38258 * posix/fnmatch_loop.c (FCT): Adjust caller.
38259 * posix/regcomp.c (build_equiv_class): Likewise.
38260 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38261 * posix/regexec.c (check_node_accept_bytes): Likewise.
38262 * string/strcoll_l.c (STRCOLL): Likewise.
38263 * string/strxfrm_l.c (STRXFRM): Likewise.
38265 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38267 * Makefile.in: Remove CVSOPT handling.
38268 * configure.in: Remove use of AC_REVISION.
38269 * iconvdata/Makefile (distribute): No need to filter out CVS.
38270 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38273 2011-11-16 Andreas Schwab <schwab@redhat.com>
38275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38276 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38277 [USE_AS_STRNCASECMP_L]: Likewise.
38278 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38279 NO_TLS_DIRECT_SEG_REFS.
38280 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38281 Fix argument offsets for non-PIC.
38282 [USE_AS_STRNCASECMP_L]: Likewise.
38283 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38284 NO_TLS_DIRECT_SEG_REFS.
38286 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38288 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38290 * locale/loadlocale.c (_nl_load_locale): Likewise.
38292 2011-11-15 Andreas Schwab <schwab@redhat.com>
38294 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38295 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38296 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38297 (SYSCALL_GETTIME): Set errno on error.
38299 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38300 count references to noai6ai_cached.
38302 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38304 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38306 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38307 FD_CLOEXEC for /proc/self/maps.
38309 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38310 FD_CLOEXEC for /proc/meminfo.
38312 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38315 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38316 FD_CLOEXEC for given file.
38318 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38320 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38321 FD_CLOEXEC for /etc/hosts.
38322 (_gethtent): Likewise.
38324 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38326 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38327 cancellation and set FD_CLOEXEC for /etc/netgroup.
38329 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38330 reading /etc/publickey.
38332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38333 allow cancellation when reading /etc/group.
38335 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38337 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38339 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38340 when using data file.
38342 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38344 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38345 (write_nis_obj): Use "c" and "e" in fopen.
38347 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38349 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38351 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38353 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38355 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38358 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38360 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38362 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38364 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38365 file parsing and set FD_CLOEXEC.
38367 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38369 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38371 2011-11-14 Andreas Schwab <schwab@redhat.com>
38373 * malloc/arena.c (arena_get2): Don't call reused_arena when
38374 _int_new_arena failed.
38376 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38378 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38379 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38383 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38384 to compile strcasecmp and strncasecmp.
38385 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38386 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38390 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38393 locale-defines.sym to gen-as-const-headers.
38394 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38395 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38397 to compile strcasecmp and strncasecmp.
38398 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38399 strcasecmp_l and strncasecmp_l.
38400 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38401 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38402 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38403 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38404 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38405 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38406 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38407 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38408 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38409 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38410 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38412 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38414 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38415 result of SYSDEP_GETTIME_CPU to retval.
38416 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38417 parameter list to macro. Remove trailing semicolon. Adjust users.
38419 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38422 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38424 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38426 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38427 from unused variable.
38429 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38431 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38434 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38437 * sunrpc/rpc_prot.c (rejected): Fix case value.
38439 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38440 unsigned long long int to avoid warnings in shift.
38442 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38444 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38447 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38448 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38449 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38451 * nis/nis_table.c (nis_list): Use variable of correct type for
38452 result of __follow_path call.
38454 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38456 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38457 of math functions ceil, trunc, floor, round, and sqrt, when
38458 avaliable on the platform.
38459 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38461 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38462 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38463 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38465 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38467 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38468 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38470 2011-11-11 Roland McGrath <roland@hack.frob.com>
38472 * include/unistd.h: Fix __readlink return type.
38473 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38475 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38477 * stdlib/ucontext.h: Undo last change for makecontext.
38479 2011-11-11 Andreas Schwab <schwab@redhat.com>
38481 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38483 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38484 * setjmp/setjmp.h: Mark functions as non-leaf.
38485 * setjmp/bits/setjmp2.h: Likewise.
38486 * stdlib/ucontext.h: Likewise.
38488 2011-11-10 Andreas Schwab <schwab@redhat.com>
38490 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38491 (reused_arena): Don't check arena limit.
38492 (arena_get2): Atomically check arena limit.
38494 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38496 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38497 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38502 2011-11-07 Andreas Schwab <schwab@redhat.com>
38504 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38505 handler when locking.
38507 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38508 Fix size of allocated buffer.
38510 2011-11-04 Andreas Schwab <schwab@redhat.com>
38513 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38514 declarations for long double functions.
38515 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38517 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38519 2011-11-03 Andreas Schwab <schwab@redhat.com>
38521 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38524 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38527 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38529 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38531 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38533 * include/alloca.h (stackinfo_alloca_round): Define.
38534 (extend_alloca): Use it.
38535 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38536 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38539 * scripts/check-local-headers.sh: Ignore libaudit.h.
38541 * nscd/Makefile (extra-objs): Make recursively expanded.
38543 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38545 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38548 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38549 * posix/tst-rfc3484-2.c: Likewise.
38550 * posix/tst-rfc3484-3.c: Likewise.
38552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38554 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38556 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38557 process_vm_writev from libc using GLIBC_2.15 version.
38559 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38561 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38563 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38566 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38569 * nss/getent.c (initgroups_keys): Show error message in case no group
38572 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38573 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38574 __bump_nl_timestamp.
38575 * nscd/connections (nscd_init): When host database is served open
38576 netlink socket and request notification about configuration changes.
38577 (main_loop_poll): Track netlink file descriptor and bump timestamp
38578 in case data becomes available.
38579 (main_loop_epoll): Likewise.
38580 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38581 (database_pers_head): Add extra_data fileds.
38582 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38584 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38587 in6ai data, call __free_in6ai.
38588 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38589 Add -DHAVE_NETLINK.
38590 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38591 interface information. Reuse previous data if netlink timestamp
38593 (__bump_nl_timestamp): New function.
38594 (__free_in6ai): New function.
38596 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38598 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38599 close_not_cancel_no_status here.
38600 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38602 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38605 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38608 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38609 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38610 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38612 2011-07-03 Andreas Jaeger <aj@suse.de>
38615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38616 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38617 * math/libm-test.inc (sin_test): Add test case.
38619 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38622 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38623 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38625 * elf/chroot_canon.c (chroot_canon): Cleanups.
38627 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38630 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38631 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38633 * string/test-strchr.c: Make usable for strchrnul testing.
38634 * string/test-strchrnul.c: New file.
38635 * string/Makefile (strop-tests): Add strchrnul.
38637 * po/it.po: Update from translation team.
38638 * po/es.po: Likewise.
38640 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38642 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38643 the three constants needed as parameters. Drop the others.
38644 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38645 __m128i_strloadu_tolower.
38646 Create and initialize variable zero and use it in all the places
38647 where _mm_setzero_si128 was used.
38649 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38650 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38651 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38652 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38657 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38659 __mpranred, __mptan.
38660 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38661 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38662 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38663 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38664 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38665 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38667 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38668 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38670 2011-10-28 Andreas Schwab <schwab@redhat.com>
38672 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38673 redefine if SHARED.
38674 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38677 wide char related routines to wcsmbs subdir.
38679 2011-10-27 Andreas Schwab <schwab@redhat.com>
38682 * misc/sys/cdefs.h (__THROWNL): Define.
38683 * posix/unistd.h: Use __THREADNL instead of __THREAD
38684 for memory synchronization functions.
38686 2011-10-26 Roland McGrath <roland@hack.frob.com>
38689 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38691 * manual/stdio.texi (Obstack Streams): Node removed.
38693 2011-10-26 Andreas Schwab <schwab@redhat.com>
38695 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38696 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38697 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38699 * math/math_private.h (math_force_eval): Allow non-addressable
38701 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38703 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38706 file is not needed.
38708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38715 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38717 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38718 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38719 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38720 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38722 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38723 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38724 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38725 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38726 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38727 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38728 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38731 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38732 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38734 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38735 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38737 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38738 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38741 place. Use VEX encoding when compiling for AVX.
38743 2011-10-25 Andreas Schwab <schwab@redhat.com>
38745 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38746 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38748 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38750 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38752 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38753 useless if() expression.
38754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38760 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38763 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38766 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38768 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38769 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38770 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38772 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38774 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38776 2011-10-25 Andreas Schwab <schwab@redhat.com>
38778 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38780 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38782 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38784 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38785 .text section. Avoid duplicate constants.
38786 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38794 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38795 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38796 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38798 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38799 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38800 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38803 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38804 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38806 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38807 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38808 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38809 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38810 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38811 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38812 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38813 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38814 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38815 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38816 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38822 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38824 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38828 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38829 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38830 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38832 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38834 * sysdeps/x86_64/dla.h: Move to ...
38835 * sysdeps/x86_64/fpu/dla.h: ...here.
38836 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38837 situations. Use __builtin_fma only for gcc 4.6 and up.
38839 * config.make.in: Add have-mfma4 entry.
38840 * configure.in: Substitute libc_cv_cc_fma4.
38841 * math/Makefile (dbl-only-routines): Add sincostab.
38842 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38843 Use __sincostab not sincos.
38844 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38851 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38852 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38853 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38854 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38857 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38859 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38860 define aliases when function name is a macro.
38861 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38862 sysdeps/ieee754/dbl-64/sincos.tbl.
38863 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38864 fma4-enabled routines.
38865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38870 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38874 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38875 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38877 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38878 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38879 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38880 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38881 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38882 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38883 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38885 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38886 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38887 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38891 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38892 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38893 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38894 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38896 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38907 2011-10-24 Andreas Schwab <schwab@redhat.com>
38909 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38911 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38915 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38919 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38920 Remove unused variable magic_bits.
38921 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38923 * string/strnlen.c: Define and use STRNLEN macro.
38924 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38925 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38927 * wcsmbs/wcslen.c: Define and use WCSLEN.
38928 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38929 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38930 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38931 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38932 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38933 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38934 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38936 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38939 strnlen-sse2-no-bsf.
38940 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38942 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38943 Add strnlen support.
38944 (USE_AS_STRNLEN): New macro.
38945 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38946 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38947 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38948 * sysdeps/x86_64/wcslen.S: New file.
38950 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38953 XMM-moves are used for copying on small sizes.
38955 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38957 * wcsmbs/Makefile (strop-tests): Add wcschr.
38958 * wcsmbs/test-wcschr.c: New file.
38959 * string/test-strchr.c: Update.
38960 Add wcschr support.
38963 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38965 * wcsmbs/Makefile (strop-tests): Add wcslen.
38966 * wcsmbs/test-wcslen.c: New file.
38967 * string/test-strlen.c: Update.
38968 Add wcslen support.
38971 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38973 * po/it.po: Update from translation team.
38975 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38977 * sysdeps/x86_64/wcscmp.S: Update.
38978 Fix wrong comparison semantics.
38979 wcscmp shall use signed comparison not unsigned.
38980 Don't use substraction to avoid overflow bug.
38981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38982 * wcsmbc/wcscmp.c: Likewise.
38983 * string/test-strcmp.c: Likewise.
38984 Add new tests to check cases with negative values.
38986 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38988 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38989 * sysdeps/x86_64/dla.h: ...here. New file.
38990 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39000 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39002 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39003 __ynl_finite aliases.
39005 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39009 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39011 [DLA_FMA] (EMULV): Use DLA_FMA.
39012 [DLA_FMA] (MUL12): Use EMULV.
39013 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39014 that are not needed.
39015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39023 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39025 * math/s_nan.c: Undef __nan.
39026 * math/s_nanf.c: Undef __nanf.
39027 * math/s_nanl.c: Undef __nanl.
39028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39031 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39033 * math/s_catan.c: Add branch predictions.
39034 * math/s_catanf.c: Likewise.
39035 * math/s_catanh.c: Likewise.
39036 * math/s_catanhf.c: Likewise.
39037 * math/s_catanhl.c: Likewise.
39038 * math/s_catanl.c: Likewise.
39039 * math/s_cexp.c: Likewise.
39040 * math/s_cexpf.c: Likewise.
39041 * math/s_cexpl.c: Likewise.
39042 * math/s_clog.c: Likewise.
39043 * math/s_clog10.c: Likewise.
39044 * math/s_clog10f.c: Likewise.
39045 * math/s_clog10l.c: Likewise.
39046 * math/s_clogf.c: Likewise.
39047 * math/s_clogl.c: Likewise.
39048 * math/s_csqrt.c: Likewise.
39049 * math/s_csqrtf.c: Likewise.
39050 * math/s_csqrtl.c: Likewise.
39051 * math/s_ctanf.c: Likewise.
39052 * math/s_ctanh.c: Likewise.
39053 * math/s_ctanhf.c: Likewise.
39054 * math/s_ctanhl.c: Likewise.
39055 * math/s_ctanl.c: Likewise.
39057 * math/math_private.h: Define __nan, __nanf, __nanl.
39058 * math/s_cacosh.c: Include <math_private.h>.
39059 * math/s_cacoshl.c: Likewise.
39060 * math/s_casinh.c: Likewise.
39061 * math/s_casinhf.c: Likewise.
39062 * math/s_casinhl.c: Likewise.
39063 * math/s_ccos.c: Rely entire on ccosh.
39064 * math/s_ccosf.c: Rely entire on ccoshf.
39065 * math/s_ccosl.c: Rely entirely on ccoshl.
39066 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39067 Remove tests for FE_INVALID.
39068 * math/s_ccoshf.c: Likewise.
39069 * math/s_ccoshl.c: Likewise.
39070 * math/s_csin.c: Likewise.
39071 * math/s_csinf.c: Likewise.
39072 * math/s_csinh.c Likewise.
39073 * math/s_csinhf.c: Likewise.
39074 * math/s_csinhl.c: Likewise.
39075 * math/s_csinl.c: Likewise.
39076 * math/s_ctan.c: Likewise.
39077 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39078 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39079 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39081 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39084 compilation problems.
39086 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39089 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39091 * sysdeps/i386/configure.in: Test for -mfma4 option.
39092 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39093 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39094 COMMON_CPUID_INDEX_80000001.
39095 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39096 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39097 use it if FMA3 is not supported.
39098 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39100 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39101 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39103 2011-10-20 Andreas Schwab <schwab@redhat.com>
39106 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39107 it would create a cycle with a link time dependency.
39109 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39111 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39113 * string/Makefile (strop-tests): Add rawmemchr.
39114 * string/test-rawmemchr.c: New file.
39116 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39117 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39118 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39119 when compiling str{,n}casecmp and when AVX is available. Hook up
39120 new optimized code in initializers.
39122 2011-10-19 Andreas Schwab <schwab@redhat.com>
39124 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39125 __feraiseexcept instead of feraiseexcept.
39127 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39129 * math/math_private.h: Define defaults for libc_fetestexcept and
39131 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39132 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39133 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39134 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39135 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39136 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39137 libc_fetestexcept and libc_feupdateenv.
39139 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39140 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39141 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39142 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39143 libc_feholdexcept_setround.
39145 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39146 Add s_nearbyint-c and s_nearbyintf-c.
39147 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39148 nearbyintf inlines.
39149 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39150 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39151 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39152 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39154 * math/math_private.h: Define defaults for libc_fegetround,
39155 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39156 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39157 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39159 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39160 standard functions.
39161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39162 Remove comments and hacks for old compiler versions.
39163 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39164 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39165 libc_feholdexceptl.
39167 2011-10-18 Andreas Schwab <schwab@redhat.com>
39169 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39170 (__feraiseexcept_renamed): Add __NTH.
39171 (feraiseexcept): Add __NTH. Rename local variables to fix
39172 namespace violations.
39174 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39180 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39181 recently added interfaces.
39182 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39184 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39185 about macro parameter expansion.
39187 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39188 __NO_MATH_INLINES is defined. Cleanups.
39190 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39191 and __floorf is target has SSE4.1.
39192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39193 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39194 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39195 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39197 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39199 (floorf): Likewise.
39201 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39203 2011-10-17 Andreas Schwab <schwab@redhat.com>
39205 * misc/sys/cdefs.h: Fix last change.
39207 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39210 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39212 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39214 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39219 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39221 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39222 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39223 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39224 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39225 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39226 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39227 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39228 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39229 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39230 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39231 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39232 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39233 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39235 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39237 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39238 ceil, ceilf, floor, floorf.
39240 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39241 Perform IRELATIVE relocations last.
39243 * elf/do-rel.h: Add another parameter nrelative, replacing the
39244 local variable with the same name. Change name of the function
39245 to end in Rel or Rela (uppercase).
39246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39247 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39248 elf_dynamic_do_##reloc function.
39250 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39252 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39253 is sufficient, at least on modern CPUs.
39255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39257 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39258 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39260 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39262 * math/bits/math-finite.h: Add entries for exp.
39263 * math/e_expl.c: Add __*_finite alias.
39264 * sysdeps/i386/fpu/e_exp.S: Likewise.
39265 * sysdeps/i386/fpu/e_expf.S: Likewise.
39266 * sysdeps/i386/fpu/e_expl.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39268 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39269 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39272 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39273 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39275 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39276 is sufficient, at least on modern CPUs.
39278 * ctype/ctype-info.c (__ctype_init): Define.
39279 * include/ctype.h (__ctype_init): Declare.
39280 (__ctype_b_loc): The variable is always initialized.
39281 (__ctype_toupper_loc): Likewise.
39282 (__ctype_tolower_loc): Likewise.
39283 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39284 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39286 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39288 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39290 * configure.in: Also look in $cxxmachine/include for C++ system
39293 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39295 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39296 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39297 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39298 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39300 (USE_AS_WMEMCMP): New macro.
39302 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39303 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39304 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39305 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39307 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39308 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39309 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39310 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39311 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39312 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39313 (USE_AS_WMEMCMP): New macro.
39314 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39315 * sysdeps/string/test-memcmp.c: Update.
39316 Fix simple_wmemcmp.
39318 * wcsmbs/wmemcmp.c: Update.
39319 (WMEMCMP): New macro.
39322 2011-10-12 Andreas Jaeger <aj@suse.de>
39325 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39327 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39329 * libio/iofwide.c (do_length): Avoid warning.
39331 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39333 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39335 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39337 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39338 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39339 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39340 * sysdeps/i386/i686/fpu/e_log.S: New file.
39341 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39342 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39344 * ctype/ctype.h: Add support for inlined isXXX functions when
39345 compiling C++ code.
39347 2011-10-14 Andreas Schwab <schwab@redhat.com>
39349 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39351 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39353 2011-10-13 Roland McGrath <roland@hack.frob.com>
39356 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39358 2011-10-13 Andreas Schwab <schwab@redhat.com>
39360 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39361 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39364 * sysdeps/x86_64/memrchr.S: Check for zero size.
39366 * string/stratcliff.c: Add memrchr tests.
39368 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39371 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39372 rawmemchr-sse2 rawmemchr-sse2-bsf.
39373 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39374 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39375 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39376 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39377 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39378 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39379 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39380 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39381 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39382 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39383 * string/memrchr.c (MEMRCHR): New macro.
39385 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39387 Add integration with gcc's -ffinite-math-only and optimize wrapper
39389 * Versions.def: Define GLIBC_2.15 version for libm.
39390 * math/Makefile (headers): Add bits/math-finite.h.
39391 * math/bits/math-finite.h: New file.
39392 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39393 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39394 * math/e_acoshl.c: Add __*_finite alias.
39395 * math/e_acosl.c: Likewise.
39396 * math/e_asinl.c: Likewise.
39397 * math/e_atan2l.c: Likewise.
39398 * math/e_atanhl.c: Likewise.
39399 * math/e_coshl.c: Likewise.
39400 * math/e_exp10.c: Likewise.
39401 * math/e_exp10f.c: Likewise.
39402 * math/e_exp10l.c: Likewise.
39403 * math/e_exp2l.c: Likewise.
39404 * math/e_fmodl.c: Likewise.
39405 * math/e_gammal_r.c: Likewise.
39406 * math/e_hypotl.c: Likewise.
39407 * math/e_j0l.c: Likewise.
39408 * math/e_j1l.c: Likewise.
39409 * math/e_jnl.c: Likewise.
39410 * math/e_lgammal_r.c: Likewise.
39411 * math/e_log10l.c: Likewise.
39412 * math/e_log2l.c: Likewise.
39413 * math/e_logl.c: Likewise.
39414 * math/e_powl.c: Likewise.
39415 * math/e_sinhl.c: Likewise.
39416 * math/e_sqrtl.c: Likewise.
39417 * math/e_scalb.c: Completely rewritten and optimized.
39418 * math/e_scalbf.c: Likewise.
39419 * math/e_scalbl.c: Likewise.
39420 * math/w_acos.c: Likewise.
39421 * math/w_acosf.c: Likewise.
39422 * math/w_acosl.c: Likewise.
39423 * math/w_acosh.c: Likewise.
39424 * math/w_acoshf.c: Likewise.
39425 * math/w_acoshl.c: Likewise.
39426 * math/w_asin.c: Likewise.
39427 * math/w_asinf.c: Likewise.
39428 * math/w_asinl.c: Likewise.
39429 * math/w_atan2.c: Likewise.
39430 * math/w_atan2f.c: Likewise.
39431 * math/w_atan2l.c: Likewise.
39432 * math/w_atanh.c: Likewise.
39433 * math/w_atanhf.c: Likewise.
39434 * math/w_atanhl.c: Likewise.
39435 * math/w_exp10.c: Likewise.
39436 * math/w_exp10f.c: Likewise.
39437 * math/w_exp10l.c: Likewise.
39438 * math/w_fmod.c: Likewise.
39439 * math/w_fmodf.c: Likewise.
39440 * math/w_fmodl.c: Likewise.
39441 * math/w_j0.c: Likewise.
39442 * math/w_j0f.c: Likewise.
39443 * math/w_j0l.c: Likewise.
39444 * math/w_j1.c: Likewise.
39445 * math/w_j1f.c: Likewise.
39446 * math/w_j1l.c: Likewise.
39447 * math/w_jn.c: Likewise.
39448 * math/w_jnf.c: Likewise.
39449 * math/w_log.c: Likewise.
39450 * math/w_logf.c: Likewise.
39451 * math/w_logl.c: Likewise.
39452 * math/w_log10.c: Likewise.
39453 * math/w_log10f.c: Likewise.
39454 * math/w_log10l.c: Likewise.
39455 * math/w_log2.c: Likewise.
39456 * math/w_log2f.c: Likewise.
39457 * math/w_log2l.c: Likewise.
39458 * math/w_pow.c: Likewise.
39459 * math/w_powf.c: Likewise.
39460 * math/w_powl.c: Likewise.
39461 * math/w_remainder.c: Likewise.
39462 * math/w_remainderf.c: Likewise.
39463 * math/w_remainderl.c: Likewise.
39464 * math/w_scalb.c: Likewise.
39465 * math/w_scalbf.c: Likewise.
39466 * math/w_scalbl.c: Likewise.
39467 * math/w_sqrt.c: Likewise.
39468 * math/w_sqrtf.c: Likewise.
39469 * math/w_sqrtl.c: Likewise.
39470 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39471 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39473 * math/math_private.h: Declare __kernel_standard_f.
39474 * math/w_cosh.c: Remove cruft and optimize a bit.
39475 * math/w_coshf.c: Likewise.
39476 * math/w_coshl.c: Likewise.
39477 * math/w_exp2.c: Likewise.
39478 * math/w_exp2f.c: Likewise.
39479 * math/w_exp2l.c: Likewise.
39480 * math/w_hypot.c: Likewise.
39481 * math/w_hypotf.c: Likewise.
39482 * math/w_hypotl.c: Likewise.
39483 * math/w_lgamma.c: Likewise.
39484 * math/w_lgamma_r.c: Likewise.
39485 * math/w_lgammaf.c: Likewise.
39486 * math/w_lgammaf_r.c: Likewise.
39487 * math/w_lgammal.c: Likewise.
39488 * math/w_lgammal_r.c: Likewise.
39489 * math/w_sinh.c: Likewise.
39490 * math/w_sinhf.c: Likewise.
39491 * math/w_sinhl.c: Likewise.
39492 * math/w_tgamma.c: Likewise.
39493 * math/w_tgammaf.c: Likewise.
39494 * math/w_tgammal.c: Likewise.
39495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39497 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39498 Minor optimizations. Pretty printing. Remove cruft.
39499 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39500 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39502 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39503 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39504 * sysdeps/i386/fpu/e_asin.S: Likewise.
39505 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39506 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39507 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39508 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39509 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39510 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39511 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39512 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39513 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39514 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39515 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39516 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39517 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39518 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39519 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39520 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39521 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39522 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39523 * sysdeps/i386/fpu/e_log.S: Likewise.
39524 * sysdeps/i386/fpu/e_log10.S: Likewise.
39525 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39526 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39527 * sysdeps/i386/fpu/e_log2.S: Likewise.
39528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39530 * sysdeps/i386/fpu/e_logf.S: Likewise.
39531 * sysdeps/i386/fpu/e_logl.S: Likewise.
39532 * sysdeps/i386/fpu/e_pow.S: Likewise.
39533 * sysdeps/i386/fpu/e_powf.S: Likewise.
39534 * sysdeps/i386/fpu/e_powl.S: Likewise.
39535 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39536 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39537 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39538 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39539 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39540 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39541 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39542 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39543 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39544 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39547 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39548 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39549 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39550 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39551 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39552 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39554 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39555 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39556 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39558 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39561 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39564 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39565 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39566 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39567 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39568 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39569 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39570 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39571 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39572 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39573 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39578 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39579 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39580 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39581 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39582 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39583 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39584 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39585 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39607 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39608 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39609 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39616 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39618 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39623 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39627 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39629 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39630 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39632 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39637 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39638 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39639 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39640 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39641 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39642 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39643 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39644 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39645 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39646 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39647 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39648 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39649 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39650 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39651 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39652 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39653 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39654 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39655 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39656 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39657 (__isnanf): Likewise.
39658 (__isinf_ns): Likewise.
39659 (__isinf_nsf): Likewise.
39660 (__finite): Likewise.
39661 (__finitef): Likewise.
39662 (__ieee754_sqrt): Define as macro.
39663 (__ieee754_sqrtf): Define as macro.
39664 (__ieee754_sqrtl): Define as macro.
39665 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39667 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39668 __FINITE_MATH_ONLY__ consistent.
39669 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39671 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39673 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39676 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39678 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39680 * po/ja.po: Update from translation team.
39682 2011-10-08 Roland McGrath <roland@hack.frob.com>
39684 * locale/programs/locarchive.c (prepare_address_space): New function.
39685 (create_archive, enlarge_archive, open_archive): Use it.
39687 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39688 inside [SHARED], where it is used.
39690 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39692 * nss/getent.c (netgroup_keys): Remove unused variable.
39693 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39695 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39697 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39698 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39700 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39701 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39703 * math/Makefile (libm-calls): Add s_isinf_ns.
39704 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39705 * math/multc3.c: Likewise.
39706 * math/s_casin.c: Likewise.
39707 * math/s_casinf.c: Likewise.
39708 * math/s_casinl.c: Likewise.
39709 * math/s_ccos.c: Likewise.
39710 * math/s_ccosf.c: Likewise.
39711 * math/s_ccosl.c: Likewise.
39712 * math/s_ctan.c: Likewise.
39713 * math/s_ctanf.c: Likewise.
39714 * math/s_ctanh.c: Likewise.
39715 * math/s_ctanhf.c: Likewise.
39716 * math/s_ctanhl.c: Likewise.
39717 * math/s_ctanl.c: Likewise.
39718 * math/w_fmod.c: Likewise.
39719 * math/w_fmodf.c: Likewise.
39720 * math/w_fmodl.c: Likewise.
39721 * math/w_remainder.c: Likewise.
39722 * math/w_remainderf.c: Likewise.
39723 * math/w_remainderl.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39725 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39726 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39728 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39729 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39730 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39731 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39733 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39735 * stdio-common/printf_fphex.c: Likewise.
39736 * stdio-common/printf_size.c: Likewise.
39738 * math/e_exp10.c: Include math_private.h using <...> not "...".
39739 * math/e_exp10f.c: Likewise.
39740 * math/e_exp10l.c: Likewise.
39741 * math/e_exp2l.c: Likewise.
39742 * math/e_j0l.c: Likewise.
39743 * math/e_j1l.c: Likewise.
39744 * math/e_jnl.c: Likewise.
39745 * math/e_lgammal_r.c: Likewise.
39746 * math/e_rem_pio2l.c: Likewise.
39747 * math/e_scalb.c: Likewise.
39748 * math/e_scalbf.c: Likewise.
39749 * math/e_scalbl.c: Likewise.
39750 * math/k_cosl.c: Likewise.
39751 * math/k_sinl.c: Likewise.
39752 * math/k_tanl.c: Likewise.
39753 * math/s_cacoshf.c: Likewise.
39754 * math/s_catan.c: Likewise.
39755 * math/s_catanf.c: Likewise.
39756 * math/s_catanh.c: Likewise.
39757 * math/s_catanhf.c: Likewise.
39758 * math/s_catanhl.c: Likewise.
39759 * math/s_catanl.c: Likewise.
39760 * math/s_ccosh.c: Likewise.
39761 * math/s_ccoshf.c: Likewise.
39762 * math/s_ccoshl.c: Likewise.
39763 * math/s_cexp.c: Likewise.
39764 * math/s_cexpf.c: Likewise.
39765 * math/s_cexpl.c: Likewise.
39766 * math/s_clog.c: Likewise.
39767 * math/s_clog10.c: Likewise.
39768 * math/s_clog10f.c: Likewise.
39769 * math/s_clog10l.c: Likewise.
39770 * math/s_clogf.c: Likewise.
39771 * math/s_clogl.c: Likewise.
39772 * math/s_csin.c: Likewise.
39773 * math/s_csinf.c: Likewise.
39774 * math/s_csinh.c: Likewise.
39775 * math/s_csinhf.c: Likewise.
39776 * math/s_csinhl.c: Likewise.
39777 * math/s_csinl.c: Likewise.
39778 * math/s_csqrt.c: Likewise.
39779 * math/s_csqrtf.c: Likewise.
39780 * math/s_csqrtl.c: Likewise.
39781 * math/s_ctan.c: Likewise.
39782 * math/s_ctanf.c: Likewise.
39783 * math/s_ctanh.c: Likewise.
39784 * math/s_ctanhf.c: Likewise.
39785 * math/s_ctanhl.c: Likewise.
39786 * math/s_ctanl.c: Likewise.
39787 * math/s_ldexp.c: Likewise.
39788 * math/s_ldexpf.c: Likewise.
39789 * math/s_ldexpl.c: Likewise.
39790 * math/s_significand.c: Likewise.
39791 * math/s_significandf.c: Likewise.
39792 * math/s_significandl.c: Likewise.
39793 * math/w_acos.c: Likewise.
39794 * math/w_acosf.c: Likewise.
39795 * math/w_acosh.c: Likewise.
39796 * math/w_acoshf.c: Likewise.
39797 * math/w_acoshl.c: Likewise.
39798 * math/w_acosl.c: Likewise.
39799 * math/w_asin.c: Likewise.
39800 * math/w_asinf.c: Likewise.
39801 * math/w_asinl.c: Likewise.
39802 * math/w_atan2.c: Likewise.
39803 * math/w_atan2f.c: Likewise.
39804 * math/w_atan2l.c: Likewise.
39805 * math/w_atanh.c: Likewise.
39806 * math/w_atanhf.c: Likewise.
39807 * math/w_atanhl.c: Likewise.
39808 * math/w_cosh.c: Likewise.
39809 * math/w_coshf.c: Likewise.
39810 * math/w_coshl.c: Likewise.
39811 * math/w_dremf.c: Likewise.
39812 * math/w_exp10.c: Likewise.
39813 * math/w_exp10f.c: Likewise.
39814 * math/w_exp10l.c: Likewise.
39815 * math/w_exp2.c: Likewise.
39816 * math/w_exp2f.c: Likewise.
39817 * math/w_fmod.c: Likewise.
39818 * math/w_fmodf.c: Likewise.
39819 * math/w_fmodl.c: Likewise.
39820 * math/w_hypot.c: Likewise.
39821 * math/w_hypotf.c: Likewise.
39822 * math/w_hypotl.c: Likewise.
39823 * math/w_j0.c: Likewise.
39824 * math/w_j0f.c: Likewise.
39825 * math/w_j0l.c: Likewise.
39826 * math/w_j1.c: Likewise.
39827 * math/w_j1f.c: Likewise.
39828 * math/w_j1l.c: Likewise.
39829 * math/w_jn.c: Likewise.
39830 * math/w_jnf.c: Likewise.
39831 * math/w_jnl.c: Likewise.
39832 * math/w_lgamma.c: Likewise.
39833 * math/w_lgamma_r.c: Likewise.
39834 * math/w_lgammaf.c: Likewise.
39835 * math/w_lgammaf_r.c: Likewise.
39836 * math/w_lgammal.c: Likewise.
39837 * math/w_lgammal_r.c: Likewise.
39838 * math/w_log.c: Likewise.
39839 * math/w_log10.c: Likewise.
39840 * math/w_log10f.c: Likewise.
39841 * math/w_log10l.c: Likewise.
39842 * math/w_log2.c: Likewise.
39843 * math/w_log2f.c: Likewise.
39844 * math/w_log2l.c: Likewise.
39845 * math/w_logf.c: Likewise.
39846 * math/w_logl.c: Likewise.
39847 * math/w_pow.c: Likewise.
39848 * math/w_powf.c: Likewise.
39849 * math/w_powl.c: Likewise.
39850 * math/w_remainder.c: Likewise.
39851 * math/w_remainderf.c: Likewise.
39852 * math/w_remainderl.c: Likewise.
39853 * math/w_scalb.c: Likewise.
39854 * math/w_scalbf.c: Likewise.
39855 * math/w_scalbl.c: Likewise.
39856 * math/w_sinh.c: Likewise.
39857 * math/w_sinhf.c: Likewise.
39858 * math/w_sinhl.c: Likewise.
39859 * math/w_sqrt.c: Likewise.
39860 * math/w_sqrtf.c: Likewise.
39861 * math/w_sqrtl.c: Likewise.
39862 * math/w_tgamma.c: Likewise.
39863 * math/w_tgammaf.c: Likewise.
39864 * math/w_tgammal.c: Likewise.
39866 * po/ja.po: Update from translation team.
39868 2011-09-29 Andreas Jaeger <aj@suse.de>
39871 * sunrpc/netname.c (netname2host): Fix logic.
39875 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39877 * math/w_remainder.c (__remainder): Likewise.
39878 * math/w_remainderf.c (__remainderf): Likewise.
39879 * math/libm-test.inc (remainder_test): Add test cases.
39881 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39883 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39886 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39888 * string/test-memcmp.c: Avoid unncessary #defines.
39889 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39891 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39893 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39894 Use new sse2 version for core i3 - i7 as it's faster
39895 than sse42 version.
39896 (bit_Prefer_PMINUB_for_stringop): New.
39897 * sysdeps/x86_64/rawmemchr.S: Update.
39898 Replace with faster SSE2 version.
39899 * sysdeps/x86_64/memrchr.S: New file.
39900 * sysdeps/x86_64/memchr.S: Update.
39901 Replace with faster SSE2 version.
39903 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39905 * elf/dl-load.c (lose): Add cast to avoid warning.
39907 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39909 * po/ca.po: Update from translation team.
39911 * inet/getnetgrent_r.c: Hook up nscd.
39912 * nscd/Makefile (routines): Add nscd_netgroup.
39913 (nscd-modules): Add netgroupcache.
39914 (CFLAGS-netgroupcache.c): Define.
39915 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39916 (cache_search): Add const to second parameter.
39917 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39919 (dbs): Add netgrdb entry.
39920 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39921 (verify_persistent_db): Handle netgrdb.
39922 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39923 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39925 (netgroup_response_header): Define.
39926 (innetgroup_response_header): Define.
39927 (datahead): Add netgroup_response_header and innetgroup_response_header
39929 * nscd/nscd.conf: Add entries for netgroup cache.
39930 * nscd/nscd.h (dbtype): Add netgrdb.
39931 (_PATH_NSCD_NETGROUP_DB): Define.
39932 (netgroup_iov_disabled): Declare.
39933 (xmalloc, xcalloc, xrealloc): Move declarations here.
39934 (cache_search): Adjust prototype.
39935 Add netgroup-related prototypes.
39936 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39937 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39938 (__nscd_innetgr): Declare.
39939 * nscd/selinux.c (perms): Use access_vector_t as element type and
39940 add netgroup-related initializers.
39941 * nscd/netgroupcache.c: New file.
39942 * nscd/nscd_netgroup.c: New file.
39943 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39944 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39945 For four parameters use innetgr.
39946 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39947 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39948 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39949 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39951 * nscd/connections.c (register_traced_file): Don't register file
39952 for disabled databases.
39954 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39956 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39958 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39959 from tree and freeing node.
39961 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39963 * nss/nsswitch.c (__nss_database_lookup): Handle
39964 nss_parse_service_list out of memory case.
39966 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39968 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39969 out of memory case.
39971 2011-10-04 Andreas Schwab <schwab@redhat.com>
39973 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39974 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39976 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39977 elf_machine_rela, elf_machine_lazy_rel.
39978 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39979 (ELF_DYNAMIC_DO_REL): Likewise.
39980 (ELF_DYNAMIC_DO_RELA): Likewise.
39981 (ELF_DYNAMIC_RELOCATE): Likewise.
39982 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39983 to ELF_DYNAMIC_DO_REL.
39984 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39985 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39986 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39988 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39989 skip_ifunc, don't call ifunc function if non-zero.
39990 (elf_machine_rela): Likewise.
39991 (elf_machine_lazy_rel): Likewise.
39992 (elf_machine_lazy_rela): Likewise.
39993 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39994 (elf_machine_lazy_rel): Likewise.
39995 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39997 (elf_machine_lazy_rel): Likewise.
39998 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40000 (elf_machine_lazy_rel): Likewise.
40001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40002 (elf_machine_lazy_rel): Likewise.
40003 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40004 (elf_machine_lazy_rel): Likewise.
40005 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40006 (elf_machine_lazy_rel): Likewise.
40007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40008 (elf_machine_lazy_rel): Likewise.
40009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40010 (elf_machine_lazy_rel): Likewise.
40011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40012 (elf_machine_lazy_rel): Likewise.
40014 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40016 * nss/nss_files/files-init.c (_nss_files_init): Use static
40017 initialization for all the *_traced_file variables.
40019 2011-09-28 Andreas Schwab <schwab@redhat.com>
40021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40023 2011-09-27 Roland McGrath <roland@hack.frob.com>
40026 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40028 2011-09-27 Andreas Schwab <schwab@redhat.com>
40030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40031 Reread the line before reparsing it.
40033 2011-09-26 Andreas Schwab <schwab@redhat.com>
40035 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40037 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40038 Maxim Kuvyrkov <maxim@codesourcery.com>
40039 Joseph Myers <joseph@codesourcery.com>
40041 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40042 if needed for __stack_chk_guard.
40044 2011-09-19 Roland McGrath <roland@hack.frob.com>
40046 * sysdeps/posix/spawni.c (script_execute): Always define it.
40047 It will be optimized away if unused.
40048 (maybe_script_execute): New function.
40049 (__spawni): Call it.
40051 * Makerules: Don't include tls.make.
40052 (config-tls): Always set to thread.
40053 * tls.make.c: File removed.
40055 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40057 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40058 * config.make.in (CPPFLAGS-config): New substituted variable.
40060 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40062 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40065 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40066 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40068 2011-09-15 Roland McGrath <roland@hack.frob.com>
40070 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40071 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40073 (CALL_FAIL): Likewise.
40074 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40075 (CALL_FAIL): Macro removed.
40076 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40078 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40080 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40081 for __FINITE_MATH_ONLY__ == 1.
40083 2011-09-15 Andreas Schwab <schwab@redhat.com>
40085 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40086 __ieee754_sqrt instead of sqrt.
40087 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40088 __ieee754_sqrtf instead of sqrtf.
40089 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40090 __floorf instead of floorf.
40091 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40092 __floorf, __truncf instead of floorf, truncf.
40094 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40096 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40098 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40099 __extern_always_inline.
40100 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40103 2011-09-14 Andreas Schwab <schwab@redhat.com>
40105 * elf/rtld.c (dl_main): Also relocate in dependency order when
40106 doing symbol dependency testing.
40108 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40111 Always define `refsym'.
40113 2011-09-13 Andreas Schwab <schwab@redhat.com>
40115 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40116 (__FD_ELT): Renamed from __FDELT.
40117 * misc/bits/select2.h (__FD_ELT): Likewise.
40118 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40119 __FD_MASK instead of __FDELT, __FDMASK.
40120 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40122 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40125 * elf/Makefile (gen-ldd): Fix pattern.
40127 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40128 (init_tls): Likewise.
40130 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40134 2011-09-12 Andreas Schwab <schwab@redhat.com>
40136 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40137 `struct cmsghdr *' instead of `void *'.
40138 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40141 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40143 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40145 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40146 ldd_rewrite_script.
40148 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40150 * configure.in: Remove --with-tls option.
40151 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40152 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40153 out in case it is missing.
40154 * sysdeps/ia64/elf/configure.in: Likewise.
40155 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40156 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40157 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40158 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40159 * sysdeps/sh/elf/configure.in: Likewise.
40160 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40161 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40162 * sysdeps/x86_64/elf/configure.in: Likewise.
40163 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40164 * sysdeps/mach/hurd/tls.h: Likewise.
40167 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40170 * configure.in: Fix use of AC_INIT.
40172 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40174 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40176 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40178 * malloc/hooks.c: Likewise.
40181 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40182 variables statically.
40183 (narenas): Initialize.
40184 (list_lock): Initialize.
40185 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40186 initializtion of main_arena and list_lock. Small cleanups.
40187 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40188 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40189 Add initializers to main_arena and mp_.
40190 (malloc_state): Remove pagesize member. Change all users to use
40193 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40194 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40195 is always initialized.
40197 * malloc/malloc.c: Removed unused configurations and dead code.
40198 * malloc/arena.c: Likewise.
40199 * malloc/hooks.c: Likewise.
40200 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40202 * include/tls.h: Removed. USE___THREAD must always be defined.
40203 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40204 * elf/dl-libc.c: Likewise.
40205 * elf/dl-tsd.c: Likewise.
40206 * include/errno.h: Likewise.
40207 * include/netdb.h: Likewise.
40208 * include/resolv.h: Likewise.
40209 * inet/herrno-loc.c: Likewise.
40210 * inet/herrno.c: Likewise.
40211 * malloc/arena.c: Likewise.
40212 * malloc/hooks.c: Likewise.
40213 * malloc/malloc.c: Likewise.
40214 * resolv/res-state.c: Likewise.
40215 * resolv/res_libc.c: Likewise.
40216 * sysdeps/i386/dl-machine.h: Likewise.
40217 * sysdeps/ia64/dl-machine.h: Likewise.
40218 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40219 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40220 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40221 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40222 * sysdeps/sh/dl-machine.h: Likewise.
40223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40225 * sysdeps/unix/i386/sysdep.S: Likewise.
40226 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40227 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40230 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40232 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40237 * sysdeps/x86_64/dl-machine.h: Likewise.
40238 * tls.make.c: Likewise.
40240 * configure.in: Remove --with-__thread option. Make tests for
40241 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40242 tls_model attribute fail if no support is available. Remove
40244 * Makeconfig: Adjust for dropped configure option. All features are
40246 * Makerules: Likewise.
40247 * Versions.def: Likewise.
40248 * argp/argp-fmtstream.c: Likewise.
40249 * argp/argp-fmtstream.h: Likewise.
40250 * argp/argp-help.c: Likewise.
40251 * assert/assert.c: Likewise.
40252 * config.h.in: Likewise.
40253 * config.make.in: Likewise.
40254 * configure: Likewise.
40255 * configure.in: Likewise.
40256 * csu/Versions: Likewise.
40257 * csu/init.c: Likewise.
40258 * elf/tst-audit2.c: Likewise.
40259 * elf/tst-tls10.c: Likewise.
40260 * elf/tst-tls10.h: Likewise.
40261 * elf/tst-tls11.c: Likewise.
40262 * elf/tst-tls12.c: Likewise.
40263 * elf/tst-tls14.c: Likewise.
40264 * elf/tst-tlsmod11.c: Likewise.
40265 * elf/tst-tlsmod12.c: Likewise.
40266 * elf/tst-tlsmod13.c: Likewise.
40267 * elf/tst-tlsmod13a.c: Likewise.
40268 * elf/tst-tlsmod14a.c: Likewise.
40269 * elf/tst-tlsmod15b.c: Likewise.
40270 * elf/tst-tlsmod16a.c: Likewise.
40271 * elf/tst-tlsmod16b.c: Likewise.
40272 * elf/tst-tlsmod7.c: Likewise.
40273 * elf/tst-tlsmod8.c: Likewise.
40274 * elf/tst-tlsmod9.c: Likewise.
40275 * gmon/gmon.c: Likewise.
40276 * grp/fgetgrent_r.c: Likewise.
40277 * grp/putgrent.c: Likewise.
40278 * hurd/fopenport.c: Likewise.
40279 * include/libc-symbols.h: Likewise.
40280 * include/tls.h: Likewise.
40281 * intl/gettextP.h: Likewise.
40282 * intl/loadinfo.h: Likewise.
40283 * locale/global-locale.c: Likewise.
40284 * locale/localeinfo.h: Likewise.
40285 * mach/devstream.c: Likewise.
40286 * malloc/arena.c: Likewise.
40287 * malloc/set-freeres.c: Likewise.
40288 * misc/err.c: Likewise.
40289 * misc/getttyent.c: Likewise.
40290 * misc/mntent_r.c: Likewise.
40291 * posix/getopt.c: Likewise.
40292 * posix/wordexp.c: Likewise.
40293 * pwd/fgetpwent_r.c: Likewise.
40294 * resolv/Versions: Likewise.
40295 * resolv/res_hconf.c: Likewise.
40296 * shadow/fgetspent_r.c: Likewise.
40297 * shadow/putspent.c: Likewise.
40298 * stdio-common/printf_fphex.c: Likewise.
40299 * stdio-common/tmpfile.c: Likewise.
40300 * stdlib/abort.c: Likewise.
40301 * stdlib/fmtmsg.c: Likewise.
40302 * sunrpc/auth_unix.c: Likewise.
40303 * sunrpc/clnt_perr.c: Likewise.
40304 * sunrpc/clnt_tcp.c: Likewise.
40305 * sunrpc/clnt_udp.c: Likewise.
40306 * sunrpc/clnt_unix.c: Likewise.
40307 * sunrpc/openchild.c: Likewise.
40308 * sunrpc/svc_simple.c: Likewise.
40309 * sunrpc/svc_tcp.c: Likewise.
40310 * sunrpc/svc_udp.c: Likewise.
40311 * sunrpc/svc_unix.c: Likewise.
40312 * sunrpc/xdr.c: Likewise.
40313 * sunrpc/xdr_array.c: Likewise.
40314 * sunrpc/xdr_rec.c: Likewise.
40315 * sunrpc/xdr_ref.c: Likewise.
40316 * sunrpc/xdr_stdio.c: Likewise.
40318 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40320 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40322 2011-07-03 Andreas Jaeger <aj@suse.de>
40324 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40325 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40326 regenerate with gen-libm-tests.pl.
40328 2010-05-12 Petr Baudis <pasky@suse.cz>
40331 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40332 around j0() zero points by switching to j1().
40333 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40336 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40338 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40340 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40342 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40344 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40345 Patch in part by Pavel Roskin <proski@gnu.org>.
40348 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40350 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40351 Free memory block if necessary.
40354 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40355 be NULL. Don't lock in this case.
40357 2011-09-09 Roland McGrath <roland@hack.frob.com>
40359 * elf/elf.h (ELFOSABI_GNU): New macro.
40360 (ELFOSABI_LINUX): Define to that.
40362 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40364 * string/strncat.c (strncat): Undef the symbol in case it has been
40365 defined in bits/string.h.
40367 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40369 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40371 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40374 2011-08-17 Andreas Jaeger <aj@suse.de>
40376 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40378 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40379 Ian Lance Taylor <iant@google.com>
40381 * math/libm-test.inc (lround_test): New testcase.
40382 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40384 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40386 * Makefile: Remove support for automatic cvs check-ins.
40387 * Makerules: Likewise.
40388 * config.make.in: Likewise.
40389 * configure.in: Likewise.
40390 * intl/Makefile: Likewise.
40391 * locale/Makefile: Likewise.
40392 * po/Makefile: Likewise.
40393 * posix/Makefile: Likewise.
40394 * sysdeps/gnu/Makefile: Likewise.
40395 * sysdeps/mach/hurd/Makefile: Likewise.
40396 * sysdeps/sparc/sparc32/Makefile: Likewise.
40399 * posix/Makefile (bug-regex32-ENV): Define.
40400 Patch by John Stanley <jpsinthemix@verizon.net>.
40402 * misc/Makefile (headers): Add bits/select2.h.
40403 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40404 * misc/bits/select2.h: New file.
40405 * include/bits/select2.h: New file.
40406 * debug/Makefile (routines): Add fdelt_chk.
40407 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40408 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40410 * debug/fdelt_chk.c: New file.
40412 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40413 * wcsmbs/test-wmemcmp.c: Likewise.
40414 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40415 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40417 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40419 * string/Makefile (strop-tests): Add memcmp.
40420 * string/test-wmemcmp.c: New file.
40421 * string/test-memcmp.c: Add wmemcmp support.
40423 2011-09-08 Roland McGrath <roland@hack.frob.com>
40426 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40429 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40430 garbage value in a __mach_port_mod_refs call in the cases of the
40431 task-self and thread-self ports.
40433 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40435 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40437 2011-09-08 Andreas Schwab <schwab@redhat.com>
40439 * elf/dl-load.c (lose): Check for non-null L.
40441 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40443 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40445 * elf/dl-libc.c (dlerror_run): Pass back error code from
40449 * elf/dl-load.c (lose): Free l_origin if it is valid.
40451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40458 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40460 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40462 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40463 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40464 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40465 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40466 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40467 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40468 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40469 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40470 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40471 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40473 2011-08-15 Alan Modra <amodra@gmail.com>
40476 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40477 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40478 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40479 ppc_mcount to static-only-routines.
40480 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40482 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40483 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40485 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40487 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40488 for finite and infinity parameters.
40490 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40493 and add nop instructions for throughput optimization.
40494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40496 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40498 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40499 aligned copy for power7 with vector-scalar instructions.
40500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40502 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40507 2011-09-07 Andreas Schwab <schwab@redhat.com>
40510 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40513 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40515 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40516 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40517 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40518 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40521 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40523 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40524 Forgot to demangle the pointer.
40526 * sysdeps/i386/sysdep.h: Define atom_text_section.
40527 * sysdeps/x86_64/sysdep.h: Likewise.
40528 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40529 section with atom_text_section.
40530 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40532 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40534 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40538 already be defined. Change to take two parameters and don't assign
40539 result to variable. Adjust all users.
40540 Define INTERNAL_GETTIME if not already defined.
40541 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40544 HAVE_CLOCK_GETTIME_VSYSCALL.
40545 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40548 gettimeofday vsyscall, just use time.
40550 2011-09-06 Andreas Schwab <schwab@redhat.com>
40552 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40555 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40557 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40561 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40563 syscall if possible.
40565 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40567 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40568 e_ident. Don't pass to find_mapsXX.
40569 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40571 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40574 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40575 * sysdeps/x86_64/multiarch/strchr.S: Update.
40576 Check bit_slow_BSF bit.
40577 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40578 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40579 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40581 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40584 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40586 (tryshell): Define.
40587 (__spawni): Change last parameter to be flag. Test
40588 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40589 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40590 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40591 * posix/spawni.c: Likewise.
40592 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40593 * posix/spawnp.c: Likewise. Change normal version to use
40594 SPAWN_XFLAGS_USE_PATH.
40595 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40596 SPAWN_XFLAGS_TRY_SHELL.
40599 * posix/glob.h: Remove gcc 1.x support.
40602 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40604 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40607 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40609 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40610 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40611 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40613 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40614 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40616 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40618 * sysdeps/x86_64/wcscmp.S: New file.
40620 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40621 wcscmp-c wcscmp-sse2
40622 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40623 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40625 * wcsmbs/wcscmp.c: Allow renaming.
40627 2011-09-05 David S. Miller <davem@davemloft.net>
40629 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40630 stack slot, rather than the struct return pointer slot.
40631 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40632 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40634 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40636 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40638 * po/ja.po: Update from translation team.
40641 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40642 kernel in 64-bit binaries.
40644 2011-09-01 David S. Miller <davem@davemloft.net>
40646 * elf/elf.h (HWCAP_SPARC_*): Move to..
40647 * sysdeps/sparc/sysdep.h: this new file and add new values.
40648 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40649 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40650 _DL_HWCAP_COUNT to 24.
40651 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40653 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40654 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40655 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40657 instead of magic constants.
40658 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40660 2011-08-31 David S. Miller <davem@davemloft.net>
40662 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40664 Reimplement to do errno handling inline.
40665 (SYSCALL_ERROR_HANDLER): New macro.
40666 (__SYSCALL_STRING): Do not do errno handling in asm.
40667 (__CLONE_SYSCALL_STRING): Delete.
40668 (__INTERNAL_SYSCALL_STRING): Delete.
40669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40670 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40671 (PSEUDO): Reimplement to do errno handling inline.
40672 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40673 (SYSCALL_ERROR_HANDLER): New macro.
40674 (__SYSCALL_STRING): Do not do errno handling in asm.
40675 (__CLONE_SYSCALL_STRING): Delete.
40676 (__INTERNAL_SYSCALL_STRING): Delete.
40677 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40678 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40680 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40681 (inline_syscall*): Add 'err' argument.
40682 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40683 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40684 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40685 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40687 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40688 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40690 2011-08-30 Andreas Schwab <schwab@redhat.com>
40692 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40694 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40696 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40699 2011-08-24 David S. Miller <davem@davemloft.net>
40701 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40703 2011-08-24 Andreas Schwab <schwab@redhat.com>
40705 * elf/Makefile: Add rules to build and run unload8 test.
40706 * elf/unload8.c: New file.
40707 * elf/unload8mod1.c: New file.
40708 * elf/unload8mod1x.c: New file.
40709 * elf/unload8mod2.c: New file.
40710 * elf/unload8mod3.c: New file.
40712 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40715 2011-08-23 David S. Miller <davem@davemloft.net>
40717 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40718 subtract stack bias.
40719 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40720 %sp not %fp in calculations.
40721 (_JMPBUF_UNWINDS_ADJ): Likewise.
40723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40724 (aio_suspend): Call it to force an exception region around the
40725 AIO_MISC_WAIT() invocation.
40727 2011-08-23 Andreas Schwab <schwab@redhat.com>
40729 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40732 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40734 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40736 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40737 and <dl-machine.h>.
40738 (Elf64_FuncDesc): Remove.
40740 2011-08-22 David S. Miller <davem@davemloft.net>
40742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40743 sigaltstack check, add missing cfi directives.
40744 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40745 missing cfi directives, and sigaltstack handling.
40747 2011-08-16 Andreas Schwab <schwab@redhat.com>
40750 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40751 object is seen twice.
40752 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40754 * elf/Makefile (distribute): Add tst-initorder2.c.
40755 (tests): Add tst-initorder2.
40756 (modules-names): Add tst-initorder2a tst-initorder2b
40757 tst-initorder2c tst-initorder2d. Add rules to build them.
40758 ($(objpfx)tst-initorder2.out): New rule.
40759 * elf/tst-initorder2.c: New file.
40760 * elf/tst-initorder2.exp: New file.
40762 2011-08-22 Andreas Schwab <schwab@redhat.com>
40764 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40766 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40767 dependencies back to end of function.
40769 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40770 $(elfobjdir)/ld.so.
40772 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40775 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40777 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40778 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40779 of __vdso_gettimeofday.
40780 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40781 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40783 (_libc_vdso_platform_setup): Remove initialization of
40784 __vdso_gettimeofday and __vdso_time.
40786 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40788 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40789 and fgetc_unlocked.
40790 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40793 * elf/dl-open.c (add_to_global): Report additions to the global scope
40794 for LD_DEBUG=scopes.
40795 (dl_open_worker): Also print scope of newly loaded dependencies.
40796 (_dl_show_scope): Indicate if there is no scope.
40799 * stdio-common/Makefile (tests): Add bug24.
40800 * stdio-common/bug24.c: New file.
40802 2011-08-19 Andreas Jaeger <aj@suse.de>
40805 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40806 non-existant file when using close-on-exec mode.
40808 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40811 the very first instruction.
40813 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40814 the CFI state in the end.
40815 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40816 inclusion of dl-trampoline.h.
40817 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40819 2011-08-19 Andreas Schwab <schwab@redhat.com>
40821 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40822 expectations for long double.
40824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40825 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40827 2011-08-14 David S. Miller <davem@davemloft.net>
40829 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40830 artificual limit depends upon the system page size.
40832 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40834 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40835 * resolv/Makefile: Define CFLAGS-libresolv.
40837 2011-08-17 Andreas Schwab <schwab@redhat.com>
40839 * nss/makedb.c (compute_tables): Make variables used in nested
40842 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40844 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40845 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40846 if buffer was too small.
40848 * elf/pldd.c (main): Attach to all threads in the process.
40849 Rewrite /proc handling to use *at functions.
40851 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40853 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40854 specifies first scope to show.
40855 (dl_open_worker): Update callers. Move printing scope of new
40856 object to before the relocation.
40857 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40858 * sysdeps/generic/ldsodefs.h: Update declaration.
40860 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40861 string for the scope number.
40863 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40865 * nscd/servicescache.c (cache_addserv): Make sure written is always
40868 2011-08-14 Roland McGrath <roland@hack.frob.com>
40870 * sysdeps/i386/i486/bits/atomic.h
40871 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40872 statement expression, so as to suppress "set but not used" warning.
40873 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40875 * string/strncat.c (STRNCAT): Use prototype definition.
40877 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40878 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40880 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40881 (localedef-modules): Add localedef.
40882 (locale-modules): Add locale.
40884 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40885 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40886 to avoid a warning.
40888 2011-08-14 David S. Miller <davem@davemloft.net>
40890 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40891 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40893 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40895 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40896 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40897 * elf/rtld.c (dl_main): Set l_name of vDSO.
40898 Call _dl_show_scope when DL_DEBUG_SCOPES.
40899 (process_dl_debug): Recognize scopes flag and also set it for all.
40900 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40901 Declare _dl_show_scope.
40903 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40904 (do_dlopen): Pass caller_dlopen to dl_open.
40905 (__libc_dlopen_mode): Initialize caller_dlopen.
40907 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40908 of libc. Make tolower call locale-independent. Optimize a bit by
40909 using isdigit instead of isalnum.
40910 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40912 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40914 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40915 was a dependency or dynamically loaded.
40917 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40919 * intl/l10nflist.c: Allow architecture-specific pop function.
40920 * sysdeps/x86_64/l10nflist.c: New file.
40922 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40925 2011-08-10 Andreas Schwab <schwab@redhat.com>
40927 * include/dirent.h: Add libc_hidden_proto for scandirat and
40928 scandirat64. Don't declare __scandirat64.
40929 * dirent/scandirat.c: Add libc_hidden_def.
40930 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40931 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40933 2011-08-10 David S. Miller <davem@davemloft.net>
40935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40939 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40941 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40943 * Versions.def [libc]: Add GLIBC_2.15.
40944 * dirent/Makefile (routines): Add scandirat and scandirat64.
40945 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40947 * dirent/dirent.h: Declare scandirat and scandirat64.
40948 * dirent/scandirat.c: New file.
40949 * dirent/scandirat64.c: New file.
40950 * sysdeps/wordsize-64/scandirat.c: New file.
40951 * sysdeps/wordsize-64/scandirat64.c: New file.
40952 * dirent/opendir.c: Define opendirat.
40953 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40955 * dirent/scandir64.c: Adjust for scandir.c change.
40956 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40957 __scandirat64, and __scandir_cancel_handler.
40958 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40959 additional parameter and use openat instead of open (outside of ld.so).
40960 Add new __opendir as wrapper around __opendirat.
40961 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40962 here without requiring old scandirat implementation.
40964 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40966 * dirent/scandir.c (cancel_handler): Renamed to
40967 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40968 defined. Adjust users.
40969 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40970 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40972 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40974 * string/test-string.h (IMPL): Use __STRING to expand name and then
40977 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40980 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40982 * string/Makefile: Update.
40983 (strop-tests): Append strncat.
40984 * string/test-wcscmp.c: New file.
40985 New comprehensive test for wcscmp.
40986 * string/test-strcmp.c: Update.
40987 (WIDE): New define.
40989 2011-07-22 Andreas Schwab <schwab@redhat.com>
40991 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40994 2011-07-26 Andreas Schwab <schwab@redhat.com>
40996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40997 encoding to ACE if AI_IDN.
40999 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41002 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41004 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41007 Fix overflow bug in strncat.
41008 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41010 * string/test-strncat.c: Update.
41011 Add new tests for checking overflow bugs.
41013 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41016 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41017 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41018 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41020 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41021 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41022 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41023 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41026 (USE_AS_STRCAT): Define.
41027 Add strcat and strncat support.
41028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41030 2011-07-25 Andreas Schwab <schwab@redhat.com>
41032 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41033 __n bigger than INT_MAX+1.
41034 (__strncmp_g): Likewise.
41036 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41038 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41039 * libio/stido.h: Likewise.
41041 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41046 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41047 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41049 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41053 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41058 (_dl_x86_64_save_sse): Likewise.
41060 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41064 (_dl_x86_64_save_sse): Likewise.
41066 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41068 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41070 2011-07-21 Andreas Schwab <schwab@redhat.com>
41072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41074 (_dl_x86_64_save_sse): Use correct AVX check.
41076 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41078 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41079 bug in strncpy/strncat.
41080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41082 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41084 * string/tester.c (test_strcat): Add tests for different alignments
41085 of source and destination.
41086 (test_strncat): Likewise.
41088 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41091 * posix/glob.c (glob): Check passed in values before using them in
41092 expressions to avoid some overflows.
41093 (glob_in_dir): Likewise.
41096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41097 check for AVX enablement so that we don't crash with old kernels and
41099 * elf/tst-audit4.c: Add same checks here.
41100 * elf/tst-audit6.c: Likewise.
41102 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41104 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41106 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41108 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41110 * po/cs.po: Update from translation team.
41111 * po/bg.po: Likewise.
41113 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41115 * misc/sys/cdefs.h: Add support for const attribute.
41116 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41117 to gnu_dev_{major,minor,makedev} functions.
41119 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41121 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41123 2011-07-20 Andreas Schwab <schwab@redhat.com>
41125 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41128 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41131 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41132 register in order to avoid conflicts with the soft frame pointer
41133 being held in r11 when necessary.
41134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41135 (INTERNAL_VSYSCALL_NCS): Likewise.
41137 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41139 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41140 * elf/dl-fini.c (_dl_fini): Adjust caller.
41141 * elf/dl-close.c (_dl_close_worker): Likewise.
41142 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41144 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41146 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41147 "aux_cache->nlibs < 0".
41149 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41150 in the reload-count case.
41152 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41155 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41156 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41157 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41158 * sysdeps/x86_64/multiarch/strcat.S: New file.
41159 * sysdeps/x86_64/multiarch/strncat.S: New file.
41160 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41161 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41162 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41163 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41165 (USE_AS_STRCAT): Define.
41166 Add strcat and strncat support.
41167 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41168 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41170 * string/strncat.c: Update.
41171 (USE_AS_STRNCAT): Define.
41172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41173 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41175 * sysdeps/x86_64/multiarch/init-arch.h
41176 (bit_Prefer_PMINUB_for_stringop): New.
41177 (index_Prefer_PMINUB_for_stringop): Likewise.
41178 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41179 bit_Prefer_PMINUB_for_stringop.
41181 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41183 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41185 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41186 of casting of buffer.
41187 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41188 buffer32 and buffer64.
41189 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41190 writes instead of casting of buffer.
41191 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41193 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41196 2011-07-19 Andreas Schwab <schwab@redhat.com>
41198 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41200 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41202 * nscd/nscd.c (termination_handler): Don't do anything for a database
41203 if it has not yet been initialized.
41205 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41207 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41209 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41211 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41213 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41215 * po/nl.po: Update from translation team.
41216 * po/sv.po: Likewise.
41218 2011-07-16 Roland McGrath <roland@hack.frob.com>
41220 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41221 now disallowed by GCC.
41223 * configure.in (use-default-link): Default to yes if a test -shared
41224 link meets our qualifications.
41225 * configure: Regenerated.
41227 * config.make.in (output-format): New variable.
41228 * configure.in: Check for ld --print-output-format support.
41229 * configure: Regenerated.
41230 * Makerules ($(common-objpfx)format.lds)
41231 [$(output-format) != unknown]: Just use $(output-format),
41232 instead of the linker-script munging.
41234 2011-07-14 Roland McGrath <roland@hack.frob.com>
41236 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41237 of $(common-objpfx)shlib.lds.
41238 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41240 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41241 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41243 * configure.in (-z relro check): Adjust test code to add a large
41244 writable data section after it.
41245 * configure: Regenerated.
41247 2011-07-11 Roland McGrath <roland@hack.frob.com>
41249 * configure.in (-z relro check): Fix test code to make the variable
41251 * configure: Regenerated.
41253 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41255 * nscd/nscd.h (struct traced_file): Define.
41256 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41257 elements. Add traced_files.
41258 (inotify_fd): Declare.
41259 (register_traced_file): Declare.
41260 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41261 (inotify_fd): Export.
41262 (resolv_conf_descr): Remove.
41263 (nscd_init): Move inotify descriptor creation to main.
41264 Don't register files for notification here.
41265 (register_traced_file): New function.
41266 (invalidate_cache): Don't use reset_res to determine whether to call
41267 res_init, go through the list of registered files.
41268 (main_loop_poll): The inotify descriptors are now stored in the
41269 structures for the traced files.
41270 (main_loop_epoll): Likewise
41271 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41272 to __nss_disable_nscd.
41273 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41274 for a database anymore. Check the records for all the registered
41276 * nss/Makefile (libnss_files-routines): Add files-init.
41277 (libnss_db-routines): Add db-init.
41278 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41279 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41280 * nss/nss_db/db-init.c: New file.
41281 * nss/nss_files/files-init.c: New file.
41282 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41283 __nss_lookup_function.
41284 (__nss_lookup_function): Call nss_load_library.
41285 (nss_load_all_libraries): New function.
41286 (__nss_disable_nscd): Take parameter with callback function for files
41287 to register. Set is_nscd. Load all the DSOs for the NSS modules
41288 used for the cached services.
41289 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41290 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41291 options for features to all the files in nscd.
41293 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41295 2011-07-10 Roland McGrath <roland@hack.frob.com>
41297 * csu/elf-init.c (__libc_csu_init): Comment typo.
41299 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41301 * po/pl.po: Update from translation team.
41302 * po/ja.po: Likewise.
41303 * po/ru.po: Likewise.
41304 * po/ko.po: Likewise.
41305 * po/fr.po: Likewise.
41307 2011-07-09 Roland McGrath <roland@hack.frob.com>
41309 * configure.in (.ctors/.dtors header and trailer check):
41310 Use an empirical test on a built program.
41311 * configure: Regenerated.
41313 * configure.in (-z relro check): Use an empirical test on a built DSO.
41314 Detect, but do not require, on ia64.
41315 * configure: Regenerated.
41317 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41318 Update tests that use readelf to use $READELF instead.
41319 * configure: Regenerated.
41321 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41323 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41324 if the result is not used.
41326 2011-07-05 Andreas Jaeger <aj@suse.de>
41329 * stdlib/tst-strtod.c: Add testcase.
41331 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41333 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41334 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41335 The latter has a higher limit. Take additional parameter to pass to
41337 (__pathconf): Pass file to __statfs_link_max.
41338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41340 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41344 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41348 (__statfs_filesize_max): Likewise.
41349 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41351 2011-07-05 Andreas Jaeger <aj@suse.de>
41353 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41355 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41357 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41359 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41362 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41364 * Makefile (strop-tests): Add strncat.
41365 * string/test-strncat.c: New file.
41367 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41369 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41371 2011-06-21 Andreas Jaeger <aj@suse.de>
41373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41374 Copy rule from iconvdata/Makefile.
41376 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41379 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41380 but no long options are defined, just return 'W'.
41382 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41385 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41387 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41389 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41391 (innetgr): Likewise.
41393 2011-07-05 Roland McGrath <roland@hack.frob.com>
41395 * config.make.in (install_root): Default to $(DESTDIR).
41397 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41401 2011-07-02 Roland McGrath <roland@hack.frob.com>
41403 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41405 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41406 containing directory rather than embedding absolute directory names.
41408 * scripts/check-local-headers.sh: Rewritten using awk.
41409 Match by word, not by line. Print error messages for matches.
41410 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41412 * Makerules [shlib-lds-flags empty]:
41413 ($(common-objpfx)libc_pic.opts): New target.
41414 ($(common-objpfx)libc_pic.os.clean): New target.
41415 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41417 * config.make.in (OBJCOPY): New variable.
41418 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41419 * configure: Regenerated.
41421 * config.make.in (use-default-link): New variable.
41422 * configure.in (use_default_link): Grok --with-default-link to set it.
41423 * configure: Regenerated.
41424 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41425 (shlib-lds, shlib-lds-flags): Define to empty.
41427 * Makerules (shlib-lds): New variable.
41428 (shlib-lds-flags): New variable.
41429 (build-shlib, build-moduile, build-module-asneeded): Use it.
41430 ($(common-objpfx)libc.so): Use $(shlib-lds).
41431 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41432 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41434 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41435 DT_FLAGS/DT_FLAGS_1 with zero flags.
41437 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41438 linker script munging.
41440 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41442 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41444 * crypt/sha512.c (sha512_process_block): Perform total addition using
41445 128-bit if possible.
41446 (__sha512_finish_ctx): Likewise.
41447 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41449 * crypt/sha256.c (SWAP64): Define.
41450 (sha256_process_block): Perform total addition using 64-bit if
41452 (__sha256_finish_ctx): Likewise.
41454 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41456 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41458 * nscd/hstcache.c (cache_addhst): Likewise.
41459 * nscd/grpcache.c (cache_addgr): Likewise.
41460 * nscd/aicache.c (addhstaiX): Likewise
41461 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41463 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41465 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41467 * nscd/hstcache.c (cache_addhst): Likewise.
41468 * nscd/grpcache.c (cache_addgr): Likewise.
41469 * nscd/aicache.c (addhstaiX): Likewise
41471 2011-07-01 Andreas Schwab <schwab@redhat.com>
41473 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41474 domain only when needed.
41476 2011-06-30 Andreas Schwab <schwab@redhat.com>
41478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41479 is always restored.
41481 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41483 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41484 are re-adding the entry.
41485 * nscd/servicescache.c (cache_addserv): Likewise.
41487 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41489 * sysdeps/generic/dl-irel.h: fix protection against multiple
41491 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41493 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41496 * malloc/memusage.sh: Fix quoting in message.
41497 * debug/xtrace.sh: Likewise.
41499 * configure.in: Remove support for --experimental-malloc option, make
41501 * config.make.in: Likewise.
41502 * malloc/Makefile: Likewise.
41504 2011-06-27 Andreas Schwab <schwab@redhat.com>
41506 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41507 two-byte characters.
41509 2011-06-27 Roland McGrath <roland@hack.frob.com>
41511 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41512 AC_CACHE_CHECK invocation.
41513 * configure: Regenerated.
41515 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41517 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41520 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41521 bit from old_res_options.
41523 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41525 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41526 value type for setfct.
41528 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41531 __gettimeofday instead of gettimeofday.
41533 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41535 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41537 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41544 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41547 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41548 strcpy-sse2-unaligned strncpy-sse2-unaligned
41549 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41550 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41551 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41552 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41553 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41555 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41556 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41557 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41558 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41559 (STRCPY): Support SSE2 and SSSE3 versions.
41561 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41564 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41565 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41566 kernels which artificially limit size of requests.
41568 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41571 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41572 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41573 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41574 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41575 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41576 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41577 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41580 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41581 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41582 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41583 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41584 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41586 Enable unaligned load optimization for Intel Core i3, i5 and i7
41588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41590 (index_Fast_Unaligned_Load): Define.
41591 (HAS_FAST_UNALIGNED_LOAD): Define.
41593 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41595 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41597 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41601 until it is clear that the information is realy needed.
41602 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41604 2011-06-22 Andreas Schwab <schwab@redhat.com>
41606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41608 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41611 /sys/devices/system/cpu/online if it is usable.
41613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41614 reading the information from the /proc filesystem to once a second.
41616 2011-06-21 Andreas Jaeger <aj@suse.de>
41618 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41619 NULL after inclusion of kernel headers.
41621 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41623 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41624 calls to internal_setent.
41627 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41628 addresses using gethostbyname4_r ignore IPv4 addresses.
41630 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41631 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41633 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41635 2011-06-20 David S. Miller <davem@davemloft.net>
41637 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41639 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41641 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41642 (elf_irel): Use it.
41643 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41644 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41645 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41646 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41647 * sysdeps/x86_64/dl-irel.h: Likewise.
41649 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41650 * elf/dl-sym.c: Likewise.
41652 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41654 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41655 need to dereference resplen2.
41657 2011-06-14 Andreas Schwab <schwab@redhat.com>
41659 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41661 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41663 * Makeconfig: Define vardbdir and inst_vardbdir.
41664 * nss/Makefile: Add rules to install db-Makefile.
41666 * nss/nss_db/db-XXX.c: Cleanup.
41668 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41669 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41671 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41672 * nss/makedb.c: Implement -g option to specify that value strings
41673 are generated and should not be added to table iterated over for
41675 * nss/nss_db/db-initgroups.c: New file.
41677 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41680 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41681 (internal_getgrouplist): Adjust to name change.
41682 Update use_initgroups_entry if this is not the first call.
41683 * nss/databases.def: Add initgroups entry.
41685 * nss/makedb.c (compute_tables): Check result of multiple hash table
41686 sizes to minimize maximum chain length.
41688 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41690 * Versions.def: Add entry for libnss_db.
41691 * shlib-versions: Likewise.
41692 * nss/Makefile: Add rules to build libnss_db.
41693 * nss/Versions: Add libnss_db information. Organize libnss_files
41695 * nss/db-Makefile: Add gshadow support. Change rules for the new
41696 makedb progra. Some minor improvements to generate smaller files.
41697 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41699 * nss/makedb.c: ...here.
41700 Improve database format to be smaller and require less memory at
41702 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41704 * nss/nss_db/db-netgrp.c: Likewise.
41705 * nss/nss_db/db-open.c: Likewise.
41706 * nss/nss_files/flies-XXX.x: Adjust comments.
41707 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41708 * nss/nss_files/files-grp.c: Likewise.
41709 * nss/nss_files/files-hosts.c: Likewise.
41710 * nss/nss_files/files-network.c: Likewise.
41711 * nss/nss_files/files-proto.c: Likewise.
41712 * nss/nss_files/files-pwd.c: Likewise.
41713 * nss/nss_files/files-rpc.c: Likewise.
41714 * nss/nss_files/files-service.c: Likewise.
41715 * nss/nss_files/files-sgrp.c: Likewise.
41716 * nss/nss_files/files-spwd.c: Likewise.
41717 * nss/nss_db/db-alias.c: Removed.
41718 * nss/nss_db/dummy-db.h: Removed.
41720 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41722 * nss/makedb.c: Rewritten to not use database library.
41723 * nss/Makefile: Update to build new makedb program.
41725 2011-06-14 Andreas Jaeger <aj@suse.de>
41727 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41728 memset declaration.
41730 2011-06-10 Andreas Schwab <schwab@redhat.com>
41732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41735 2011-06-10 Roland McGrath <roland@hack.frob.com>
41737 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41738 * elf/Makefile ($(objpfx)ld.so): Likewise.
41740 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41741 Don't list ld.so twice in dependencies.
41743 * posix/bug-regex31.c: Include <stdlib.h>.
41745 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41747 * nis/nss_compat/compat-spwd.c
41748 (getspent_next_nss_netgr): Remove unused variable.
41749 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41751 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41752 nonmembers" output to use the right array.
41754 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41756 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41758 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41759 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41760 * catgets/gencat.c (read_input_file): Likewise.
41761 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41763 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41764 variable definition inside #if's controlling its use.
41766 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41768 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41770 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41772 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41775 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41777 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41778 * configure: Regenerated.
41780 * Makerules: Revert last change.
41781 * elf/Makefile: Likewise.
41783 2011-06-09 Roland McGrath <roland@hack.frob.com>
41785 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41786 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41787 (reloc-link): Likewise.
41789 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41791 * elf/Makefile: Add rules to build pldd.
41792 * elf/pldd.c: New file.
41793 * elf/pldd-xx.c: New file.
41795 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41797 * version.h: Update for 2.15 development version.
41799 2011-06-07 David S. Miller <davem@davemloft.net>
41801 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41803 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41804 elf_machine_lazy_rel): Likewise.
41805 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41807 elf_machine_lazy_rel): Likewise.
41808 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41809 dl_hwcap via passed in argument.
41810 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41813 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41815 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41817 2011-06-06 Roland McGrath <roland@hack.frob.com>
41820 * manual/fdl-1.1.texi: New file, verbatim from:
41821 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41822 * manual/lgpl-2.1.texi: New file, verbatim from:
41823 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41824 * manual/Makefile (licenses): New variable, list those new file names.
41826 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41828 * manual/fdl.texi: File removed.
41829 * manual/lesser.texi: File removed.
41830 * manual/libc.texinfo (Copying, Documentation License):
41831 Use new @include file names, put @appendix directive before @include.
41833 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41836 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41837 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41838 (mq_open): Add __NTH.
41840 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41843 Assume Intel Core i3/i5/i7 processor if AVX is available.
41845 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41850 2011-05-31 Andreas Schwab <schwab@redhat.com>
41852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41853 memory. Use alloca_account. Fix memory leak when retrying.
41855 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41857 * version.h (RELEASE): Bump for 2.14 release.
41858 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41860 * config.make.in (RANLIB): Remove entry.
41862 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41864 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41865 (libc.pot): Work around missing support for .ksh extension in xgettext.
41868 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41869 if both request failed.
41870 (send_dg): In case of server errors clear resplen or *resplen2.
41873 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41874 when there are multiple maps.
41875 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41876 (_dl_fini): Remove test here.
41878 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41880 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41883 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41884 bit from old_res_options.
41885 (gaih_inet): Likewise.
41888 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41891 * resolv/res_init.c (res_setoptions): Make the code more compact.
41894 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41898 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41900 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41903 * malloc/malloc.h: Declare malloc hook variables as volatile.
41905 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41909 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41910 raise in the comment.
41911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41913 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41915 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41918 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41919 grow the buffers more if it already has to be sufficient.
41920 (build_wcs_upper_buffer): Likewise.
41921 * posix/regexec.c (check_matching): Likewise.
41922 (clean_state_log_if_needed): Likewise.
41923 (extend_buffers): Don't enlarge buffers beyond size of the input
41925 Patches mostly by Emil Wojak <emil@wojak.eu>.
41926 * posix/bug-regex32.c: New file.
41927 * posix/Makefile (tests): Add bug-regex32.
41929 * locale/findlocale.c (_nl_find_locale): Return right away if
41930 _nl_explode_name failed.
41931 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41933 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41935 * debug/xtrace.sh: Unify messages.
41936 * malloc/memusage.sh: Likewise.
41939 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41940 time symbol from vDSO. Substitute with vsyscall if not available.
41941 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41945 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41946 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41947 Add sendmmsg and internal_sendmmsg.
41948 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41949 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41950 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41952 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41953 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41956 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41959 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41960 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41966 * iconvdata/Makefile (tests): Add bug-iconv9.
41967 * iconvdata/bug-iconv9.c: New file.
41969 2011-05-27 Andreas Schwab <schwab@redhat.com>
41972 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41974 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41976 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41977 (struct user_regs_struct): Change intcs field back to cs.
41979 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41981 * po/ja.po: Update from translation team.
41983 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41986 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41987 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41989 2011-05-20 Andreas Schwab <schwab@redhat.com>
41991 * stdlib/longlong.h: Update from GCC.
41993 2011-05-23 Andreas Schwab <schwab@redhat.com>
41995 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41997 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41998 Add parameter name.
41999 (__sysconf): Pass it down.
42001 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42004 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42006 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42007 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42008 add in in __libc_use_alloca calls. Adjust callers.
42009 (glob): Use malloc in some situations.
42011 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42012 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42015 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42017 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42018 and CLOCK_BOOTTIME_ALARM.
42021 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42024 * string/_strerror.c (__strerror_r): Print negative errors as signed
42028 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42029 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42030 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42032 * configure.in: Fix typo in redirection and correct removal of test
42033 files in two cases.
42036 * locale/setlocale.c (new_composite_name): Fix test to check for
42037 identical name of all categories.
42040 * libio/filedoalloc.c (local_isatty): New function.
42041 (_IO_file_doallocate): Use local_isatty.
42042 * stdio-common/perror.c (perror): In case a new stream is used
42043 forward the stream error.
42044 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42047 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42052 * include/alloca.h (extend_alloca_account): Define.
42055 * posix/regex.h: Fix comments with documentation of user-accessible
42056 fields after compilation and describe correct free'ing of pattern
42057 after re_compile_pattern.
42058 Patch by Reuben Thomas <rrt@sc3d.org>.
42060 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42062 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42063 and -mno-altivec to prevent the compiler from using Altivec and/or
42064 VSX instructions when the corresponding registers are not available.
42066 2011-05-19 Andreas Schwab <schwab@redhat.com>
42068 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42070 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42072 * libio/freopen.c (freopen): Use __dup2, not dup2.
42073 * libio/freopen64.c (freopen64): Likewise.
42075 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42078 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42079 * math/Makefile (tests): Add test-powl.
42080 (CFLAGS-test-powl.c): Define.
42081 * math/test-powl.c: New file.
42083 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42085 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42087 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42090 * iconvdata/gb18030.c: Update to GB18020-2005.
42092 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42094 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42095 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42096 Patch by Aharon Robbins <arnold@skeeve.com>.
42099 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42103 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42104 through underflows.
42107 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42108 point to strings before performing equality test for error_one_per_line
42112 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42115 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42116 (struct user_fpregs_struct): Avoid __uint*_t types.
42119 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42120 symbol info. Use it instead of calling _dl_addr locally.
42121 (lock_and_info): New function.
42122 (tr_freehook): Call lock_and_info and pass symbol info as additional
42123 parameter to tr_where.
42124 (tr_mallochook): Likewise.
42125 (tr_reallochook): Likewise.
42126 (tr_memalignhook): Likewise.
42128 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42129 used and couldn't be at all thread-safe.
42131 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42133 * libio/freopen.c (freopen): Don't close old file descriptor
42134 before the new one is opened. Instead dup the new file descriptor
42135 to the old one after the new stream is created.
42136 * libio/freopen64.c (freopen64): Likewise.
42137 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42138 * libio/fileops.c (_IO_new_file_close_it): Handle new
42139 _IO_FLAGS2_NOCLOSE flag.
42140 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42141 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42142 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42143 _IO_FLAGS2_NOCLOSE flag.
42144 * include/unistd.h: Add hidden_proto for dup3.
42145 Define __have_dup3.
42146 * io/dup3.c: Define hidden symbol.
42147 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42150 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42151 when an incomplete long option is used.
42152 * posix/tst-getopt_long1.c: New file.
42153 * posix/Makefile (tests): Add tst-getopt_long1.
42156 * scripts/config.guess: Update from autoconf-2.68.
42157 * scripts/config.sub: Likewise.
42160 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42162 (has_cpuclock): ...this. New function.
42163 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42164 macro here based on has_cpuclock code.
42167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42168 First byte (not low byte) is now always NUL.
42169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42172 Use non-cancelable interfaces.
42175 * locale/iso-639.def: Add entry for Sorani.
42178 * include/stdlib.h: Move include protection to the right place.
42179 Define abort_msg_s. Declare __abort_msg with it.
42180 * stdlib/abort.c (__abort_msg): Adjust type.
42181 * assert/assert.c (__assert_fail_base): New function. Majority
42182 of code from __assert_fail. Allocate memory for __abort_msg with
42184 (__assert_fail): Now call __assert_fail_base.
42185 * assert/assert-perr.c: Remove bulk of implementation. Use
42186 __assert_fail_base.
42187 * include/assert.hL Declare __assert_fail_base.
42188 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42190 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42192 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42196 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42197 until all modules are registered in the DTV.
42198 * elf/Makefile: Add rules to build and run tst-tls19.
42199 * elf/tst-tls19.c: New file.
42200 * elf/tst-tls19mod1.c: New file.
42201 * elf/tst-tls19mod2.c: New file.
42202 * elf/tst-tls19mod3.c: New file.
42203 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42206 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42210 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42211 two-byte sequence errors.
42212 * iconvdata/Makefile (tests): Add bug-iconv8.
42213 * iconvdata/bug-iconv8.c: New file.
42216 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42219 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42222 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42223 (dummy_getcfa): New function.
42224 (init): Get _Unwind_GetCFA address, use dummy if not found.
42225 (backtrace_helper): In recursion check, also check whether CFA changes.
42226 (__backtrace): Completely initialize arg.
42228 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42229 storing incomplete byte sequence in state object. Avoid testing for
42230 guaranteed too small input if we know there is enough data available.
42232 2011-05-11 Andreas Schwab <schwab@redhat.com>
42234 * Makeconfig (+link-pie): Indent.
42235 * Rules (binaries-pie): Define if $(have-fpie) and
42237 (binaries-shared): Also filter out $(binaries-pie).
42238 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42239 * nscd/Makefile (others-pie): Add nscd.
42240 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42241 ($(objpfx)nscd): Remove command override.
42242 * login/Makefile (others-pie): Add pt_chown.
42243 ($(objpfx)pt_chown): Remove command override.
42244 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42245 remove command overrides.
42247 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42249 * libio/tst_putwc.c: Fix error messages.
42252 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42253 currently writing and seek to current position when not.
42254 * libio/Makefile (tests): Add bug-fclose1.
42255 * libio/bug-fclose1.c: New file.
42257 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42260 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42261 don't set DF_1_NODELETE here.
42262 (do_lookup_x): When entering new entry test for copy relocation
42263 and if necessary set DF_1_NODELETE flag.
42264 * elf/tst-unique4.cc: New file.
42265 * elf/tst-unique4.h: New file.
42266 * elf/tst-unique4lib.cc: New file.
42267 * elf/Makefile: Add rules to build and run tst-unique4.
42268 Patch by Piotr Bury <pbury@goahead.com>.
42270 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42273 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42276 * misc/mntent_r.c (addmntent): Flush the stream after the output
42279 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42280 (is_trusted_path_normalize): Skip initial colon. Append slash
42281 to empty buffer. Duplicate is_trusted_path code but allow
42282 constructed patch to be prefix.
42283 (is_dst): Allow $ORIGIN followed by /.
42284 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42285 Correct testing of result of is_trusted_path_normalize
42286 (decompose_rpath): Fix warning.
42288 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42291 * grp/initgroups.c (internal_getgrouplist): When we found the service
42292 list through the initgroups entry in nsswitch.conf do not always
42293 continue on a successful lookup. Don't always use the
42294 __nss_group_database value if it is set.
42295 * nss/nsswitch.conf (initgroups): Change action for successful db
42296 lookup to continue for compatibility.
42298 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42301 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42303 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42305 * iconvdata/tst-tables.sh: Likewise.
42306 * iconvdata/cp770.c: New file.
42307 * iconvdata/cp771.c: New file.
42308 * iconvdata/cp772.c: New file.
42309 * iconvdata/cp773.c: New file.
42310 * iconvdata/cp774.c: New file.
42311 * iconvdata/testdata/CP770: New file.
42312 * iconvdata/testdata/CP770..UTF8: New file.
42313 * iconvdata/testdata/CP771: New file.
42314 * iconvdata/testdata/CP771..UTF8: New file.
42315 * iconvdata/testdata/CP772: New file.
42316 * iconvdata/testdata/CP772..UTF8: New file.
42317 * iconvdata/testdata/CP773: New file.
42318 * iconvdata/testdata/CP773..UTF8: New file.
42319 * iconvdata/testdata/CP774: New file.
42320 * iconvdata/testdata/CP774..UTF8: New file.
42322 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42324 * iconvdata/gen-8bit-gap.sh: Likewise.
42325 * iconvdata/gen-8bit.sh: Likewise.
42327 * locale/iso-639.def: Add ary entry.
42330 * locale/C-translit.h.in: Add U20A1 transliteration.
42333 * locale/iso-639.def: Add wae entry.
42334 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42337 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42341 * locale/C-translit.h.in: Add entry for U20B9.
42342 Patch by pravin.d.s@gmail.com.
42344 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42347 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42348 ENAMETOOLONG use generic getcwd.
42349 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42350 in rtld. Use *stat64.
42351 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42352 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42353 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42354 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42355 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42356 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42357 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42358 __fstatat64 macros.
42359 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42360 * dirent/rewinddir.c: Add libc_hidden_def.
42361 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42362 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42364 * include/dirent.h (__alloc_dir): Add flags parameter.
42365 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42366 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42368 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42369 from fdopendir if O_CLOEXEC is already set.
42371 2011-03-15 Alan Modra <amodra@gmail.com>
42373 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42374 l_tls_firstbyte_offset non-zero. Save padding offset in
42375 l_tls_firstbyte_offset for later use.
42376 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42377 freeing static tls block.
42379 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42381 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42382 where #ifdef was intended. The intent is to prevent ARG_MAX from
42383 being defined by the kernel headers.
42385 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42388 * resolv/resolv.h: Define RES_NOTLDQUERY.
42389 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42390 no-tld-query and set RES_NOTLDQUERY.
42391 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42392 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42393 modern BIND to search name as TLD unless forbidden.
42395 2011-05-07 Petr Baudis <pasky@suse.cz>
42396 Ulrich Drepper <drepper@gmail.com>
42399 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42400 (is_trusted_path): ...to here.
42401 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42402 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42403 using is_trusted_path_normalize() in setuid scripts.
42405 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42407 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42408 __BEGIN/__END_DECLS.
42410 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42412 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42413 NSS_STATUS_NOTFOUND if no record was found.
42415 2011-05-05 Andreas Schwab <schwab@redhat.com>
42417 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42418 (headers-not-in-tirpc): Remove rpc/netdb.h
42419 * resolv/netdb.h: Revert last change.
42421 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42423 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42424 circular dependency between libgcc.a and libc.a.
42426 2011-05-05 Andreas Schwab <schwab@redhat.com>
42428 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42429 * nis/Makefile: Don't install rpcsvc/*.
42430 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42431 instead of <rpc/types.h>.
42432 (MAXHOSTNAMELEN): Define.
42434 2011-05-03 Andreas Schwab <schwab@redhat.com>
42436 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42438 2011-04-28 Maciej Babinski <mbabinski@google.com>
42441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42442 gethostbyname4_r when IPv6 results are possible.
42444 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42447 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42448 _PC_PIPE_BUF handling.
42450 2011-04-30 Bruno Haible <bruno@clisp.org>
42453 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42454 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42456 * inet/getnameinfo.c (getnameinfo): Likewise.
42458 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42460 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42461 to groups setting in database lookup.
42462 * nss/nsswitch.conf: Add initgroups entry.
42464 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42467 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42469 Patch by Eric Blake <eblake@redhat.com>.
42471 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42473 * sunrpc/Makefile (need-export-routines): Add svc_run.
42474 (routines): Remove svc_run.
42475 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42476 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42477 * sunrpc/svc_run.c (svc_run): Likewise.
42478 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42480 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42482 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42483 problem in reallocation in last patch.
42485 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42487 * sunrpc/Makefile: Move inclusion of Rules.
42489 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42491 * nss/nss_files/files-initgroups.c: New file.
42492 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42493 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42494 _nss_files_initgroups_dyn.
42496 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42498 * elf/elf.h (R_ARM_IRELATIVE): Define.
42500 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42502 * po/ru.po: Update from translation team.
42504 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42506 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42509 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42512 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42513 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42518 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42520 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42522 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42524 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42526 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42529 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42531 * stdlib/bug-getcontext.c: New file.
42532 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42534 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42536 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42537 instructions into .machine "z9-109".
42538 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42539 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42541 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42543 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42544 between environment variables and auxiliary vector.
42546 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42548 * Makefile: Add rules to build linkobj/libc.so.
42549 * include/libc-symbols.h: Define libc_hidden_nolink.
42550 * include/rpc/auth.h: Mark functions which are to be hidden.
42551 * include/rpc/auth_des.h: Likewise.
42552 * include/rpc/auth_unix.h: Likewise.
42553 * include/rpc/clnt.h: Likewise.
42554 * include/rpc/des_crypt.h: Likewise.
42555 * include/rpc/key_prot.h: Likewise.
42556 * include/rpc/pmap_clnt.h: Likewise.
42557 * include/rpc/pmap_prot.h: Likewise.
42558 * include/rpc/pmap_rmt.h: Likewise.
42559 * include/rpc/rpc_msg.h: Likewise.
42560 * include/rpc/svc.h: Likewise.
42561 * include/rpc/svc_auth.h: Likewise.
42562 * include/rpc/xdr.h: Likewise.
42563 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42564 * nss/Makefile: Likewise.
42565 * sunrpc/Makefile: Don't install headers. Build library with normal
42566 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42567 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42568 for the compat linking library. Remove use of INTDEF/INTUSE.
42569 * sunrpc/auth_none.c: Likewise.
42570 * sunrpc/auth_unix.c: Likewise.
42571 * sunrpc/authdes_prot.c: Likewise.
42572 * sunrpc/authuxprot.c: Likewise.
42573 * sunrpc/clnt_gen.c: Likewise.
42574 * sunrpc/clnt_perr.c: Likewise.
42575 * sunrpc/clnt_raw.c: Likewise.
42576 * sunrpc/clnt_simp.c: Likewise.
42577 * sunrpc/clnt_tcp.c: Likewise.
42578 * sunrpc/clnt_udp.c: Likewise.
42579 * sunrpc/clnt_unix.c: Likewise.
42580 * sunrpc/des_crypt.c: Likewise.
42581 * sunrpc/des_soft.c: Likewise.
42582 * sunrpc/get_myaddr.c: Likewise.
42583 * sunrpc/key_call.c: Likewise.
42584 * sunrpc/key_prot.c: Likewise.
42585 * sunrpc/netname.c: Likewise.
42586 * sunrpc/pm_getmaps.c: Likewise.
42587 * sunrpc/pm_getport.c: Likewise.
42588 * sunrpc/pmap_clnt.c: Likewise.
42589 * sunrpc/pmap_prot.c: Likewise.
42590 * sunrpc/pmap_prot2.c: Likewise.
42591 * sunrpc/pmap_rmt.c: Likewise.
42592 * sunrpc/publickey.c: Likewise.
42593 * sunrpc/rpc_cmsg.c: Likewise.
42594 * sunrpc/rpc_common.c: Likewise.
42595 * sunrpc/rpc_dtable.c: Likewise.
42596 * sunrpc/rpc_prot.c: Likewise.
42597 * sunrpc/rpc_thread.c: Likewise.
42598 * sunrpc/rtime.c: Likewise.
42599 * sunrpc/svc.c: Likewise.
42600 * sunrpc/svc_auth.c: Likewise.
42601 * sunrpc/svc_authux.c: Likewise.
42602 * sunrpc/svc_raw.c: Likewise.
42603 * sunrpc/svc_run.c: Likewise.
42604 * sunrpc/svc_simple.c: Likewise.
42605 * sunrpc/svc_tcp.c: Likewise.
42606 * sunrpc/svc_udp.c: Likewise.
42607 * sunrpc/svc_unix.c: Likewise.
42608 * sunrpc/svcauth_des.c: Likewise.
42609 * sunrpc/xcrypt.c: Likewise.
42610 * sunrpc/xdr.c: Likewise.
42611 * sunrpc/xdr_array.c: Likewise.
42612 * sunrpc/xdr_float.c: Likewise.
42613 * sunrpc/xdr_intXX_t.c: Likewise.
42614 * sunrpc/xdr_mem.c: Likewise.
42615 * sunrpc/xdr_rec.c: Likewise.
42616 * sunrpc/xdr_ref.c: Likewise.
42617 * sunrpc/xdr_sizeof.c: Likewise.
42618 * sunrpc/xdr_stdio.c: Likewise.
42620 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42623 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42624 * sysdeps/ia64/dl-tls.h: Likewise.
42625 * sysdeps/powerpc/dl-tls.h: Likewise.
42626 * sysdeps/s390/dl-tls.h: Likewise.
42627 * sysdeps/sh/dl-tls.h: Likewise.
42628 * sysdeps/sparc/dl-tls.h: Likewise.
42629 * sysdeps/x86_64/dl-tls.h: Likewise.
42630 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42632 2011-03-14 Andreas Schwab <schwab@redhat.com>
42634 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42635 rpath element also skip the following colon.
42636 (expand_dynamic_string_token): Add is_path parameter and pass
42637 down to DL_DST_REQUIRED and _dl_dst_substitute.
42638 (decompose_rpath): Call expand_dynamic_string_token with
42639 non-zero is_path. Ignore empty rpaths.
42640 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42643 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42648 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42651 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42652 Patch by Filipe David Manana <fdmanana@apache.org>.
42654 2011-04-07 Andreas Schwab <schwab@redhat.com>
42656 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42657 Maintain aligned stack.
42658 (CHECK_RSP): Remove unused macro.
42660 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42662 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42665 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42667 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42669 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42671 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42674 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42675 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42676 * sysdeps/x86_64/memmove.c: New file.
42677 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42678 (memcpy): Renamed to ...
42679 (__new_memcpy): This.
42680 (memcpy): Provide GLIBC_2_14 memcpy.
42681 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42682 (memcpy): Provide GLIBC_2_2_5 memcpy.
42684 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42687 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42689 2011-03-30 Andreas Schwab <schwab@redhat.com>
42691 * misc/syncfs.c: New file.
42692 * misc/Makefile (routines): Add syncfs.
42693 * posix/unistd.h: Declare syncfs.
42694 * sysdeps/unix/syscalls.list: Add syncfs.
42696 2011-04-01 Andreas Schwab <schwab@redhat.com>
42698 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42701 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42703 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42705 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42708 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42712 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42718 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42719 sync_file_range.c with -fexceptions.
42720 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42721 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42722 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42723 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42724 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42725 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42727 sync_file_range as cancellation point
42728 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42729 now a wrapper around __call_sync_file_range with cancellation handling.
42730 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42731 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42732 function name to __call_sync_file_range.
42733 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42734 Add call_sync_file_range.
42736 2011-04-01 Andreas Schwab <schwab@redhat.com>
42738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42741 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42743 * iconv/iconv.h: Fix typo in comment.
42744 * io/fcntl.h: Likewise.
42745 * libio/stdio.h: Likewise.
42746 * posix/spawn.h: Likewise.
42747 * posix/unistd.h: Likewise.
42748 * stdlib/stdlib.h: Likewise.
42749 * time/time.h: Likewise.
42750 * wcsmbs/wchar.h: Likewise.
42752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42753 open_by_handle): Add.
42754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42755 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42756 Augment a few comments.
42757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42762 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42765 * io/fcntl.h (AT_EMPTY_PATH): Define.
42767 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42769 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42770 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42771 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42773 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42774 * Versions.def: Add GLIBC_2.14.
42775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42778 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42780 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42782 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42784 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42787 * string/test-strncmp.c (do_page_test): New function.
42788 (check2): Likewise.
42789 (test_main): Call check2.
42790 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42792 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42796 Handle cache information in CPU leaf 4.
42797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42799 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42802 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42803 character representation.
42804 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42806 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42808 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42809 END(__isnan) to END(__isnanf) to match function entry point/label
42810 EALIGN(__isnanf,...).
42812 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42814 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42816 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42819 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42820 copy from the symbol referenced in the relocation to initialize the
42822 Patch by Piotr Bury <pbury@goahead.com>.
42823 * elf/Makefile: Add rules to build and tst-unique3.
42824 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42825 * elf/tst-unique3.cc: New file.
42826 * elf/tst-unique3.h: New file.
42827 * elf/tst-unique3lib.cc: New file.
42828 * elf/tst-unique3lib2.cc: New file.
42830 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42832 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42834 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42835 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42838 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42840 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42841 to-be-loaded object along a path to loader is ld.so.
42843 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42844 Ulrich Drepper <drepper@gmail.com>
42846 * sysdeps/x86_64/memset.S: After aligning destination, code
42847 branches to different locations depending on the value of
42848 misalignment, when multiarch is enabled. Fix this.
42850 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42852 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42853 Set _x86_64_preferred_memory_instruction for AMD processsors.
42854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42855 Set bit_Prefer_SSE_for_memop for AMD processors.
42857 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42859 * libio/fmemopen.c (fmemopen): Optimize a bit.
42861 2011-03-03 Andreas Schwab <schwab@redhat.com>
42863 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42865 2011-03-03 Roland McGrath <roland@redhat.com>
42867 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42869 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42871 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42872 __bzero_ultra1 instead of __memset_ultra1.
42874 2011-02-23 Andreas Schwab <schwab@redhat.com>
42875 Ulrich Drepper <drepper@gmail.com>
42878 * include/link.h (struct link_map): Add l_orig_initfini.
42879 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42880 returning unsuccessfully.
42881 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42882 close of a file loaded at startup, restore the original l_initfini
42884 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42885 list, store the pointer.
42886 * elf/Makefile ($(objpfx)noload-mem): New rule.
42887 (noload-ENV): Define.
42888 (tests): Add $(objpfx)noload-mem.
42889 * elf/noload.c: Include <memcheck.h>.
42890 (main): Call mtrace. Close all opened handles.
42892 2011-02-17 Andreas Schwab <schwab@redhat.com>
42895 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42896 dependencies are missing.
42898 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42900 Fix __if_freereq crash: Unlike the generic version which uses free,
42902 * sysdeps/mach/hurd/ifreq.h: New file.
42904 2011-01-27 Petr Baudis <pasky@suse.cz>
42905 Ulrich Drepper <drepper@gmail.com>
42908 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42909 to extend_alloca().
42910 * stdio-common/bug23.c: New file.
42911 * stdio-common/Makefile (tests): Add bug23.
42913 2010-09-28 Andreas Schwab <schwab@redhat.com>
42914 Ulrich Drepper <drepper@gmail.com>
42917 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42918 before performing relro protection. At old place add assertion
42919 to make sure nothing changed.
42921 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42922 Glauber de Oliveira Costa <glommer@gmail.com>
42924 * elf/elf.h: Add new ARM TLS relocs.
42926 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42929 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42931 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42933 * sysdeps/wordsize-64/tst-writev.c: New file.
42935 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42937 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42938 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42939 insns in _dl_start to prevent a TOC reference before relocs are
42942 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42945 * Makeconfig: Remove RANLIB definition.
42946 * Makerules: Don't use RANLIB.
42947 * aclocal.m4: Remove ranlib test.
42948 * configure.in: No need to check for ranlib.
42949 * elf/rtld-Rules: Don't use RANLIB.
42951 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42953 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42955 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42956 inclusion protection macro.
42958 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42959 SIGRTMIN and SIGRTMAX and print information in that case only when
42960 SIGRTMIN is defined.
42962 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42964 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42965 arginfo fn returning -1.
42967 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42968 and thousands string is zero terminated.
42970 2011-02-03 Andreas Schwab <schwab@redhat.com>
42972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42973 sysdeps/unix/sysv/linux/bits/socket.h.
42975 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42977 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42978 (__CPU_COUNT): Remove old macros.
42979 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42980 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42981 (__CPU_ALLOC, __CPU_FREE): Add macros.
42982 (__sched_cpualloc, __sched_cpufree): Add declarations.
42984 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42986 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42987 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42988 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42989 (readdhstai): Return value of addhstaiX call.
42990 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42991 (addgrbyX): Return value returned by cache_addgr.
42992 (readdgrbyname): Return value returned by addgrbyX.
42993 (readdgrbygid): Likewise.
42994 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42995 (addpwbyX): Return value returned by cache_addpw.
42996 (readdpwbyname): Return value returned by addhstbyX.
42997 (readdpwbyuid): Likewise.
42998 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42999 (addservbyX): Return value returned by cache_addserv.
43000 (readdservbyname): Return value returned by addservbyX:
43001 (readdservbyport): Likewise.
43002 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43003 (addhstbyX): Return value returned by cache_addhst.
43004 (readdhstbyname): Return value returned by addhstbyX.
43005 (readdhstbyaddr): Likewise.
43006 (readdhstbynamev6): Likewise.
43007 (readdhstbyaddrv6): Likewise.
43008 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43009 (readdinitgroups): Return value returned by addinitgroupsX.
43010 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43011 (prune_cache): Keep track of timeout value of re-added entries.
43012 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43013 * nscd/nscd.h: Adjust prototypes of readd* functions.
43015 2011-02-04 Roland McGrath <roland@redhat.com>
43017 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43018 (nis_stats): Likewise.
43019 * nis/nis_modify.c (nis_modify): Likewise.
43020 * nis/nis_remove.c (nis_remove): Likewise.
43021 * nis/nis_add.c (nis_add): Likewise.
43023 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43025 * posix/fnmatch_loop.c: Add some consts.
43027 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43029 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43032 * config.make.in (config-cflags-novzeroupper): Define.
43033 * configure.in: Substitute libc_cv_cc_novzeroupper.
43034 * elf/Makefile (AVX-CFLAGS): Define.
43035 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43036 (CFLAGS-tst-auditmod4a.c): Likewise.
43037 (CFLAGS-tst-auditmod4b.c): Likewise.
43038 (CFLAGS-tst-auditmod6b.c): Likewise.
43039 (CFLAGS-tst-auditmod6c.c): Likewise.
43040 (CFLAGS-tst-auditmod7b.c): Likewise.
43041 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43043 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43045 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43046 function to the callback.
43047 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43049 2011-02-02 Andreas Schwab <schwab@redhat.com>
43051 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43054 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43057 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43059 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43061 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43064 * elf/Makefile: Add rules to build and run new test.
43065 * elf/tst-initorder.c: New file.
43066 * elf/tst-initorder.exp: New file.
43067 * elf/tst-initordera1.c: New file.
43068 * elf/tst-initordera2.c: New file.
43069 * elf/tst-initordera3.c: New file.
43070 * elf/tst-initordera4.c: New file.
43071 * elf/tst-initorderb1.c: New file.
43072 * elf/tst-initorderb2.c: New file.
43073 * elf/tst-order-a1.c: New file.
43074 * elf/tst-order-a2.c: New file.
43075 * elf/tst-order-a3.c: New file.
43076 * elf/tst-order-a4.c: New file.
43077 * elf/tst-order-b1.c: New file.
43078 * elf/tst-order-b2.c: New file.
43079 * elf/tst-order-main.c: New file.
43080 New test case by George Gensure <werkt0@gmail.com>.
43082 2010-10-01 Andreas Schwab <schwab@redhat.com>
43084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43085 decoding ACE if AI_CANONIDN.
43087 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43089 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43091 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43093 * version.h (RELEASE): Bump for 2.13 release.
43094 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43096 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43100 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43101 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43102 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43104 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43107 * posix/getconf.c: Update copyright year.
43108 * catgets/gencat.c: Likewise.
43109 * csu/version.c: Likewise.
43110 * debug/catchsegv.sh: Likewise.
43111 * debug/xtrace.sh: Likewise.
43112 * elf/ldconfig.c: Likewise.
43113 * elf/ldd.bash.in: Likewise.
43114 * elf/sprof.c (print_version): Likewise.
43115 * iconv/iconv_prog.c: Likewise.
43116 * iconv/iconvconfig.c: Likewise.
43117 * locale/programs/locale.c: Likewise.
43118 * locale/programs/localedef.c: Likewise.
43119 * malloc/memusage.sh: Likewise.
43120 * malloc/mtrace.pl: Likewise.
43121 * nscd/nscd.c (print_version): Likewise.
43122 * nss/getent.c: Likewise.
43124 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43125 PF_CAIF, and PF_ALG.
43126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43128 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43130 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43131 (modules-names): Use them.
43132 (ifunc-test-modules, ifunc-pie-tests): Define.
43133 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43134 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43135 (test-extras): Likewise.
43136 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43137 $(compile-command.c).
43138 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43139 (all-built-dso): Define.
43140 (check-textrel.out, check-execstack.out): Depend on it.
43142 * configure.in: Don't override --enable-multi-arch.
43144 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43147 * nscd/hstcache.c (tryagain): Define.
43148 (cache_addhst): Return tryagain not notfound for temporary errors.
43149 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43152 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43155 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43156 to make the syscall.
43157 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43160 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43161 and fall back to matching as normal character if the string ends before
43162 the matching ']' is found. This is what POSIX requires.
43163 * posix/testfnm.c: Adjust test result.
43164 * posix/globtest.sh: Adjust test result. Add new test.
43165 * posix/tst-fnmatch.input: Likewise.
43166 * posix/tst-fnmatch2.c: Add new test.
43168 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43170 * elf/Makefile (check-execstack): Revert last change. Depend on
43172 (check-execstack.h): New target.
43173 (generated): Add check-execstack.h.
43174 * elf/check-execstack.c: Include "check-execstack.h".
43175 (main): Revert last change.
43176 (handle_file): Return zero if GNU_STACK is absent and
43177 DEFAULT_STACK_PERMS doesn't include PF_X.
43179 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43181 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43182 in child fails because the descriptor is already closed.
43183 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43184 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43185 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43188 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43192 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43193 temporary buffer used to handle multi lookups locally.
43194 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43196 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43198 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43201 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43203 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43204 alignment for SSE2.
43206 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43209 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43210 characters. When rounding increased number of integer digits recompute
43212 * stdio-common/tst-grouping.c: New file.
43213 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43215 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43217 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43218 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43220 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43222 * bits/select.h: Likewise.
43224 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43226 * po/ja.po: Update from translation team.
43228 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43231 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43232 implementation just like for lxstat, fxstatat, et al.
43234 2010-12-27 Jim Meyering <meyering@redhat.com>
43237 * posix/regexec.c (build_trtable): Return failure indication upon
43238 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43240 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43243 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43244 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43249 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43252 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43253 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43255 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43257 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43258 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43259 script has SORT_BY_INIT_PRIORITY.
43260 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43261 NO_CTORS_DTORS_SECTIONS is defined.
43262 * elf/soinit.c: Likewise.
43263 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43264 NO_CTORS_DTORS_SECTIONS is defined.
43265 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43266 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43267 * sysdeps/sh/init-first.c: Likewise.
43268 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43270 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43272 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43273 always use the slow path.
43275 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43277 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43278 similar rule which adds the sysdep directories to the header search in
43279 order to pick up the correct platform stackinfo.h.
43280 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43281 perform test if it is, otherwise return successfully without testing.
43282 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43283 DEFAULT_STACK_PERMS define in stackinfo.h.
43284 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43285 defined in stackinfo.h.
43286 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43287 DEFAULT_STACK_PERMS defined in stackinfo.h.
43288 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43289 * sysdeps/ia64/stackinfo.h: Likewise.
43290 * sysdeps/s390/stackinfo.h: Likewise.
43291 * sysdeps/sh/stackinfo.h: Likewise.
43292 * sysdeps/sparc/stackinfo.h: Likewise.
43293 * sysdeps/x86_64/stackinfo.h: Likewise.
43294 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43295 PF_X for powerpc64. Retain PF_X for powerpc32.
43297 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43299 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43301 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43302 GETDENTS_64BIT_ALIGNED.
43304 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43306 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43308 2010-12-10 Andreas Schwab <schwab@redhat.com>
43310 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43313 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43314 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43316 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43317 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43319 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43322 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43325 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43327 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43329 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43331 * po/it.po: Update from translation team.
43333 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43338 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43340 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43342 2010-11-24 Andreas Schwab <schwab@redhat.com>
43344 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43346 (gaih_getanswer_slice): Likewise.
43348 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43352 2010-05-31 Petr Baudis <pasky@suse.cz>
43355 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43356 silently even in the chroot mode.
43358 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43360 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43361 last patch a bit. Pretty printing
43363 2010-05-31 Petr Baudis <pasky@suse.cz>
43366 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43367 initialization of skip_initgroups_dyn.
43369 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43371 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43374 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43376 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43378 2010-11-11 Andreas Schwab <schwab@redhat.com>
43380 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43381 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43382 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43383 ($(objpfx)tst-fnmatch-mem): New rule.
43384 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43385 * posix/tst-fnmatch.c (main): Call mtrace.
43387 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43390 Support Intel processor model 6 and model 0x2c.
43392 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43394 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43397 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43400 * string/test-strncasecmp.c (check_result): New function.
43401 (do_one_test): Use it.
43402 (check1): New function.
43403 (test_main): Use it.
43404 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43405 Support strcasecmp and strncasecmp.
43407 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43410 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43413 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43415 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43419 * sysdeps/x86_64/multiarch/bzero.S: New file.
43420 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43421 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43422 * sysdeps/x86_64/multiarch/memset.S: New file.
43423 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43425 Set bit_Prefer_SSE_for_memop for Intel processors.
43426 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43428 (index_Prefer_SSE_for_memop): Define.
43429 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43431 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43433 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43436 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43439 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43440 (__x86_64_raw_data_cache_size_half): Likewise.
43441 (__x86_64_raw_shared_cache_size): Likewise.
43442 (__x86_64_raw_shared_cache_size_half): Likewise.
43444 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43445 (__x86_64_raw_data_cache_size_half): Likewise.
43446 (__x86_64_raw_shared_cache_size): Likewise.
43447 (__x86_64_raw_shared_cache_size_half): Likewise.
43448 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43449 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43450 and __x86_64_raw_shared_cache_size_half. Round
43451 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43452 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43453 to multiple of 256 bytes.
43455 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43458 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43459 of inacessible symlinks. Verify result of symlink before returning it.
43460 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43461 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43463 2010-10-28 Erich Ritz <erichritz@gmail.com>
43465 * math/math.h (isinf): Fix typo in comment.
43467 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43469 * po/da.po: Update from translation team.
43471 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43473 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43474 is added to the list.
43476 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43477 Ulrich Drepper <drepper@gmail.com>
43479 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43480 the global list here. Move code to...
43481 (_dl_add_to_namespace_list): ...here. New function.
43482 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43483 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43484 * elf/dl-load.c (lose): Don't remove the element from the list.
43485 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43486 (_dl_map_object): Likewise.
43488 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43491 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43492 into all bytes of SSE register.
43493 Patch by Richard Li <richardpku@gmail.com>.
43495 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43498 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43501 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43503 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43504 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43505 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43506 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43511 2010-10-22 Andreas Schwab <schwab@redhat.com>
43513 * include/dlfcn.h (__RTLD_SECURE): Define.
43514 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43515 mode & __RTLD_SECURE instead.
43516 (open_path): Rename preloaded parameter to secure.
43517 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43518 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43519 * elf/dl-deps.c (openaux): Likewise.
43520 * elf/rtld.c (struct map_args): Remove is_preloaded.
43521 (map_doit): Don't use it.
43522 (dl_main): Likewise.
43523 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43524 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43526 2010-09-09 Andreas Schwab <schwab@redhat.com>
43528 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43529 (sysd-rules-targets): Remove duplicates.
43530 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43531 rtld-%.$o dependency.
43533 2010-10-18 Andreas Schwab <schwab@redhat.com>
43535 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43536 _dl_map_object do it.
43538 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43540 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43541 fast fma builtins, define the macros in the C99 standard.
43542 (FP_FAST_FMAF): Likewise.
43543 (FP_FAST_FMAL): Likewise.
43544 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43546 * bits/mathdef.h: Update copyright year.
43547 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43549 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43551 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43552 builtins, define the macros in the C99 standard.
43553 (FP_FAST_FMAF): Likewise.
43554 (FP_FAST_FMAL): Likewise.
43555 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43557 (FP_FAST_FMAF): Likewise.
43559 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43562 * math/libm-test.inc (fma_test): Some new testcases.
43563 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43564 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43565 y and infinite z. Do multiplication by C already in long double.
43566 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43568 y and infinite z. Do bitwise or of inexact bit into u.d.
43569 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43570 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43571 * sysdeps/i386/fpu/s_fma.S: Removed.
43572 * sysdeps/i386/fpu/s_fmal.S: Removed.
43574 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43577 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43579 computation is not scheduled after fetestexcept. Fix value
43580 of minimum denormal long double.
43582 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43585 * math/libm-test.inc (fma_test): Add some more tests.
43586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43589 2010-10-15 Andreas Schwab <schwab@redhat.com>
43591 * scripts/data/localplt-s390-linux-gnu.data: New file.
43592 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43594 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43597 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43598 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43600 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43602 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43604 if one of x and y is very large and the other is subnormal.
43605 * sysdeps/s390/fpu/s_fmaf.c: New file.
43606 * sysdeps/s390/fpu/s_fma.c: New file.
43607 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43608 * sysdeps/powerpc/fpu/s_fma.S: New file.
43609 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43610 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43611 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43613 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43616 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43618 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43619 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43620 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43621 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43622 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43623 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43624 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43626 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43629 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43630 * posix/bug-regex31.input: Add test case.
43632 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43634 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43635 * posix/bug-regex31.input: New file.
43638 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43639 (parse_sub_exp): Fix last change, use postorder.
43641 * posix/bug-regex31.c: New file.
43642 * posix/Makefile: Add rules to build and run bug-regex31.
43644 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43647 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43650 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43651 to have entries in sys_siglist.
43654 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43657 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43660 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43661 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43662 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43663 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43664 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43665 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43666 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43667 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43668 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43669 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43670 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43671 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43672 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43673 * math/ftestexcept.c (fetestexcept): Likewise.
43674 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43675 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43676 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43677 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43678 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43679 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43682 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43685 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43688 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43690 * string/bug-strstr1.c: New file.
43691 * string/Makefile: Add rules to build and run bug-strstr1.
43693 2010-10-05 Eric Blake <eblake@redhat.com>
43696 * string/str-two-way.h (two_way_long_needle): Always clear memory
43697 when skipping input due to the shift table.
43699 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43702 * malloc/mcheck.c: Handle large requests.
43705 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43706 for strncmp and strncasecmp.
43707 * string/stratcliff.c: Add tests for strcmp and strncmp.
43708 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43710 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43712 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43715 2010-09-30 Andreas Jaeger <aj@suse.de>
43717 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43718 (CGROUP_SUPER_MAGIC): Define.
43719 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43720 Handle btrfs and cgroup file systems.
43721 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43724 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43726 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43727 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43729 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43732 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43733 trying to locate the ELF header.
43735 2010-09-27 Andreas Schwab <schwab@redhat.com>
43738 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43739 Mask out sign-bit copies when constructing f_fsid.
43741 2010-09-24 Petr Baudis <pasky@suse.cz>
43743 * debug/stack_chk_fail_local.c: Add missing licence exception.
43744 * debug/warning-nop.c: Likewise.
43746 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43748 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43749 implementing getdents64 using getdents syscall, set d_type if
43750 __ASSUME_GETDENTS32_D_TYPE.
43752 2010-09-16 Andreas Schwab <schwab@redhat.com>
43754 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43755 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43757 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43760 * posix/unistd.h: Undo change of feature selection for ftruncate from
43763 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43765 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43768 2010-09-20 Andreas Schwab <schwab@redhat.com>
43770 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43774 2010-09-14 Andreas Schwab <schwab@redhat.com>
43776 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43777 variables after CHECK_SP call.
43778 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43780 2010-09-13 Andreas Schwab <schwab@redhat.com>
43781 Ulrich Drepper <drepper@redhat.com>
43783 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43784 re-relocationg ld.so.
43785 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43786 _dl_init_paths call.
43787 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43790 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43792 * resolv/res_init.c (__res_vinit): Count the default server we added.
43794 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43795 Ulrich Drepper <drepper@redhat.com>
43798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43799 (____longjmp_chk): Use %ebx for saving value across system call.
43802 2010-09-06 Andreas Schwab <schwab@redhat.com>
43804 * manual/Makefile: Don't mix pattern rules with normal rules.
43806 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43808 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43810 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43811 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43812 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43813 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43817 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43820 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43821 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43823 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43825 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43826 * sysdeps/x86_64/addmul_1.S: Likewise.
43827 * sysdeps/x86_64/lshift.S: Likewise.
43828 * sysdeps/x86_64/mul_1.S: Likewise.
43829 * sysdeps/x86_64/rshift.S: Likewise.
43830 * sysdeps/x86_64/sub_n.S: Likewise.
43831 * sysdeps/x86_64/submul_1.S: Likewise.
43833 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43835 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43836 Define __sched_param instead of SCHED_* and sched_param when
43837 <bits/sched.h> is included with __need_schedparam defined.
43838 * bits/sched.h [__need_schedparam]
43839 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43840 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43841 (__defined_schedparam): Define to 1.
43842 (__sched_param): New structure, identical to sched_param.
43843 (__need_schedparam): Undefine.
43845 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43848 (epoll_create1): Declare.
43850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43852 2010-08-31 Andreas Schwab <schwab@redhat.com>
43855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43856 shifting retval into place.
43858 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43860 * nis/rpcsvc/nis.h: Update copyright notice.
43861 * nis/rpcsvc/nis.x: Likewise.
43862 * nis/rpcsvc/nis_callback.h: Likewise.
43863 * nis/rpcsvc/nis_callback.x: Likewise.
43864 * nis/rpcsvc/nis_object.x: Likewise.
43865 * nis/rpcsvc/nis_tags.h: Likewise.
43866 * nis/rpcsvc/yp.h: Likewise.
43867 * nis/rpcsvc/yp.x: Likewise.
43868 * nis/rpcsvc/ypupd.h: Likewise.
43869 * nis/yp_xdr.c: Likewise.
43870 * nis/ypupdate_xdr.c: Likewise.
43872 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43873 mainly the body of pmap_getport. Add parameters to specify timeouts.
43874 (pmap_getport): Use __libc_rpc_getport.
43875 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43876 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43877 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43879 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43884 2010-08-27 Roland McGrath <roland@redhat.com>
43886 * sysdeps/i386/i686/multiarch/Makefile
43887 (CFLAGS-varshift.c): New variable.
43889 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43891 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43892 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43896 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43898 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43900 * sysdeps/x86_64/strlen.S: Unroll the loop.
43901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43902 strlen-sse2 strlen-sse2-bsf.
43903 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43904 __strlen_no_bsf if bit_Slow_BSF is set.
43905 (__strlen_sse42): Removed.
43906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43907 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43909 2010-08-25 Roland McGrath <roland@redhat.com>
43911 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43912 * sysdeps/x86_64/multiarch/varshift.c: New file.
43913 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43914 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43915 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43918 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43921 strlen-sse2 strlen-sse2-bsf.
43922 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43923 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43924 (__strlen_sse2): Removed.
43925 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43928 bit_Slow_BSF for Atom.
43929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43930 (index_Slow_BSF): Define.
43931 (HAS_SLOW_BSF): Define.
43933 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43936 * resolv/res_init.c (__res_vinit): When no server address at all
43937 is given default to loopback.
43939 2010-08-24 Roland McGrath <roland@redhat.com>
43941 * configure.in: Remove config-name.h generation.
43942 * configure: Regenerated.
43943 * config-name.in: File removed.
43944 * scripts/config-uname.sh: New file.
43945 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43946 ($(objdir)config-name.h): New target.
43948 * sunrpc/rpc_parse.h: Avoid nested comment.
43950 2010-08-24 Richard Henderson <rth@redhat.com>
43951 Ulrich Drepper <drepper@redhat.com>
43952 H.J. Lu <hongjiu.lu@intel.com>
43954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43956 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43957 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43958 _mm_alignr_epi8 with _mm_loadu_si128.
43959 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43960 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43961 (__m128i_shift_right): Removed.
43962 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43963 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43964 * sysdeps/x86_64/multiarch/varshift.h: New file.
43965 * sysdeps/x86_64/multiarch/varshift.S: New file.
43967 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43969 * configure.in: Move assembler checks to before sysdep dir checking.
43971 2010-08-20 Petr Baudis <pasky@suse.cz>
43973 * LICENSES: Sync the sunrpc license.
43975 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43977 * sunrpc/auth_des.c: Update copyright notice once again.
43978 * sunrpc/auth_none.c: Likewise.
43979 * sunrpc/auth_unix.c: Likewise.
43980 * sunrpc/authdes_prot.c: Likewise.
43981 * sunrpc/authuxprot.c: Likewise.
43982 * sunrpc/bindrsvprt.c: Likewise.
43983 * sunrpc/clnt_gen.c: Likewise.
43984 * sunrpc/clnt_perr.c: Likewise.
43985 * sunrpc/clnt_raw.c: Likewise.
43986 * sunrpc/clnt_simp.c: Likewise.
43987 * sunrpc/clnt_tcp.c: Likewise.
43988 * sunrpc/clnt_udp.c: Likewise.
43989 * sunrpc/clnt_unix.c: Likewise.
43990 * sunrpc/des_crypt.c: Likewise.
43991 * sunrpc/des_soft.c: Likewise.
43992 * sunrpc/get_myaddr.c: Likewise.
43993 * sunrpc/getrpcport.c: Likewise.
43994 * sunrpc/key_call.c: Likewise.
43995 * sunrpc/key_prot.c: Likewise.
43996 * sunrpc/openchild.c: Likewise.
43997 * sunrpc/pm_getmaps.c: Likewise.
43998 * sunrpc/pm_getport.c: Likewise.
43999 * sunrpc/pmap_clnt.c: Likewise.
44000 * sunrpc/pmap_prot.c: Likewise.
44001 * sunrpc/pmap_prot2.c: Likewise.
44002 * sunrpc/pmap_rmt.c: Likewise.
44003 * sunrpc/rpc/auth.h: Likewise.
44004 * sunrpc/rpc/auth_unix.h: Likewise.
44005 * sunrpc/rpc/clnt.h: Likewise.
44006 * sunrpc/rpc/des_crypt.h: Likewise.
44007 * sunrpc/rpc/key_prot.h: Likewise.
44008 * sunrpc/rpc/netdb.h: Likewise.
44009 * sunrpc/rpc/pmap_clnt.h: Likewise.
44010 * sunrpc/rpc/pmap_prot.h: Likewise.
44011 * sunrpc/rpc/pmap_rmt.h: Likewise.
44012 * sunrpc/rpc/rpc.h: Likewise.
44013 * sunrpc/rpc/rpc_des.h: Likewise.
44014 * sunrpc/rpc/rpc_msg.h: Likewise.
44015 * sunrpc/rpc/svc.h: Likewise.
44016 * sunrpc/rpc/svc_auth.h: Likewise.
44017 * sunrpc/rpc/types.h: Likewise.
44018 * sunrpc/rpc/xdr.h: Likewise.
44019 * sunrpc/rpc_clntout.c: Likewise.
44020 * sunrpc/rpc_cmsg.c: Likewise.
44021 * sunrpc/rpc_common.c: Likewise.
44022 * sunrpc/rpc_cout.c: Likewise.
44023 * sunrpc/rpc_dtable.c: Likewise.
44024 * sunrpc/rpc_hout.c: Likewise.
44025 * sunrpc/rpc_main.c: Likewise.
44026 * sunrpc/rpc_parse.c: Likewise.
44027 * sunrpc/rpc_parse.h: Likewise.
44028 * sunrpc/rpc_prot.c: Likewise.
44029 * sunrpc/rpc_sample.c: Likewise.
44030 * sunrpc/rpc_scan.c: Likewise.
44031 * sunrpc/rpc_scan.h: Likewise.
44032 * sunrpc/rpc_svcout.c: Likewise.
44033 * sunrpc/rpc_tblout.c: Likewise.
44034 * sunrpc/rpc_util.c: Likewise.
44035 * sunrpc/rpc_util.h: Likewise.
44036 * sunrpc/rpcinfo.c: Likewise.
44037 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44038 * sunrpc/rpcsvc/key_prot.x: Likewise.
44039 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44040 * sunrpc/rpcsvc/mount.x: Likewise.
44041 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44042 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44043 * sunrpc/rpcsvc/rex.x: Likewise.
44044 * sunrpc/rpcsvc/rstat.x: Likewise.
44045 * sunrpc/rpcsvc/rusers.x: Likewise.
44046 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44047 * sunrpc/rpcsvc/spray.x: Likewise.
44048 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44049 * sunrpc/rtime.c: Likewise.
44050 * sunrpc/svc.c: Likewise.
44051 * sunrpc/svc_auth.c: Likewise.
44052 * sunrpc/svc_authux.c: Likewise.
44053 * sunrpc/svc_raw.c: Likewise.
44054 * sunrpc/svc_run.c: Likewise.
44055 * sunrpc/svc_simple.c: Likewise.
44056 * sunrpc/svc_tcp.c: Likewise.
44057 * sunrpc/svc_udp.c: Likewise.
44058 * sunrpc/svc_unix.c: Likewise.
44059 * sunrpc/svcauth_des.c: Likewise.
44060 * sunrpc/xcrypt.c: Likewise.
44061 * sunrpc/xdr.c: Likewise.
44062 * sunrpc/xdr_array.c: Likewise.
44063 * sunrpc/xdr_float.c: Likewise.
44064 * sunrpc/xdr_mem.c: Likewise.
44065 * sunrpc/xdr_rec.c: Likewise.
44066 * sunrpc/xdr_ref.c: Likewise.
44067 * sunrpc/xdr_sizeof.c: Likewise.
44068 * sunrpc/xdr_stdio.c: Likewise.
44070 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44073 2010-08-19 Andreas Schwab <schwab@redhat.com>
44075 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44077 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44079 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44080 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44081 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44082 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44083 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44084 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44085 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44086 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44088 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44089 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44090 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44091 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44094 2010-07-26 Anton Blanchard <anton@samba.org>
44096 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44097 * malloc/arena.c (heap_trim): Likewise.
44099 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44101 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44104 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44106 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44108 * sysdeps/i386/elf/Makefile: New file.
44110 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44112 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44113 from fanotify_init.
44114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44117 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44119 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44121 * sysdeps/multiarch/strcmp.S: Likewise.
44123 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44126 strncase_l-nonascii.
44127 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44128 Add strncase_l-ssse3.
44129 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44130 * sysdeps/x86_64/strcmp.S: Likewise.
44131 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44132 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44133 * sysdeps/x86_64/strncase.S: New file.
44134 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44135 * sysdeps/x86_64/strncase_l.S: New file.
44136 * string/Makefile (strop-tests): Add strncasecmp.
44137 * string/test-strncasecmp.c: New file.
44139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44142 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44143 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44145 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44147 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44149 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44151 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44152 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44155 2010-05-01 Alan Modra <amodra@gmail.com>
44157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44158 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44159 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44160 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44161 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44162 tidying. Don't tail-call __sigjmp_save for static lib.
44163 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44165 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44166 (CALL_MCOUNT): Add eh info, and nop after bl.
44167 (TAIL_CALL_SYSCALL_ERROR): New macro.
44168 (PSEUDO_RET): Use it.
44169 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44170 Correct save location of integer regs and cr.
44171 (_dl_profile_resolve): Correct cr save location. Delete nops
44172 after bl when SHARED. Reduce cfi size a little by better
44173 placement of cfi directives.
44174 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44175 make a stack frame. Instead use parm save area as a temp.
44176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44177 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44179 Don't make a stack frame for parent, use parm save area.
44180 Increase child stack frame to 112 bytes. Don't save unused reg,
44181 and adjust reg usage. Set up cfi on error recovery and
44182 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44184 (__makecontext): Add dummy nop after jump to exit.
44185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44186 Use correct parm save area and cr save, reduce stack frame.
44187 Correct cfi for possible PSEUDO_RET frame setup.
44188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44189 Branch to local label emitted by PSEUDO_RET rather than
44192 2010-08-12 Andreas Schwab <schwab@redhat.com>
44195 * locale/programs/locale.c (print_assignment): New function.
44196 (show_locale_vars): Use it.
44198 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44200 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44202 (struct statfs64): Likewise.
44203 (_STATFS_F_FLAGS): Define.
44204 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44206 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44207 (ST_VALID): Define locally.
44208 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44209 __statvfs_getflags, use the provided value.
44210 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44211 __ASSUME_STATFS_F_FLAGS.
44213 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44215 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44216 Add sys/fanotify.h.
44217 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44218 fanotify_mask for GLIBC_2.13.
44219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44220 fanotify_init and fanotify_mark.
44221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44222 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44224 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44226 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44227 prlimit64 for GLIBC_2.13.
44228 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44234 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44235 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44238 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44241 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44242 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44244 * nss/Makefile: Add rules to build and run tst-nss-test1.
44245 * shlib-versions: Add entry for libnss_test1.
44246 * nss/nss_test1.c: New file.
44247 * nss/tst-nss-test1.c: New file.
44249 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44250 (__nss_configure_lookup): Set appropriate entry in
44251 __nss_configure_lookup to true.
44252 * nss/nsswitch.h: Define enum with indeces of databases in
44253 databases and __nss_database_custom arrays. Declare
44254 __nss_database_custom.
44255 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44256 to avoid using nscd when custom rules are installed.
44257 * nss/getXXbyYY_r.c: Likewise.
44258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44260 * nss/nss_files/files-parse.c: Whitespace fixes.
44262 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44265 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44266 * posix/fnmatch_loop.c: Likewise.
44268 2010-07-17 Andi Kleen <ak@linux.intel.com>
44270 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44271 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44272 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44273 * Versions.def [GLIBC_2.13]: Add.
44275 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44278 Also fail if tpwd after pwuid call is NULL.
44280 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44282 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44283 when converting to ms.
44285 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44287 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44288 EOPNOTSUPP errors with ENOTTY.
44289 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44290 EOPNOTSUPP errors with ENOTTY.
44292 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44294 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44295 Add strcasecmp_l-ssse3.
44296 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44298 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44299 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44300 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44302 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44304 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44306 * string/Makefile (strop-tests): Add strcasecmp.
44307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44308 strcasecmp_l-nonascii.
44309 (gen-as-const-headers): Add locale-defines.sym.
44310 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44311 * sysdeps/x86_64/strcasecmp.S: New file.
44312 * sysdeps/x86_64/strcasecmp_l.S: New file.
44313 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44314 * sysdeps/x86_64/locale-defines.sym: New file.
44315 * string/test-strcasecmp.c: New file.
44317 * string/test-strcasestr.c: Test both ends of the range of characters.
44318 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44320 2010-07-29 Roland McGrath <roland@redhat.com>
44323 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44325 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44327 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44330 2010-07-27 Andreas Schwab <schwab@redhat.com>
44332 * manual/memory.texi (Malloc Tunable Parameters): Document
44335 2010-07-26 Roland McGrath <roland@redhat.com>
44338 * configure.in (-fgnu89-inline check): Set and substitute
44339 gnu89_inline, not libc_cv_gnu89_inline.
44340 * configure: Regenerated.
44341 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44343 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44345 * string/test-strnlen.c: New file.
44346 * string/Makefile (strop-tests): Add strnlen.
44347 * string/tester.c (test_strnlen): Add a few more test cases.
44348 * string/tst-strlen.c: Better error reporting.
44350 * sysdeps/x86_64/strnlen.S: New file.
44352 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44355 lower-latency instructions.
44357 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44359 * string/test-strcasestr.c: New file.
44360 * string/test-strstr.c: New file.
44361 * string/Makefile (strop-tests): Add strstr and strcasestr.
44362 * string/str-two-way.h: Don't undefine MAX.
44363 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44365 2010-07-21 Andreas Schwab <schwab@redhat.com>
44367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44368 strcasestr-nonascii.
44369 (CFLAGS-strcasestr-nonascii.c): Define.
44370 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44371 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44372 Remove unused attribute.
44374 2010-07-20 Roland McGrath <roland@redhat.com>
44376 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44377 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44378 ld.so.cache was broken. With it, there is no way to disable dsocaps
44379 like LD_HWCAP_MASK can disable hwcaps.
44381 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44383 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44385 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44387 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44388 call in strcasestr.
44389 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44390 __strcasestr_sse42_nonascii.
44391 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44392 strcasestr-nonascii.c.
44393 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44395 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44397 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44398 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44399 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44400 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44402 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44404 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44407 2010-07-06 Andreas Schwab <schwab@redhat.com>
44410 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44413 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44415 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44416 _PC_PIPE_BUF using F_GETPIPE_SZ.
44418 2010-07-05 Roland McGrath <roland@redhat.com>
44420 * manual/arith.texi (Rounding Functions): Fix rint description
44421 implicit in round description.
44423 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44425 * elf/Makefile: Fix linking for a few tests to make recent linker
44428 2010-06-30 Andreas Schwab <schwab@redhat.com>
44430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44431 $(common-objpfx)libc_nonshared.a.
44433 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44435 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44436 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44437 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44438 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44439 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44440 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44441 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44457 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44458 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44459 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44460 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44461 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44462 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44463 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44464 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44465 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44466 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44467 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44468 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44484 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44486 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44487 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44488 * string/memmove.c (memmove): Renamed to ...
44489 (MEMMOVE): ...this. Default to memmove.
44490 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44491 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44494 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44495 mempcpy-ssse3-back memmove-ssse3-back.
44496 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44498 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44499 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44500 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44501 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44502 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44503 * sysdeps/x86_64/multiarch/memmove.c: New file.
44504 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44505 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44506 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44507 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44508 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44511 (index_Fast_Copy_Backward): Define.
44512 (HAS_ARCH_FEATURE): Define.
44513 (HAS_FAST_REP_STRING): Define.
44514 (HAS_FAST_COPY_BACKWARD): Define.
44516 2010-06-21 Andreas Schwab <schwab@redhat.com>
44518 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44519 Restore proper fallback handling.
44521 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44524 * posix/group_member.c (__group_member): Correct checking loop.
44526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44527 OOM in getpwuid_r correctly. Return error number when the caller
44528 should return, otherwise -1.
44529 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44530 call returning > 0 value.
44531 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44533 2010-06-07 Andreas Schwab <schwab@redhat.com>
44535 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44536 libc_nonshared.a from targets in modules-names.
44538 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44540 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44543 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44546 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44550 2010-06-02 Andreas Schwab <schwab@redhat.com>
44552 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44554 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44559 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44562 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44563 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44565 2010-06-14 Roland McGrath <roland@redhat.com>
44567 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44569 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44571 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44572 __REDIRECT followed by __THROW.
44573 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44574 * posix/getopt.h (getopt): Likewise.
44576 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44578 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44579 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44580 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44582 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44583 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44585 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44587 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44589 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44593 Properly check family and model.
44595 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44599 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44601 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44603 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44605 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44608 2010-05-19 Andreas Schwab <schwab@redhat.com>
44610 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44613 2010-05-21 Andreas Schwab <schwab@redhat.com>
44615 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44616 and internal_recvmmsg.
44617 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44618 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44619 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44620 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44622 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44623 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44624 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44626 2010-05-20 Andreas Schwab <schwab@redhat.com>
44628 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44630 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44632 POWER7 optimizations.
44633 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44634 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44636 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44638 * version.h: Update for 2.13 development version.
44640 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44642 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44643 exceptions. Return 0.
44645 2010-05-07 Roland McGrath <roland@redhat.com>
44647 * elf/ldconfig.c (main): Add a const.
44649 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44651 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44652 (args_options): Add no-idn option.
44653 (ahosts_keys_int): Add idn_flags to ai_flags.
44654 (parse_option): Handle 'i' option to clear idn_flags.
44656 * malloc/malloc.c (_int_free): Possible race in the most recently
44657 added check. Only act on the data if no current modification
44660 See ChangeLog.17 for earlier changes.