1 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7 * io/ftw.c: Include sys/param.h unconditionally.
9 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14 (freecache): New function to free CACHE on exit.
16 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19 2014-07-09 David S. Miller <davem@davemloft.net>
21 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23 * sysdeps/sparc/nptl/internaltypes.h: Delete.
24 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28 * sysdeps/sparc/nptl/sem_init.c: Likewise.
29 * sysdeps/sparc/nptl/sem_post.c: Likewise.
30 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
35 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37 2014-07-09 Andreas Schwab <schwab@suse.de>
39 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46 2014-07-09 Will Newton <will.newton@linaro.org>
48 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
49 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
50 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
51 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
52 * sysdeps/hppa/start.S (_start): Likewise.
54 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
56 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
58 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
61 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
63 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
64 after checking that it is non-NULL.
66 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
68 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70 * sysdeps/powerpc/memmove.c: Remove file.
71 * sysdeps/powerpc/powerpc32/power4/memcopy.h
72 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
73 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
74 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
75 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
76 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
77 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
78 string memmove instead of removed powerpc one.
80 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
81 [weak_alias]: Fix compiler warning due trailing data.
82 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
83 [weak_alias]: Likewise.
84 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
85 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
87 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
88 (__libc_ifunc_impl_list): Add memmove functions.
90 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
92 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
94 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
96 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
98 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
100 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
102 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
104 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
106 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
108 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
110 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
112 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
114 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
116 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
118 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
120 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
122 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
124 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
127 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
129 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
130 to avoid alignment traps in non-cacheable memory.
131 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
135 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
136 file: multiarch power7 memmove.
137 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
138 multiarch default memmove.
139 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
140 multiarch memove for powerpc32/power4.
142 * string/bcopy.c: Use full path to include memmove.c.
143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
145 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
147 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
150 and memmove implementations.
151 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
152 optimized multiarch memmove for POWER7/powerpc64.
153 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
154 default multiarch memmove for powerpc64.
155 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
156 multiarch for powerpc64.
157 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
158 for POWER7/powerpc64.
159 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
160 memmove for POWER7/powerpc64.
162 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
165 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
166 __ELF_NATIVE_CLASS equal to 64.
168 2014-07-07 Roland McGrath <roland@hack.frob.com>
170 * sysdeps/nptl/lowlevellock.h: File removed.
172 * NEWS: NPTL is no longer an add-on!
173 * nptl/internaltypes.h: Moved ...
174 * sysdeps/nptl/internaltypes.h: ... here.
175 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
176 * sysdeps/nptl/fork.c: Likewise.
177 * sysdeps/nptl/gai_misc.h: Likewise.
178 * sysdeps/nptl/librt-cancellation.c: Likewise.
179 * sysdeps/nptl/jmp-unwind.c: Likewise.
180 * sysdeps/nptl/setxid.h: Likewise.
181 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
182 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
183 * sysdeps/unix/sysv/linux/arm/Implies: New file.
184 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
185 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
186 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
187 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
188 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
189 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
190 * sysdeps/unix/sysv/linux/mips/Implies: New file.
191 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
192 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
193 * sysdeps/unix/sysv/linux/sh/Implies: New file.
194 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
195 * sysdeps/unix/sysv/linux/tile/Implies: New file.
196 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
197 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
198 * nptl/Makeconfig: Moved ...
199 * sysdeps/nptl/Makeconfig: ... here.
200 * nptl/configure: File removed.
201 * nptl/ANNOUNCE: File removed.
202 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
203 * sysdeps/unix/sysv/linux/configure: Regenerated.
205 * nptl/Makefile (routines): Add libc_pthread_init,
206 libc_multiple_threads, register-atfork and unregister-atfork.
207 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
208 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
209 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
210 pthread-pi-defines.sym, structsem.sym.
211 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
212 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
213 [$(subdir) = nptl] (tests): Add tst-setgetname.
214 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
215 * sysdeps/unix/sysv/linux/sigaction.c: Just include
216 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
217 [!LIBC_SIGACTION]: Remove aliases.
218 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
219 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
220 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
221 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
222 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
223 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
224 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
225 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
226 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
227 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
228 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
229 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
230 __libc_allocate_rtsig_private.
231 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
232 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
233 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
234 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
235 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
236 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
237 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
238 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
239 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
240 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
241 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
242 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
243 * nptl/internaltypes.h: ... here.
244 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
245 * sysdeps/nptl/jmp-unwind.c: ... here.
246 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
247 * nptl/libc-lowlevellock.c: ... here.
248 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
249 * nptl/libc_multiple_threads.c: ... here.
250 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
251 * nptl/libc_pthread_init.c: ... here.
252 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
253 * nptl/lowlevelbarrier.sym: ... here.
254 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
255 * nptl/lowlevelcond.sym: ... here.
256 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
257 * nptl/lowlevellock.c: ... here.
258 * nptl/lowlevellock.h: Moved ...
259 * sysdeps/nptl/lowlevellock.h: ... here.
260 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
261 * nptl/lowlevelrobustlock.c: ... here.
262 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
263 * nptl/lowlevelrobustlock.sym: ... here.
264 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
265 * nptl/lowlevelrwlock.sym: ... here.
266 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
267 * nptl/pt-fork.c: ... here.
268 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
269 * nptl/pthread-pi-defines.sym: ... here.
270 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
271 * nptl/pthread_attr_getaffinity.c: ... here.
272 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
273 * nptl/pthread_attr_setaffinity.c: ... here.
274 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
275 * nptl/pthread_mutex_cond_lock.c: ... here.
276 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
278 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
279 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
280 * nptl/pthread_once.c: ... here, replacing old file.
281 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
282 * nptl/pthread_yield.c: ... here.
283 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
284 * nptl/register-atfork.c: ... here.
285 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
286 * nptl/sem_post.c: ... here.
287 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
288 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
289 * nptl/sem_timedwait.c: ... here.
290 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
291 * nptl/sem_trywait.c: ... here.
292 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
293 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
294 * nptl/sem_wait.c: ... here.
295 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
296 * nptl/structsem.sym: ... here.
297 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
298 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
299 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
300 * nptl/unregister-atfork.c: ... here.
301 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
302 * nptl/unwindbuf.sym: ... here.
303 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
304 * sysdeps/nptl/fork.c: ... here.
305 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
306 * sysdeps/nptl/fork.h: ... here.
307 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
308 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
309 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
310 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
311 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
312 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
313 * sysdeps/unix/sysv/linux/getpid.c: ... here.
314 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
315 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
316 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
317 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
318 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
319 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
320 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
321 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
322 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
323 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
324 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
325 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
326 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
327 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
328 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
329 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
330 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
331 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
332 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
333 * sysdeps/unix/sysv/linux/raise.c: ... here.
334 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
335 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
336 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
337 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
338 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
339 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
340 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
341 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
342 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
343 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
344 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
345 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
346 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
347 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
348 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
350 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
352 * sysdeps/generic/memcopy.h: Add comment for
353 MEMCPY_OK_FOR_FWD_MEMMOVE.
355 2014-07-04 Will Newton <will.newton@linaro.org>
357 * string/memchr.c: Merge from gnulib.
358 [_LIBC]: Remove conditionals.
359 (__ptr_t): Remove define.
360 (LONG_MAX_32_BITS): Likewise.
361 (LONG_MAX): Likewise.
362 (MEMCHR): Use ANSI prototype and optimize algorithm.
364 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
366 2014-07-03 Roland McGrath <roland@hack.frob.com>
368 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
369 (lll_futex_timed_wait_bitset): Fix syscall argument count.
371 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
372 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
373 in a bare environment with no <stdlib.h> installed.
374 * sysdeps/nptl/configure: Regenerated.
376 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
378 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
379 AC_EGREP_CPP for kernel header checks, so they only succeed if
380 including <linux/version.h> actually works right.
381 * sysdeps/unix/sysv/linux/configure: Regenerated.
383 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
384 value so it's not diagnosed as unused.
386 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
387 thing) with "ifeq ($(subdir),rt)".
389 2014-07-03 Richard Henderson <rth@redhat.com>
391 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
392 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
393 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
395 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
396 (math_force_eval): New.
398 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
399 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
401 * sysdeps/alpha/fpu/s_round.c: Remove file.
402 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
404 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
405 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
406 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
407 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
408 (_dl_start, print_statistics): Likewise.
409 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
410 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
412 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
413 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
414 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
415 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
416 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
417 (HP_SMALL_TIMING_AVAIL): Define.
418 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
419 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
420 (HP_SMALL_TIMING_AVAIL): Define.
421 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
422 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
424 * sysdeps/aarch64/hp-timing.h: New file.
426 * sysdeps/generic/hp-timing.h: Remove dead comment.
427 * sysdeps/generic/hp-timing-common.h: New file.
428 * sysdeps/alpha/hp-timing.h: Include it.
429 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
430 * sysdeps/i386/i686/hp-timing.h: Likewise.
431 * sysdeps/ia64/hp-timing.h: Likewise.
432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
433 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
434 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
435 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
436 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
437 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
440 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
441 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
442 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
443 * elf/rtld.c (_dl_start_final): Likewise.
444 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
445 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
446 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
447 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
448 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
449 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
450 (HP_TIMING_DIFF_INIT): Remove.
451 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
452 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
453 (HP_TIMING_DIFF_INIT): Remove.
454 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
455 * sysdeps/i386/i686/hp-timing.c: Remove file.
456 * sysdeps/x86_64/hp-timing.c: Remove file.
457 * sysdeps/ia64/hp-timing.c: Remove file.
458 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
459 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
460 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
461 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
463 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
464 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
465 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
466 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
468 (HP_TIMING_ACCUM): Remove.
469 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
470 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
471 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
473 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
474 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
475 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
476 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
477 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
478 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
479 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
480 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
482 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
484 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
486 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
488 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
490 Sync up with gettext.
491 * intl/loadmsgcat.c: Define O_BINARY if not defined.
492 [_MSC_VER]: Include malloc.h
493 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
494 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
495 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
496 TEMP_FAILURE_RETRY. Cast return of alloca.
497 [!_LIBC] Call gl_rwlock_init.
498 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
500 2014-07-02 Roland McGrath <roland@hack.frob.com>
502 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
503 before checking its value.
505 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
507 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
509 * debug/memcpy_chk.c: Don't include pagecopy.h.
510 * debug/mempcpy_chk.c: Likewise.
511 * string/memcpy.c: Likewise.
512 * string/memmove.c: Likewise.
513 * sysdeps/powerpc/memmove.c: Likewise.
514 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
515 definition of PAGE_COPY_FWD_MAYBE here...
516 * sysdeps/generic/pagecopy.h: ... from here.
517 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
519 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
520 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
526 (__libc_ifunc_impl_list): Likewise.
527 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
528 multiarch strcat for PPC64.
529 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
530 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
532 2014-07-02 Roland McGrath <roland@hack.frob.com>
534 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
536 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
538 * intl/loadmsgcat.c: Remove declaration of
539 get_sysdep_segment_value.
540 (get_sysdep_segment_value): Use ISO C style.
541 (_nl_load_domain): Use ISO C style. Get rid of redundant
542 semicolon. Fix typo and formatting in comment.
543 (_nl_unload_domain): Use ISO C style.
545 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
547 2014-07-02 Will Newton <will.newton@linaro.org>
549 * malloc/obstack.c: Merge from gnulib master.
550 [HAVE_CONFIG_H]: Remove conditional code.
551 [!_LIBC]: Include config.h.
552 [!ELIDE_CODE]: Don't include inttypes.h, include
553 stdint.h unconditionally.
554 (print_and_abort): Mark as _Noreturn.
555 (_obstack_allocated_p): Mark as __attribute_pure__.
556 (obstack_free): Rename to __obstack_free.
557 [!__attribute__]: Remove conditional code.
558 * malloc/obstack.h: Merge from gnulib master.
559 [__cplusplus]: Move conditional down.
560 [!__attribute_pure__]: Define __attribute_pure__ here
561 if it is not already defined.
562 (_obstack_memory_used): Mark as __attribute_pure__.
563 [!__obstack_free]: Define as obstack_free.
564 [__GNUC__]: Remove check for ancient NeXT gcc.
566 2014-07-02 Will Newton <will.newton@linaro.org>
567 Paul Eggert <eggert@cs.ucla.edu>
569 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
571 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
573 * resolv/gethnamaddr.c: Add comment warning that the file is
576 2014-07-01 Carlos O'Donell <carlos@redhat.com>
578 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
581 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
582 entry for aio_cancel and aio_cancel64.
583 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
584 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
585 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
586 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
587 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
588 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
589 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
590 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
591 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
592 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
593 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
594 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
595 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
597 2014-07-01 Roland McGrath <roland@hack.frob.com>
599 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
600 * nptl/pthread_mutex_lock.c: Likewise.
601 * nptl/pthread_mutex_timedlock.c: Likewise.
602 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
604 2014-07-01 Richard henderson <rth@redhat.com>
606 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
607 (__isnan, __isnanl): Remove.
608 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
610 * sysdeps/alpha/fpu/libm-test-ulps: Update.
612 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
614 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
616 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
618 * resolv/nss_dns/dns-host.c (getanswer_r)
619 [MULTI_PTRS_ARE_ALIASES]: Remove code.
621 2014-07-01 Joseph Myers <joseph@codesourcery.com>
623 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
624 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
626 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
627 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
629 2014-07-01 Roland McGrath <roland@hack.frob.com>
631 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
632 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
634 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
635 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
637 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
638 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
640 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
641 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
643 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
644 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
645 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
646 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
648 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
649 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
650 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
651 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
652 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
654 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
656 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
657 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
658 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
659 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
660 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
661 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
662 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
663 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
664 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
665 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
666 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
667 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
668 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
670 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
671 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
672 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
673 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
674 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
675 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
677 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
679 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
680 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
681 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
682 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
683 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
684 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
686 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
688 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
689 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
690 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
693 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
697 2014-06-30 Joseph Myers <joseph@codesourcery.com>
699 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
700 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
702 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
704 * sysdeps/arm/libm-test-ulps: Regenerated.
706 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
707 Roland McGrath <roland@hack.frob.com>
709 * test-skeleton.c (signal_handler): Kill the whole process group
710 before killing the child individually.
711 (main): Report any failure on `setpgid'.
713 2014-06-30 Roland McGrath <roland@hack.frob.com>
715 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
716 from _TLS_H to _ARM_NPTL_TLS_H.
717 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
718 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
720 2014-06-30 Joseph Myers <joseph@codesourcery.com>
723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
724 (__expm1l): Return argument unchanged when small but not
727 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
729 (_FP_UNPACK_RAW_1_P): Likewise.
730 (_FP_PACK_RAW_1): Likewise.
731 (_FP_PACK_RAW_1_P): Likewise.
732 (_FP_MUL_MEAT_1_wide): Likewise.
733 (_FP_MUL_MEAT_DW_1_hard): Likewise.
734 (_FP_MUL_MEAT_1_hard): Likewise.
735 (_FP_DIV_MEAT_1_imm): Likewise.
736 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
737 (_FP_DIV_MEAT_1_udiv): Likewise.
738 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
739 (_FP_UNPACK_RAW_2): Likewise.
740 (_FP_UNPACK_RAW_2_P): Likewise.
741 (_FP_PACK_RAW_2): Likewise.
742 (_FP_PACK_RAW_2_P): Likewise.
743 (_FP_MUL_MEAT_DW_2_wide): Likewise.
744 (_FP_MUL_MEAT_2_wide): Likewise.
745 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
746 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
747 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
748 (_FP_MUL_MEAT_2_gmp): Likewise.
749 (_FP_DIV_MEAT_2_udiv): Likewise.
750 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
751 (_FP_FRAC_SRL_4): Likewise.
752 (_FP_FRAC_SRST_4): Likewise.
753 (_FP_FRAC_SRS_4): Likewise.
754 (_FP_UNPACK_RAW_4): Likewise.
755 (_FP_UNPACK_RAW_4_P): Likewise.
756 (_FP_PACK_RAW_4): Likewise.
757 (_FP_PACK_RAW_4_P): Likewise.
758 (_FP_MUL_MEAT_DW_4_wide): Likewise.
759 (_FP_MUL_MEAT_4_wide): Likewise.
760 (_FP_MUL_MEAT_4_gmp): Likewise.
761 (umul_ppppmnnn): Likewise.
762 (_FP_DIV_MEAT_4_udiv): Likewise.
763 (__FP_FRAC_ADD_4): Likewise.
764 (__FP_FRAC_SUB_3): Likewise.
765 (__FP_FRAC_SUB_4): Likewise.
766 (__FP_FRAC_DEC_3): Likewise.
767 (__FP_FRAC_DEC_4): Likewise.
768 (__FP_FRAC_ADDI_4): Likewise.
769 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
770 (_FP_FRAC_SRL_8): Likewise.
771 (_FP_FRAC_SRS_8): Likewise.
773 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
775 (FP_UNPACK_RAW_EP): Likewise.
776 (FP_PACK_RAW_E): Likewise.
777 (FP_PACK_RAW_EP): Likewise.
778 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
779 (_FP_ISSIGNAN): Likewise.
780 (_FP_ADD_INTERNAL): Likewise.
783 (_FP_SQRT): Likewise.
784 (_FP_TO_INT): Likewise.
785 (_FP_FROM_INT): Likewise.
786 (FP_EXTEND): Likewise.
787 (_FP_DIV_MEAT_N_loop): Likewise.
789 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
791 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
794 2014-06-29 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
798 result with correct sign in case of exponents that produce
799 overflow except for X very close to 1.
801 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
803 mktime: merge #if/#ifdef usage from glibc
804 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
805 as that works with both Glibc's and Gnulib's style.
806 See thread starting at Siddhesh Poyarekar's bug report at:
807 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
809 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
811 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
812 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
813 * sysdeps/tile/tilegx/memmove.c: Remove file.
815 2014-06-27 Joseph Myers <joseph@codesourcery.com>
817 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
819 * scripts/soversions.awk: Do not handle or generate ABI lines.
820 * shlib-versions: Remove ABI entries.
821 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
822 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
824 2014-06-27 Roland McGrath <roland@hack.frob.com>
826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
827 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
828 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
830 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
831 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
834 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
841 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
843 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
844 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
845 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
846 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
847 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
850 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
851 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
853 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
854 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
857 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
858 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
860 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
861 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
862 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
863 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
865 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
866 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
867 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
868 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
869 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
871 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
872 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
874 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
876 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
877 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
879 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
880 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
882 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
884 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
887 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
889 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
890 Identical file removed.
891 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
893 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
894 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
895 Identical file removed.
896 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
897 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
898 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
900 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
901 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
902 Identical file removed.
903 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
904 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
905 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
906 Identical file removed.
907 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
908 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
909 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
910 Identical file removed.
911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
912 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
913 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
914 Identical file removed.
915 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
917 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
918 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
919 Identical file removed.
920 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
922 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
923 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
924 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
925 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
926 Identical file removed.
927 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
929 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
931 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
932 Identical file removed.
933 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
935 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
936 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
937 Identical file removed.
938 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
940 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
941 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
942 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
943 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
944 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
947 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
948 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
949 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
951 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
952 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
953 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
954 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
955 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
957 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
960 * nscd/nscd.c (monitor_child): Return exit status of child
961 instead of return value from wait syscall.
963 2014-06-27 Joseph Myers <joseph@codesourcery.com>
965 * configure.ac (libc_commonpagesize): Remove variable.
966 (libc_relro_required): Likewise.
967 (libc_cv_z_relro): Remove configure test.
968 * configure: Regenerated.
969 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
971 (libc_relro_required): Likewise.
972 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
973 (libc_relro_required): Likewise.
974 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
975 (libc_relro_required): Likewise.
976 * sysdeps/arm/preconfigure: Regenerated.
977 * sysdeps/ia64/preconfigure: Remove file.
978 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
980 (libc_relro_required): Likewise.
984 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
985 (__ieee754_yn): Set FE_TONEAREST mode internally and then
986 recompute overflowing results in original rounding mode.
987 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
988 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
989 recompute overflowing results in original rounding mode.
990 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
991 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
992 recompute overflowing results in original rounding mode.
993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
994 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
995 recompute overflowing results in original rounding mode.
996 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
997 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
998 recompute overflowing results in original rounding mode.
999 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1000 (libc_feholdsetround_ctx): New macro.
1001 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1003 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1005 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1007 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1008 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1009 corresponding .cpsetup call.
1011 2014-06-26 Roland McGrath <roland@hack.frob.com>
1013 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1014 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1015 * sysdeps/arm/Makefile [$(subdir) = csu]
1016 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1017 (static-only-routines): Add aeabi_read_tp here.
1018 (shared-only-routines): Add libc-aeabi_read_tp here.
1019 (CFLAGS-libc-start.c): Add -fexceptions here.
1020 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1021 (sysdep_routines, static-only-routines, shared-only-routines):
1022 Don't add to these here.
1023 (CFLAGS-libc-start.c): Likewise.
1025 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1026 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1027 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1028 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1029 * sysdeps/arm/Makefile [$(subdir) = rt]
1030 (librt-sysdep_routines, librt-shared-only-routines):
1031 Append rt-aeabi_unwind_cpp_pr1 here.
1032 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1033 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1034 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1035 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1036 Append nptl-aeabi_unwind_cpp_pr1 here.
1037 (tests): Filter out tst-cleanupx4 here.
1038 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1039 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1040 Don't do those here.
1042 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1044 * scripts/list-sources.sh: Do not handle ports specially.
1046 2014-06-26 Roland McGrath <roland@hack.frob.com>
1048 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1049 * sysdeps/arm/feupdateenv.c: Likewise.
1051 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1053 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1055 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1056 trailing whitespace removed.
1057 * scripts/config.guess: Update to version 2014-03-23.
1058 * scripts/config.sub: Update to version 2014-05-01
1059 * scripts/install-sh: Update to version 2013-12-25.23.
1060 * scripts/move-if-change: Update from gnulib.
1062 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1064 * debug/memmove_chk.c: Remove pagecopy.h include.
1066 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1068 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1069 identical to gnulib mktime.
1071 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1073 * configure.ac: Do not test for machine being rs6000. Do not test
1075 * configure: Regenerated.
1077 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1079 * configure: Regenerated.
1080 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1081 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1082 Remove configure test.
1083 * sysdeps/arm/configure: Regenerated.
1084 * sysdeps/nptl/configure.ac: Do not check
1085 libc_cv_asm_cfi_directives.
1086 * sysdeps/nptl/configure: Regenerated.
1087 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1088 * sysdeps/x86_64/nptl/configure: Remove generated file.
1089 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1091 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1093 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1095 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1096 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1097 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1100 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1101 instead of whether it is defined.
1102 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1103 * sysdeps/hppa/dl-machine.h: Likewise.
1104 * sysdeps/ia64/dl-machine.h: Likewise.
1105 * sysdeps/m68k/dl-machine.h: Likewise.
1106 * sysdeps/microblaze/dl-machine.h: Likewise.
1107 * sysdeps/mips/dl-machine.: Likewise.
1108 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1109 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1110 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1111 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1112 * sysdeps/sh/dl-machine.h: Likewise.
1113 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1114 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1115 * sysdeps/tile/dl-machine.h: Likewise.
1116 * sysdeps/x86_64/dl-machine.h: Likewise.
1118 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1120 (verify_persistent_db): Likewise.
1122 2014-06-26 Roland McGrath <roland@hack.frob.com>
1124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1125 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1130 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1135 Identical file removed.
1136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1139 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1141 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1143 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1145 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1148 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1155 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1157 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1159 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1161 Identical file removed.
1162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1163 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1168 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1182 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1185 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1187 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1190 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1192 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1194 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1196 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1197 * sysdeps/unix/sysv/linux/s390/Versions
1198 (libpthread: GLIBC_2.19): New version set.
1199 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1200 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1201 (librt: GLIBC_2.3.3): New version set.
1202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1203 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1204 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1206 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1208 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1209 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1210 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1212 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1213 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1214 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1216 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1218 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1219 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1220 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1221 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1222 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1223 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1224 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1226 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1228 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1229 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1230 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1231 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1232 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1238 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1240 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1242 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1244 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1246 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1248 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1249 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1250 (__libc_vfork): Define the function under this name.
1251 [!NOT_IN_libc] (__vfork): Make this an alias.
1252 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1254 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1255 (__libc_vfork): Define the function under this name.
1256 [!NOT_IN_libc] (__vfork): Make this an alias.
1257 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1258 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1259 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1261 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1262 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1264 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1265 code that was previously under [RESET_PID].
1266 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1267 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1270 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1271 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1272 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1273 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1274 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1275 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1276 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1277 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1278 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1279 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1280 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1282 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1283 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1284 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1285 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1286 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1287 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1288 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1290 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1291 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1293 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1294 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1295 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1296 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1297 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1298 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1299 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1300 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1301 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1302 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1303 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1304 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1305 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1306 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1307 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1308 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1309 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1310 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1312 2014-06-25 Roland McGrath <roland@hack.frob.com>
1314 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1315 that was previously under [RESET_PID].
1316 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1318 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1321 not undefine and redefine.
1322 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1323 [O_CLOEXEC]: Make code unconditional.
1324 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1325 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1326 <kernel-features.h>.
1327 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1328 conditional variable definition.
1329 (shm_open) [O_CLOEXEC]: Make code unconditional.
1330 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1333 * configure.ac (USE_REGPARMS): Don't define here.
1334 * configure: Regenerated.
1335 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1336 * sysdeps/i386/configure: Regenerated.
1338 * nptl/createthread.c: Don't include kernel-features.h.
1339 * nptl/pthread_cancel.c: Likewise.
1340 * nptl/pthread_condattr_setclock.c: Likewise.
1341 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1342 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1343 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1344 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1345 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1346 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1347 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1348 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1350 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1351 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1352 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1353 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1354 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1355 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1356 * nscd/gai.c: Likewise.
1357 * nss/nss_db/db-open.c: Likewise.
1358 * sysdeps/generic/ldsodefs.h: Likewise.
1359 * sysdeps/sh/nptl/tls.h: Likewise.
1360 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1361 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1362 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1363 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1364 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1365 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1366 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1367 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1368 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1369 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1370 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1371 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1372 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1373 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1374 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1375 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1376 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1377 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1378 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1379 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1380 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1382 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1383 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1384 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1385 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1386 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1387 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1388 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1389 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1390 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1391 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1392 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1393 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1394 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1395 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1396 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1397 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1398 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1399 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1400 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1401 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1402 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1403 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1404 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1405 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1406 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1407 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1408 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1409 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1410 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1411 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1412 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1413 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1414 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1415 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1417 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1440 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1441 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1442 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1443 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1444 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1445 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1447 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1448 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1449 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1450 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1451 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1452 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1453 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1454 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1455 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1456 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1457 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1458 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1459 * sysdeps/unix/sysv/linux/system.c: Likewise.
1460 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1461 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1462 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1463 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1464 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1465 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1466 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1468 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1469 * configure: Regenerated.
1470 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1472 * configure.ac (base_machine): Do not set specially for particular
1474 * configure: Regenerated.
1475 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1476 settings from configure.ac.
1477 * sysdeps/i386/preconfigure: New file.
1478 * sysdeps/s390/preconfigure: Likewise.
1479 * sysdeps/sh/preconfigure: Likewise.
1480 * sysdeps/sparc/preconfigure: Likewise.
1482 2014-06-25 Roland McGrath <roland@hack.frob.com>
1484 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1485 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1486 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1487 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1488 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1489 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1490 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1491 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1492 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1493 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1494 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1495 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1496 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1497 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1498 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1501 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1502 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1504 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1505 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1506 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1507 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1508 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1509 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1510 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1511 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1512 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1513 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1514 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1515 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1516 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1517 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1518 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1519 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1520 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1521 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1522 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1523 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1524 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1525 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1526 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1527 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1529 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1530 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1531 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1532 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1533 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1534 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1535 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1537 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1538 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1539 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1540 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1541 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1544 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1546 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1549 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1552 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1554 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1563 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1566 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1569 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1571 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1574 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1576 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1578 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1580 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1593 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1595 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1599 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1602 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1605 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1610 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1616 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1618 * timezone/checktab.awk: Update from tzcode 2014e.
1619 * timezone/private.h: Likewise.
1620 * timezone/tzfile.h: Likewise.
1621 * timezone/zdump.c: Likewise.
1622 * timezone/zic.c: Likewise.
1624 * sysdeps/unix/sysv/linux/kernel-features.h
1625 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1627 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1628 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1629 Remove conditional code.
1631 2014-06-25 Will Newton <will.newton@linaro.org>
1633 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1634 (_dl_arm_cap_flags): Add HWCAP2 values.
1635 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1636 (_DL_HWCAP_COUNT): Increase to 37.
1637 (_DL_HWCAP_LAST): New define.
1638 (_DL_HWCAP2_LAST): New define.
1639 (_dl_procinfo): Add support for printing
1641 (_dl_string_hwcap): Use _dl_hwcap_string.
1643 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1647 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1649 * README: Do not mention ports directory.
1651 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1653 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1654 <kernel-features.h>.
1655 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1656 conditional variable definition.
1657 (__futimes): Update comment.
1658 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1659 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1662 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1663 arguments close to 0.
1664 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1666 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1668 * math/auto-libm-test-in: Add more tests of exp10.
1669 * math/auto-libm-test-out: Regenerated.
1670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1672 * sysdeps/unix/sysv/linux/kernel-features.h
1673 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1674 * sysdeps/unix/sysv/linux/readv.c: Do not include
1675 <kernel-features.h>.
1676 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1677 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1678 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1680 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1682 * sysdeps/unix/sysv/linux/writev.c: Do not include
1683 <kernel-features.h>.
1684 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1685 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1686 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1688 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1691 2014-06-25 Will Newton <will.newton@linaro.org>
1693 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1694 comment changes throughout the file. Remove checks
1695 for HAVE_*_H definitions that are not required.
1696 (__gen_tempname): Call abort if an unknown kind value is
1699 2014-06-25 Andreas Schwab <schwab@suse.de>
1702 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1703 scalbln, scalblnf, scalblnl in libc.
1705 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1708 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1709 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1710 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1712 2014-06-24 Roland McGrath <roland@hack.frob.com>
1714 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1715 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1716 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1717 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1719 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1720 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1722 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1723 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1724 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1725 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1726 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1727 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1728 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1729 * sysdeps/x86/bits/semaphore.h: ... here.
1730 * sysdeps/x86/nptl/elide.h: Moved ...
1731 * sysdeps/x86/elide.h: ... here.
1732 * sysdeps/x86_64/nptl/Implies: File removed.
1733 * sysdeps/i386/nptl/Implies: File removed.
1735 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1738 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1739 return the argument for normal arguments with exponent below -64.
1740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1742 * math/auto-libm-test-in: Add another test of expm1.
1743 * math/auto-libm-test-out: Regenerated.
1746 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1747 calling __erfcl for arguments at least 16.
1748 * math/auto-libm-test-in: Add more tests of erf.
1749 * math/auto-libm-test-out: Regenerated.
1751 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1752 individual architectures.
1753 * sysdeps/unix/sysv/linux/configure: Regenerated.
1754 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1755 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1756 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1757 (ldd_rewrite_script): Define variable.
1758 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1763 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1764 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1765 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1766 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1767 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1768 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1769 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1770 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1772 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1775 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1776 Rename member __data.d to __data.__elision_data.
1778 2014-06-24 Wilco <wdijkstr@arm.com>
1780 * NEWS: Add 16918 to fixed bug list.
1782 2014-06-24 Wilco <wdijkstr@arm.com>
1784 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1786 2014-06-24 Wilco <wdijkstr@arm.com>
1788 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1789 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1790 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1791 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1792 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1793 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1794 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1797 2014-06-24 Wilco <wdijkstr@arm.com>
1799 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1801 2014-06-24 Wilco <wdijkstr@arm.com>
1803 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1804 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1805 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1806 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1808 2014-06-24 Wilco <wdijkstr@arm.com>
1811 * sysdeps/arm/feupdateenv.c (feupdateenv):
1812 Rewrite to reduce FPSCR accesses and fix return value.
1814 2014-06-24 Wilco <wdijkstr@arm.com>
1816 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1817 Optimize to avoid unnecessary FPSCR writes.
1818 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1819 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1820 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1821 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1823 2014-06-24 Wilco <wdijkstr@arm.com>
1825 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1826 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1827 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1828 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1829 Call libc_fetestexcept_vfp.
1830 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1831 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1832 __SOFTFP__ ifdef so that they can be built for softfp.
1834 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1836 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1837 argument type signed char.
1839 * Makerules (check-abi): Dump diff of symlist if the test
1842 2014-06-23 Roland McGrath <roland@hack.frob.com>
1844 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1847 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1848 Remove unused variable ST.
1850 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1854 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1855 small arguments before calling __expm1.
1856 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1857 small arguments before calling __expm1f.
1858 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1859 small arguments before calling __expm1l.
1860 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1862 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1863 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1864 spurious underflow for some cosh tests.
1865 * math/auto-libm-test-out: Regenerated.
1866 * sysdeps/i386/fpu/libm-test-ulps: Update.
1869 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1870 (__ieee754_y1): Set errno if return value overflows.
1871 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1872 (__ieee754_y1f): Set errno if return value overflows.
1873 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1874 (__ieee754_y1l): Set errno if return value overflows.
1875 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1876 (__ieee754_y1l): Set errno if return value overflows.
1877 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1878 * math/auto-libm-test-out: Regenerated.
1880 * math/gen-auto-libm-tests.c: Document use of
1881 ignore-zero-inf-sign.
1882 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1883 (input_flags): Add ignore-zero-inf-sign.
1884 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1885 * math/gen-libm-test.pl (generate_testfile): Handle
1886 ignore-zero-inf-sign.
1887 * math/auto-libm-test-in: Mark some cpow tests with
1888 ignore-zero-inf-sign and some with xfail-rounding.
1889 * math/auto-libm-test-out: Regenerated.
1890 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1891 * sysdeps/i386/fpu/libm-test-ulps: Update.
1892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1895 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1896 overflowing or underflowing operations take place with sign of
1898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1899 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1900 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1901 (__ieee754_pow): Recompute overflowing and underflowing results in
1902 original rounding mode.
1903 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1904 (__powl_helper): Allow negative argument X and scale negated value
1905 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1906 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1907 overflowing or underflowing operations take place with sign of
1909 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1911 * math/auto-libm-test-in: Add more tests of pow.
1912 * math/auto-libm-test-out: Regenerated.
1913 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1914 (pow_tonearest_test_data): Remove.
1915 (pow_test_tonearest): Likewise.
1916 (pow_towardzero_test_data): Likewise.
1917 (pow_test_towardzero): Likewise.
1918 (pow_downward_test_data): Likewise.
1919 (pow_test_downward): Likewise.
1920 (pow_upward_test_data): Likewise.
1921 (pow_test_upward): Likewise.
1922 (main): Don't call removed functions.
1923 * sysdeps/i386/fpu/libm-test-ulps: Update.
1924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1926 2014-06-23 Roland McGrath <roland@hack.frob.com>
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2102 2014-06-23 Will Newton <will.newton@linaro.org>
2103 Wilco <wdijkstr@arm.com>
2105 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2106 implementation. Include get-rounding-mode.h.
2107 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2108 [!libc_feholdsetround_noex_ctx]: Define
2109 libc_feholdsetround_noex_ctx.
2110 [!libc_feholdsetround_noexf_ctx]: Define
2111 libc_feholdsetround_noexf_ctx.
2112 [!libc_feholdsetround_noexl_ctx]: Define
2113 libc_feholdsetround_noexl_ctx.
2114 (libc_feholdsetround_ctx): New function.
2115 (libc_feresetround_ctx): New function.
2116 (libc_feholdsetround_noex_ctx): New function.
2117 (libc_feresetround_noex_ctx): New function.
2119 2014-06-23 Roland McGrath <roland@hack.frob.com>
2121 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2122 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2123 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2124 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2125 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2126 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2128 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2129 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2130 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2131 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2132 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2133 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2135 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2137 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2140 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2142 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2143 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2144 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2145 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2146 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2148 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2149 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2150 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2151 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2152 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2154 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2155 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2157 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2158 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2160 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2162 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2165 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2166 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2167 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2168 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2169 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2170 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2171 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2172 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2173 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2176 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2178 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2179 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2181 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2185 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2186 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2187 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2188 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2189 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2192 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2193 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2194 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2195 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2196 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2199 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2200 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2201 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2202 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2203 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2205 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2206 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2207 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2208 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2209 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2210 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2211 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2212 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2214 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2224 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2225 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2226 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2227 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2228 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2229 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2234 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2237 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2238 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2239 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2240 (IPV6_PMTUDISC_INTERFACE): Likewise.
2241 (IPV6_PMTUDISC_OMIT): Likewise.
2243 2014-06-23 Andreas Schwab <schwab@suse.de>
2245 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2246 Remove unused errout label.
2248 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2251 macro: hardware supports Vector Crypto instructions.
2253 2014-06-23 Will Newton <will.newton@linaro.org>
2255 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2256 rather than __builtin_expect.
2258 * elf/dl-lookup.c (undefined_msg): Remove variable.
2259 (_dl_lookup_symbol_x): Replace undefined_msg with string
2262 * elf/dl-lookup.c (do_lookup_unique): New function.
2263 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2264 to a separate function.
2266 2014-06-23 Andreas Schwab <schwab@suse.de>
2269 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2270 before reading the next line.
2272 2014-06-23 Will Newton <will.newton@linaro.org>
2274 * test-skeleton.c (signal_handler): Use printf and %m
2275 rather than perror. Use printf rather than fprintf to
2276 stderr. Use puts rather than fputs to stderr.
2279 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2281 * nscd/nscd.c (thread_info_t): Remove typedef.
2282 (thread_info): Remove variable.
2284 2014-06-21 Allan McRae <allan@archlinux.org>
2286 * NEWS: Mention CVE-2014-4043.
2288 2014-06-20 Roland McGrath <roland@hack.frob.com>
2290 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2291 * nptl/smp.h: ... here.
2293 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2295 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2296 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2297 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2298 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2300 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2301 * nptl/stack-aliasing.h: New file.
2302 * sysdeps/i386/i686/stack-aliasing.h: New file.
2303 * sysdeps/i386/i686/nptl/Makefile: File removed.
2304 * sysdeps/x86_64/stack-aliasing.h: New file.
2305 * sysdeps/x86_64/nptl/Makefile
2306 (CFLAGS-pthread_create.c): Variable removed.
2308 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2309 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2311 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2312 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2315 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2318 (__ASSUME_SIGFRAME_V2): Remove macro.
2319 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2320 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2321 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2322 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2323 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2324 Declare as function. Remove conditional macro definitions.
2325 (__default_rt_sa_restorer): Likewise.
2326 (__default_sa_restorer_v1): Remove declaration.
2327 (__default_sa_restorer_v2): Likewise.
2328 (__default_rt_sa_restorer_v1): Likewise.
2329 (__default_rt_sa_restorer_v2): Likewise.
2330 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2331 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2332 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2334 2014-06-20 Roland McGrath <roland@hack.frob.com>
2336 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2337 (libpthread-routines): Add sysdep.
2338 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2339 * sysdeps/unix/sysv/linux/sparc/Versions
2340 (libpthread: GLIBC_2.3.3): New version set.
2341 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2342 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2343 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2344 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2345 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2346 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2348 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2349 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2350 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2351 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2352 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2354 * sysdeps/sparc/nptl/sem_init.c: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2356 * sysdeps/sparc/nptl/sem_post.c: ... here.
2357 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2358 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2359 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2360 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2361 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2362 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2363 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2364 (libpthread-routines): Add cpu_relax.
2365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2368 (librt: GLIBC_2.3.3): New version set.
2369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2370 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2371 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2372 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2375 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2378 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2380 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2382 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2384 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2386 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2389 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2393 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2397 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2401 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2405 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2409 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2412 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2418 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2420 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2425 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2427 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2429 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2431 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2432 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2433 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2434 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2435 * nscd/nscd.c: Likewise.
2436 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2437 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2438 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2439 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2441 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2442 <kernel-features.h>.
2443 (init_mq_netlink): Remove conditional have_sock_cloexec
2444 definitions. Remove code conditional on have_sock_cloexec < 0.
2445 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2446 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2447 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2448 <kernel-features.h>.
2449 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2450 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2452 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2455 Add tests for memset_chk and memset.
2457 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2460 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2463 * elf/tst-dl-iter-static.c: New file.
2464 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2466 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2469 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2471 * sysdeps/unix/sysv/linux/kernel-features.h
2472 (__ASSUME_F_GETOWN_EX): Remove macro.
2473 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2474 <kernel-features.h>.
2475 (miss_F_GETOWN_EX): Remove variable or macro.
2476 (do_fcntl): Do not check miss_F_GETOWN_EX.
2477 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2481 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2482 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2483 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2485 * sysdeps/unix/sysv/linux/kernel-features.h
2486 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2487 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2488 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2489 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2491 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2494 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2495 Fix calculation of the symbol's value.
2496 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2497 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2498 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2499 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2500 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2501 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2502 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2503 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2504 (modules-names): Add `tst-armtlsdescmod',
2505 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2506 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2507 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2508 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2509 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2510 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2511 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2512 ($(objpfx)tst-armtlsdescloc): New dependency.
2513 ($(objpfx)tst-armtlsdescextnow): Likewise.
2514 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2515 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2517 * sysdeps/arm/configure: Regenerate.
2519 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2521 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2522 (__atfct_seterrno_2): Likewise.
2523 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2524 <kernel-features.h>.
2525 (__ASSUME_ATFCTS): Do not undefine and redefine.
2526 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2527 (__have_atfcts): Remove conditional definition.
2528 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2529 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2530 unreachable if [__ASSUME_ATFCTS].
2531 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2532 not undefine and redefine.
2533 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2534 <kernel-features.h>.
2535 (faccessat) [__NR_faccessat]: Make code unconditional.
2536 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2537 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2538 <kernel-features.h>.
2539 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2540 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2542 <kernel-features.h>.
2543 (fchownat) [__NR_fchownat]: Make code unconditional.
2544 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2545 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2546 <kernel-features.h>.
2547 (futimesat) [__NR_futimesat]: Make code unconditional.
2548 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2549 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2550 <kernel-features.h>.
2551 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2552 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2553 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2554 <kernel-features.h>.
2555 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2556 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2557 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2558 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2559 <kernel-features.h>.
2560 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2561 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2562 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2563 <kernel-features.h>.
2564 (linkat) [__NR_linkat]: Make code unconditional.
2565 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2566 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2567 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2568 <kernel-features.h>.
2569 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2570 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2571 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2572 <kernel-features.h>.
2573 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2574 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2575 * sysdeps/unix/sysv/linux/openat.c: Do not include
2576 <kernel-features.h>.
2577 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2578 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2579 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2580 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2581 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2582 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2583 <kernel-features.h>.
2584 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2585 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2586 result of INLINE_SYSCALL directly, not via int variable.
2587 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2588 <kernel-features.h>.
2589 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2590 (renameat) [__NR_renameat]: Make code unconditional.
2591 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2592 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2593 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2594 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2595 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2596 (__ASSUME_ATFCTS): Do not undefine and redefine.
2597 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2598 <kernel-features.h>.
2599 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2600 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2601 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2602 <kernel-features.h>.
2603 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2604 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2605 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2606 (__ASSUME_ATFCTS): Do not undefine and redefine.
2607 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2608 <kernel-features.h>.
2609 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2610 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2611 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2612 <kernel-features.h>.
2613 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2614 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2616 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2618 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2620 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2623 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2624 constructed tree before returning error.
2625 * posix/bug-regexp36.c: Expand test case.
2627 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2630 * math/libm-test.inc (scalbln_test_date):
2631 Add errno expectations.
2632 * math/w_scalblnf.c: New File.
2633 Add wrapper which checks for setting errno to ERANGE.
2634 Add weak_alias for corresponding scalbln function.
2635 * math/w_scalbln.c: Likewise.
2636 * math/w_scalblnl.c: Likewise.
2637 * math/Makefile (libm-calls): Add w_scalbln.
2638 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2639 Remove weak_alias for corresponding scalbln function.
2640 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2642 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2644 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2645 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2646 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2647 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2648 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2649 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2650 Remove long_double_symbol for scalblnl function in libm, libc.
2651 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2652 Add wrapper which checks for setting errno to ERANGE.
2653 Add long_double_symbol for scalblnl function in libm, libc.
2654 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2655 Remove long_double_symbol for scalblnl in libm.
2656 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2657 Add wrapper which checks for setting errno to ERANGE.
2658 Add long_double_symbol for scalblnl function in libm.
2659 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2660 Do not use wrapper because of own implementation.
2662 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2664 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2665 3 bytes for __pad1 for x32.
2666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2668 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2669 H.J. Lu <hongjiu.lu@intel.com>
2671 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2672 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2673 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2674 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2675 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2677 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2680 * posix/regcomp.c (parse_expression): Deallocate partially
2681 constructed tree before returning error.
2682 * posix/Makefile.c (tests): Add bug-regex36.
2683 (generated): Add bug-regex36.mtrace.
2684 (tests-special): Add $(objpfx)bug-regex36-mem.out
2685 (bug-regex36-ENV): New variable.
2686 ($(objpfx)bug-regex36-mem.out): New rule.
2687 * posix/bug-regex36.c: New file.
2689 2014-06-19 Will Newton <will.newton@linaro.org>
2691 * malloc/malloc.c (systrim): If extra is zero then return
2694 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2696 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2698 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2700 * sysdeps/aarch64/strchr.S: New file.
2702 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2705 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2706 from arguments -2 or below.
2707 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2708 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2710 2014-06-18 Andreas Schwab <schwab@suse.de>
2713 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2714 of a bracket expr not to run off the end of the string.
2715 * posix/Makefile (tests): Add tst-fnmatch3.
2716 * posix/tst-fnmatch3.c: New file.
2718 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2720 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2721 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2722 [$(cross-compiling) = no]: Likewise.
2723 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2724 [$(cross-compiling) = no]: Likewise.
2726 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2729 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2730 double, adjusted for any remainder from the high double.
2731 * math/libm-test.inc (nearbyint): Add tests.
2734 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2736 * nptl/sysdeps/powerpc/Makefile: Moved ...
2737 * sysdeps/powerpc/nptl/Makefile: ... here.
2738 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2739 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2740 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2741 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2742 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2743 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2744 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2745 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2746 * nptl/sysdeps/powerpc/tls.h: Moved ...
2747 * sysdeps/powerpc/nptl/tls.h: ... here.
2749 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2752 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2753 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2754 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2755 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2756 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2757 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2758 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2759 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2760 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2762 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2764 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2766 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2768 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2771 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2774 2014-06-16 Florian Weimer <fweimer@redhat.com>
2777 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2778 non-executed part of the test.
2780 2014-06-16 Andreas Schwab <schwab@suse.de>
2782 * string/bits/string2.h (strdup, strndup): Update feature guard.
2784 2014-06-14 David S. Miller <davem@davemloft.net>
2786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2788 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2790 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2791 that was previously under [RESET_PID].
2792 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2794 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2795 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2796 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2797 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2798 (__libc_vfork): New strong alias.
2799 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2801 2014-06-14 Andi Kleen <ak@linux.intel.com>
2803 * sysdeps/generic/elide.h: New file.
2805 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2807 * Makefile (installed-headers): Adjust path of pthread.h header.
2809 2014-06-13 Roland McGrath <roland@hack.frob.com>
2811 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2812 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2813 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2814 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2816 * nptl/sysdeps/s390/Makefile: Moved ...
2817 * sysdeps/s390/nptl/Makefile: ... here.
2818 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2819 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2820 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2821 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2822 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2823 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2824 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2825 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2826 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2827 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2828 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2829 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2830 * nptl/sysdeps/s390/tls.h: Moved ...
2831 * sysdeps/s390/nptl/tls.h: ... here.
2833 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2834 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2836 2014-06-13 David S. Miller <davem@davemloft.net>
2838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2841 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2846 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2847 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2848 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2849 Remove RESET_PID cpp guards.
2850 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2851 Remove RESET_PID cpp guards.
2852 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2854 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2856 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2859 2014-06-13 Andi Kleen <ak@linux.intel.com>
2861 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2862 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2864 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2866 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2867 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2868 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2869 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2870 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2871 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2872 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2873 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2874 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2876 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2877 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2878 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2879 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2880 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2882 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2883 (pthread_rwlock_rdlock): Add elision.
2884 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2885 (pthread_rwlock_wrlock): Add elision.
2886 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2887 (pthread_rwlock_trywrlock): Add elision.
2888 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2889 (pthread_rwlock_tryrdlock): Add elision.
2890 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2891 (pthread_rwlock_tryrdlock): Add elision unlock.
2892 * nptl/sysdeps/pthread/pthread.h:
2893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2894 (PTHREAD_RWLOCK_INITIALIZER,
2895 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2896 Handle new elision field.
2897 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2898 * sysdeps/arm/nptl/bits/pthreadtypes.h
2899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2900 * sysdeps/sh/nptl/bits/pthreadtypes.h
2901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2902 * sysdeps/tile/nptl/bits/pthreadtypes.h
2903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2904 * sysdeps/a/nptl/bits/pthreadtypes.h
2905 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2906 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2908 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2909 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2910 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2912 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2914 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2915 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2916 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2917 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2918 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2919 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2920 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2921 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2922 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2923 (elision_init): Set try_xbegin to zero when no RTM.
2924 * sysdeps/x86/nptl/bits/pthreadtypes.h
2925 (pthread_rwlock_t): Change __pad1 to __rwelision.
2926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2928 2014-06-13 Andi Kleen <ak@linux.intel.com>
2930 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2931 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2932 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2933 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2935 2014-06-13 Meador Inge <meadori@codesourcery.com>
2938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2939 that the cached result has been set before returning it.
2941 2014-06-12 Roland McGrath <roland@hack.frob.com>
2943 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2944 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2945 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2946 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2947 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2948 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2950 * nptl/sysdeps/sparc/Makefile: Moved ...
2951 * sysdeps/sparc/nptl/Makefile: ... here.
2952 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2953 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2954 * nptl/sysdeps/sparc/tls.h: Moved ...
2955 * sysdeps/sparc/nptl/tls.h: ... here.
2956 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2957 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2958 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2959 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2960 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2961 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2962 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2963 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2964 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2965 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2966 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2967 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2968 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2969 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2970 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2971 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2972 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2973 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2975 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2978 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2979 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2981 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2985 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2987 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2988 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2990 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2991 (struct list_links): Type removed.
2992 (struct thread_node, struct timer_node): Replace struct list_links
2993 with struct list_head.
2994 (list_unlink_ip): Likewise.
2995 * sysdeps/pthread/timer_routines.c
2996 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2997 (list_append, list_insbefore): Likewise.
2998 (list_init): Function removed.
2999 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3000 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3001 * sysdeps/pthread/Makefile: ... here, new file.
3003 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3004 * sysdeps/nptl/Implies: ... here.
3005 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3006 * nptl/sysdeps/pthread/list.h: Moved ...
3007 * include/list.h: ... here.
3008 * nptl/sysdeps/pthread/createthread.c: Moved ...
3009 * nptl/createthread.c: ... here.
3010 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3011 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3012 * nptl/pt-longjmp.c: ... here.
3013 * nptl/sysdeps/pthread/Makefile: Moved ...
3014 * sysdeps/nptl/Makefile: ... here.
3015 * nptl/sysdeps/pthread/Subdirs: Moved ...
3016 * sysdeps/nptl/Subdirs: ... here.
3017 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3018 * sysdeps/nptl/aio_misc.h: ... here.
3019 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3020 * sysdeps/nptl/bits/libc-lock.h: ... here.
3021 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3022 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3023 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3024 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3025 * nptl/sysdeps/pthread/configure: Moved ...
3026 * sysdeps/nptl/configure: ... here.
3027 * nptl/sysdeps/pthread/configure.ac: Moved ...
3028 * sysdeps/nptl/configure.ac: ... here.
3029 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3030 * sysdeps/nptl/gai_misc.h: ... here.
3031 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3032 * sysdeps/nptl/librt-cancellation.c: ... here.
3033 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3034 * sysdeps/nptl/malloc-machine.h: ... here.
3035 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3036 * sysdeps/nptl/pthread-functions.h: ... here.
3037 * nptl/sysdeps/pthread/pthread.h: Moved ...
3038 * sysdeps/nptl/pthread.h: ... here.
3039 * nptl/sysdeps/pthread/setxid.h: Moved ...
3040 * sysdeps/nptl/setxid.h: ... here.
3041 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3042 * sysdeps/nptl/sigfillset.c: ... here.
3043 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3044 * sysdeps/nptl/tcb-offsets.h: ... here.
3045 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3046 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3047 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3048 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3049 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3050 * sysdeps/pthread/allocalim.h: ... here.
3051 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3052 * sysdeps/pthread/bits/sigthread.h: ... here.
3053 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3054 * sysdeps/pthread/flockfile.c: ... here.
3055 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3056 * sysdeps/pthread/ftrylockfile.c: ... here.
3057 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3058 * sysdeps/pthread/funlockfile.c: ... here.
3059 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3060 * sysdeps/pthread/posix-timer.h: ... here.
3061 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3062 * sysdeps/pthread/timer_create.c: ... here.
3063 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3064 * sysdeps/pthread/timer_delete.c: ... here.
3065 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3066 * sysdeps/pthread/timer_getoverr.c: ... here.
3067 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3068 * sysdeps/pthread/timer_gettime.c: ... here.
3069 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3070 * sysdeps/pthread/timer_routines.c: ... here.
3071 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3072 * sysdeps/pthread/timer_settime.c: ... here.
3073 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3074 * sysdeps/pthread/tst-timer.c: ... here.
3075 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3076 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3078 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3079 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3081 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3082 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3083 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3084 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3085 Update #include target.
3086 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3087 * sysdeps/i386/i686/nptl/Makefile: ... here.
3088 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3089 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3090 Update #include target.
3091 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3092 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3093 * nptl/sysdeps/i386/Makefile: Moved ...
3094 * sysdeps/i386/nptl/Makefile: ... here.
3095 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3096 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3097 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3098 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3099 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3100 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3101 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3102 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3103 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3104 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3105 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3106 * nptl/sysdeps/i386/tls.h: Moved ...
3107 * sysdeps/i386/nptl/tls.h: ... here.
3109 * sysdeps/sh/Makefile [$(subdir) = csu]
3110 (gen-as-const-headers): Add tcb-offsets.sym.
3111 * nptl/sysdeps/sh/Makefile: File removed.
3112 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3113 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3114 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3115 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3116 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3117 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3118 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3119 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3120 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3121 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3122 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3123 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3124 * nptl/sysdeps/sh/tls.h: Moved ...
3125 * sysdeps/sh/nptl/tls.h: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3127 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3129 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3130 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3131 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3132 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3133 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3134 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3135 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3137 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3139 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3141 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3142 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3143 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3145 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3146 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3147 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3148 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3149 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3150 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3152 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3153 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3155 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3156 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3157 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3159 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3161 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3162 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3163 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3165 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3167 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3169 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3171 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3173 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3175 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3177 * posix/spawn_faction_addopen.c: Include string.h.
3179 2014-06-11 Roland McGrath <roland@hack.frob.com>
3181 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3182 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3183 * nptl/sysdeps/x86_64/Makefile: Moved ...
3184 * sysdeps/x86_64/nptl/Makefile: ... here.
3185 * nptl/sysdeps/x86_64/configure: Moved ...
3186 * sysdeps/x86_64/nptl/configure: ... here.
3187 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3188 * sysdeps/x86_64/nptl/configure.ac: ... here.
3189 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3190 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3191 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3192 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3193 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3194 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3195 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3196 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3197 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3198 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3199 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3200 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3201 * nptl/sysdeps/x86_64/tls.h: Moved ...
3202 * sysdeps/x86_64/nptl/tls.h: ... here.
3203 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3204 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3205 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3206 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3208 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3210 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3214 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3216 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3218 [POSIX] (off_t): Likewise.
3219 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3220 [POSIX] (S_ISBLK): Require macro.
3221 [POSIX] (S_ISCHR): Likewise.
3222 [POSIX] (S_ISDIR): Likewise.
3223 [POSIX] (S_ISFIFO): Likewise.
3224 [POSIX] (S_ISREG): Likewise.
3225 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3227 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3229 [POSIX] (time_t): Likewise.
3230 [POSIX] (timer_t): Likewise.
3232 2014-06-11 Florian Weimer <fweimer@redhat.com>
3235 * posix/spawn_int.h (struct __spawn_action): Make the path string
3236 non-const to support deallocation.
3237 * posix/spawn_faction_addopen.c
3238 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3239 * posix/spawn_faction_destroy.c
3240 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3241 path in all spawn_do_open actions.
3242 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3243 posix_spawn_file_actions_addopen.
3245 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3247 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3248 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3249 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3250 conditional code always true.
3251 (__libc_vfork): New alias.
3253 2014-06-11 Roland McGrath <roland@hack.frob.com>
3255 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3256 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3258 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3260 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3261 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3263 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3264 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3266 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3267 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3269 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3271 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3272 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3273 multiarch strcmp for PPC64.
3274 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3275 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3277 multiarch optimizations.
3278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3279 (__libc_ifunc_impl_list): Likewise.
3281 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3283 * benchtests/scripts/validate_benchout.py: New script.
3284 * benchtests/Makefile (bench-func): Call it.
3285 * benchtests/scripts/benchout.schema.json: New file.
3287 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3289 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3290 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3291 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3292 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3293 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3294 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3295 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3296 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3297 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3298 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3299 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3300 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3301 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3302 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3303 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3304 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3409 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3414 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3417 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3419 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3421 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3422 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3423 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3425 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3427 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3428 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3430 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3431 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3433 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3435 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3438 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3440 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3441 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3442 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3443 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3444 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3446 2014-06-10 Wilco <wdijkstr@arm.com>
3448 * math/test-fenv-return.c: New file.
3449 * math/Makefile: Add new test test-fenv-return.
3451 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3454 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3456 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3457 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3458 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3459 0.0L for an argument of 1.0L.
3460 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3462 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3463 value when x - 1 is zero.
3464 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3465 * sysdeps/i386/fpu/libm-test-ulps: Update.
3466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3468 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3471 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3473 2014-06-09 Roland McGrath <roland@hack.frob.com>
3475 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3476 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3478 2014-06-09 Roland McGrath <roland@hack.frob.com>
3480 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3481 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3483 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3484 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3486 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3487 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3489 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3490 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3492 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3493 if not already defined.
3494 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3495 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3496 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3497 (TLS_INIT_TP): Use it.
3498 (TLS_DEFINE_INIT_TP): New macro.
3499 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3501 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3503 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3505 [POSIX] (IXANY): Likewise.
3506 [POSIX] (OLCUC): Likewise.
3507 [POSIX || POSIX2008] (CBAUD): Do not allow.
3508 [POSIX || POSIX2008] (DEFECHO): Likewise.
3509 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3510 [POSIX || POSIX2008] (ECHOKE): Likewise.
3511 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3512 [POSIX || POSIX2008] (EXTA): Likewise.
3513 [POSIX || POSIX2008] (EXTB): Likewise.
3514 [POSIX || POSIX2008] (FLUSHO): Likewise.
3515 [POSIX || POSIX2008] (LOBLK): Likewise.
3516 [POSIX || POSIX2008] (PENDIN): Likewise.
3517 [POSIX || POSIX2008] (SWTCH): Likewise.
3518 [POSIX || POSIX2008] (VDISCARD): Likewise.
3519 [POSIX || POSIX2008] (VDSUSP): Likewise.
3520 [POSIX || POSIX2008] (VLNEXT): Likewise.
3521 [POSIX || POSIX2008] (VREPRINT): Likewise.
3522 [POSIX || POSIX2008] (VSTATUS): Likewise.
3523 [POSIX || POSIX2008] (VWERASE): Likewise.
3524 (B*): Change to B[0123456789]*.
3525 * conform/data/time.h-data [POSIX || UNIX98]
3526 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3527 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3528 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3529 [POSIX] (tm_*): Do not allow.
3531 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3533 * Makefile (install): Don't set LANGUAGE.
3534 * Makefile.in (install): Likewise.
3535 * assert/Makefile (test-assert-ENV): Remove variable.
3536 (test-assert-perr-ENV): Likewise.
3537 * elf/Makefile (neededtest4-ENV): Likewise.
3538 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3539 [$(cross-compiling) = no]: Don't set LANGUAGE.
3540 * io/ftwtest-sh (LANG): Remove variable.
3541 * libio/Makefile (tst-widetext-ENV): Likewise.
3542 * manual/install.texi (Running make install): Don't refer to
3543 environment settings for make install.
3544 * INSTALL: Regenerated.
3545 * nptl/tst-tls6.sh: Don't set LANG.
3546 * posix/globtest.sh (LANG): Remove variable.
3547 * string/Makefile (tester-ENV): Likewise.
3548 (inl-tester-ENV): Likewise.
3549 (noinl-tester-ENV): Likewise.
3550 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3551 [$(cross-compiling) = no]: Don't set LANGUAGE.
3552 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3553 without explicit environment settings.
3555 2014-06-06 Roland McGrath <roland@hack.frob.com>
3557 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3558 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3559 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3560 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3562 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3564 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3565 other files in the crypt directory.
3566 * crypt/crypt.c: Remove duplicate includes.
3567 * crypt/crypt-entry.c: Likewise.
3568 * crypt/crypt_util.c: Likewise.
3570 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3572 * Makeconfig (run-program-env): New variable.
3573 (run-program-prefix-before-env): Likewise.
3574 (run-program-prefix-after-env): Likewise.
3575 (run-program-prefix): Define in terms of new variables.
3576 (built-program-cmd-before-env): New variable.
3577 (built-program-cmd-after-env): Likewise.
3578 (built-program-cmd): Define in terms of new variables.
3579 (test-program-prefix-before-env): New variable.
3580 (test-program-prefix-after-env): Likewise.
3581 (test-program-prefix): Define in terms of new variables.
3582 (test-program-cmd-before-env): New variable.
3583 (test-program-cmd-after-env): Likewise.
3584 (test-program-cmd): Define in terms of new variables.
3585 * Rules (make-test-out): Use $(run-program-env).
3586 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3587 (help): Do not mention environment variables. Mention
3588 --timeoutfactor option.
3589 (timeoutfactor): New variable.
3590 (blacklist_exports): Remove function.
3591 (exports): Remove variable.
3592 (command): Do not include ${exports}.
3593 * manual/install.texi (Configuring and compiling): Do not mention
3594 test wrappers preserving environment variables. Mention that last
3595 assignment to a variable must take precedence.
3596 * INSTALL: Regenerated.
3597 * benchtests/Makefile (run-bench): Use $(run-program-env).
3598 * catgets/Makefile ($(objpfx)test1.cat): Use
3599 $(built-program-cmd-before-env), $(run-program-env) and
3600 $(built-program-cmd-after-env).
3601 ($(objpfx)test2.cat): Do not specify environment variables
3603 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3604 $(run-program-env) and $(built-program-cmd-after-env).
3605 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3606 $(run-program-env) and $(test-program-cmd-after-env).
3607 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3609 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3610 run_program_env and test_program_cmd_after_env arguments.
3611 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3612 * elf/tst-pathopt.sh: Use run_program_env argument.
3613 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3614 $(test-wrapper-env) and $(run-program-env).
3615 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3616 run_program_env arguments.
3617 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3618 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3619 $(test-program-prefix-before-env), $(run-program-env) and
3620 $(test-program-prefix-after-env).
3621 ($(objpfx)tst-gettext2.out): Likewise.
3622 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3623 run_program_env and test_program_prefix_after_env arguments.
3624 * intl/tst-gettext2.sh: Likewise.
3625 * intl/tst-gettext4.sh: Do not set environment variables
3627 * intl/tst-gettext6.sh: Likewise.
3628 * intl/tst-translit.sh: Likewise.
3629 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3630 $(test-program-prefix-before-env), $(run-program-env) and
3631 $(test-program-prefix-after-env).
3632 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3633 run_program_env and test_program_prefix_after_env arguments.
3634 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3635 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3636 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3637 explicitly with each use of ${test_wrapper_env}.
3638 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3639 $(test-program-prefix-before-env), $(run-program-env) and
3640 $(test-program-prefix-after-env).
3641 * posix/tst-getconf.sh: Do not set environment variables
3643 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3644 run_program_env and test_program_prefix_after_env arguments.
3645 * stdio-common/tst-printf.sh: Do not set environment variables
3647 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3648 $(test-program-prefix-before-env), $(run-program-env) and
3649 $(test-program-prefix-after-env).
3650 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3651 run_program_env and test_program_prefix_after_env arguments.
3652 Split $test calls into $test_pre and $test.
3653 * timezone/Makefile (build-testdata): Use
3654 $(built-program-cmd-before-env), $(run-program-env) and
3655 $(built-program-cmd-after-env).
3657 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3659 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3660 strlen for non SHARED builds.
3662 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3664 * nptl/allocatestack.c (check_list): Inlined function...
3665 (__reclaim_stacks): ... here.
3667 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3670 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3673 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3675 * Rules (make-test-out): Include
3676 LOCPATH=$(common-objpfx)localedata in default environment.
3677 * debug/Makefile (tst-chk1-ENV): Remove variable.
3678 (tst-chk2-ENV): Likewise.
3679 (tst-chk3-ENV): Likewise.
3680 (tst-chk4-ENV): Likewise.
3681 (tst-chk5-ENV): Likewise.
3682 (tst-chk6-ENV): Likewise.
3683 (tst-lfschk1-ENV): Likewise.
3684 (tst-lfschk2-ENV): Likewise.
3685 (tst-lfschk3-ENV): Likewise.
3686 (tst-lfschk4-ENV): Likewise.
3687 (tst-lfschk5-ENV): Likewise.
3688 (tst-lfschk6-ENV): Likewise.
3689 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3690 (tst-iconv7-ENV): Likewise.
3691 * intl/Makefile (LOCPATH-ENV): Likewise.
3692 (tst-codeset-ENV): Likewise.
3693 (tst-gettext3-ENV): Likewise.
3694 (tst-gettext5-ENV): Likewise.
3695 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3696 (tst-fopenloc-ENV): Likewise.
3697 (tst-fgetws-ENV): Remove variable.
3698 (tst-ungetwc1-ENV): Likewise.
3699 (tst-ungetwc2-ENV): Likewise.
3700 (bug-ungetwc2-ENV): Likewise.
3701 (tst-swscanf-ENV): Likewise.
3702 (bug-ftell-ENV): Likewise.
3703 (tst-fgetwc-ENV): Likewise.
3704 (tst-fseek-ENV): Likewise.
3705 (tst-ftell-partial-wide-ENV): Likewise.
3706 (tst-ftell-active-handler-ENV): Likewise.
3707 (tst-ftell-append-ENV): Likewise.
3708 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3709 (tst-regexloc-ENV): Likewise.
3710 (bug-regex1-ENV): Likewise.
3711 (tst-regex-ENV): Likewise.
3712 (tst-regex2-ENV): Likewise.
3713 (bug-regex5-ENV): Likewise.
3714 (bug-regex6-ENV): Likewise.
3715 (bug-regex17-ENV): Likewise.
3716 (bug-regex18-ENV): Likewise.
3717 (bug-regex19-ENV): Likewise.
3718 (bug-regex20-ENV): Likewise.
3719 (bug-regex22-ENV): Likewise.
3720 (bug-regex23-ENV): Likewise.
3721 (bug-regex25-ENV): Likewise.
3722 (bug-regex26-ENV): Likewise.
3723 (bug-regex30-ENV): Likewise.
3724 (bug-regex32-ENV): Likewise.
3725 (bug-regex33-ENV): Likewise.
3726 (bug-regex34-ENV): Likewise.
3727 (bug-regex35-ENV): Likewise.
3728 (tst-rxspencer-ENV): Likewise.
3729 (tst-rxspencer-no-utf8-ENV): Likewise.
3730 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3731 (tst-sscanf-ENV): Likewise.
3732 (tst-swprintf-ENV): Likewise.
3733 (tst-swscanf-ENV): Likewise.
3734 (test-vfprintf-ENV): Likewise.
3735 (scanf13-ENV): Likewise.
3736 (bug14-ENV): Likewise.
3737 (tst-grouping-ENV): Likewise.
3738 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3739 (tst-strtod3-ENV): Likewise.
3740 (tst-strtod4-ENV): Likewise.
3741 (tst-strtod5-ENV): Likewise.
3742 (testmb2-ENV): Likewise./
3743 * string/Makefile (tst-strxfrm-ENV): Likewise.
3744 (tst-strxfrm2-ENV): Likewise.
3745 (bug-strcoll1-ENV): Likewise.
3746 (test-strcasecmp-ENV): Likewise.
3747 (test-strncasecmp-ENV): Likewise.
3748 * time/Makefile (tst-strptime-ENV): Likewise.
3749 (tst-ftime_l-ENV): Likewise.
3750 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3751 (tst-mbrtowc-ENV): Likewise.
3752 (tst-wcrtomb-ENV): Likewise.
3753 (tst-mbrtowc2-ENV): Likewise.
3754 (tst-c16c32-1-ENV): Likewise.
3755 (tst-mbsnrtowcs-ENV): Likewise.
3757 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3759 * manual/resource.texi (How to get information about the memory
3760 subsystem?): Fix typo.
3761 Reported by Peon de la Parra Ivan <peon@keba.com>
3763 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3766 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3767 (pthread_spin_lock): Branch out of spin loop to proper location.
3768 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3769 (pthread_spin_lock): Likewise.
3771 * nptl/tst-spin4.c: New test.
3772 * nptl/Makefile (tests): Add tst-spin4.
3774 2014-06-03 Andreas Schwab <schwab@suse.de>
3777 * resolv/res_send.c (send_dg): Reload file descriptor after
3780 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3782 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3784 2014-06-03 Richard Henderson <rth@redhat.com>
3786 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3787 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3788 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3789 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3790 in the SAVE_PID block.
3791 (__libc_vfork): New alias.
3792 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3794 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3795 child in registers, not on the stack. Remove RESET_PID conditionals.
3796 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3798 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3800 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3802 2014-06-03 Wilco <wdijkstr@arm.com>
3804 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3805 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3806 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3807 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3808 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3811 2014-06-03 Wilco <wdijkstr@arm.com>
3813 * sysdeps/aarch64/fpu/math_private.h
3814 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3815 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3816 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3817 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3820 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3822 * crypt/crypt-private.h: Include ufc-crypt.h.
3823 (__b64_from_24bit): Declare extern.
3824 * crypt/crypt_util.c(__b64_from_24bit): New function.
3825 (b64t): New static const variable.
3826 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3827 (b64t): Remove variable.
3828 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3829 * crypt/sha256-crypt.c: Include crypt-private.h.
3830 (b64t): Remove variable.
3831 (__sha256_crypt_r): Remove b64_from_24bit and replace
3832 with __b64_from_24bit.
3833 * crypt/sha512-crypt.c: Likewise.
3835 2014-06-02 Roland McGrath <roland@hack.frob.com>
3837 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3838 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3839 Label the code __libc_vfork rather than __vfork.
3840 [!NOT_IN_libc] (vfork): Define as weak alias.
3841 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3842 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3843 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3845 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3847 * malloc/malloc.c (malloc_info): Fix format specifier for
3850 2014-06-02 Wilco <wdijkstr@arm.com>
3852 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3855 2014-06-02 Wilco <wdijkstr@arm.com>
3858 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3859 Rewrite to reduce FPCR/FPSR accesses.
3861 2014-06-01 David S. Miller <davem@davemloft.net>
3863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3865 2014-05-31 David S. Miller <davem@davemloft.net>
3867 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3868 to occur in round to nearest mode when |x| >= 2.0
3870 2014-05-30 Richard Henderson <rth@twiddle.net>
3872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3873 (PSEUDO_RET_NOERRNO): Remove.
3874 (ret): Don't redefine.
3875 (ret_NOERRNO): Define in terms of ret.
3876 (ret_ERRVAL): Likewise.
3878 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3879 use of PSEUDO_RET; perform the error check directly.
3881 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3883 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3886 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3888 * malloc/malloc (malloc_info): Fix formatting.
3890 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3891 Roland McGrath <roland@hack.frob.com>
3893 * malloc/malloc (malloc_info): Also print mmapped statistics.
3895 2014-05-30 Roland McGrath <roland@hack.frob.com>
3897 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3898 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3900 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3902 * malloc/malloc.c (malloc_info): Inline mi_arena.
3904 2014-05-29 Richard Henderson <rth@twiddle.net>
3906 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3907 Remove comma before expanding ASM_ARGS_##nr.
3908 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3909 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3911 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3912 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3913 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3914 (ASM_ARGS_1): Add leading comma.
3916 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3917 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3918 to __errno_location.
3919 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3920 Remove the expected plt for __errno_location.
3922 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3923 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3927 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3928 it and break it down.
3929 (DOCARGS_0, DOCARGS_1): Do nothing.
3930 (DOCARGS_2): Update to store into the new stack frame.
3931 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3932 (UNDOCARGS_1): Update to restore from the new stack frame.
3933 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3934 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3937 (SINGLE_THREAD_P): New parameter for result regno.
3938 (PSEUDO): Update to match; use cbz instead of beq.
3940 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3941 Use ENTRY to define the _nocancel entry point. Share the syscall
3942 and syscall error check paths with the cancel path.
3945 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3946 whitespace; tabs before and after asm mnemonics.
3948 2014-05-29 Eric Wong <normalperson@yhbt.net>
3951 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3952 Call fstat64 or stat64 internally, depending on arguments passed.
3953 Replace stat buffer argument with file descriptor argument.
3954 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3955 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3956 Pass fd to __internal_statvfs instead of calling fstat64.
3957 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3958 Pass fd to __internal_statvfs64 instead of calling fstat64.
3959 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3960 Pass -1 to __internal_statvfs instead of calling stat64.
3961 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3962 Pass -1 to __internal_statvfs64 instead of calling stat64.
3964 2014-05-28 Roland McGrath <roland@hack.frob.com>
3966 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3967 that was previously under [RESET_PID].
3968 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3970 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3971 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3973 2014-05-27 Roland McGrath <roland@hack.frob.com>
3975 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3977 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3978 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3980 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3982 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3984 2014-05-27 Andreas Schwab <schwab@suse.de>
3986 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3988 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3989 * elf/rtld.c (init_tls, dl_main): Likewise.
3990 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3991 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3992 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3993 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3994 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3995 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3996 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3997 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3998 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3999 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4000 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4001 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4002 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4003 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4004 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4005 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4006 * sysdeps/generic/tls.h: Update description.
4008 2014-05-27 Will Newton <will.newton@linaro.org>
4011 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4012 and restore r2 rather than just restoring.
4014 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4017 * libio/tst-ftell-append.c: New test case.
4018 * libio/Makefile (tests): Add test case.
4019 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4021 * libio/wfileops.c (do_ftell_wide): Likewise.
4023 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4027 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4031 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4032 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4033 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4034 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4035 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4036 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4043 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4044 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4045 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4046 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4047 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4049 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4050 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4052 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4054 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4056 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4057 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4058 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4060 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4061 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4063 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4086 conditional [RESET_PID].
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4095 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4096 (__libc_vfork): New strong alias.
4097 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4104 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4105 (__libc_vfork): New strong alias.
4106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4111 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4113 * malloc/malloc.c (mi_arena): New function.
4114 (malloc_info): Remove nested function mi_arena. Call non-nosted
4117 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4119 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4121 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4122 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4123 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4124 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4125 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4126 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4127 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4129 2014-05-26 Andreas Schwab <schwab@suse.de>
4132 * locale/programs/repertoire.c (repertoire_read): Add slash
4133 between I18NPATH element and file name.
4134 * locale/programs/locfile.c (locfile_read): Likewise.
4136 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4138 * nptl/pthread_mutexattr_settype.c
4139 (__pthread_mutexattr_settype):
4140 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4142 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4144 * nptl/tst-mutex5 (do_test):
4145 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4147 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4149 * benchtests/README: Document 'init' directive.
4150 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4152 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4153 (parse_file): Recognize 'init' directive.
4155 2014-05-26 Kyle McMartin <kyle@redhat.com>
4158 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4159 alignment of struct pthread.
4161 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4164 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4165 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4166 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4167 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4169 2014-05-25 Richard Henderson <rth@twiddle.net>
4171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4172 (SINGLE_THREAD_P_PIC): Remove.
4173 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4174 (SINGLE_THREAD_P_PIC): Remove.
4176 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4177 branch to syscall error ...
4179 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4180 from __local_syscall_error to .Lsyscall_error.
4181 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4182 (SYSCALL_ERROR): Update label name.
4184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4185 Do not use DOARGS/UNDOARGS.
4186 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4187 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4188 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4189 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4190 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4192 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4195 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4196 define if !NOT_IN_libc.
4197 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4198 define with non-default symbol versions.
4200 2014-05-23 Richard Henderson <rth@twiddle.net>
4202 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4203 (vfork, __vfork): Define via compat_symbol.
4205 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4206 [!HAVE_IFUNC] (vfork_compat): Remove.
4207 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4209 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4212 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4213 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4216 2014-05-23 Richard Henderson <rth@twiddle.net>
4218 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4219 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4220 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4221 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4223 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4224 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4225 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4226 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4227 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4228 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4229 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4230 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4231 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4232 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4233 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4234 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4235 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4236 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4238 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4239 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4240 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4242 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4243 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4244 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4245 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4246 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4247 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4248 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4249 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4252 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4253 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4262 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4263 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4264 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4265 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4266 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4267 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4268 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4269 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4270 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4271 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4272 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4273 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4274 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4276 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4278 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4280 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4281 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4282 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4283 before exiting on error.
4284 (__libc_vfork): New strong alias.
4285 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4286 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4288 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4289 that was previously under [RESET_PID].
4290 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4292 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4294 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4297 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4298 value when x - 1 is zero.
4299 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4300 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4301 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4302 0.0L for an argument of 1.0L.
4303 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4305 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4306 value when x - 1 is zero.
4307 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4308 * sysdeps/i386/fpu/libm-test-ulps: Update.
4309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4313 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4314 alphasort and versionsort.
4316 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4318 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4320 [copysignf]: Likewise.
4322 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4324 * crypt/md5-crypt.c: Fix formatting.
4326 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4328 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4329 (b64_from_24bit): New function.
4331 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4333 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4334 libc_hidden_builtin_def to ifunc.
4335 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4336 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4338 2014-05-21 Roland McGrath <roland@hack.frob.com>
4340 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4341 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4343 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4345 * nscd/Depend (linuxthreads): Remove.
4347 * resolv/Depend (linuxthreads): Remove.
4348 * rt/Depend (linuxthreads): Remove.
4350 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4351 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4352 $(common-objpfx)elf/.
4353 (link-libc-before-gnulib): Likewise.
4354 (elfobjdir): Remove variable.
4355 * Makefile (install): Use $(elf-objpfx) instead of
4356 $(common-objpfx)elf/.
4357 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4359 (link-libc-deps): Likewise.
4360 ($(common-objpfx)libc.so): Likewise.
4361 ($(common-objpfx)linkobj/libc.so): Likewise.
4362 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4363 instead of $(common-objpfx)elf/.
4364 (symbolic-link-list): Likewise.
4365 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4366 [$(cross-compiling) = no]: Likewise.
4367 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4369 (static-gnulib-arch): Likewise.
4370 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4371 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4372 $(common-objpfx)elf/.
4374 2014-05-21 Richard Henderson <rth@redhat.com>
4376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4377 (SINGLE_THREAD_P): Use the correct width load. Fold
4378 into the ldr offset.
4380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4381 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4383 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4385 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4386 (libgcc_s_resume): Use __attribute_used__.
4387 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4390 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4392 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4393 optimization when used with float constants.
4395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4397 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4400 * locale/nl_langinfo_l.c: Make direct reference to every
4401 _nl_current_CATEGORY symbol.
4402 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4403 (tests-static): Add tst-langinfo-static.
4404 (tests-special): Add tst-langinfo-static.out.
4405 ($(objpfx)tst-langinfo.out): Redirect output.
4406 ($(objpfx)tst-langinfo-static.out): New.
4407 * localedata/tst-langinfo.sh: Send output to stdout.
4408 * localedata/tst-langinfo-static.c: New file.
4411 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4412 when the shift amount is modulo the limb size.
4414 2014-05-20 Richard Henderson <rth@redhat.com>
4417 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4418 Change type of sa_flags from unsigned int to int.
4421 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4423 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4425 2014-05-20 Will Newton <will.newton@linaro.org>
4427 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4428 Test the return value of the system call in the nocancel case.
4430 2014-05-20 Will Newton <will.newton@linaro.org>
4431 Yvan Roux <yvan.roux@linaro.org>
4433 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4434 #include of asm/ptrace.h.
4435 (PTRACE_GET_THREAD_AREA): Remove #undef.
4436 (PTRACE_GETHBPREGS): Likewise.
4437 (PTRACE_SETHBPREGS): Likewise.
4438 (struct user_regs_struct): New structure.
4439 (struct user_fpsimd_struct): New structure.
4440 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4441 #include of asm/ptrace.h and second #include of sys/user.h.
4442 (PTRACE_GET_THREAD_AREA): Remove #undef.
4443 (PTRACE_GETHBPREGS): Likewise.
4444 (PTRACE_SETHBPREGS): Likewise.
4445 (ELF_NGREG): Use new struct user_regs_struct.
4446 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4448 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4451 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4453 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4457 membar to avoid block loads/stores to overlap previous stores.
4459 2014-05-17 Richard Henderson <rth@redhat.com>
4461 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4462 Create the __##syscall_name##_nocancel entry point.
4463 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4464 Remove; let the sysdep-cancel.h code create it.
4466 2014-05-17 David S. Miller <davem@davemloft.net>
4468 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4469 Protect with __USE_GNU.
4470 (TIOCSET_TEMPT): Likewise.
4471 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4472 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4473 these are already provided in bits/ioctl-types.h
4475 2014-05-16 Roland McGrath <roland@hack.frob.com>
4477 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4478 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4480 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4481 Use wait4 regardless of [__NR_waitpid].
4483 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4486 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4487 (_FP_NANSIGN_Q): Set the quiet bit.
4489 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4491 * benchtests/Makefile
4492 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4493 not $(common-objpfx)math/libm.so.
4494 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4495 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4496 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4497 $(common-objpfx)dlfcn/libdl.so.
4498 ($(objpfx)tst-audit8): Depend on $(libm), not
4499 $(common-objpfx)math/libm.so.
4500 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4501 not $(common-objpfx)dlfcn/libdl.so.
4503 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4504 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4505 [$(build-shared) = yes].
4506 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4507 $(common-objpfx)nptl/libpthread.so.
4508 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4509 $(common-objpfx)math/libm.so$(libm.so-version) or
4510 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4511 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4512 $(common-objpfx)dlfcn/libdl.so.
4513 * setjmp/Makefile (link-libm): Remove variable.
4514 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4515 * stdio-common/Makefile (link-libm): Remove variable.
4516 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4517 * stdlib/Makefile (link-libm): Remove variable.
4518 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4519 ($(objpfx)tst-strtod-round): Likewise.
4520 ($(objpfx)tst-tininess): Likewise.
4521 ($(objpfx)tst-strtod-underflow): Likewise.
4522 ($(objpfx)tst-strtod6): Likewise.
4523 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4524 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4525 $(common-objpfx)dlfcn/libdl.so.
4527 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4529 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4530 BSD terminal modes definitions.
4532 2014-05-16 Roland McGrath <roland@hack.frob.com>
4534 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4535 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4537 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4538 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4539 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4540 Don't do #include_next.
4541 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4542 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4543 Don't do #include_next.
4544 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4545 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4546 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4547 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4549 2014-05-16 Allan McRae <allan@archlinux.org>
4551 * po/sv.po: Update Swedish translation from translation project.
4553 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4556 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4559 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4560 errno if the TIOCGPTN ioctl fails with an error different than
4562 * login/tst-ptsname.c: New file.
4563 * login/Makefile (tests): Add tst-ptsname.
4566 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4569 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4573 herrno to return EAI_AGAIN.
4575 2014-05-14 Roland McGrath <roland@hack.frob.com>
4577 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4578 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4579 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4580 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4581 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4582 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4583 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4584 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4585 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4586 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4587 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4588 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4589 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4590 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4591 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4592 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4594 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4596 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4598 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4599 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4602 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4603 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4604 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4605 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4606 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4608 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4610 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4613 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4625 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4627 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4629 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4631 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4633 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4635 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4637 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4639 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4642 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4644 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4646 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4650 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4652 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4656 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4658 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4660 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4663 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4668 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4669 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4670 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4671 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4672 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4673 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4675 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4676 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4677 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4678 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4679 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4680 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4681 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4682 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4683 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4684 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4685 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4686 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4687 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4688 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4689 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4690 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4691 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4692 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4693 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4694 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4695 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4696 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4697 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4699 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4700 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4702 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4703 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4704 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4706 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4709 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4710 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4712 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4715 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4716 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4718 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4719 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4720 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4721 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4723 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4724 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4725 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4727 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4729 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4730 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4732 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4733 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4735 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4737 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4738 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4739 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4740 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4743 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4745 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4747 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4748 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4749 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4750 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4751 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4755 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4757 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4758 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4760 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4763 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4764 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4765 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4766 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4768 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4770 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4771 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4772 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4773 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4774 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4775 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4777 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4778 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4780 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4782 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4783 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4784 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4785 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4786 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4788 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4790 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4792 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4793 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4794 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4796 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4797 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4798 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4800 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4803 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4806 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4809 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4812 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4814 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4816 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4819 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4820 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4821 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4823 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4824 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4825 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4828 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4829 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4831 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4833 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4834 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4835 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4836 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4837 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4841 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4843 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4845 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4847 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4849 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4850 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4851 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4852 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4853 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4855 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4856 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4858 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4859 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4861 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4862 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4863 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4865 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4867 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4869 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4871 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4873 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4875 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4877 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4880 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4882 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4885 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4887 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4889 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4891 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4894 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4897 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4899 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4901 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4903 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4904 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4905 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4907 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4908 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4909 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4911 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4913 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4916 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4917 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4918 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4919 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4921 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4922 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4924 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4925 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4926 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4927 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4928 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4929 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4930 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4932 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4933 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4935 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4936 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4938 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4939 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4940 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4941 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4942 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4943 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4944 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4945 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4946 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4947 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4948 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4949 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4955 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4957 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4969 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4970 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4971 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4972 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4974 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4975 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4976 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4977 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4978 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4979 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4980 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4981 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4982 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4983 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4986 that was previously under [RESET_PID].
4987 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4988 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4989 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4991 * sysdeps/i386/nptl/Implies: New file.
4992 * sysdeps/x86_64/nptl/Implies: New file.
4993 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4994 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4995 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4996 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4998 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4999 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5000 (__libc_vfork): New strong alias.
5001 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5002 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5004 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5005 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5006 (__libc_vfork): New strong alias.
5007 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5008 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5010 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5011 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5012 (__libc_vfork): New strong alias.
5013 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5014 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5015 * nptl/pt-vfork.c: New file.
5016 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5017 (libpthread: GLIBC_2.20): New version set (empty).
5019 2014-05-14 Will Newton <will.newton@linaro.org>
5021 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5024 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5027 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5028 arguments with exponent 65 or above.
5029 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5030 arguments 0x1p113L or above.
5031 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5032 to arguments 0x1p107L or above.
5033 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5034 positive arguments with exponent 65 or above.
5035 * math/auto-libm-test-in: Add more tests of log1p.
5036 * math/auto-libm-test-out: Regenerated.
5039 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5040 non-finite arguments is +0.
5041 * math/s_cacosf.c (__cacosf): Likewise.
5042 * math/s_cacosl.c (__cacosl): Likewise.
5043 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5044 * sysdeps/i386/fpu/libm-test-ulps: Update.
5045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5048 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5050 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5051 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5052 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5053 for explicit high bit of mantissa when testing for argument equal
5055 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5056 * sysdeps/i386/fpu/libm-test-ulps: Update.
5057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5060 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5061 (__erf): Scale by 16 instead of 8 in potentially underflowing
5062 case. Ensure exception if result actually underflows.
5063 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5064 (__erff): Scale by 16 instead of 8 in potentially underflowing
5065 case. Ensure exception if result actually underflows.
5066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5067 (efx8): Remove variable.
5068 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5069 case. Ensure exception if result actually underflows.
5070 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5071 (efx8): Remove variable.
5072 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5073 case. Ensure exception if result actually underflows.
5074 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5075 (efx8): Remove variable.
5076 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5077 case. Ensure exception if result actually underflows.
5078 * math/auto-libm-test-in: Add more tests of erf.
5079 * math/auto-libm-test-out: Regenerated.
5081 2014-05-14 Andreas Schwab <schwab@suse.de>
5083 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5084 Remove code conditionalized on USE___THREAD.
5086 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5087 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5090 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5093 Define unconditionally.
5094 (__ASSUME_O_CLOEXEC): Likewise.
5095 (__ASSUME_SOCK_CLOEXEC): Likewise.
5096 (__ASSUME_IN_NONBLOCK): Likewise.
5097 (__ASSUME_PIPE2): Likewise.
5098 (__ASSUME_EVENTFD2): Likewise.
5099 (__ASSUME_SIGNALFD4): Likewise.
5100 (__ASSUME_DUP3): Likewise.
5101 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5102 (__ASSUME_DUP3): Do not define.
5103 (__ASSUME_EVENTFD2): Likewise.
5104 (__ASSUME_IN_NONBLOCK): Likewise.
5105 (__ASSUME_O_CLOEXEC): Likewise.
5106 (__ASSUME_PIPE2): Likewise.
5107 (__ASSUME_SIGNALFD4): Likewise.
5108 (__ASSUME_SOCK_CLOEXEC): Likewise.
5109 (__ASSUME_UTIMES): Undefine.
5110 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5111 (__ASSUME_UTIMES): Do not define.
5112 (__ASSUME_O_CLOEXEC): Likewise.
5113 (__ASSUME_SOCK_CLOEXEC): Likewise.
5114 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5115 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5117 (__ASSUME_PIPE2): Likewise.
5118 (__ASSUME_EVENTFD2): Likewise.
5119 (__ASSUME_SIGNALFD4): Likewise.
5120 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5121 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5123 (__ASSUME_EVENTFD2): Likewise.
5124 (__ASSUME_SIGNALFD4): Likewise.
5125 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5126 (__ASSUME_32BITUIDS): Likewise.
5127 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5128 (__ASSUME_IPC64): Likewise.
5129 (__ASSUME_ST_INO_64_BIT): Likewise.
5130 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5131 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5132 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5133 (__ASSUME_UTIMES): Do not define.
5134 (__ASSUME_PSELECT): Likewise.
5135 (__ASSUME_PPOLL): Likewise.
5136 (__ASSUME_O_CLOEXEC): Likewise.
5137 (__ASSUME_SOCK_CLOEXEC): Likewise.
5138 (__ASSUME_IN_NONBLOCK): Likewise.
5139 (__ASSUME_PIPE2): Likewise.
5140 (__ASSUME_EVENTFD2): Likewise.
5141 (__ASSUME_SIGNALFD4): Likewise.
5142 (__ASSUME_DUP3): Likewise.
5143 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5144 (__ASSUME_UTIMES): Likewise.
5145 (__ASSUME_O_CLOEXEC): Likewise.
5146 (__ASSUME_SOCK_CLOEXEC): Likewise.
5147 (__ASSUME_IN_NONBLOCK): Likewise.
5148 (__ASSUME_PIPE2): Likewise.
5149 (__ASSUME_EVENTFD2): Likewise.
5150 (__ASSUME_SIGNALFD4): Likewise.
5151 (__ASSUME_DUP3): Likewise.
5152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5153 (__ASSUME_UTIMES): Likewise.
5154 (__ASSUME_O_CLOEXEC): Likewise.
5155 (__ASSUME_SOCK_CLOEXEC): Likewise.
5156 (__ASSUME_IN_NONBLOCK): Likewise.
5157 (__ASSUME_PIPE2): Likewise.
5158 (__ASSUME_EVENTFD2): Likewise.
5159 (__ASSUME_SIGNALFD4): Likewise.
5160 (__ASSUME_DUP3): Likewise.
5161 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5163 (__ASSUME_UTIMES): Likewise.
5164 (__ASSUME_EVENTFD2): Likewise.
5165 (__ASSUME_SIGNALFD4): Likewise.
5166 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5167 (__ASSUME_O_CLOEXEC): Likewise.
5168 (__ASSUME_SOCK_CLOEXEC): Likewise.
5169 (__ASSUME_IN_NONBLOCK): Likewise.
5170 (__ASSUME_PIPE2): Likewise.
5171 (__ASSUME_EVENTFD2): Likewise.
5172 (__ASSUME_SIGNALFD4): Likewise.
5173 (__ASSUME_DUP3): Likewise.
5174 (__ASSUME_UTIMES): Undefine.
5176 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5177 feclearexcept. Remove symbol versioning code.
5178 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5179 symbol versioning code.
5180 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5181 symbol versioning code.
5182 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5183 feupdateenv. Remove symbol versioning code.
5184 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5185 fegetexceptflag. Remove symbol versioning code.
5186 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5187 fesetexceptflag. Remove symbol versioning code.
5188 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5189 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5190 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5191 (__posix_fadvise64_l32): Remove prototype.
5192 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5195 2014-05-13 Roland McGrath <roland@hack.frob.com>
5197 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5198 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5199 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5200 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5202 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5204 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5205 current working directory
5207 2014-05-13 Roland McGrath <roland@hack.frob.com>
5209 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5210 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5211 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5212 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5213 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5214 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5215 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5216 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5217 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5218 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5219 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5220 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5222 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5226 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5227 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5228 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5229 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5230 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5231 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5232 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5236 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5237 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5238 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5239 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5240 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5241 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5242 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5243 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5244 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5245 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5246 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5247 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5248 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5249 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5250 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5252 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5253 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5255 * sysdeps/unix/sysv/linux/arm/Makefile
5256 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5257 Add rt-aeabi_unwind_cpp_pr1.
5258 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5259 Add nptl-aeabi_unwind_cpp_pr1.
5260 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5261 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5262 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5263 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5264 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5265 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5267 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5268 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5269 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5270 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5272 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5273 Deconditionalize the code that was previously under [RESET_PID].
5274 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5276 * sysdeps/generic/exit-thread.h: New file.
5277 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5278 * include/unistd.h (__exit_thread): Remove declaration.
5279 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5280 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5281 * csu/libc-start.c: Include <exit-thread.h>.
5282 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5283 * nptl/pthread_create.c: Include <exit-thread.h>.
5284 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5285 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5286 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5287 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5288 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5289 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5290 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5291 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5292 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5293 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5294 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5295 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5296 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5297 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5298 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5299 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5300 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5302 2014-05-13 Andreas Schwab <schwab@suse.de>
5304 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5306 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5308 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5309 (__ASSUME_UTIMES): Do not condition on kernel version.
5310 (__ASSUME_PSELECT): Define unconditionally.
5311 (__ASSUME_PPOLL): Likewise.
5312 (__ASSUME_ATFCTS): Likewise.
5313 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5314 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5315 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5316 (__ASSUME_UTIMENSAT): Define unconditionally.
5317 (__ASSUME_PRIVATE_FUTEX): Likewise.
5318 (__ASSUME_FALLOCATE): Likewise.
5319 (__ASSUME_O_CLOEXEC): Likewise.
5320 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5321 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5322 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5323 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5324 (__ASSUME_IN_NONBLOCK): Likewise.
5325 (__ASSUME_PIPE2): Likewise.
5326 (__ASSUME_EVENTFD2): Likewise.
5327 (__ASSUME_SIGNALFD4): Likewise.
5328 (__ASSUME_DUP3): Likewise.
5329 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5330 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5331 (__ASSUME_AT_RANDOM): Likewise.
5332 (__ASSUME_PREADV): Likewise.
5333 (__ASSUME_PWRITEV): Likewise.
5334 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5335 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5336 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5337 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5338 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5339 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5340 (__ASSUME_O_CLOEXEC): Define unconditionally.
5341 (__ASSUME_PSELECT): Do not undefine conditionally.
5342 (__ASSUME_PPOLL): Likewise.
5343 (__ASSUME_ATFCTS): Likewise.
5344 (__ASSUME_SET_ROBUST_LIST): Likewise.
5345 (__ASSUME_UTIMENSAT): Likewise.
5346 (__ASSUME_FDATASYNC): Define unconditionally.
5347 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5348 (__ASSUME_SIGFRAME_V2): Likewise.
5349 )__ASSUME_EVENTFD2): Likewise.
5350 (__ASSUME_SIGNALFD4): Likewise.
5351 (__ASSUME_PSELECT): Do not undefine conditionally.
5352 (__ASSUME_PPOLL): Likewise.
5353 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5354 (__ASSUME_PSELECT): Define unconditionally.
5355 (__ASSUME_PPOLL): Likewise.
5356 (__ASSUME_O_CLOEXEC): Likewise.
5357 (__ASSUME_SOCK_CLOEXEC): Likewise.
5358 (__ASSUME_IN_NONBLOCK): Likewise.
5359 (__ASSUME_PIPE2): Likewise.
5360 (__ASSUME_EVENTFD2): Likewise.
5361 (__ASSUME_SIGNALFD4): Likewise.
5362 (__ASSUME_DUP3): Likewise.
5363 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5364 (__ASSUME_O_CLOEXEC): Likewise.
5365 (__ASSUME_SOCK_CLOEXEC): Likewise.
5366 (__ASSUME_IN_NONBLOCK): Likewise.
5367 (__ASSUME_PIPE2): Likewise.
5368 (__ASSUME_EVENTFD2): Likewise.
5369 (__ASSUME_SIGNALFD4): Likewise.
5370 (__ASSUME_DUP3): Likewise.
5371 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5372 (__ASSUME_EVENTFD2): Likewise.
5373 (__ASSUME_SIGNALFD4): Likewise.
5374 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5376 2014-05-12 Andreas Schwab <schwab@suse.de>
5379 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5380 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5381 than maximum RPC packet size.
5382 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5383 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5384 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5385 (_nss_nis_getservbyport_r): Likewise.
5387 2014-05-12 Will Newton <will.newton@linaro.org>
5389 * malloc/Makefile (tests): Add tst-mallopt.
5390 * malloc/tst-mallopt.c: New file.
5392 2014-05-09 Roland McGrath <roland@hack.frob.com>
5394 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5395 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5397 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5399 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5400 (tst-tlsmod6.so): Likewise.
5402 2014-05-09 Roland McGrath <roland@hack.frob.com>
5404 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5406 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5409 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5410 and <dl-procinfo.h>.
5411 (__fegetenv): Save SSE state in envp->__eip if supported.
5412 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5413 envp->__eip if supported.
5414 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5415 and <dl-procinfo.h>.
5416 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5417 __data_offset and __data_selector in environment to 0. Set SSE
5419 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5421 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5423 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5425 2014-05-09 Will Newton <will.newton@linaro.org>
5427 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5428 and libc_relro_required for ARM.
5429 * sysdeps/arm/preconfigure: Regenerate.
5431 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5432 Stefan Liebler <stli@linux.vnet.ibm.com>
5434 * config.make.in (enable-lock-elision): New Makefile variable.
5435 * configure.ac: Likewise.
5436 * configure: Regenerate.
5437 * sysdeps/s390/configure.ac:
5438 Add check for gcc transactions support.
5439 * sysdeps/s390/configure: Regenerate.
5440 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5441 Build elision files if enabled.
5442 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5443 Add lock elision support for s390.
5444 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5445 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5446 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5447 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5448 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5449 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5450 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5452 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5454 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5456 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5458 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5459 (__lll_timedlock_elision, __lll_lock_elision)
5460 (__lll_unlock_elision, __lll_trylock_elision)
5461 (lll_timedlock_elision, lll_lock_elision)
5462 (lll_unlock_elision, lll_trylock_elision): Add.
5463 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5464 (pthread_mutex_t): Add lock elision support for s390.
5466 2014-05-14 Wilco <wdijkstr@arm.com>
5468 * sysdeps/arm/fclrexcpt.c: Cleanup.
5469 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5470 * sysdeps/arm/feenablxcpt.c: Cleanup.
5471 * sysdeps/arm/fegetenv.c: Cleanup.
5472 * sysdeps/arm/fegetexcept.c: Cleanup.
5473 * sysdeps/arm/fegetround.c: Cleanup.
5474 * sysdeps/arm/feholdexcpt.c: Cleanup.
5475 * sysdeps/arm/fesetenv.c: Cleanup.
5476 * sysdeps/arm/fesetround.c: Cleanup.
5477 * sysdeps/arm/feupdateenv.c: Cleanup.
5478 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5479 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5480 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5481 * sysdeps/arm/ftestexcept.c: Cleanup.
5482 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5483 * sysdeps/arm/setfpucw.c: Cleanup.
5485 2014-05-09 Will Newton <will.newton@linaro.org>
5487 * sysdeps/arm/armv7/strcmp.S: New file.
5488 * NEWS: Mention addition of ARMv7 optimized strcmp.
5490 2014-05-08 Roland McGrath <roland@hack.frob.com>
5492 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5493 look for %.ac rather than %.in.
5495 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5496 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5497 * sysdeps/mach/hurd/configure: Regenerated.
5498 * sysdeps/unix/sysv/linux/configure: Regenerated.
5500 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5502 2014-05-07 Steve Ellcey <sellcey@mips.com>
5505 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5509 2014-05-07 Andreas Schwab <schwab@suse.de>
5511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5512 when skipping over non-matching result from nscd.
5514 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5517 * nptl/sockperf.c (client): Check socket return value.
5520 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5521 nscd security class.
5523 2014-05-06 Roland McGrath <roland@hack.frob.com>
5525 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5526 * sysdeps/arm/unwind.h: ... here.
5528 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5531 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5534 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5536 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5537 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5538 multiarch strncpy for PPC64.
5539 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5540 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5542 multiarch optimizations.
5543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5544 (__libc_ifunc_impl_list): Likewise.
5545 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5546 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5547 multiarch stpncpy for PPC64.
5548 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5549 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5551 2014-05-06 Andreas Schwab <schwab@suse.de>
5554 * gmon/mcount.c (_MCOUNT_DECL): Use
5555 atomic_compare_and_exchange_bool_acq instead of
5556 catomic_compare_and_exchange_bool_acq.
5558 2014-05-05 Roland McGrath <roland@hack.frob.com>
5560 * elf/Makefile (others, install-bin): Remove pldd.
5561 (pldd-modules): Variable removed.
5562 ($(objpfx)pldd): Target removed.
5563 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5564 (others, install-bin): Append pldd here.
5565 ($(objpfx)pldd): New target.
5567 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5568 to 0, so the first #if test emitted later doesn't see it undefined.
5569 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5570 * sysdeps/gnu/errlist.c: Regenerated.
5572 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5575 [libc_hidden_builtin_def]: Define to empty value.
5576 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5577 [libc_hidden_builtin_def]: Likewise.
5578 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5579 [libc_hidden_builtin_def]: Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5581 [libc_hidden_builtin_def]: Likewise.
5582 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5583 __redirect_memcpy and define ifunc as default hidden symbol.
5584 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5585 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5587 2014-05-04 Adam Conrad <adconrad@0c3.net>
5589 * locale/iso-4217.def: Reintroduce XDR currency.
5591 2014-05-04 Allan McRae <allan@archlinux.org>
5593 * po/eo.po: Update Esperanto translation from translation project.
5595 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5597 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5598 and FEATURE_INDEX_MAX to 1.
5599 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5601 2014-05-01 Steve Ellcey <sellcey@mips.com>
5603 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5604 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5605 * iconvdata/big5.c (ONE_DIRECTION): Define.
5606 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5607 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5608 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5609 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5610 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5611 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5612 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5613 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5614 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5615 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5616 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5617 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5618 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5619 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5620 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5621 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5622 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5623 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5624 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5625 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5626 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5627 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5628 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5629 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5630 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5631 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5632 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5633 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5634 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5635 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5636 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5637 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5638 * iconvdata/johab.c (ONE_DIRECTION): Define.
5639 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5640 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5641 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5642 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5643 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5644 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5645 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5646 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5647 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5648 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5650 2014-05-01 Roland McGrath <roland@hack.frob.com>
5652 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5653 (_IO_JUMPS_OFFSET): Define to 0.
5655 * nptl/sysdeps/pthread/bits/libc-lock.h
5656 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5657 (__libc_lock_define_initialized_recursive): Always define using
5658 initializer. Modern compilers treat uninitialized (implicit zero) and
5659 explicit zero initializers the same (i.e. put the datum in bss).
5661 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5663 * nscd/nscd-client.h: Include <string.h>.
5665 2014-05-01 David S. Miller <davem@davemloft.net>
5668 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5669 multiple zero bytes exist at the end of a string.
5670 Reported by Aurelien Jarno <aurelien@aurel32.net>
5672 * string/test-strcmp.c (check): Add explicit test for situations where
5673 there are multiple zero bytes after the first.
5675 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5678 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5679 when compiling wprintf.
5680 * stdio-common/tstdiomisc.c (t3): New function.
5683 2014-05-01 Steve Ellcey <sellcey@mips.com>
5685 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5686 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5687 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5688 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5690 2014-05-01 Steve Ellcey <sellcey@mips.com>
5692 * stdlib/longlong.h: Updated from GCC.
5694 2014-05-01 Will Newton <will.newton@linaro.org>
5695 Bernard Ogden <bernie.ogden@linaro.org>
5697 * NEWS: Update fixed bug list.
5700 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5702 2014-04-30 David S. Miller <davem@davemloft.net>
5704 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5705 (libc_feholdexcept_setround_sparc_ctx): New function.
5706 (libc_fesetenv_sparc_ctx): Likewise.
5707 (libc_feupdateenv_sparc_ctx): Likewise.
5708 (libc_feholdsetround_sparc_ctx): Likewise.
5709 (libc_feholdexcept_setround_ctx): Define.
5710 (libc_feholdexcept_setroundf_ctx): Likewise.
5711 (libc_feholdexcept_setroundl_ctx): Likewise.
5712 (libc_fesetenv_ctx): Likewise.
5713 (libc_fesetenvf_ctx): Likewise.
5714 (libc_fesetenvl_ctx): Likewise.
5715 (libc_feupdateenv_ctx): Likewise.
5716 (libc_feupdateenvf_ctx): Likewise.
5717 (libc_feupdateenvl_ctx): Likewise.
5718 (libc_feresetround_ctx): Likewise.
5719 (libc_feresetroundf_ctx): Likewise.
5720 (libc_feresetroundl_ctx): Likewise.
5721 (libc_feholdsetround_ctx): Likewise.
5722 (libc_feholdsetroundf_ctx): Likewise.
5723 (libc_feholdsetroundl_ctx): Likewise.
5725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5726 with __USE_GNU instead of XOPEN cpp guards.
5728 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5732 with XOPEN cpp guards.
5734 2014-04-30 Julian Brown <julian@codesourcery.com>
5737 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5740 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5743 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5745 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5746 * sysdeps/unix/sysv/linux/configure: Regenerated.
5747 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5748 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5749 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5750 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5751 * README: Update reference to required Linux kernel version.
5752 * manual/install.texi (Linux): Update reference to required Linux
5753 kernel headers version.
5754 * INSTALL: Regenerated.
5756 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5758 [POSIX] (limits.h): Likewise.
5759 [POSIX] (math.h): Likewise.
5760 [POSIX] (sys/wait.h): Likewise.
5761 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5763 [POSIX] (stddef.h): Do not allow header inclusion.
5765 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5767 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5769 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5771 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5772 Return immediately after lll_futex_wake.
5774 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5777 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5779 (datahead_init_pos): Call datahead_init_common early.
5780 (datahead_init_neg): Likewise.
5782 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5783 datahead_init_neg): New functions.
5784 * nscd/aicache.c (addhstaiX): Use them.
5785 * nscd/grpcache.c (cache_addgr): Likewise.
5786 * nscd/hstcache.c (cache_addhst): Likewise.
5787 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5788 * nscd/netgroupcache.c (do_notfound): Likewise.
5789 (addgetnetgrentX): Likewise.
5790 (addinnetgrX): Likewise.
5791 * nscd/pwdcache.c (cache_addpw): Likewise.
5792 * nscd/servicescache.c (cache_addserv): Likewise.
5794 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5795 Atsushi Onoe <atsushi@onoe.org>
5800 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5801 one response is valid.
5802 * resolv/res_send.c (send_dg): Check for validity of other
5803 response if the current response is a referral.
5805 2014-04-29 Steve Ellcey <sellcey@mips.com>
5807 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5809 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5812 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5813 Always divide by positive zero when computing -Inf result.
5814 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5815 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5817 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5820 FPSCR if value do not change.
5821 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5822 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5823 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5824 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5825 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5826 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5829 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5831 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5832 * sysdeps/unix/sysv/linux/hppa: Move directory from
5833 ports/systeps/unix/sysv/linux/hppa.
5834 * README: Update listing for hppa-*-linux-gnu.
5836 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5839 * manual/stdio.texi (Hook functions): Fix types of stream hook
5842 * socket/sys/socket.h: Fix typo in comment.
5844 2014-04-28 Wilco <wdijkstr@arm.com>
5846 * sysdeps/arm/fenv_private.h: New file.
5847 * sysdeps/arm/math_private.h: New file.
5848 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5850 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5852 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5854 (La_x86_64_retval): Likewise.
5856 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5858 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5859 fpsr if value didn't change.
5860 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5861 to fpcr if value didn't change.
5862 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5863 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5864 fpsr or fpcr if value didn't change.
5865 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5866 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5867 fpcr if value didn't change.
5868 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5869 to fpsr if value didn't change.
5871 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5873 * nptl/tst-sem3.c: Use test-skeleton.c
5874 (main): Rename to do_test. Use return instead of
5876 * nptl/tst-sem4.c: Use test-skeleton.c
5877 (main): Rename to do_test.
5879 2014-04-22 David S. Miller <davem@davemloft.net>
5881 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5882 (struct sigaction): New struct member __glibc_reserved0, change
5883 type of sa_flags to int.
5885 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5887 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5888 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5890 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5892 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5893 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5895 2014-04-22 Will Newton <will.newton@linaro.org>
5896 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5898 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5899 (__longjmp): Add longjmp and longjmp_target SystemTap
5901 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5902 (__sigsetjmp): Add setjmp SystemTap probe.
5904 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5906 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5909 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5911 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5913 * sysdeps/powerpc/fpu/fenv_private.h
5914 (libc_feholdexcept_setroundl_ctx): Define to
5915 libc_feholdexcept_setround_ppc_ctx.
5916 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5917 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5918 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5919 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5921 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5923 * sysdeps/aarch64/math-tests.h: New file.
5925 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5927 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5930 Check and set bit_AVX2_Usable.
5931 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5933 (bit_AVX2): Likewise.
5934 (index_AVX2_Usable): Likewise.
5935 (CPUID_AVX2): Likewise.
5936 (HAS_AVX2): Likewise.
5938 2014-04-17 Will Newton <will.newton@linaro.org>
5940 * manual/setjmp.texi (System V contexts): Add note that
5941 calling setcontext on a context created by a call to a
5942 signal handler is undefined. Update text to note that
5943 setcontext from a signal handler is possible but not
5947 * stdlib/tst-setcontext.c: Include signal.h.
5948 (main): Check that the signal stack before and
5949 after swapcontext is the same.
5951 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5952 Re-implement to restore registers in user code and avoid
5953 rt_sigreturn system call.
5955 2014-04-17 Wilco <wdijkstr@arm.com>
5957 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5958 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5959 * math/test-fenv.c: Skip exception trap tests on targets which only
5960 support non-stop mode.
5962 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5963 Wilco Dijkstra <wilco.dijkstra@arm.com>
5965 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5966 (libc_feholdsetround_aarch64_ctx)
5967 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5968 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5969 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5970 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5971 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5972 (libc_feresetround_noexl_ctx): Define.
5974 2014-04-16 Richard Henderson <rth@redhat.com>
5976 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5978 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5981 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5982 const from the non-libc, non-ldso copy.
5984 * sysdeps/alpha/libm-test-ulps: Regenerate.
5986 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5987 Wilco Dijkstra <wilco.dijkstra@arm.com>
5989 * sysdeps/aarch64/fpu/math_private.h: New file.
5991 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5993 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5995 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5997 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5998 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5999 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6000 Intel MPX bound registers before _dl_profile_fixup.
6001 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6002 registers after _dl_profile_fixup. Save and restore bound
6003 registers bnd0/bnd1 when calling _dl_call_pltexit.
6004 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6005 (LR_BND_OFFSET): Likewise.
6006 (LRV_BND0_OFFSET): Likewise.
6007 (LRV_BND1_OFFSET): Likewise.
6009 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6011 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6013 * sysdeps/mach/hurd/i386/tls.h: ... here.
6014 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6015 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6018 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6020 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6022 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6024 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6026 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6029 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6030 * sysdeps/s390/configure: Regenerate.
6033 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6034 Set round-to-nearest internally to reduce error accumulation.
6036 2014-04-16 Alan Modra <amodra@gmail.com>
6040 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6041 * math/libm-test.inc (frexp_test_data): Add tests.
6042 * NEWS: Update fixed bug list.
6044 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6046 * benchtests/Makefile: Depend on libraries in build directory.
6047 (bench-math): Separate out math tests.
6048 (bench-pthread): Separate out pthread tests.
6049 (bench): Include math and pthread tests.
6051 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6054 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6055 _dl_debug_initialize.
6057 * configure.ac: Remove SELinux header check.
6058 * configure: Regenerate.
6059 * nscd/selinux.c (perms): Array of const char* to permission names.
6060 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6061 default policy. Call string_to_security_class and string_to_av_perm to
6062 translate strings. Enforce default policy and call avs_has_perm with
6063 results of translated strings.
6065 2014-04-13 David S. Miller <davem@davemloft.net>
6067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6069 2014-04-12 Allan McRae <allan@archlinux.org>
6072 * manual/string.texi (Collation Functions): Fix qsort argument
6074 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6076 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6078 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6079 Make the test a no-op if there are no exceptions defined.
6081 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6083 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6084 enable-hardcoded-path-in-tests
6086 2014-04-11 Will Newton <will.newton@linaro.org>
6088 * benchtests/Makefile (extra-objs): Add json-lib.o.
6089 (bench-func): Tidy up JSON output.
6090 * benchtests/bench-skeleton.c: Include json-lib.h.
6091 (main): Use JSON library functions to do output of
6093 * benchtests/bench-timing-type.c (main): Output the
6094 timing type simply, leaving formatting to the user.
6095 * benchtests/json-lib.c: New file.
6096 * benchtests/json-lib.h: Likewise.
6098 2014-04-11 Torvald Riegel <triegel@redhat.com>
6101 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6102 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6103 memory barriers. Add comments.
6104 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6105 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6106 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6107 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6108 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6109 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6111 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6113 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6114 * sysdeps/s390/s390-64/configure.ac: ... this ...
6115 * sysdeps/s390/configure.ac: ... to here.
6116 * sysdeps/s390/s390-32/configure: Delete file.
6117 * sysdeps/s390/s390-64/configure: Delete file.
6118 * sysdeps/s390/configure: Regenerate.
6120 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6122 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6124 2014-04-11 Will Newton <will.newton@linaro.org>
6126 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6127 to zero if it is not defined elsewhere. (mtrim): Test
6128 the value of MALLOC_DEBUG with #if rather than #ifdef.
6130 2014-04-10 Torvald Riegel <triegel@redhat.com>
6132 * benchtests/pthread_once-inputs: New file.
6133 * benchtests/pthread_once-source.c: New file.
6134 * benchtests/README: Update documentation.
6136 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6137 H.J. Lu <hongjiu.lu@intel.com>
6139 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6140 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6141 * sysdeps/x86_64/configure: Regenerated.
6142 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6144 (REGISTER_SAVE_RAX): Likewise.
6145 (REGISTER_SAVE_RCX): Likewise.
6146 (REGISTER_SAVE_RDX): Likewise.
6147 (REGISTER_SAVE_RSI): Likewise.
6148 (REGISTER_SAVE_RDI): Likewise.
6149 (REGISTER_SAVE_R8): Likewise.
6150 (REGISTER_SAVE_R9): Likewise.
6151 (REGISTER_SAVE_BND0): Likewise.
6152 (REGISTER_SAVE_BND1): Likewise.
6153 (REGISTER_SAVE_BND2): Likewise.
6154 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6155 bound registers when calling _dl_fixup.
6157 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6159 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6160 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6162 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6163 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6164 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6165 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6166 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6167 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6168 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6170 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6173 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6174 pathconf(_PC_NAME_MAX).
6176 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6180 (__PTHREAD_SPINS): Move definition to ...
6181 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6182 (__PTHREAD_SPINS): ... here.
6183 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6184 (__PTHREAD_SPIN): Likewise.
6185 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6186 (__PTHREAD_SPIN): Likewise.
6187 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6188 (__PTHREAD_SPIN): Likewise.
6189 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6190 (__PTHREAD_SPIN): Likewise.
6191 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6192 (__PTHREAD_SPIN): Likewise.
6193 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6194 (__PTHREAD_SPIN): Likewise.
6195 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6196 (__PTHREAD_SPIN): Likewise.
6197 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6198 (__PTHREAD_SPIN): Likewise.
6199 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6200 (__PTHREAD_SPIN): Likewise.
6201 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6202 (__PTHREAD_SPIN): Likewise.
6203 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6204 (__PTHREAD_SPIN): Likewise.
6205 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6206 (__PTHREAD_SPIN): Likewise.
6208 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6209 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6210 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6211 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6213 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6214 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6215 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6216 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6218 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6219 strlen symbol for non multi-arch builds.
6220 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6221 missing hidden_def and weak_alias.
6223 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6225 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6227 2014-04-07 Will Newton <will.newton@linaro.org>
6229 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6230 and contents. [!_LIBC] Remove #ifndef and contents.
6231 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6232 * string/memccpy.c (__memccpy): Use ANSI prototype.
6233 * string/memfrob.c (memfrob): Likewise.
6234 * string/strcoll.c (STRCOLL): Likewise.
6235 * string/strlen.c (strlen): Likewise.
6236 * string/strtok.c (STRTOK): Likewise.
6237 * string/strcat.c: Remove unused #include of memcopy.h.
6238 (strcat): Use ANSI prototype.
6239 * string/strchr.c: Remove unused #include of memcopy.h.
6240 (strchr): Use ANSI prototype.
6241 * string/strcmp.c: Remove unused #include of memcopy.h.
6242 (strcmp): Use ANSI prototype.
6243 * string/strcpy.c: Remove unused #include of memcopy.h.
6244 (strcpy): Use ANSI prototype.
6246 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6248 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6249 * config.make.in (config-extra-cppflags): Set it from
6250 libc_extra_cppflags.
6251 * configure.ac (libc_extra_cflags): Make it accumulate over
6252 configure fragments.
6253 (libc_extra_cppflags): New flag.
6254 * configure. Regenerate.
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6256 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6257 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6261 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6262 result for FE_DOWNWARD rounding mode.
6263 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6267 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6269 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6270 in function argument name.
6272 2014-04-03 David Svoboda <svoboda@cert.org>
6275 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6278 2014-04-03 Roland McGrath <roland@hack.frob.com>
6280 * elf/dl-unmap-segments.h: New file.
6281 * sysdeps/generic/ldsodefs.h
6282 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6283 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6284 * elf/dl-fptr.c: Likewise.
6285 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6286 * sysdeps/aarch64/tlsdesc.c: Likewise.
6287 * sysdeps/arm/tlsdesc.c: Likewise.
6288 * sysdeps/i386/tlsdesc.c: Likewise.
6289 * sysdeps/tile/dl-runtime.c: Likewise.
6290 * sysdeps/x86_64/tlsdesc.c: Likewise.
6291 * elf/dl-load.h: New file.
6292 * elf/dl-load.c: Include it.
6293 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6294 Macros moved to dl-load.h.
6295 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6296 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6297 Use _dl_unmap_segments in place of __munmap.
6298 Break out segment-mapping loop into ...
6299 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6301 2014-04-03 Will Newton <will.newton@linaro.org>
6303 * elf/dl-lookup.c (do_lookup_x): Remove comment
6304 referring to nested function and move variable
6305 declarations down to before first use.
6307 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6311 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6313 * math/s_catanf.c (__catanf): Likewise.
6314 * math/s_catanh.c (__catanh): Likewise.
6315 * math/s_catanhf.c (__catanhf): Likewise.
6316 * math/s_catanhl.c (__catanhl): Likewise.
6317 * math/s_catanl.c (__catanl): Likewise.
6318 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6319 by positive zero when computing -Inf result.
6320 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6321 (catanh_test): Likewise.
6322 * sysdeps/i386/fpu/libm-test-ulps: Update.
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6326 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6327 instead of using underflowing value in computing result.
6328 * math/s_clog10.c (__clog10): Likewise.
6329 * math/s_clog10f.c (__clog10f): Likewise.
6330 * math/s_clog10l.c (__clog10l): Likewise.
6331 * math/s_clogf.c (__clogf): Likewise.
6332 * math/s_clogl.c (__clogl): Likewise.
6333 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6334 (clog10_test): Likewise.
6335 * sysdeps/i386/fpu/libm-test-ulps: Update.
6336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6338 2014-04-02 Alan Modra <amodra@gmail.com>
6341 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6342 output when value is near a power of two. Use int64_t for lx and
6343 remove casts. Use decimal rather than hex exponent constants.
6344 Don't use long double multiplication when double will suffice.
6345 * math/libm-test.inc (nextafter_test_data): Add tests.
6346 * NEWS: Add 16739 and 16786 to bug list.
6348 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6350 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6352 2014-04-01 Will Newton <will.newton@linaro.org>
6354 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6355 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6357 2014-04-01 Florian Weimer <fweimer@redhat.com>
6360 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6361 * nptl/tst-setuid2.c: New file.
6362 * nptl/Makefile (xtests): Add tst-setuid2.
6364 2014-04-01 Alan Modra <amodra@gmail.com>
6367 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6369 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6373 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6374 set errno as appropriate.
6375 * math/w_scalbf.c (__scalbf): Likewise.
6376 * math/w_scalbl.c (__scalbl): Likewise.
6377 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6378 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6379 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6383 * math/w_atan2.c: Include <errno.h>.
6384 (__atan2): Set errno for result underflowing to zero.
6385 * math/w_atan2f.c: Include <errno.h>.
6386 (__atan2f): Set errno for result underflowing to zero.
6387 * math/w_atan2l.c: Include <errno.h>.
6388 (__atan2l): Set errno for result underflowing to zero.
6389 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6391 * math/auto-libm-test-out: Regenerated.
6393 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6396 Encode instruction correctly in little endian.
6397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6401 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6406 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6409 * sysdeps/unix/sysv/linux/kernel-features.h
6410 [__sparc__ && !__arch64__ && !__sparc_v9__]
6411 (__ASSUME_SET_ROBUST_LIST): Do not define.
6412 [__sparc__ && !__arch64__ && !__sparc_v9__]
6413 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6414 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6416 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6417 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6418 (__ASSUME_REQUEUE_PI): Likewise.
6419 (__ASSUME_SET_ROBUST_LIST): Likewise.
6420 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6421 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6424 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6426 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6428 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6430 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6431 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6433 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6434 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6438 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6439 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6440 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6442 2014-03-31 Will Newton <will.newton@linaro.org>
6444 * benchtests/Makefile (bench): Add ffs and ffsll to list
6446 * benchtests/ffs-inputs: New file.
6447 * benchtests/ffsll-inputs: Likewise.
6449 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6452 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6453 too large before casting to int.
6454 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6455 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6456 * math/libm-test.inc (scalb_test_data): Add more tests.
6458 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6460 * benchtests/Makefile (DETAILED_OPT): New make option.
6461 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6463 * benchtests/bench-skeleton.c: Include stdbool.h.
6464 (main): Store and print timings per input.
6465 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6466 member to each argument value.
6467 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6468 (_print_arg_data): Initialize per-input timing to 0.
6470 * benchtests/Makefile (timing-type): New binary.
6471 (bench-clean): Also remove bench-timing-type.
6472 (bench): New target for timing-type.
6473 (bench-func): Print output in JSON format.
6474 * benchtests/bench-skeleton.c (main): Print output in JSON
6476 * benchtests/bench-timing-type.c: New file.
6477 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6478 (TIMING_PRINT_STATS): Remove.
6479 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6482 * benchtests/bench-modf.c: Remove.
6483 * benchtests/modf-inputs: New inputs file.
6485 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6488 * math/s_clog10.c (M_PI_LOG10E): New macro.
6489 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6490 imaginary parts are 0.
6491 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6492 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6493 imaginary parts are 0.
6494 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6495 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6496 imaginary parts are 0.
6497 * math/libm-test.inc (clog10_test_data): Update expected results
6498 for when real and imaginary parts are 0.
6500 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6502 * elf/dl-load.c: Finish conversion of __builtin_expect into
6505 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6509 1+x for argument with exponent below -67.
6510 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6512 * math/auto-libm-test-in: Add more tests of exp.
6513 * math/auto-libm-test-out: Regenerated.
6515 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6518 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6519 (nscd_getnetgrent): Use it.
6522 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6525 2014-03-27 Andi Kleen <ak@linux.intel.com>
6527 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6528 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6529 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6530 (lll_robust_unlock): Remove out of line section. Use cfi
6532 (LLL_STUB_UNWIND_INFO*): Remove.
6533 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6534 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6535 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6536 (lll_robust_unlock): Remove out of line section. Use cfi
6538 (LLL_STUB_UNWIND_INFO*): Remove.
6540 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6543 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6546 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6548 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6550 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6553 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6555 * math/test-fenv-preserve.c: New file.
6556 * math/Makefile (tests): Add test-fenv-preserve.
6558 2014-03-26 Will Newton <will.newton@linaro.org>
6560 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6562 2014-03-25 Roland McGrath <roland@hack.frob.com>
6564 * scripts/versionlist.awk: Partition the version sets and emit all
6565 GLIBC_* (sorted) before all others (sorted).
6567 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6569 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6570 GLIBC_2.2.5 version.
6572 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6574 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6582 2014-03-25 Andreas Schwab <schwab@suse.de>
6584 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6585 label to be used after in6ailist is initialized.
6587 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6590 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6592 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6596 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6598 (fp_formats): Update initializers.
6599 (init_fp_formats): Initialize new field.
6600 (output_for_one_input_case): Allow underflow for results up to
6602 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6603 * math/auto-libm-test-in: Don't mark some underflows from asin and
6605 * math/auto-libm-test-out: Regenerated.
6606 * sysdeps/i386/fpu/libm-test-ulps: Update.
6607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6609 2014-03-25 Andreas Schwab <schwab@suse.de>
6611 * libio/Makefile (tst-ftell-partial-wide-ENV)
6612 (tst-ftell-active-handler-ENV): Define.
6614 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6616 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6618 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6620 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6622 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6624 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6625 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6626 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6628 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6631 * elf/dl-load.c (open_verify): Add mode parameter.
6632 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6633 (open_path): Change from boolean 'secure' to complete flag 'mode'
6634 (_dl_map_object): Adjust.
6635 * elf/Makefile (tests): Add tst-dlopen-aout.
6636 * elf/tst-dlopen-aout.c: New test.
6638 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6641 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6642 (struct stat): Rename member pad0 to __glibc_reserved0.
6645 * sysdeps/s390/s390-32/bits/wordsize.h
6646 (__WORDSIZE32_SIZE_ULONG): New define.
6647 * sysdeps/s390/s390-64/bits/wordsize.h
6648 (__WORDSIZE32_SIZE_ULONG): Likewise.
6649 * sysdeps/generic/stdint.h (SIZE_MAX):
6650 Define as UL if __WORDSIZE32_SIZE_ULONG.
6653 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6654 (__glibc_reserved0): New variable.
6655 (sa_flags): Change type to int.
6657 * posix/Makefile (before-compile): Use += before-compile instead
6660 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6661 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6663 2014-03-20 Andreas Schwab <schwab@suse.de>
6666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6667 non-matching result from nscd.
6669 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6671 * scripts/bench.py: Moved to ...
6672 * benchtests/scripts/bench.py: ... here.
6673 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6675 2014-03-24 Andreas Schwab <schwab@suse.de>
6678 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6679 alloca_account and account alloca use for struct in6ailist.
6681 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6684 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6685 rounding mode to recompute results that overflow to infinity or
6687 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6689 * math/auto-libm-test-out: Regenerated.
6690 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6691 (ccosh_test): Likewise.
6692 (csin_test_data): Use plus_oflow.
6693 (csin_test): Use ALL_RM_TEST.
6694 (csinh_test_data): Use plus_oflow.
6695 (csinh_test): Use ALL_RM_TEST.
6696 * sysdeps/i386/fpu/libm-test-ulps: Update.
6697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6699 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6702 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6703 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6706 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6708 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6709 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6710 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6713 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6714 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6716 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6717 * sysdeps/i386/fpu/libm-test-ulps: Update.
6718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6720 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6722 * scripts/bench.pl: Remove file.
6723 * scripts/bench.py: New benchmark script.
6724 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6725 * benchtests/README: Mention python dependency.
6726 * scripts/pylintrc: New file.
6727 * scripts/pylint: New file.
6729 * bits/mathdef.h: Use #ifdef instead of #if.
6730 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6731 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6732 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6733 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6734 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6735 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6737 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6740 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6742 and strpbrk-ppc64 objects.
6743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6744 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6745 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6746 multiarch strpbrk for POWER7.
6747 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6748 multiarch strpbrk for PPC64.
6749 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6751 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6754 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6756 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6757 (atan_test): Likewise.
6758 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6759 (atanh_test): Use ALL_RM_TEST.
6760 (atan2_test_data): Likewise.
6761 (cabs_test): Likewise.
6762 (cacosh_test): Likewise.
6763 (carg_test): Likewise.
6764 (casin_test): Likewise.
6765 (casinh_test): Likewise.
6766 (cbrt_test): Likewise.
6767 (csqrt_test): Likewise.
6768 (erf_test): Likewise.
6769 (erfc_test): Likewise.
6770 (pow10_test): Likewise.
6771 (exp2_test): Likewise.
6772 (hypot_test): Likewise.
6773 (j0_test): Likewise.
6774 (j1_test): Likewise.
6775 (lgamma_test): Likewise.
6776 (gamma_test): Likewise.
6777 (sincos_test): Likewise.
6778 (tanh_test): Likewise.
6779 (y0_test): Likewise.
6780 (y1_test): Likewise.
6781 * sysdeps/i386/fpu/libm-test-ulps: Update.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6784 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6786 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6788 and strcspn-ppc64 objects.
6789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6790 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6791 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6792 multiarch strcspn for POWER7.
6793 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6794 multiarch strcspn for PPC64.
6795 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6797 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6800 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6802 * math/gen-libm-test.pl (generate_testfile): Expect only function
6803 name as argument to AUTO_TESTS_* and pass results for all rounding
6804 modes to parse_args.
6805 (parse_auto_input): Separate inputs of automatic tests from
6806 outputs before storing in %auto_tests.
6807 * math/libm-test.inc (acos_test_data): Update call to
6809 (acos_test): Use ALL_RM_TEST.
6810 (acos_tonearest_test_data): Remove.
6811 (acos_test_tonearest): Likewise.
6812 (acos_towardzero_test_data): Likewise.
6813 (acos_test_towardzero): Likewise.
6814 (acos_downward_test_data): Likewise.
6815 (acos_test_downward): Likewise.
6816 (acos_upward_test_data): Likewise.
6817 (acos_test_upward): Likewise.
6818 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6819 (asin_test_data): Likewise.
6820 (asin_test): Use ALL_RM_TEST.
6821 (asin_tonearest_test_data): Remove.
6822 (asin_test_tonearest): Likewise.
6823 (asin_towardzero_test_data): Likewise.
6824 (asin_test_towardzero): Likewise.
6825 (asin_downward_test_data): Likewise.
6826 (asin_test_downward): Likewise.
6827 (asin_upward_test_data): Likewise.
6828 (asin_test_upward): Likewise.
6829 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6830 (atan_test_data): Likewise.
6831 (atanh_test_data): Likewise.
6832 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6833 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6834 (carg_test_data): Likewise.
6835 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6836 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6837 (ccosh_test_data): Likewise.
6838 (cexp_test_data): Likewise.
6839 (clog_test_data): Likewise.
6840 (clog10_test_data): Likewise.
6841 (cos_test_data): Update call to AUTO_TESTS_f_f.
6842 (cos_test): Use ALL_RM_TEST.
6843 (cos_tonearest_test_data): Remove.
6844 (cos_test_tonearest): Likewise.
6845 (cos_towardzero_test_data): Likewise.
6846 (cos_test_towardzero): Likewise.
6847 (cos_downward_test_data): Likewise.
6848 (cos_test_downward): Likewise.
6849 (cos_upward_test_data): Likewise.
6850 (cos_test_upward): Likewise.
6851 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6852 (cosh_test): Use ALL_RM_TEST.
6853 (cosh_tonearest_test_data): Remove.
6854 (cosh_test_tonearest): Likewise.
6855 (cosh_towardzero_test_data): Likewise.
6856 (cosh_test_towardzero): Likewise.
6857 (cosh_downward_test_data): Likewise.
6858 (cosh_test_downward): Likewise.
6859 (cosh_upward_test_data): Likewise.
6860 (cosh_test_upward): Likewise.
6861 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6862 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6863 (ctan_test_data): Likewise.
6864 (ctan_test): Use ALL_RM_TEST.
6865 (ctan_tonearest_test_data): Remove.
6866 (ctan_test_tonearest): Likewise.
6867 (ctan_towardzero_test_data): Likewise.
6868 (ctan_test_towardzero): Likewise.
6869 (ctan_downward_test_data): Likewise.
6870 (ctan_test_downward): Likewise.
6871 (ctan_upward_test_data): Likewise.
6872 (ctan_test_upward): Likewise.
6873 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6874 (ctanh_test): Use ALL_RM_TEST.
6875 (ctanh_tonearest_test_data): Remove.
6876 (ctanh_test_tonearest): Likewise.
6877 (ctanh_towardzero_test_data): Likewise.
6878 (ctanh_test_towardzero): Likewise.
6879 (ctanh_downward_test_data): Likewise.
6880 (ctanh_test_downward): Likewise.
6881 (ctanh_upward_test_data): Likewise.
6882 (ctanh_test_upward): Likewise.
6883 (erf_test_data): Update call to AUTO_TESTS_f_f.
6884 (erfc_test_data): Likewise.
6885 (exp_test_data): Likewise.
6886 (exp_test): Use ALL_RM_TEST.
6887 (exp_tonearest_test_data): Remove.
6888 (exp_test_tonearest): Likewise.
6889 (exp_towardzero_test_data): Likewise.
6890 (exp_test_towardzero): Likewise.
6891 (exp_downward_test_data): Likewise.
6892 (exp_test_downward): Likewise.
6893 (exp_upward_test_data): Likewise.
6894 (exp_test_upward): Likewise.
6895 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6896 (exp10_test): Use ALL_RM_TEST.
6897 (exp10_tonearest_test_data): Remove.
6898 (exp10_test_tonearest): Likewise.
6899 (exp10_towardzero_test_data): Likewise.
6900 (exp10_test_towardzero): Likewise.
6901 (exp10_downward_test_data): Likewise.
6902 (exp10_test_downward): Likewise.
6903 (exp10_upward_test_data): Likewise.
6904 (exp10_test_upward): Likewise.
6905 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6906 (expm1_test_data): Likewise.
6907 (expm1_test): Use ALL_RM_TEST.
6908 (expm1_tonearest_test_data): Remove.
6909 (expm1_test_tonearest): Likewise.
6910 (expm1_towardzero_test_data): Likewise.
6911 (expm1_test_towardzero): Likewise.
6912 (expm1_downward_test_data): Likewise.
6913 (expm1_test_downward): Likewise.
6914 (expm1_upward_test_data): Likewise.
6915 (expm1_test_upward): Likewise.
6916 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6917 (fma_test): Use ALL_RM_TEST.
6918 (fma_towardzero_test_data): Remove.
6919 (fma_test_towardzero): Likewise.
6920 (fma_downward_test_data): Likewise.
6921 (fma_test_downward): Likewise.
6922 (fma_upward_test_data): Likewise.
6923 (fma_test_upward): Likewise.
6924 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6925 (j0_test_data): Update call to AUTO_TESTS_f_f.
6926 (j1_test_data): Likewise.
6927 (jn_test_data): Update call to AUTO_TESTS_if_f.
6928 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6929 (log_test_data): Update call to AUTO_TESTS_f_f.
6930 (log10_test_data): Likewise.
6931 (log1p_test_data): Likewise.
6932 (log2_test_data): Likewise.
6933 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6934 (pow_tonearest_test_data): Likewise.
6935 (sin_test_data): Update call to AUTO_TESTS_f_f.
6936 (sin_test): Use ALL_RM_TEST.
6937 (sin_tonearest_test_data): Remove.
6938 (sin_test_tonearest): Likewise.
6939 (sin_towardzero_test_data): Likewise.
6940 (sin_test_towardzero): Likewise.
6941 (sin_downward_test_data): Likewise.
6942 (sin_test_downward): Likewise.
6943 (sin_upward_test_data): Likewise.
6944 (sin_test_upward): Likewise.
6945 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6946 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6947 (sinh_test): Use ALL_RM_TEST.
6948 (sinh_tonearest_test_data): Remove.
6949 (sinh_test_tonearest): Likewise.
6950 (sinh_towardzero_test_data): Likewise.
6951 (sinh_test_towardzero): Likewise.
6952 (sinh_downward_test_data): Likewise.
6953 (sinh_test_downward): Likewise.
6954 (sinh_upward_test_data): Likewise.
6955 (sinh_test_upward): Likewise.
6956 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6957 (sqrt_test): Use ALL_RM_TEST.
6958 (sqrt_tonearest_test_data): Remove.
6959 (sqrt_test_tonearest): Likewise.
6960 (sqrt_towardzero_test_data): Likewise.
6961 (sqrt_test_towardzero): Likewise.
6962 (sqrt_downward_test_data): Likewise.
6963 (sqrt_test_downward): Likewise.
6964 (sqrt_upward_test_data): Likewise.
6965 (sqrt_test_upward): Likewise.
6966 (tan_test_data): Update call to AUTO_TESTS_f_f.
6967 (tan_test): Use ALL_RM_TEST.
6968 (tan_tonearest_test_data): Remove.
6969 (tan_test_tonearest): Likewise.
6970 (tan_towardzero_test_data): Likewise.
6971 (tan_test_towardzero): Likewise.
6972 (tan_downward_test_data): Likewise.
6973 (tan_test_downward): Likewise.
6974 (tan_upward_test_data): Likewise.
6975 (tan_test_upward): Likewise.
6976 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6977 (tgamma_test_data): Likewise.
6978 (y0_test_data): Likewise.
6979 (y1_test_data): Likewise.
6980 (yn_test_data): Update call to AUTO_TESTS_if_f.
6981 (main): Do not call removed functions.
6983 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6985 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6986 (ldexp_test_data): Remove.
6987 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6989 (scalb_test): Use ALL_RM_TEST.
6991 2014-03-19 Andreas Schwab <schwab@suse.de>
6993 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6995 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6998 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6999 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7000 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7001 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7002 (__ASSUME_PREADV): Undefine.
7003 (__ASSUME_PWRITEV): Likewise.
7005 2014-03-18 Roland McGrath <roland@hack.frob.com>
7007 * bits/mman-linux.h: Add comment about non-Linux use.
7008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7009 bits/mman-linux.h resting place.
7011 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7012 * bits/mman-linux.h: ... here.
7014 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016 * conform/conformtest.pl: Add standard definition when calling C
7017 preprocessor on data files.
7018 (checknamespace): Remove unused variable.
7020 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7022 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7023 minus_oflow, plus_uflow and minus_uflow in expected results.
7024 * math/libm-test.inc (scalbn_test_data): Add more tests of
7025 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7027 (scalbn_test): Use ALL_RM_TEST.
7028 (scalbln_test_data): Add more tests of negative arguments. Use
7029 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7030 (scalbln_test): Use ALL_RM_TEST.
7032 2014-03-18 Roland McGrath <roland@hack.frob.com>
7034 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7036 2014-03-18 Will Newton <will.newton@linaro.org>
7038 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7041 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7043 * Makerules [!subdir] (check-abi): Exit with error status if a
7046 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7048 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7049 for rint. Include results for all rounding modes.
7050 (nearbyint_test): Use ALL_RM_TEST.
7051 (rint_test_data): Include all tests used for nearbyint.
7053 2014-03-17 Will Newton <will.newton@linaro.org>
7055 * nptl/sysdeps/pthread/pthread.h: Revert previous
7058 * sysdeps/generic/ldsodefs.h: Revert previous
7061 * libio/genops.c: Revert previous change.
7062 * libio/libioP.h: Likewise.
7063 * stdio-common/vfprintf.c: Likewise.
7065 * sysdeps/generic/math_private.h: Revert previous
7068 * sysdeps/generic/math_private.h: Check whether
7069 HAVE_RM_CTX is defined with #ifdef rather
7072 * argp/argp-fmtstream.h: Check whether
7073 __STRICT_ANSI__ is defined with #ifdef rather
7075 * argp/argp.h: Likewise.
7077 * libio/genops.c: Check whether
7078 _IO_JUMPS_OFFSET is defined with #ifdef rather
7080 * libio/libioP.h: Likewise.
7081 * stdio-common/vfprintf.c: Likewise.
7083 * sysdeps/generic/ldsodefs.h: Check whether
7084 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7087 * nptl/sysdeps/pthread/pthread.h: Check
7088 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7091 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7093 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7095 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7099 * libio/fileops.c (_IO_file_open): Seek to end of file but
7100 don't cache the offset.
7101 (get_file_offset): Remove function.
7102 (do_ftell): Use cached offset when available.
7103 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7104 don't cache the offset.
7105 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7107 (do_one_test): Call it.
7108 (do_ftell_test): Fix up expected old offset for a+ mode.
7109 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7112 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7113 up test status with function return status.
7114 (do_write_test): Likewise.
7115 (do_append_test): Likewise.
7117 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7118 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7121 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7123 * math/gen-libm-test.pl (parse_args): Handle results specified for
7124 each rounding mode separately.
7125 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7126 tests and results from lrint_tonearest_test_data,
7127 lrint_towardzero_test_data, lrint_downward_test_data and
7128 lrint_upward_test_data.
7129 (lrint_test): Use ALL_RM_TEST.
7130 (lrint_tonearest_test_data): Remove.
7131 (lrint_test_tonearest): Likewise.
7132 (lrint_towardzero_test_data): Likewise.
7133 (lrint_test_towardzero): Likewise.
7134 (lrint_downward_test_data): Likewise.
7135 (lrint_test_downward): Likewise.
7136 (lrint_upward_test_data): Likewise.
7137 (lrint_test_upward): Likewise.
7138 (llrint_test_data): Merge in per-rounding-mode tests and results
7139 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7140 llrint_downward_test_data and llrint_upward_test_data.
7141 (llrint_test): Use ALL_RM_TEST.
7142 (llrint_tonearest_test_data): Remove.
7143 (llrint_test_tonearest): Likewise.
7144 (llrint_towardzero_test_data): Likewise.
7145 (llrint_test_towardzero): Likewise.
7146 (llrint_downward_test_data): Likewise.
7147 (llrint_test_downward): Likewise.
7148 (llrint_upward_test_data): Likewise.
7149 (llrint_test_upward): Likewise.
7150 (rint_test_data): Merge in per-rounding-mode tests and results
7151 from rint_tonearest_test_data, rint_towardzero_test_data,
7152 rint_downward_test_data and rint_upward_test_data. Add
7153 per-rounding-mode results for tests not in those arrays.
7154 (rint_test): Use ALL_RM_TEST.
7155 (rint_tonearest_test_data): Remove.
7156 (rint_test_tonearest): Likewise.
7157 (rint_towardzero_test_data): Likewise.
7158 (rint_test_towardzero): Likewise.
7159 (rint_downward_test_data): Likewise.
7160 (rint_test_downward): Likewise.
7161 (rint_upward_test_data): Likewise.
7162 (rint_test_upward): Likewise.
7163 (main): Don't call removed functions.
7165 2014-03-14 Roland McGrath <roland@hack.frob.com>
7167 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7168 "Compiled on ..." crapola. It is anti-useful.
7170 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7172 * scripts/evaluate-test.sh: Handle fourth argument to determine
7173 whether test run should stop on failure.
7174 * Makeconfig (stop-on-test-failure): New variable.
7175 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7176 $(stop-on-test-failure).
7177 * Makefile (tests): Give a summary of results from testing and
7178 exit with failure status if they include an ERROR or FAIL.
7180 * manual/install.texi (Configuring and compiling): Mention
7181 stop-on-test-failure=y.
7182 * INSTALL: Regenerated.
7184 2014-03-14 Roland McGrath <roland@hack.frob.com>
7186 * scripts/versionlist.awk: New file.
7187 * Makerules [$(build-shared) = yes]
7188 (postclean-generated): Add Versions.def, not Versions.def.v and
7190 ($(common-objpfx)Versions.def.v.i): Target removed.
7191 ($(common-objpfx)Versions.def): New target.
7192 ($(common-objpfx)Versions.all): Depend on that rather that
7193 $(common-objpfx)Versions.def.v.
7194 * Versions.def: File removed.
7196 * Makeconfig (+gccwarn): Add -Wundef.
7197 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7198 a dl-sysdep.h breaking its contract.
7199 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7200 * include/stackinfo.h: New file.
7201 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7202 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7203 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7204 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7205 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7206 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7207 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7208 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7209 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7210 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7211 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7212 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7213 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7214 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7215 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7217 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7220 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7222 * math/libm-test.inc (round_test_data): Add more tests.
7225 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7227 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7230 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7232 * math/libm-test.inc (ceil_test_data): Add more tests.
7234 * math/libm-test.inc (trunc_test_data): Add more tests related to
7237 2014-03-14 Roland McGrath <roland@hack.frob.com>
7239 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7240 with #if rather than #ifdef.
7241 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7243 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7245 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7246 first. Disable AVX-512 GCC support if assembler doesn't support
7248 * sysdeps/x86_64/configure: Regenerated.
7250 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7252 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7253 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7254 (__old_pthread_attr_setstack): Likewise.
7255 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7256 [!_STACK_GROWS_DOWN]: Likewise.
7258 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7260 * config.make.in (have-bash2): Delete.
7261 * configure.ac (libc_cv_have_bash2): Delete.
7262 * configure: Regenerate.
7263 * elf/Makefile (common-ldd-rewrite): Rename to ...
7264 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7265 (sh-ldd-rewrite): Delete.
7266 (bash-ldd-rewrite): Delete.
7267 (have-bash2): Delete checks.
7268 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7271 * config.make.in (have-ksh): Delete.
7273 * configure.ac (libc_cv_have_ksh): Delete.
7274 * configure: Regenerate.
7276 * elf/Makefile: Delete $(have-ksh) check.
7277 ($(objpfx)sotruss): Change KSH to BASH.
7278 * elf/sotruss.ksh: Rename to ...
7279 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7280 function style to match POSIX. Drop ksh vim mode setting.
7282 * manual/time.texi (Specifying the Time Zone with TZ): Change
7283 Tuesday to Thursday.
7285 * debug/tst-longjmp_chk2.c: Update header comment.
7286 (stackoverflow_handler): Add comment. Call assert on pass value.
7288 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7290 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7291 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7292 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7293 (La_x86_64_vector): Add zmm.
7294 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7295 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7296 ($(objpfx)tst-audit10): New target.
7297 ($(objpfx)tst-audit10.out): Likewise.
7298 (tst-audit10-ENV): New.
7299 (AVX512-CFLAGS): Likewise.
7300 (CFLAGS-tst-audit10.c): Likewise.
7301 (CFLAGS-tst-auditmod10a.c): Likewise.
7302 (CFLAGS-tst-auditmod10b.c): Likewise.
7303 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7304 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7305 * sysdeps/x86_64/configure: Regenerated.
7306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7307 AVX-512 zmm register support.
7308 (_dl_x86_64_save_sse): Likewise.
7309 (_dl_x86_64_restore_sse): Likewise.
7310 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7311 size vector registers.
7312 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7313 (ZMM_SIZE): Likewise.
7314 * sysdeps/x86_64/tst-audit10.c: New file.
7315 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7316 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7318 2014-03-13 Roland McGrath <roland@hack.frob.com>
7320 * configure.ac (HAVE_EHDR_START): New check.
7321 * configure: Regenerated.
7322 * config.h.in (HAVE_EHDR_START): New #undef.
7323 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7324 assuming the lowest-addressed segment maps the start of the file.
7326 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7328 * INSTALL: Regenerated.
7330 2014-03-13 Will Newton <will.newton@linaro.org>
7332 * manual/setjmp.texi (System V contexts): Improve
7333 clarity and grammar of documentation.
7335 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7338 * elf/Makefile (tests): Add tst-pie2.
7339 (tests-pie): Add tst-pie2.
7340 * elf/tst-pie2.c: New file.
7341 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7343 * elf/rtld.c (map_doit): Load executable as lt_executable.
7344 (dl_main): Likewise.
7346 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7349 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7350 (__ASSUME_PSELECT): Undefine.
7352 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7356 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7358 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7359 selector for static builds.
7361 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7364 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7367 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7369 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7370 IFUNC selector for static builds.
7372 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7374 * sysdeps/mips/math_private.h [__mips_hard_float]
7375 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7376 libc_feresetround_mips_ctx.
7377 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7378 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7379 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7382 * math/s_nextafter.c (__nextafter): Do not return value from
7383 overflowing computation.
7384 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7385 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7386 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7388 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7390 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7391 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7393 2014-03-11 Roland McGrath <roland@hack.frob.com>
7395 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7396 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7397 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7398 the new mov targetting sp.
7400 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7403 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7404 Define it for static builds as well.
7405 (NO_BZERO_IMPL): Likewise.
7407 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7409 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7410 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7411 multiarch strspn for PPC64.
7412 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7413 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7415 (__libc_ifunc_impl_list): Likewise.
7416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7417 multiarch optimizations
7418 * string/strspn.c (strspn): Using macro to redefine symbol name.
7420 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7421 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7424 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7425 multiarch strncat for PPC64.
7426 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7427 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7429 (__libc_ifunc_impl_list): Likewise.
7430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7431 multiarch optimizations
7433 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7436 * nscd/nscd.service: Make service type forking.
7438 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7440 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7441 sign in non default rounding modes.
7442 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7444 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7446 * math/libm-test.inc (ALL_RM_TEST): New macro.
7447 (ceil_test): Use ALL_RM_TEST.
7448 (cimag_test): Likewise.
7449 (conj_test): Likewise.
7450 (copysign_test): Likewise.
7451 (cproj_test): Likewise.
7452 (creal_test): Likewise.
7453 (fabs_test): Likewise.
7454 (floor_test): Likewise.
7455 (fmax_test): Likewise.
7456 (fmin_test): Likewise.
7457 (fmod_test): Likewise.
7458 (fpclassify_test): Likewise.
7459 (frexp_test): Likewise.
7460 (ilogb_test): Likewise.
7461 (isfinite_test): Likewise.
7462 (finite_test): Likewise.
7463 (isgreater_test): Likewise.
7464 (isgreaterequal_test): Likewise.
7465 (isinf_test): Likewise.
7466 (isless_test): Likewise.
7467 (islessequal_test): Likewise.
7468 (islessgreater_test): Likewise.
7469 (isnan_test): Likewise.
7470 (isnormal_test): Likewise.
7471 (issignaling_test): Likewise.
7472 (isunordered_test): Likewise.
7473 (logb_test): Likewise.
7474 (logb_downward_test_data): Remove.
7475 (logb_test_downward): Likewise.
7476 (lround_test): Use ALL_RM_TEST.
7477 (llround_test): Likewise.
7478 (modf_test): Likewise.
7479 (nexttoward_test): Likewise.
7480 (remainder_test): Likewise.
7481 (drem_test): Likewise.
7482 (remainder_tonearest_test_data): Likewise.
7483 (remainder_test_tonearest): Likewise.
7484 (drem_test_tonearest): Likewise.
7485 (remainder_towardzero_test_data): Likewise.
7486 (remainder_test_towardzero): Likewise.
7487 (drem_test_towardzero): Likewise.
7488 (remainder_downward_test_data): Likewise.
7489 (remainder_test_downward): Likewise.
7490 (drem_test_downward): Likewise.
7491 (remainder_upward_test_data): Likewise.
7492 (remainder_test_upward): Likewise.
7493 (drem_test_upward): Likewise.
7494 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7495 (round_test): Use ALL_RM_TEST.
7496 (signbit_test): Likewise.
7497 (trunc_test): Likewise.
7498 (significand_test): Likewise.
7499 (main): Don't call removed functions.
7501 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7504 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7506 (ILL_ILLOPN): Likewise.
7507 (ILL_ILLADR): Likewise.
7508 (ILL_ILLTRP): Likewise.
7509 (ILL_PRVOPC): Likewise.
7510 (ILL_PRVREG): Likewise.
7511 (ILL_COPROC): Likewise.
7512 (ILL_BADSTK): Likewise.
7513 (FPE_INTDIV): Likewise.
7514 (FPE_INTOVF): Likewise.
7515 (FPE_FLTDIV): Likewise.
7516 (FPE_FLTOVF): Likewise.
7517 (FPE_FLTUND): Likewise.
7518 (FPE_FLTRES): Likewise.
7519 (FPE_FLTINV): Likewise.
7520 (FPE_FLTSUB): Likewise.
7521 (SEGV_MAPERR): Likewise.
7522 (SEGV_ACCERR): Likewise.
7523 (BUS_ADRALN): Likewise.
7524 (BUS_ADRERR): Likewise.
7525 (BUS_OBJERR): Likewise.
7526 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7527 (TRAP_TRACE): Likewise.
7528 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7530 (CLD_KILLED): Likewise.
7531 (CLD_DUMPED): Likewise.
7532 (CLD_TRAPPED): Likewise.
7533 (CLD_STOPPED): Likewise.
7534 (CLD_CONTINUED): Likewise.
7535 (POLL_IN): Likewise.
7536 (POLL_OUT): Likewise.
7537 (POLL_MSG): Likewise.
7538 (POLL_ERR): Likewise.
7539 (POLL_PRI): Likewise.
7540 (POLL_HUP): Likewise.
7541 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7543 (ILL_ILLOPN): Likewise.
7544 (ILL_ILLADR): Likewise.
7545 (ILL_ILLTRP): Likewise.
7546 (ILL_PRVOPC): Likewise.
7547 (ILL_PRVREG): Likewise.
7548 (ILL_COPROC): Likewise.
7549 (ILL_BADSTK): Likewise.
7550 (FPE_INTDIV): Likewise.
7551 (FPE_INTOVF): Likewise.
7552 (FPE_FLTDIV): Likewise.
7553 (FPE_FLTOVF): Likewise.
7554 (FPE_FLTUND): Likewise.
7555 (FPE_FLTRES): Likewise.
7556 (FPE_FLTINV): Likewise.
7557 (FPE_FLTSUB): Likewise.
7558 (SEGV_MAPERR): Likewise.
7559 (SEGV_ACCERR): Likewise.
7560 (BUS_ADRALN): Likewise.
7561 (BUS_ADRERR): Likewise.
7562 (BUS_OBJERR): Likewise.
7563 (BUS_MCEERR_AR): Likewise.
7564 (BUS_MCEERR_AO): Likewise.
7565 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7566 (TRAP_TRACE): Likewise.
7567 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7569 (CLD_KILLED): Likewise.
7570 (CLD_DUMPED): Likewise.
7571 (CLD_TRAPPED): Likewise.
7572 (CLD_STOPPED): Likewise.
7573 (CLD_CONTINUED): Likewise.
7574 (POLL_IN): Likewise.
7575 (POLL_OUT): Likewise.
7576 (POLL_MSG): Likewise.
7577 (POLL_ERR): Likewise.
7578 (POLL_PRI): Likewise.
7579 (POLL_HUP): Likewise.
7580 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7581 (ILL_ILLOPN): Likewise.
7582 (ILL_ILLADR): Likewise.
7583 (ILL_ILLTRP): Likewise.
7584 (ILL_PRVOPC): Likewise.
7585 (ILL_PRVREG): Likewise.
7586 (ILL_COPROC): Likewise.
7587 (ILL_BADSTK): Likewise.
7588 (FPE_INTDIV): Likewise.
7589 (FPE_INTOVF): Likewise.
7590 (FPE_FLTDIV): Likewise.
7591 (FPE_FLTOVF): Likewise.
7592 (FPE_FLTUND): Likewise.
7593 (FPE_FLTRES): Likewise.
7594 (FPE_FLTINV): Likewise.
7595 (FPE_FLTSUB): Likewise.
7596 (SEGV_MAPERR): Likewise.
7597 (SEGV_ACCERR): Likewise.
7598 (BUS_ADRALN): Likewise.
7599 (BUS_ADRERR): Likewise.
7600 (BUS_OBJERR): Likewise.
7601 (BUS_MCEERR_AR): Likewise.
7602 (BUS_MCEERR_AO): Likewise.
7603 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7604 (TRAP_TRACE): Likewise.
7605 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7607 (CLD_KILLED): Likewise.
7608 (CLD_DUMPED): Likewise.
7609 (CLD_TRAPPED): Likewise.
7610 (CLD_STOPPED): Likewise.
7611 (CLD_CONTINUED): Likewise.
7612 (POLL_IN): Likewise.
7613 (POLL_OUT): Likewise.
7614 (POLL_MSG): Likewise.
7615 (POLL_ERR): Likewise.
7616 (POLL_PRI): Likewise.
7617 (POLL_HUP): Likewise.
7618 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7620 (ILL_ILLOPN): Likewise.
7621 (ILL_ILLADR): Likewise.
7622 (ILL_ILLTRP): Likewise.
7623 (ILL_PRVOPC): Likewise.
7624 (ILL_PRVREG): Likewise.
7625 (ILL_COPROC): Likewise.
7626 (ILL_BADSTK): Likewise.
7627 (ILL_BADIADDR): Likewise.
7628 (ILL_BREAK): Likewise.
7629 (FPE_INTDIV): Likewise.
7630 (FPE_INTOVF): Likewise.
7631 (FPE_FLTDIV): Likewise.
7632 (FPE_FLTOVF): Likewise.
7633 (FPE_FLTUND): Likewise.
7634 (FPE_FLTRES): Likewise.
7635 (FPE_FLTINV): Likewise.
7636 (FPE_FLTSUB): Likewise.
7637 (FPE_DECOVF): Likewise.
7638 (FPE_DECDIV): Likewise.
7639 (FPE_DECERR): Likewise.
7640 (FPE_INVASC): Likewise.
7641 (FPE_INVDEC): Likewise.
7642 (SEGV_MAPERR): Likewise.
7643 (SEGV_ACCERR): Likewise.
7644 (SEGV_PSTKOVF): Likewise.
7645 (BUS_ADRALN): Likewise.
7646 (BUS_ADRERR): Likewise.
7647 (BUS_OBJERR): Likewise.
7648 (BUS_MCEERR_AR): Likewise.
7649 (BUS_MCEERR_AO): Likewise.
7650 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7651 (TRAP_TRACE): Likewise.
7652 (TRAP_BRANCH): Likewise.
7653 (TRAP_HWBKPT): Likewise.
7654 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7656 (CLD_KILLED): Likewise.
7657 (CLD_DUMPED): Likewise.
7658 (CLD_TRAPPED): Likewise.
7659 (CLD_STOPPED): Likewise.
7660 (CLD_CONTINUED): Likewise.
7661 (POLL_IN): Likewise.
7662 (POLL_OUT): Likewise.
7663 (POLL_MSG): Likewise.
7664 (POLL_ERR): Likewise.
7665 (POLL_PRI): Likewise.
7666 (POLL_HUP): Likewise.
7667 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7668 (ILL_ILLOPN): Likewise.
7669 (ILL_ILLADR): Likewise.
7670 (ILL_ILLTRP): Likewise.
7671 (ILL_PRVOPC): Likewise.
7672 (ILL_PRVREG): Likewise.
7673 (ILL_COPROC): Likewise.
7674 (ILL_BADSTK): Likewise.
7675 (FPE_INTDIV): Likewise.
7676 (FPE_INTOVF): Likewise.
7677 (FPE_FLTDIV): Likewise.
7678 (FPE_FLTOVF): Likewise.
7679 (FPE_FLTUND): Likewise.
7680 (FPE_FLTRES): Likewise.
7681 (FPE_FLTINV): Likewise.
7682 (FPE_FLTSUB): Likewise.
7683 (SEGV_MAPERR): Likewise.
7684 (SEGV_ACCERR): Likewise.
7685 (BUS_ADRALN): Likewise.
7686 (BUS_ADRERR): Likewise.
7687 (BUS_OBJERR): Likewise.
7688 (BUS_MCEERR_AR): Likewise.
7689 (BUS_MCEERR_AO): Likewise.
7690 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7691 (TRAP_TRACE): Likewise.
7692 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7694 (CLD_KILLED): Likewise.
7695 (CLD_DUMPED): Likewise.
7696 (CLD_TRAPPED): Likewise.
7697 (CLD_STOPPED): Likewise.
7698 (CLD_CONTINUED): Likewise.
7699 (POLL_IN): Likewise.
7700 (POLL_OUT): Likewise.
7701 (POLL_MSG): Likewise.
7702 (POLL_ERR): Likewise.
7703 (POLL_PRI): Likewise.
7704 (POLL_HUP): Likewise.
7705 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7706 (ILL_ILLOPN): Likewise.
7707 (ILL_ILLADR): Likewise.
7708 (ILL_ILLTRP): Likewise.
7709 (ILL_PRVOPC): Likewise.
7710 (ILL_PRVREG): Likewise.
7711 (ILL_COPROC): Likewise.
7712 (ILL_BADSTK): Likewise.
7713 (FPE_INTDIV): Likewise.
7714 (FPE_INTOVF): Likewise.
7715 (FPE_FLTDIV): Likewise.
7716 (FPE_FLTOVF): Likewise.
7717 (FPE_FLTUND): Likewise.
7718 (FPE_FLTRES): Likewise.
7719 (FPE_FLTINV): Likewise.
7720 (FPE_FLTSUB): Likewise.
7721 (SEGV_MAPERR): Likewise.
7722 (SEGV_ACCERR): Likewise.
7723 (BUS_ADRALN): Likewise.
7724 (BUS_ADRERR): Likewise.
7725 (BUS_OBJERR): Likewise.
7726 (BUS_MCEERR_AR): Likewise.
7727 (BUS_MCEERR_AO): Likewise.
7728 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7729 (TRAP_TRACE): Likewise.
7730 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7732 (CLD_KILLED): Likewise.
7733 (CLD_DUMPED): Likewise.
7734 (CLD_TRAPPED): Likewise.
7735 (CLD_STOPPED): Likewise.
7736 (CLD_CONTINUED): Likewise.
7737 (POLL_IN): Likewise.
7738 (POLL_OUT): Likewise.
7739 (POLL_MSG): Likewise.
7740 (POLL_ERR): Likewise.
7741 (POLL_PRI): Likewise.
7742 (POLL_HUP): Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7744 (ILL_ILLOPN): Likewise.
7745 (ILL_ILLADR): Likewise.
7746 (ILL_ILLTRP): Likewise.
7747 (ILL_PRVOPC): Likewise.
7748 (ILL_PRVREG): Likewise.
7749 (ILL_COPROC): Likewise.
7750 (ILL_BADSTK): Likewise.
7751 (FPE_INTDIV): Likewise.
7752 (FPE_INTOVF): Likewise.
7753 (FPE_FLTDIV): Likewise.
7754 (FPE_FLTOVF): Likewise.
7755 (FPE_FLTUND): Likewise.
7756 (FPE_FLTRES): Likewise.
7757 (FPE_FLTINV): Likewise.
7758 (FPE_FLTSUB): Likewise.
7759 (SEGV_MAPERR): Likewise.
7760 (SEGV_ACCERR): Likewise.
7761 (BUS_ADRALN): Likewise.
7762 (BUS_ADRERR): Likewise.
7763 (BUS_OBJERR): Likewise.
7764 (BUS_MCEERR_AR): Likewise.
7765 (BUS_MCEERR_AO): Likewise.
7766 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7767 (TRAP_TRACE): Likewise.
7768 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7770 (CLD_KILLED): Likewise.
7771 (CLD_DUMPED): Likewise.
7772 (CLD_TRAPPED): Likewise.
7773 (CLD_STOPPED): Likewise.
7774 (CLD_CONTINUED): Likewise.
7775 (POLL_IN): Likewise.
7776 (POLL_OUT): Likewise.
7777 (POLL_MSG): Likewise.
7778 (POLL_ERR): Likewise.
7779 (POLL_PRI): Likewise.
7780 (POLL_HUP): Likewise.
7781 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7782 (ILL_ILLOPN): Likewise.
7783 (ILL_ILLADR): Likewise.
7784 (ILL_ILLTRP): Likewise.
7785 (ILL_PRVOPC): Likewise.
7786 (ILL_PRVREG): Likewise.
7787 (ILL_COPROC): Likewise.
7788 (ILL_BADSTK): Likewise.
7789 (ILL_DBLFLT): Likewise.
7790 (ILL_HARDWALL): Likewise.
7791 (FPE_INTDIV): Likewise.
7792 (FPE_INTOVF): Likewise.
7793 (FPE_FLTDIV): Likewise.
7794 (FPE_FLTOVF): Likewise.
7795 (FPE_FLTUND): Likewise.
7796 (FPE_FLTRES): Likewise.
7797 (FPE_FLTINV): Likewise.
7798 (FPE_FLTSUB): Likewise.
7799 (SEGV_MAPERR): Likewise.
7800 (SEGV_ACCERR): Likewise.
7801 (BUS_ADRALN): Likewise.
7802 (BUS_ADRERR): Likewise.
7803 (BUS_OBJERR): Likewise.
7804 (BUS_MCEERR_AR): Likewise.
7805 (BUS_MCEERR_AO): Likewise.
7806 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7807 (TRAP_TRACE): Likewise.
7808 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7810 (CLD_KILLED): Likewise.
7811 (CLD_DUMPED): Likewise.
7812 (CLD_TRAPPED): Likewise.
7813 (CLD_STOPPED): Likewise.
7814 (CLD_CONTINUED): Likewise.
7815 (POLL_IN): Likewise.
7816 (POLL_OUT): Likewise.
7817 (POLL_MSG): Likewise.
7818 (POLL_ERR): Likewise.
7819 (POLL_PRI): Likewise.
7820 (POLL_HUP): Likewise.
7821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7822 (ILL_ILLOPN): Likewise.
7823 (ILL_ILLADR): Likewise.
7824 (ILL_ILLTRP): Likewise.
7825 (ILL_PRVOPC): Likewise.
7826 (ILL_PRVREG): Likewise.
7827 (ILL_COPROC): Likewise.
7828 (ILL_BADSTK): Likewise.
7829 (FPE_INTDIV): Likewise.
7830 (FPE_INTOVF): Likewise.
7831 (FPE_FLTDIV): Likewise.
7832 (FPE_FLTOVF): Likewise.
7833 (FPE_FLTUND): Likewise.
7834 (FPE_FLTRES): Likewise.
7835 (FPE_FLTINV): Likewise.
7836 (FPE_FLTSUB): Likewise.
7837 (SEGV_MAPERR): Likewise.
7838 (SEGV_ACCERR): Likewise.
7839 (BUS_ADRALN): Likewise.
7840 (BUS_ADRERR): Likewise.
7841 (BUS_OBJERR): Likewise.
7842 (BUS_MCEERR_AR): Likewise.
7843 (BUS_MCEERR_AO): Likewise.
7844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7845 (TRAP_TRACE): Likewise.
7846 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7848 (CLD_KILLED): Likewise.
7849 (CLD_DUMPED): Likewise.
7850 (CLD_TRAPPED): Likewise.
7851 (CLD_STOPPED): Likewise.
7852 (CLD_CONTINUED): Likewise.
7853 (POLL_IN): Likewise.
7854 (POLL_OUT): Likewise.
7855 (POLL_MSG): Likewise.
7856 (POLL_ERR): Likewise.
7857 (POLL_PRI): Likewise.
7858 (POLL_HUP): Likewise.
7859 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7860 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7863 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7864 before #include of <time.h>.
7865 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7866 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7867 (test-xfail-UNIX98/sched.h/conform): Likewise.
7869 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7871 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7872 error absence of trapping exception support.
7873 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7875 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7877 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7878 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7879 * timezone/Makefile (testdata): Move definition above include of
7881 (test-zones): New variable.
7882 (tests-special): Add zone files.
7883 (build-testdata): Use $(evaluate-test).
7885 * elf/Makefile (tests-special): Rename tests to end with .out.
7886 ($(objpfx)noload-mem): Likewise.
7887 ($(objpfx)tst-leaks1-mem): Likewise.
7888 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7889 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7890 $(objpfx)test-iconvconfig.out.
7891 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7892 set -e inside subshell and redirect output to file.
7893 * iconvdata/Makefile (generated): Rename tests to end with .out.
7895 (tests-special): Rename tests to end with .out.
7896 ($(objpfx)mtrace-tst-loading): Likewise.
7897 * intl/Makefile (generated): Likewise.
7898 (tests-special): Likewise.
7899 ($(objpfx)mtrace-tst-gettext): Likewise.
7900 * misc/Makefile (generated): Likewise.
7901 (tests-special): Likewise.
7902 ($(objpfx)tst-error1-mem): Likewise.
7903 * nptl/Makefile (tests-special): Likewise.
7904 ($(objpfx)tst-stack3-mem): Likewise.
7905 (generated): Likewise.
7906 * posix/Makefile (generated): Likewise.
7907 (tests-special): Likewise.
7908 (xtests-special): Likewise.
7909 ($(objpfx)tst-fnmatch-mem): Likewise.
7910 ($(objpfx)bug-regex2-mem): Likewise.
7911 ($(objpfx)bug-regex14-mem): Likewise.
7912 ($(objpfx)bug-regex21-mem): Likewise.
7913 ($(objpfx)bug-regex31-mem): Likewise.
7914 ($(objpfx)tst-vfork3-mem): Likewise.
7915 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7916 ($(objpfx)tst-pcre-mem): Likewise.
7917 ($(objpfx)tst-boost-mem): Likewise.
7918 ($(objpfx)bug-ga2-mem): Likewise.
7919 ($(objpfx)bug-glob2-mem): Likewise.
7920 * resolv/Makefile (generate): Likewise.
7921 (tests-special): Likewise.
7922 (xtests-special): Likewise.
7923 (generated): Likewise.
7924 ($(objpfx)mtrace-tst-leaks): Likewise.
7925 ($(objpfx)mtrace-tst-leaks2): Likewise.
7927 * scripts/merge-test-results.sh: New file.
7928 * Makefile (tests-special-notdir): New variable.
7929 (tests): Run merge-test-results.sh.
7931 * Rules (tests-special-notdir): New variable.
7932 (xtests-special-notdir): Likewise.
7933 (tests): Run merge-test-results.sh
7936 * Makeconfig (test-xfail-name): New variable.
7937 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7938 compute variable name for expected failures.
7939 * conform/Makefile (conformtest-headers-data): New variable.
7940 (conformtest-standards): Likewise.
7941 (conformtest-headers-ISO): Likewise.
7942 (conformtest-headers-ISO99): Likewise.
7943 (conformtest-headers-ISO11): Likewise.
7944 (conformtest-headers-POSIX): Likewise.
7945 (conformtest-headers-XPG3): Likewise.
7946 (conformtest-headers-XPG4): Likewise.
7947 (conformtest-headers-UNIX98): Likewise.
7948 (conformtest-headers-XOPEN2K): Likewise.
7949 (conformtest-headers-POSIX2008): Likewise.
7950 (conformtest-headers-XOPEN2K8): Likewise.
7951 (conformtest-header-list-base): Likewise.
7952 (conformtest-header-list-tests): Likewise.
7953 (conformtest-header-base): Likewise.
7954 (conformtest-header-tests): Likewise.
7955 (tests-special): Add $(conformtest-header-list-tests). If
7956 [$(fast-check) && !$(cross-compiling)], add
7957 $(conformtest-header-tests) instead of
7958 $(objpfx)run-conformtest.out.
7959 (generated): Add $(conformtest-header-list-base). If
7960 [$(fast-check) && !$(cross-compiling)], add
7961 $(conformtest-header-base). Remove previous setting.
7962 ($(conformtest-header-list-tests)): New target.
7963 (test-xfail-run-conformtest): Remove variable.
7964 ($(objpfx)run-conformtest.out): Remove target.
7965 (test-xfail-ISO11/complex.h/conform): New variable.
7966 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7967 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7968 (test-xfail-XPG3/varargs.h/conform): Likewise.
7969 (test-xfail-XPG4/varargs.h/conform): Likewise.
7970 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7971 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7972 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7973 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7974 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7975 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7976 (test-xfail-XPG3/ftw.h/conform): Likewise.
7977 (test-xfail-XPG3/grp.h/conform): Likewise.
7978 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7979 (test-xfail-XPG3/limits.h/conform): Likewise.
7980 (test-xfail-XPG3/pwd.h/conform): Likewise.
7981 (test-xfail-XPG3/search.h/conform): Likewise.
7982 (test-xfail-XPG3/signal.h/conform): Likewise.
7983 (test-xfail-XPG3/stdio.h/conform): Likewise.
7984 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7985 (test-xfail-XPG3/string.h/conform): Likewise.
7986 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7987 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7988 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7989 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7990 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7991 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7992 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7993 (test-xfail-XPG3/termios.h/conform): Likewise.
7994 (test-xfail-XPG3/time.h/conform): Likewise.
7995 (test-xfail-XPG3/unistd.h/conform): Likewise.
7996 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7997 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7998 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7999 (test-xfail-XPG4/netdb.h/conform): Likewise.
8000 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8001 (test-xfail-XPG4/signal.h/conform): Likewise.
8002 (test-xfail-XPG4/stdio.h/conform): Likewise.
8003 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8004 (test-xfail-XPG4/stropts.h/conform): Likewise.
8005 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8006 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8007 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8008 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8009 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8010 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8011 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8012 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8013 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8014 (test-xfail-XPG4/termios.h/conform): Likewise.
8015 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8016 (test-xfail-XPG4/unistd.h/conform): Likewise.
8017 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8018 (test-xfail-POSIX/sched.h/conform): Likewise.
8019 (test-xfail-POSIX/signal.h/conform): Likewise.
8020 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8021 (test-xfail-POSIX/tar.h/conform): Likewise.
8022 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8023 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8024 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8025 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8026 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8027 (test-xfail-UNIX98/sched.h/conform): Likewise.
8028 (test-xfail-UNIX98/signal.h/conform): Likewise.
8029 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8030 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8031 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8032 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8033 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8034 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8035 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8036 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8037 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8038 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8039 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8040 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8041 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8042 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8043 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8044 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8045 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8046 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8047 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8048 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8049 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8050 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8051 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8052 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8053 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8054 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8055 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8056 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8057 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8058 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8059 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8060 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8061 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8062 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8063 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8064 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8065 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8066 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8067 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8068 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8069 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8070 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8071 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8072 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8073 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8074 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8075 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8076 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8077 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8078 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8079 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8080 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8081 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8082 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8083 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8084 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8085 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8086 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8087 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8088 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8089 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8090 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8091 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8092 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8093 (conformtest-cc-flags): Likewise.
8094 ($(conformtest-header-tests): New target.
8095 * conform/check-header-lists.sh: New file.
8096 * conform/run-conformtest.sh: Remove.
8098 * conform/conformtest.pl: Allow ' and \ in values given for
8100 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8102 [POSIX] (sys/types.h): Likewise.
8103 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8105 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8107 * conform/data/signal.h-data (SIGIO): Remove expectation.
8108 [XPG3] (SIGBUS): Do not expect.
8109 [POSIX || XPG3] (SIGPOLL): Likewise.
8110 [POSIX || XPG3] (SIGPROF): Likewise.
8111 [POSIX || XPG3] (SIGSYS): Likewise.
8112 [XPG3] (SIGTRAP): Likewise.
8113 [POSIX || XPG3] (SIGURG): Likewise.
8114 [POSIX || XPG3] (SIGVTALRM): Likewise.
8115 [POSIX || XPG3] (SIGXCPU): Likewise.
8116 [POSIX || XPG3] (SIGXFSZ): Likewise.
8117 [POSIX] (SA_SIGINFO): Expect.
8118 [XPG3] (siginfo_t): Do not expect type or contents.
8119 [POSIX] (si_pid): Do not expect element.
8120 [POSIX] (si_uid): Likewise.
8121 [POSIX] (si_addr): Likewise.
8122 [POSIX] (si_status): Likewise.
8123 [POSIX] (si_band): Likewise.
8124 [XPG4] (si_value): Likewise.
8125 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8126 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8127 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8128 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8129 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8130 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8131 [POSIX || XPG3] (ILL_COPROC): Likewise.
8132 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8133 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8134 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8135 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8136 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8137 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8138 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8139 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8140 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8141 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8142 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8143 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8144 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8145 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8146 [POSIX || XPG3] (CLD_EXITED): Likewise.
8147 [POSIX || XPG3] (CLD_KILLED): Likewise.
8148 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8149 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8150 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8151 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8152 [POSIX || XPG3] (POLL_IN): Likewise.
8153 [POSIX || XPG3] (POLL_OUT): Likewise.
8154 [POSIX || XPG3] (POLL_MSG): Likewise.
8155 [POSIX || XPG3] (POLL_ERR): Likewise.
8156 [POSIX || XPG3] (POLL_PRI): Likewise.
8157 [POSIX || XPG3] (POLL_HUP): Likewise.
8158 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8159 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8160 (SIG*): Do not allow.
8161 [XPG3] (si_*): Likewise.
8162 [XPG3] (SI_*): Likewise.
8163 [XPG3 || XPG4] (sigev_*): Likewise.
8164 [XPG3 || XPG4] (SIGEV_*): Likewise.
8165 [XPG3 || XPG4] (sival_*): Likewise.
8166 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8167 [POSIX || XPG3] (BUS_*): Likewise.
8168 [POSIX || XPG3] (CLD_*): Likewise.
8169 [POSIX || XPG3] (FPE_*): Likewise.
8170 [POSIX || XPG3] (ILL_*): Likewise.
8171 [POSIX || XPG3] (POLL_*): Likewise.
8172 [POSIX || XPG3] (SEGV_*): Likewise.
8173 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8174 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8175 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8176 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8177 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8178 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8179 Specify type and value.
8180 (TVERSLEN): Likewise.
8181 (REGTYPE): Likewise.
8182 (AREGTYPE): Likewise.
8183 (LNKTYPE): Likewise.
8184 (SYMTYPE): Likewise.
8185 (CHRTYPE): Likewise.
8186 (BLKTYPE): Likewise.
8187 (DIRTYPE): Likewise.
8188 (FIFOTYPE): Likewise.
8189 (CONTTYPE): Likewise.
8194 (TUWRITE): Likewise.
8197 (TGWRITE): Likewise.
8200 (TOWRITE): Likewise.
8202 [POSIX] (TSVTX): Expect constant.
8204 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8206 * Makefile (tests): Change dependencies to ....
8207 (tests-special): ... additions to this variable.
8208 (tests): Depend on $(tests-special).
8209 * Makerules (check-abi-list): New variable.
8210 (check-abi): Depend on $(check-abi-list).
8211 [$(subdir) = elf] (tests-special): Add
8212 $(objpfx)check-abi-libc.out.
8213 [$(build-shared) = yes && subdir] (tests-special): Add
8215 [$(build-shared) = yes && subdir] (tests): Do not depend on
8217 * Rules (tests): Depend on $(tests-special).
8218 (xtests): Depend on $(xtests-special).
8219 * catgets/Makefile (tests): Change dependencies to ....
8220 (tests-special): ... additions to this variable.
8221 * conform/Makefile (tests): Change dependencies to ....
8222 (tests-special): ... additions to this variable.
8223 * elf/Makefile (tests): Change dependencies to ....
8224 (tests-special): ... additions to this variable.
8225 * grp/Makefile (tests): Change dependencies to ....
8226 (tests-special): ... additions to this variable.
8227 * iconv/Makefile (xtests): Change dependencies to ....
8228 (xtests-special): ... additions to this variable.
8229 * iconvdata/Makefile (tests): Change dependencies to ....
8230 (tests-special): ... additions to this variable.
8231 * intl/Makefile (tests): Change dependencies to ....
8232 (tests-special): ... additions to this variable. Also add
8233 $(objpfx)tst-gettext.out.
8234 * io/Makefile (tests): Change dependencies to ....
8235 (tests-special): ... additions to this variable.
8236 * libio/Makefile (tests): Change dependencies to ....
8237 (tests-special): ... additions to this variable.
8238 * malloc/Makefile (tests): Change dependencies to ....
8239 (tests-special): ... additions to this variable.
8240 * misc/Makefile (tests): Change dependencies to ....
8241 (tests-special): ... additions to this variable.
8242 * nptl/Makefile (tests): Change dependencies to ....
8243 (tests-special): ... additions to this variable.
8244 * nptl_db/Makefile (tests): Change dependencies to ....
8245 (tests-special): ... additions to this variable.
8246 * posix/Makefile (tests): Change dependencies to ....
8247 (tests-special): ... additions to this variable.
8248 (xtests): Change dependencies to ....
8249 (xtests-special): ... additions to this variable.
8250 * resolv/Makefile (tests): Change dependencies to ....
8251 (tests-special): ... additions to this variable.
8252 (xtests): Change dependencies to ....
8253 (xtests-special): ... additions to this variable.
8254 * stdio-common/Makefile (tests): Change dependencies to ....
8255 (tests-special): ... additions to this variable.
8256 (do-tst-unbputc): Remove target.
8257 (do-tst-printf): Likewise.
8258 * stdlib/Makefile (tests): Change dependencies to ....
8259 (tests-special): ... additions to this variable.
8260 * string/Makefile (tests): Change dependencies to ....
8261 (tests-special): ... additions to this variable.
8262 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8263 (tests-special): ... additions to this variable.
8265 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8267 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8269 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8270 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8272 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8273 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8274 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8275 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8276 * conform/data/libgen.h-data [XPG3]: Likewise.
8277 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8278 * conform/data/ndbm.h-data [XPG3]: Likewise.
8279 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8280 * conform/data/netdb.h-data [XPG3]: Likewise.
8281 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8282 * conform/data/poll.h-data [XPG3]: Likewise.
8283 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8284 * conform/data/strings.h-data [XPG3]: Likewise.
8285 * conform/data/stropts.h-data [XPG3]: Likewise.
8286 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8287 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8288 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8290 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8291 * conform/data/sys/time.h-data [XPG3]: Likewise.
8292 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8293 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8294 * conform/data/sys/un.h-data [XPG3]: Likewise.
8295 * conform/data/syslog.h-data [XPG3]: Likewise.
8296 * conform/data/ucontext.h-data [XPG3]: Likewise.
8297 * conform/data/utmpx.h-data [XPG3]: Likewise.
8298 * conform/data/varargs.h-data [UNIX98]: Enable file.
8300 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8302 * math/libm-test.inc (struct test_f_f_data): Move expected results
8303 into structure for each rounding mode.
8304 (struct test_ff_f_data): Likewise.
8305 (struct test_ff_f_data_nexttoward): Likewise.
8306 (struct test_fi_f_data): Likewise.
8307 (struct test_fl_f_data): Likewise.
8308 (struct test_if_f_data): Likewise.
8309 (struct test_fff_f_data): Likewise.
8310 (struct test_c_f_data): Likewise.
8311 (struct test_f_f1_data): Likewise.
8312 (struct test_fF_f1_data): Likewise.
8313 (struct test_ffI_f1_data): Likewise.
8314 (struct test_c_c_data): Likewise.
8315 (struct test_cc_c_data): Likewise.
8316 (struct test_f_i_data): Likewise.
8317 (struct test_ff_i_data): Likewise.
8318 (struct test_f_l_data): Likewise.
8319 (struct test_f_L_data): Likewise.
8320 (struct test_fFF_11_data): Likewise.
8322 (RM_FE_DOWNWARD): Likewise.
8323 (RM_FE_TONEAREST): Likewise.
8324 (RM_FE_TOWARDZERO): Likewise.
8325 (RM_FE_UPWARD): Likewise.
8326 (RUN_TEST_LOOP_f_f): Update references to expected results.
8327 (RUN_TEST_LOOP_2_f): Likewise.
8328 (RUN_TEST_LOOP_fff_f): Likewise.
8329 (RUN_TEST_LOOP_c_f): Likewise.
8330 (RUN_TEST_LOOP_f_f1): Likewise.
8331 (RUN_TEST_LOOP_fF_f1): Likewise.
8332 (RUN_TEST_LOOP_fI_f1): Likewise.
8333 (RUN_TEST_LOOP_ffI_f1): Likewise.
8334 (RUN_TEST_LOOP_c_c): Likewise.
8335 (RUN_TEST_LOOP_cc_c): Likewise.
8336 (RUN_TEST_LOOP_f_i): Likewise.
8337 (RUN_TEST_LOOP_f_i_tg): Likewise.
8338 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8339 (RUN_TEST_LOOP_f_b): Likewise.
8340 (RUN_TEST_LOOP_f_b_tg): Likewise.
8341 (RUN_TEST_LOOP_f_l): Likewise.
8342 (RUN_TEST_LOOP_f_L): Likewise.
8343 (RUN_TEST_LOOP_fFF_11): Likewise.
8344 * math/gen-libm-test.pl (parse_args): Output four copies of
8345 expected results for each test.
8347 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8348 (__ASSUME_UTIMES): Remove.
8349 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8350 (__ASSUME_UTIMES): Likewise.
8352 * math/gen-auto-libm-tests.c: Update comment on output format.
8353 (output_for_one_input_case): Generate before-rounding and
8354 after-rounding information as conditions on output flags not
8355 floating-point format.
8356 * math/auto-libm-test-out: Regenerated.
8357 * math/gen-libm-test.pl (cond_value): New function.
8358 (or_cond_value): Use cond_value.
8359 (generate_testfile): Handle conditional exceptions.
8361 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8363 * math/libm-test.inc (max_valid_error): New variable.
8364 (init_max_error): Take new argument specifying whether function
8365 results are exactly determined. Set max_valid_error and bound
8366 other variables for errors based on this argument.
8367 (set_max_error): Do not record results above max_valid_error.
8368 (check_float_internal): Only accept errors of up to 0.5ulps if
8369 also at most max_valid_error.
8370 (START): Take new argument EXACT and pass it to init_max_error.
8371 (acos_test): Update call to START.
8372 (acos_test_tonearest): Likewise.
8373 (acos_test_towardzero): Likewise.
8374 (acos_test_downward): Likewise.
8375 (acos_test_upward): Likewise.
8376 (acosh_test): Likewise.
8377 (asin_test): Likewise.
8378 (asin_test_tonearest): Likewise.
8379 (asin_test_towardzero): Likewise.
8380 (asin_test_downward): Likewise.
8381 (asin_test_upward): Likewise.
8382 (asinh_test): Likewise.
8383 (atan_test): Likewise.
8384 (atanh_test): Likewise.
8385 (atan2_test): Likewise.
8386 (cabs_test): Likewise.
8387 (cacos_test): Likewise.
8388 (cacosh_test): Likewise.
8389 (carg_test): Likewise.
8390 (casin_test): Likewise.
8391 (casinh_test): Likewise.
8392 (catan_test): Likewise.
8393 (catanh_test): Likewise.
8394 (cbrt_test): Likewise.
8395 (ccos_test): Likewise.
8396 (ccosh_test): Likewise.
8397 (ceil_test): Likewise.
8398 (cexp_test): Likewise.
8399 (cimag_test): Likewise.
8400 (clog_test): Likewise.
8401 (clog10_test): Likewise.
8402 (conj_test): Likewise.
8403 (copysign_test): Likewise.
8404 (cos_test): Likewise.
8405 (cos_test_tonearest): Likewise.
8406 (cos_test_towardzero): Likewise.
8407 (cos_test_downward): Likewise.
8408 (cos_test_upward): Likewise.
8409 (cosh_test): Likewise.
8410 (cosh_test_tonearest): Likewise.
8411 (cosh_test_towardzero): Likewise.
8412 (cosh_test_downward): Likewise.
8413 (cosh_test_upward): Likewise.
8414 (cpow_test): Likewise.
8415 (cproj_test): Likewise.
8416 (creal_test): Likewise.
8417 (csin_test): Likewise.
8418 (csinh_test): Likewise.
8419 (csqrt_test): Likewise.
8420 (ctan_test): Likewise.
8421 (ctan_test_tonearest): Likewise.
8422 (ctan_test_towardzero): Likewise.
8423 (ctan_test_downward): Likewise.
8424 (ctan_test_upward): Likewise.
8425 (ctanh_test): Likewise.
8426 (ctanh_test_tonearest): Likewise.
8427 (ctanh_test_towardzero): Likewise.
8428 (ctanh_test_downward): Likewise.
8429 (ctanh_test_upward): Likewise.
8430 (erf_test): Likewise.
8431 (erfc_test): Likewise.
8432 (exp_test): Likewise.
8433 (exp_test_tonearest): Likewise.
8434 (exp_test_towardzero): Likewise.
8435 (exp_test_downward): Likewise.
8436 (exp_test_upward): Likewise.
8437 (exp10_test): Likewise.
8438 (exp10_test_tonearest): Likewise.
8439 (exp10_test_towardzero): Likewise.
8440 (exp10_test_downward): Likewise.
8441 (exp10_test_upward): Likewise.
8442 (pow10_test): Likewise.
8443 (exp2_test): Likewise.
8444 (expm1_test): Likewise.
8445 (expm1_test_tonearest): Likewise.
8446 (expm1_test_towardzero): Likewise.
8447 (expm1_test_downward): Likewise.
8448 (expm1_test_upward): Likewise.
8449 (fabs_test): Likewise.
8450 (fdim_test): Likewise.
8451 (floor_test): Likewise.
8452 (fma_test): Likewise.
8453 (fma_test_towardzero): Likewise.
8454 (fma_test_downward): Likewise.
8455 (fma_test_upward): Likewise.
8456 (fmax_test): Likewise.
8457 (fmin_test): Likewise.
8458 (fmod_test): Likewise.
8459 (fpclassify_test): Likewise.
8460 (frexp_test): Likewise.
8461 (hypot_test): Likewise.
8462 (ilogb_test): Likewise.
8463 (isfinite_test): Likewise.
8464 (finite_test): Likewise.
8465 (isgreater_test): Likewise.
8466 (isgreaterequal_test): Likewise.
8467 (isinf_test): Likewise.
8468 (isless_test): Likewise.
8469 (islessequal_test): Likewise.
8470 (islessgreater_test): Likewise.
8471 (isnan_test): Likewise.
8472 (isnormal_test): Likewise.
8473 (issignaling_test): Likewise.
8474 (isunordered_test): Likewise.
8475 (j0_test): Likewise.
8476 (j1_test): Likewise.
8477 (jn_test): Likewise.
8478 (ldexp_test): Likewise.
8479 (lgamma_test): Likewise.
8480 (gamma_test): Likewise.
8481 (lrint_test): Likewise.
8482 (lrint_test_tonearest): Likewise.
8483 (lrint_test_towardzero): Likewise.
8484 (lrint_test_downward): Likewise.
8485 (lrint_test_upward): Likewise.
8486 (llrint_test): Likewise.
8487 (llrint_test_tonearest): Likewise.
8488 (llrint_test_towardzero): Likewise.
8489 (llrint_test_downward): Likewise.
8490 (llrint_test_upward): Likewise.
8491 (log_test): Likewise.
8492 (log10_test): Likewise.
8493 (log1p_test): Likewise.
8494 (log2_test): Likewise.
8495 (logb_test): Likewise.
8496 (logb_test_downward): Likewise.
8497 (lround_test): Likewise.
8498 (llround_test): Likewise.
8499 (modf_test): Likewise.
8500 (nearbyint_test): Likewise.
8501 (nextafter_test): Likewise.
8502 (nexttoward_test): Likewise.
8503 (pow_test): Likewise.
8504 (pow_test_tonearest): Likewise.
8505 (pow_test_towardzero): Likewise.
8506 (pow_test_downward): Likewise.
8507 (pow_test_upward): Likewise.
8508 (remainder_test): Likewise.
8509 (drem_test): Likewise.
8510 (remainder_test_tonearest): Likewise.
8511 (drem_test_tonearest): Likewise.
8512 (remainder_test_towardzero): Likewise.
8513 (drem_test_towardzero): Likewise.
8514 (remainder_test_downward): Likewise.
8515 (drem_test_downward): Likewise.
8516 (remainder_test_upward): Likewise.
8517 (drem_test_upward): Likewise.
8518 (remquo_test): Likewise.
8519 (rint_test): Likewise.
8520 (rint_test_tonearest): Likewise.
8521 (rint_test_towardzero): Likewise.
8522 (rint_test_downward): Likewise.
8523 (rint_test_upward): Likewise.
8524 (round_test): Likewise.
8525 (scalb_test): Likewise.
8526 (scalbn_test): Likewise.
8527 (scalbln_test): Likewise.
8528 (signbit_test): Likewise.
8529 (sin_test): Likewise.
8530 (sin_test_tonearest): Likewise.
8531 (sin_test_towardzero): Likewise.
8532 (sin_test_downward): Likewise.
8533 (sin_test_upward): Likewise.
8534 (sincos_test): Likewise.
8535 (sinh_test): Likewise.
8536 (sinh_test_tonearest): Likewise.
8537 (sinh_test_towardzero): Likewise.
8538 (sinh_test_downward): Likewise.
8539 (sinh_test_upward): Likewise.
8540 (sqrt_test): Likewise.
8541 (sqrt_test_tonearest): Likewise.
8542 (sqrt_test_towardzero): Likewise.
8543 (sqrt_test_downward): Likewise.
8544 (sqrt_test_upward): Likewise.
8545 (tan_test): Likewise.
8546 (tan_test_tonearest): Likewise.
8547 (tan_test_towardzero): Likewise.
8548 (tan_test_downward): Likewise.
8549 (tan_test_upward): Likewise.
8550 (tanh_test): Likewise.
8551 (tgamma_test): Likewise.
8552 (trunc_test): Likewise.
8553 (y0_test): Likewise.
8554 (y1_test): Likewise.
8555 (yn_test): Likewise.
8556 (significand_test): Likewise.
8558 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8559 individual tests in comment.
8560 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8561 (prev_max_error): New variable.
8562 (prev_real_max_error): Likewise.
8563 (prev_imag_max_error): Likewise.
8564 (compare_ulp_data): Don't refer to test names in comment.
8565 (find_test_ulps): Remove function.
8566 (find_function_ulps): Likewise.
8567 (find_complex_function_ulps): Likewise.
8568 (init_max_error): Take function name as argument. Look up ulps
8570 (print_ulps): Remove function.
8571 (print_max_error): Use prev_max_error instead of calling
8573 (print_complex_max_error): Use prev_real_max_error and
8574 prev_imag_max_error instead of calling find_complex_function_ulps.
8575 (check_float_internal): Take max_ulp parameter instead of calling
8576 find_test_ulps. Don't call print_ulps.
8577 (check_float): Update call to check_float_internal.
8578 (check_complex): Update calls to check_float_internal.
8579 (START): Pass argument to init_max_error.
8580 * math/gen-libm-test.pl (%results): Don't include "kind"
8582 (parse_ulps): Don't handle ulps of individual tests.
8583 (print_ulps_file): Likewise.
8584 (output_ulps): Likewise.
8585 * math/README.libm-test: Update.
8586 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8588 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8589 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8590 * sysdeps/arm/libm-test-ulps: Likewise.
8591 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8592 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8593 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8594 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8595 * sysdeps/microblaze/libm-test-ulps: Likewise.
8596 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8597 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8599 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8600 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8601 * sysdeps/sh/libm-test-ulps: Likewise.
8602 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8603 * sysdeps/tile/libm-test-ulps: Likewise.
8604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8606 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8608 * math/libm-test.inc (print_complex_max_error): Check separately
8609 whether real and imaginary errors are within allowed range and
8610 pass 0 to print_complex_function_ulps instead of value within
8613 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8615 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8617 (get_handles_fopen): Likewise.
8618 (do_write_test): Likewise.
8620 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8622 * libio/fileops.c (do_ftell): Use cached offset when
8624 * libio/iofwide.c (do_ftell_wide): Likewise.
8625 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8627 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8630 * libio/libioP.h (get_file_offset): New function.
8631 * libio/fileops.c (get_file_offset): Likewise.
8632 (do_ftell): Likewise.
8633 (_IO_new_file_seekoff): Split out ftell logic.
8634 * libio/wfileops.c (do_ftell_wide): Likewise.
8635 (_IO_wfile_seekoff): Split out ftell logic.
8636 * libio/tst-ftell-active-handler.c: New test case.
8637 * libio/Makefile (tests): Add it.
8639 2014-03-03 Roland McGrath <roland@hack.frob.com>
8641 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8642 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8644 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8647 * nscd/connections.c (nscd_init): Call do_exit.
8648 (start_threads): Call do_exit and notify_parent.
8649 (begin_drop_privileges): Call do_exit.
8650 (finish_drop_privileges): Likewise.
8651 * nscd/selinux.c (preserve_capabilities): Likewise.
8652 (install_real_capabilities): Likewise.
8653 (nscd_selinux_enabled): Likewise.
8654 (avc_create_thread): Likewise.
8655 (avc_alloc_lock): Likewise.
8656 (nscd_avc_init): Likewise.
8657 * nscd/nscd.c (parent_fd): New static variable.
8658 (main): Create a pipe between parent and child processes.
8659 Skip closing parent_fd.
8660 (monitor_child): New function.
8661 (do_exit): Likewise.
8662 (notify_parent): Likewise.
8663 * nscd/nscd.h (notify_parent): Likewise.
8664 (do_exit): Likewise.
8666 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8668 * malloc/malloc.c (__libc_calloc): Revert last change.
8670 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8674 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8676 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8680 (__libc_ifunc_impl_list): Likewise.
8681 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8682 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8683 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8684 * string/strrchr.c: Define STRRCHR.
8686 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8688 * benchtest/bench-strtok.c (simple_strtok): Delete.
8689 (strtok_string): Use as benchmark.
8690 * string/strtok (STRTOK): New macro.
8692 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8694 * manual/threads.texi: Add header and standard comments to all
8697 * elf/dl-lookup.c (check_match): New function.
8698 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8699 (do_lookup_x): Remove nested function check_match. Use non-nested
8700 function check_match.
8702 2014-02-28 Roland McGrath <roland@hack.frob.com>
8704 * csu/Makefile (generated, before-compile): Use += rather than =.
8705 * catgets/Makefile (generated, generated-dirs): Likewise.
8706 * debug/Makefile (generated): Likewise.
8707 * dlfcn/Makefile (generated): Likewise.
8708 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8709 * iconvdata/Makefile (before-compile, generated): Likewise.
8710 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8711 * libio/Makefile (generated): Likewise.
8712 * malloc/Makefile (generated): Likewise.
8713 * manual/Makefile (generated, generated-dirs): Likewise.
8714 * misc/Makefile (generated): Likewise.
8715 * posix/Makefile (generated): Likewise.
8716 * resolv/Makefile (generated): Likewise.
8717 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8718 * timezone/Makefile (generated, generated-dirs): Likewise.
8720 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8722 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8725 power8 implementation.
8726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8727 file: POWER8 llround ifunc implementation.
8728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8729 (__lllround): Add POWER8 implementation.
8730 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8731 POWER8 llround implementation.
8733 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8734 power8 implementation.
8735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8736 file: POWER8 llrint ifunc implementation.
8737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8738 Add POWER8 implementation.
8739 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8740 POWER8 llrint implementation.
8742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8743 power8 implementation.
8744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8745 file: POWER8 finite ifunc implementation.
8746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8747 Add POWER8 implementation.
8748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8750 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8751 POWER8 finite implementation.
8752 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8754 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8755 power8 implementation.
8756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8757 file: POWER8 isinf ifunc implementation.
8758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8759 POWER8 implementation.
8760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8762 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8763 isinf implementation.
8764 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8767 (INIT_ARCH): Add hwcap2 initialization.
8768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8769 power8 implementation.
8770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8771 file: POWER8 isnan ifunc implementation.
8772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8773 POWER8 implementation.
8774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8776 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8777 isnan implementation.
8778 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8780 2014-02-27 Joey Ye <joey.ye@arm.com>
8782 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8783 (_FP_NANFRAC_Q): Set to zero.
8785 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8788 * math/auto-libm-test-in: New test inputs.
8789 * math/auto-libm-test-out: Regenerate.
8790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8793 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8795 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8797 * scripts/evaluate-test.sh: Take new argument indicating whether
8798 failure is expected.
8799 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8800 indicating whether failure is expected.
8801 * conform/Makefile (test-xfail-run-conformtest): New variable.
8802 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8804 * posix/Makefile (test-xfail-annexc): New variable.
8805 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8807 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8809 * argp/Makefile: Include Makeconfig immediately after defining
8811 * assert/Makefile: Likewise.
8812 * benchtests/Makefile: Likewise.
8813 * catgets/Makefile: Likewise.
8814 * conform/Makefile: Likewise.
8815 * crypt/Makefile: Likewise.
8816 * csu/Makefile: Likewise.
8817 (all): Remove target.
8818 * ctype/Makefile: Include Makeconfig immediately after defining
8820 * debug/Makefile: Likewise.
8821 * dirent/Makefile: Likewise.
8822 * dlfcn/Makefile: Likewise.
8823 * gmon/Makefile: Likewise.
8824 * gnulib/Makefile: Likewise.
8825 * grp/Makefile: Likewise.
8826 * gshadow/Makefile: Likewise.
8827 * hesiod/Makefile: Likewise.
8828 * hurd/Makefile: Likewise.
8829 (all): Remove target.
8830 * iconvdata/Makefile: Include Makeconfig immediately after
8832 * inet/Makefile: Likewise.
8833 * intl/Makefile: Likewise.
8834 * io/Makefile: Likewise.
8835 * libio/Makefile: Likewise.
8836 (all): Remove target.
8837 * locale/Makefile: Include Makeconfig immediately after defining
8839 * login/Makefile: Likewise.
8840 * mach/Makefile: Likewise.
8841 (all): Remove target.
8842 * malloc/Makefile: Include Makeconfig immediately after defining
8844 (all): Remove target.
8845 * manual/Makefile: Include Makeconfig immediately after defining
8847 * math/Makefile: Likewise.
8848 * misc/Makefile: Likewise.
8849 * nis/Makefile: Likewise.
8850 * nss/Makefile: Likewise.
8851 * po/Makefile: Likewise.
8852 (all): Remove target.
8853 * posix/Makefile: Include Makeconfig immediately after defining
8855 * pwd/Makefile: Likewise.
8856 * resolv/Makefile: Likewise.
8857 * resource/Makefile: Likewise.
8858 * rt/Makefile: Likewise.
8859 * setjmp/Makefile: Likewise.
8860 * shadow/Makefile: Likewise.
8861 * signal/Makefile: Likewise.
8862 * socket/Makefile: Likewise.
8863 * soft-fp/Makefile: Likewise.
8864 * stdio-common/Makefile: Likewise.
8865 * stdlib/Makefile: Likewise.
8866 * streams/Makefile: Likewise.
8867 * string/Makefile: Likewise.
8868 * sunrpc/Makefile: Likewise.
8869 (all): Remove target.
8870 * sysvipc/Makefile: Include Makeconfig immediately after defining
8872 * termios/Makefile: Likewise.
8873 * time/Makefile: Likewise.
8874 * timezone/Makefile: Likewise.
8875 (all): Remove target.
8876 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8878 * wctype/Makefile: Likewise.
8880 2014-02-26 Steve Ellcey <sellcey@mips.com>
8882 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8883 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8884 (libc_feholdexcept_setround_mips): Ditto.
8885 (libc_feholdsetround): New.
8886 (libc_feholdsetroundf): New.
8887 (libc_feholdsetroundl): New.
8888 (libc_feupdateenv_test_mips): New.
8889 (libc_feupdateenv_test): New.
8890 (libc_feupdateenv_testf): New.
8891 (libc_feupdateenv_testl): New.
8892 (libc_feresetround): New.
8893 (libc_feresetroundf): New.
8894 (libc_feresetroundl): New.
8895 (libc_fetestexcept_mips): New.
8896 (libc_fetestexcept): New.
8897 (libc_fetestexceptf): New.
8898 (libc_fetestexceptl): New.
8900 (libc_feholdexcept_setround_mips_ctx): New.
8901 (libc_feholdexcept_setround_ctx): New.
8902 (libc_feholdexcept_setroundf_ctx): New.
8903 (libc_feholdexcept_setroundl_ctx): New.
8904 (libc_fesetenv_mips_ctx): New.
8905 (libc_fesetenv_ctx): New.
8906 (libc_fesetenv_ctxf): New.
8907 (libc_fesetenv_ctxl): New.
8908 (libc_feupdateenv_mips_ctx): New.
8909 (libc_feupdateenv_ctx): New.
8910 (libc_feupdateenvf_ctx): New.
8911 (libc_feupdateenvl_ctx): New.
8912 (libc_feholdsetround_mips_ctx): New.
8913 (libc_feholdsetround_ctx): New.
8914 (libc_feholdsetroundf_ctx): New.
8915 (libc_feholdsetroundl_ctx): New.
8916 (libc_feresetround_mips_ctx): New.
8917 (libc_feresetround_ctx): New.
8918 (libc_feresetroundf_ctx): New.
8919 (libc_feresetroundl_ctx): New.
8921 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8923 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8925 * manual/ipc.texi: New file.
8926 * manual/Makefile (chapters): Add ipc.
8927 * manual/job.texi: Add "Inter-Process Communication" to next.
8928 * manual/process.texi: Add "Inter-Process Communication" to prev.
8930 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8934 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8936 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8938 * manual/arith.texi: Fix spaces after sentences.
8939 * manual/charset.texi: Likewise.
8940 * manual/errno.texi: Likewise.
8941 * manual/install.texi: Likewise.
8942 * manual/llio.texi: Likewise.
8943 * manual/locale.texi: Likewise.
8944 * manual/maint.texi: Likewise.
8945 * manual/math.texi: Likewise.
8946 * manual/memory.texi: Likewise.
8947 * manual/message.texi: Likewise.
8948 * manual/probes.texi: Likewise.
8949 * manual/resource.texi: Likewise.
8950 * manual/signal.texi: Likewise.
8951 * manual/socket.texi: Likewise.
8952 * manual/stdio.texi: Likewise.
8953 * manual/string.texi: Likewise.
8954 * manual/time.texi: Likewise.
8955 * manual/users.texi: Likewise.
8957 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8960 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8961 _DEFAULT_SOURCE is defined.
8963 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8964 Carlos O'Donell <carlos@redhat.com>
8967 * elf/dl-tls.c (_dl_count_modids): New function.
8968 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8969 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8970 audit library and increment generation counter.
8971 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8972 * elf/tst-audit9.c: New file.
8973 * elf/tst-auditmod9a.c: New file.
8974 * elf/tst-auditmod9b.c: New file.
8975 * elf/Makefile: Add rules to build and run tst-audit9.
8977 2014-02-25 Florian Weimer <fweimer@redhat.com>
8980 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8982 2014-02-25 Will Newton <will.newton@linaro.org>
8984 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8985 (__longjmp): Restore sp and lr before restoring callee
8986 saved registers. Add longjmp and longjmp_target
8987 SystemTap probe point.
8988 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8989 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8990 Define to zero to match jmpbuf layout.
8991 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8992 (__sigsetjmp): Save sp and lr before saving callee
8993 saved registers. Add setjmp SystemTap probe point.
8995 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8997 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8999 2014-02-24 Andreas Schwab <schwab@suse.de>
9002 * elf/pldd.c (wait_for_ptrace_stop): New function.
9003 (main): Call it after attaching.
9005 2014-02-22 Roland McGrath <roland@hack.frob.com>
9007 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9008 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9009 Versions files is now verboten.
9010 * hurd/Versions (libc: GLIBC_2.0):
9011 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9012 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9013 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9014 * mach/Versions: Likewise.
9016 * csu/Versions: Remove unused %include.
9017 * resolv/Versions: Likewise.
9019 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9021 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9022 ($(objpfx)check-local-headers.out): Likewise.
9023 ($(objpfx)begin-end-check.out): Likewise.
9024 * Makerules (check-abi-%.out): Likewise.
9025 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9026 ($(objpfx)test2.cat): Likewise.
9027 ($(objpfx)de/libc.cat): Likewise.
9028 ($(objpfx)test-gencat.out): Likewise.
9029 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9030 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9031 ($(objpfx)noload-mem): Likewise.
9032 ($(objpfx)tst-pathopt.out): Likewise.
9033 ($(objpfx)tst-rtld-load-self.out): Likewise.
9034 ($(objpfx)tst-array1-cmp.out): Likewise.
9035 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9036 ($(objpfx)tst-array2-cmp.out): Likewise.
9037 ($(objpfx)tst-array3-cmp.out): Likewise.
9038 ($(objpfx)tst-array4-cmp.out): Likewise.
9039 ($(objpfx)tst-array5-cmp.out): Likewise.
9040 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9041 ($(objpfx)check-textrel.out): Likewise.
9042 ($(objpfx)check-execstack.out): Likewise.
9043 ($(objpfx)check-localplt.out): Likewise.
9044 ($(objpfx)order2-cmp.out): Likewise.
9045 ($(objpfx)tst-leaks1-mem): Likewise.
9046 ($(objpfx)tst-leaks1-static-mem): Likewise.
9047 ($(objpfx)tst-initorder-cmp.out): Likewise.
9048 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9049 ($(objpfx)tst-unused-dep.out): Likewise.
9050 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9051 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9052 * iconv/Makefile (test-iconvconfig): Likewise.
9053 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9054 ($(objpfx)iconv-test.out): Likewise.
9055 ($(objpfx)tst-tables.out): Likewise.
9056 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9057 ($(objpfx)tst-gettext.out): Likewise.
9058 ($(objpfx)tst-translit.out): Likewise.
9059 ($(objpfx)tst-gettext2.out): Likewise.
9060 ($(objpfx)tst-gettext4.out): Likewise.
9061 ($(objpfx)tst-gettext6.out): Likewise.
9062 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9063 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9064 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9065 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9066 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9067 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9068 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9069 ($(objpfx)wordexp-tst.out): Likewise.
9070 ($(objpfx)annexc.out): Likewise.
9071 ($(objpfx)tst-fnmatch-mem): Likewise.
9072 ($(objpfx)bug-regex2-mem): Likewise.
9073 ($(objpfx)bug-regex14-mem): Likewise.
9074 ($(objpfx)bug-regex21-mem): Likewise.
9075 ($(objpfx)bug-regex31-mem): Likewise.
9076 ($(objpfx)tst-vfork3-mem): Likewise.
9077 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9078 ($(objpfx)tst-pcre-mem): Likewise.
9079 ($(objpfx)tst-boost-mem): Likewise.
9080 ($(objpfx)tst-getconf.out): Likewise.
9081 ($(objpfx)bug-ga2-mem): Likewise.
9082 ($(objpfx)bug-glob2-mem): Likewise.
9083 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9084 ($(objpfx)mtrace-tst-leaks2): Likewise.
9085 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9086 ($(objpfx)tst-printf.out): Likewise.
9087 ($(objpfx)tst-setvbuf1.out): Likewise.
9088 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9089 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9090 ($(objpfx)tst-fmtmsg.out): Likewise.
9091 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9092 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9094 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9095 * bits/sigaction.h [__USE_MISC]: Likewise.
9096 * bits/waitstatus.h: Update #endif comments.
9097 * ctype/ctype.h: Likewise.
9098 * dirent/dirent.h: Likewise.
9099 [__USE_MISC]: Remove redundant conditionals.
9100 * grp/grp.h: Update #endif comments.
9101 [__USE_GNU]: Remove redundant conditionals.
9102 [__USE_MISC]: Likewise.
9103 * inet/netinet/in.h [__USE_GNU]: Likewise.
9104 * io/sys/stat.h [__USE_MISC]: Likewise.
9105 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9106 * libio/bits/stdio.h: Update #endif comments.
9107 [__USE_MISC]: Remove redundant conditionals.
9108 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9109 * libio/stdio.h: Update #endif comments.
9110 [__USE_MISC]: Remove redundant conditionals.
9111 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9112 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9113 * math/math.h: Update #else and #endif comments.
9114 [__USE_MISC]: Remove redundant conditionals.
9115 * misc/sys/uio.h: Update #endif comments.
9116 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9117 * posix/glob.h [__USE_MISC]: Likewise.
9118 * posix/sys/types.h: Update #endif comments.
9119 [__USE_MISC]: Remove redundant conditionals.
9120 * posix/sys/wait.h: Update #endif comments.
9121 [__USE_MISC]: Remove redundant conditionals.
9122 * posix/unistd.h: Update #endif comments.
9123 [__USE_MISC]: Remove redundant conditionals.
9124 * pwd/pwd.h [__USE_GNU]: Likewise.
9125 [__USE_MISC]: Likewise.
9126 * resolv/netdb.h [__USE_GNU]: Likewise.
9127 * signal/signal.h: Update #endif comments.
9128 [__USE_MISC]: Remove redundant conditionals.
9129 * stdlib/stdlib.h: Update #else and #endif comments.
9130 [__USE_MISC]: Remove redundant conditionals.
9131 [__USE_GNU]: Likewise.
9132 * string/bits/string2.h [__USE_MISC]: Likewise.
9133 * string/string.h: Update #endif comments.
9134 [__USE_MISC]: Remove redundant conditionals.
9135 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9137 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9138 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9139 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9141 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9143 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9145 [__USE_MISC]: Remove redundant conditionals.
9146 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9147 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9148 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9149 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9150 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9152 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9153 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9155 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9156 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9158 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9160 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9161 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9163 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9165 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9166 * sysdeps/x86/bits/string.h: Update #endif comments.
9167 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9169 * time/sys/time.h: Update #endif comments.
9170 * time/time.h: Likewise.
9171 [__USE_MISC]: Remove redundant conditionals.
9173 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9176 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9178 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9180 * Versions.def (librt): Add GLIBC_2.17.
9182 2014-02-21 Adam Conrad <adconrad@0c3.net>
9184 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9185 synonym for _SYS_AUXV_H to allow direct inclusion.
9186 * sysdeps/sparc/bits/hwcap.h: Likewise.
9187 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9188 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9189 * sysdeps/sparc/sysdep.h: Likewise.
9191 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9193 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9195 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9197 * benchtests/bench-strrchr.c: Print length instead of position.
9199 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9202 * sysdeps/unix/sysv/linux/kernel-features.h
9203 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9204 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9205 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9206 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9208 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9209 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9210 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9211 (__ASSUME_SENDMMSG): Define instead of using previous
9212 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9213 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9214 (__ASSUME_SENDMMSG_SYSCALL): Define.
9215 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9216 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9218 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9219 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9221 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9222 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9224 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9225 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9226 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9227 [__ASSUME_SENDMMSG]: Change conditionals to
9228 [__ASSUME_SENDMMSG_SOCKETCALL].
9229 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9230 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9232 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9233 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9235 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9236 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9237 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9238 [!__ASSUME_SENDMMSG]: Change conditional to
9239 [!__ASSUME_SENDMMSG_SOCKETCALL].
9240 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9241 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9245 * sysdeps/unix/sysv/linux/kernel-features.h
9246 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9247 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9248 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9249 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9250 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9251 [__i386__ || __sparc__]
9252 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9253 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9254 (__ASSUME_RECVMMSG): Define instead of using previous
9255 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9256 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9257 (__ASSUME_RECVMMSG_SYSCALL): Define.
9258 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9259 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9261 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9262 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9264 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9265 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9267 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9268 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9269 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9270 [__ASSUME_RECVMMSG]: Change condition to
9271 [__ASSUME_RECVMMSG_SOCKETCALL].
9272 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9273 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9275 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9277 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9279 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9280 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9281 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9282 [!__ASSUME_RECVMMSG]: Change condition to
9283 [!__ASSUME_RECVMMSG_SOCKETCALL].
9284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9285 (__ASSUME_RECVMMSG_SYSCALL): Define.
9288 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9289 __powerpc__ || __s390__ || __sh__ || __sparc__]
9290 (__ASSUME_SOCKETCALL): Define.
9291 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9292 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9293 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9294 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9295 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9296 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9297 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9298 (__ASSUME_ACCEPT4): Define instead of using previous
9299 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9300 __powerpc__ || __sparc__ || __s390__)] condition.
9301 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9302 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9303 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9304 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9305 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9306 [!__ASSUME_ACCEPT4]: Change condition to
9307 [!__ASSUME_ACCEPT4_SOCKETCALL].
9308 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9309 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9310 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9311 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9312 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9313 __ASSUME_ACCEPT4_SYSCALL.
9314 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9315 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9316 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9317 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9318 __ASSUME_ACCEPT4_SYSCALL.
9319 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9320 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9321 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9322 [__ASSUME_ACCEPT4]: Change condition to
9323 [__ASSUME_ACCEPT4_SOCKETCALL].
9324 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9325 (__ASSUME_SOCKETCALL): Define.
9326 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9327 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9328 (__ASSUME_SOCKETCALL): Define.
9329 (__ASSUME_ACCEPT4): Remove.
9330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9332 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9333 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9335 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9336 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9338 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9340 (HWCAP_ARM_LPAE): Likewise.
9341 (HWCAP_ARM_EVTSTRM): Likewise.
9342 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9343 Add vpfd32, lpae and evtstrm.
9344 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9347 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9349 * math/auto-libm-test-in: Add tests of clog10.
9350 * math/auto-libm-test-out: Regenerated.
9351 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9352 * sysdeps/i386/fpu/libm-test-ulps: Update.
9353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9355 2014-02-18 Andreas Schwab <schwab@suse.de>
9358 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9359 Store non-zero if the second buffer was newly allocated.
9360 (send_dg): Likewise.
9361 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9362 to send_vc and send_dg.
9363 (res_nsend): Pass NULL for ansp2_malloced.
9364 * resolv/res_query.c (__libc_res_nquery): Add parameter
9365 answerp2_malloced and pass it down to __libc_res_nsend.
9366 (res_nquery): Pass additional NULL to __libc_res_nquery.
9367 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9368 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9369 second answer buffer if answerp2_malloced was set.
9370 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9371 (__libc_res_nquerydomain): Add parameter
9372 answerp2_malloced and pass it down to __libc_res_nquery.
9373 (res_nquerydomain): Pass additional NULL to
9374 __libc_res_nquerydomain.
9375 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9376 additional NULL to __libc_res_nsend and __libc_res_nquery.
9377 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9378 additional NULL to __libc_res_nsearch.
9379 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9380 parameter of __libc_res_nsearch to check for separately allocated
9382 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9384 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9385 additional NULL to __libc_res_nquery.
9386 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9388 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9389 * include/resolv.h: Update prototypes of __libc_res_nquery,
9390 __libc_res_nsearch, __libc_res_nsend.
9392 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9394 * math/auto-libm-test-in: Add tests of fma.
9395 * math/auto-libm-test-out: Regenerated.
9396 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9397 (fma_towardzero_test_data): Likewise.
9398 (fma_downward_test_data): Likewise.
9399 (fma_upward_test_data): Likewise.
9400 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9402 (rounding_modes): Add values for new field.
9403 (func_calc_method): Add value mpfr_fff_f.
9404 (func_calc_desc): Add mpfr_fff_f union field.
9405 (test_function): Add field exact_args.
9406 (FUNC): Add macro argument EXACT_ARGS.
9407 (FUNC_mpfr_f_f): Update call to FUNC.
9408 (FUNC_mpfr_f_f): Likewise.
9409 (FUNC_mpfr_ff_f): Likewise.
9410 (FUNC_mpfr_if_f): Likewise.
9411 (FUNC_mpc_c_f): Likewise.
9412 (FUNC_mpc_c_c): Likewise.
9413 (test_functions): Add fma. Update calls to FUNC.
9414 (handle_input_arg): Add argument exact_args.
9415 (add_test): Update call to handle_input_arg.
9416 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9417 (output_for_one_input_case): Update call to calc_generic_results.
9418 Recalculate exact zero results in each rounding mode.
9420 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9421 non-negative before setting low bit.
9422 * math/auto-libm-test-in: Mark one asin test possibly having
9424 * math/auto-libm-test-out: Regenerated.
9425 * sysdeps/i386/fpu/libm-test-ulps: Update.
9426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9428 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9430 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9431 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9432 ports/sysdeps/unix/sysv/linux/microblaze.
9433 * README: Add missing listing for microblaze*-*-linux-gnu.
9435 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9437 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9438 * sysdeps/unix/sysv/linux/ia64: Move directory from
9439 ports/sysdeps/unix/sysv/linux/ia64.
9440 * README: Update listing for ia64-*-linux-gnu.
9442 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9443 Joseph Myers <joseph@codesourcery.com>
9445 * Makeconfig (test-name): New variable.
9446 (evaluate-test): Likewise.
9447 * Makerules (do-test-clean): Remove .test-result files.
9448 (common-mostlyclean): Likewise.
9449 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9450 * scripts/evaluate-test.sh: New file.
9452 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9454 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9455 separate $(objpfx)tst-fopenloc-cmp.out and
9456 $(objpfx)tst-fopenloc-mem.out targets.
9457 (tests): Update dependencies.
9458 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9459 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9460 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9461 (tst-rxspencer-no-utf8-ARGS): New variable.
9462 (tst-rxspencer-no-utf8-ENV): Likewise.
9463 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9464 instead of $(objpfx)tst-rxspencer-mem.
9465 ($(objpfx)tst-rxspencer-mem): Change target to
9466 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9467 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9468 * posix/tst-rxspencer-no-utf8.c: New file.
9470 * elf/Makefile ($(objpfx)order.out): Remove rule.
9471 [$(run-built-tests) = yes] (tests): Depend on
9472 $(objpfx)order-cmp.out.
9473 ($(objpfx)order-cmp.out): New rule.
9474 [$(run-built-tests) = yes] (tests): Depend on
9475 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9476 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9477 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9478 $(objpfx)tst-array5-static-cmp.out.
9479 ($(objpfx)tst-array1.out): Remove rule.
9480 ($(objpfx)tst-array1-cmp.out): New rule.
9481 ($(objpfx)tst-array1-static.out): Remove rule.
9482 ($(objpfx)tst-array1-static-cmp.out): New rule.
9483 ($(objpfx)tst-array2.out): Remove rule.
9484 ($(objpfx)tst-array2-cmp.out): New rule.
9485 ($(objpfx)tst-array3.out): Remove rule.
9486 ($(objpfx)tst-array3-cmp.out): New rule.
9487 ($(objpfx)tst-array4.out): Remove rule.
9488 ($(objpfx)tst-array4-cmp.out): New rule.
9489 ($(objpfx)tst-array5.out): Remove rule.
9490 ($(objpfx)tst-array5-cmp.out): New rule.
9491 ($(objpfx)tst-array5-static.out): Remove rule.
9492 ($(objpfx)tst-array5-static-cmp.out): New rule.
9493 [$(run-built-tests) = yes] (tests): Depend on
9494 $(objpfx)order2-cmp.out.
9495 ($(objpfx)order2.out): Remove rule.
9496 ($(objpfx)order2-cmp.out): New rule.
9497 ($(objpfx)tst-initorder.out): Remove rule.
9498 [$(run-built-tests) = yes] (tests): Depend on
9499 $(objpfx)tst-initorder-cmp.out.
9500 ($(objpfx)tst-initorder-cmp.out): New rule.
9501 ($(objpfx)tst-initorder2.out): Remove rule.
9502 [$(run-built-tests) = yes] (tests): Depend on
9503 $(objpfx)tst-initorder2-cmp.out.
9504 ($(objpfx)tst-initorder2-cmp.out): New rule.
9505 [$(run-built-tests) = yes] (tests): Depend on
9506 $(objpfx)tst-unused-dep-cmp.out.
9507 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9508 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9509 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9510 on $(objpfx)tst-setvbuf1-cmp.out.
9511 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9512 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9513 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9514 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9515 ($(objpfx)tst-svc.out): Remove rule.
9516 ($(objpfx)tst-svc-cmp.out): New rule.
9518 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9520 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9521 * ctype/ctype.h [__USE_MISC]: Likewise.
9522 * dirent/dirent.h [__USE_MISC]: Likewise.
9523 * grp/grp.h [__USE_MISC]: Likewise.
9524 * io/fcntl.h [__USE_MISC]: Likewise.
9525 * io/sys/stat.h [__USE_MISC]: Likewise.
9526 * libio/stdio.h [__USE_MISC]: Likewise.
9527 * posix/unistd.h [__USE_MISC]: Likewise.
9528 * pwd/pwd.h [__USE_MISC]: Likewise.
9529 * stdlib.h [__USE_MISC]: Likewise.
9530 * string/bits/string2.h [__USE_MISC]: Likewise.
9531 * string/string.h [__USE_MISC]: Likewise.
9532 * time/time.h [__USE_MISC]: Likewise.
9534 2014-02-13 Andreas Schwab <schwab@suse.de>
9537 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9538 second answer buffer if it was separately allocated.
9540 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9542 * sysdeps/mips/math-tests.h: Include <features.h>.
9543 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9544 (ROUNDING_TESTS_long_double): Do not define.
9545 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9546 (EXCEPTION_TESTS_long_double): Likewise.
9547 * sysdeps/mips/mips64/libm-test-ulps: Update.
9549 * include/features.h (__USE_BSD): Remove macro definitions.
9550 (__USE_SVID): Likewise.
9551 (_BSD_SOURCE): Likewise.
9552 (_SVID_SOURCE): Likewise.
9553 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9554 from definition of _DEFAULT_SOURCE.
9555 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9557 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9558 * bits/mman.h [__USE_BSD]: Likewise.
9559 * bits/termios.h [__USE_BSD]: Likewise.
9560 * bits/waitstatus.h [__USE_BSD]: Likewise.
9561 * ctype/ctype.h [__USE_SVID]: Likewise.
9562 * dirent/dirent.h [__USE_BSD]: Likewise.
9563 * grp/grp.h [__USE_SVID]: Likewise.
9564 [__USE_BSD]: Likewise.
9565 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9566 * io/fcntl.h [__USE_BSD]: Likewise.
9567 * io/ftw.h [__USE_BSD]: Likewise.
9568 * io/sys/stat.h [__USE_BSD]: Likewise.
9569 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9570 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9571 * libio/stdio.h [__USE_SVID]: Likewise.
9572 [__USE_BSD]: Likewise.
9573 * math/math.h [__USE_SVID]: Likewise.
9574 [__USE_BSD]: Likewise.
9575 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9576 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9577 * misc/search.h [__USE_SVID]: Likewise.
9578 * misc/sys/mman.h [__USE_BSD]: Likewise.
9579 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9580 * misc/sys/uio.h [__USE_BSD]: Likewise.
9581 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9582 * posix/glob.h [__USE_BSD]: Likewise.
9583 * posix/regex.h [__USE_BSD]: Likewise.
9584 * posix/sys/types.h [__USE_BSD]: Likewise.
9585 [__USE_SVID]: Likewise.
9586 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9587 * posix/sys/wait.h [__USE_BSD]: Likewise.
9588 [__USE_SVID]: Likewise.
9589 * posix/unistd.h [__USE_BSD]: Likewise.
9590 [__USE_SVID]: Likewise.
9591 * pwd/pwd.h [__USE_SVID]: Likewise.
9592 * resolv/netdb.h [__USE_BSD]: Likewise.
9593 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9594 * signal/signal.h [__USE_BSD]: Likewise.
9595 [__USE_SVID]: Likewise.
9596 * socket/sys/socket.h [__USE_BSD]: Likewise.
9597 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9598 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9599 [__USE_SVID]: Likewise.
9600 * string/bits/string2.h [__USE_BSD]: Likewise.
9601 [__USE_SVID]: Likewise.
9602 * string/bits/string3.h [__USE_BSD]: Likewise.
9603 * string/endian.h [__USE_BSD]: Likewise.
9604 * string/string.h [__USE_SVID]: Likewise.
9605 [__USE_BSD]: Likewise.
9606 * string/strings.h [__USE_BSD]: Likewise.
9607 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9608 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9609 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9610 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9611 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9612 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9614 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9616 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9617 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9619 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9620 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9622 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9624 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9625 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9628 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9630 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9631 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9632 * termios/termios.h [__USE_BSD]: Likewise.
9633 * time/sys/time.h [__USE_BSD]: Likewise.
9634 * time/time.h [__USE_BSD]: Likewise.
9635 [__USE_SVID]: Likewise.
9637 * Makefile (subdir_targets): Remove subdir_lint.out.
9639 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9640 (do-tst-printf): Likewise.
9641 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9642 $(objpfx)tst-printf.out.
9644 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9646 * Makerules (check-abi-%): Change target to
9647 $(objpfx)check-abi-%.out.
9648 (check-abi target): Update dependencies.
9649 (check-abi-pattern variable): Redirect output of diff to $@.
9650 (check-abi variable): Likewise.
9651 * elf/Makefile (check-abi): Update dependencies.
9653 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9655 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9656 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9658 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9659 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9660 value has largest subnormal exponent.
9661 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9662 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9663 * sysdeps/aarch64/soft-fp/sfp-machine.h
9664 (_FP_TININESS_AFTER_ROUNDING): New macro.
9665 * sysdeps/alpha/soft-fp/sfp-machine.h
9666 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9667 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9669 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9670 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9671 * sysdeps/mips/soft-fp/sfp-machine.h
9672 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9673 * sysdeps/powerpc/soft-fp/sfp-machine.h
9674 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9675 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9677 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9678 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9680 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9681 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9684 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9687 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9690 2014-02-12 Richard Henderson <rth@redhat.com>
9692 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9693 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9694 * sysdeps/unix/sysv/linux/alpha: Move directory from
9695 ports/sysdeps/unix/sysv/linux/alpha.
9696 * README: Update listing for alpha-*-linux-gnu.
9698 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9700 * include/features.h: Update comment documenting feature test
9702 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9704 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9705 (_SVID_SOURCE): Likewise.
9706 (_DEFAULT_SOURCE): Update description of default features.
9707 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9709 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9710 (S_ISVTX): Likewise.
9711 * manual/math.texi (Mathematical Constants): Likewise.
9712 * manual/signal.texi (Interrupted Primitives): Likewise.
9713 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9714 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9715 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9716 Don't refer to _SVID_SOURCE in warning text.
9718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9720 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9722 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9723 * sysdeps/mips/dl-lookup.c: Remove.
9724 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9726 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9729 * math/auto-libm-test-in: Add testcase for expl.
9730 * math/auto-libm-test-out: Regenerate.
9731 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9732 calculation of unsafe.
9733 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9735 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9737 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9738 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9739 ports/sysdeps/unix/sysv/linux/aarch64.
9740 * README: Update listing for aarch64*-*-linux-gnu.
9742 2014-02-11 Will Newton <will.newton@linaro.org>
9744 * manual/probes.texi (Mathematical Function Probes): Use
9745 "triggered" instead of "hit".
9747 * manual/probes.texi (Internal Probes): Add documentation
9748 of setjmp, longjmp and longjmp_target probes.
9750 * include/stap-probe.h: Add comment about probe argument
9753 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9754 definition. (tr_where, tr_freehook, tr_mallochook,
9755 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9757 2014-02-11 David S. Miller <davem@davemloft.net>
9759 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9760 processing int_tests.
9762 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9764 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9765 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9766 * sysdeps/unix/sysv/linux/mips: Move directory from
9767 ports/sysdeps/unix/sysv/linux/mips.
9768 * README: Update listing for mips-*-linux-gnu and
9771 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9773 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9774 * sysdeps/unix/sysv/linux/m68k: Move directory from
9775 ports/sysdeps/unix/sysv/linux/m68k.
9776 * README: Update listing for m68k-*-linux-gnu.
9778 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9780 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9781 * sysdeps/unix/sysv/linux/generic: Move directory from
9782 ports/sysdeps/unix/sysv/linux/generic.
9783 * sysdeps/unix/sysv/linux/tile: Move directory from
9784 ports/sysdeps/unix/sysv/linux/tile.
9785 * README: Update listing for tile*-*-linux-gnu.
9787 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9789 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9791 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9792 * catgets/open_catalog.c (__open_catalog): Likewise.
9793 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9794 * debug/confstr_chk.c: Likewise.
9795 * debug/fread_chk.c (__fread_chk): Likewise.
9796 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9797 * debug/getgroups_chk.c: Likewise.
9798 * debug/mbsnrtowcs_chk.c: Likewise.
9799 * debug/mbsrtowcs_chk.c: Likewise.
9800 * debug/mbstowcs_chk.c: Likewise.
9801 * debug/memcpy_chk.c: Likewise.
9802 * debug/memmove_chk.c: Likewise.
9803 * debug/mempcpy_chk.c: Likewise.
9804 * debug/memset_chk.c: Likewise.
9805 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9806 * debug/strcat_chk.c (__strcat_chk): Likewise.
9807 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9808 * debug/strncat_chk.c (__strncat_chk): Likewise.
9809 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9810 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9811 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9812 * debug/wcpncpy_chk.c: Likewise.
9813 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9814 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9815 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9816 * debug/wcsncpy_chk.c: Likewise.
9817 * debug/wcsnrtombs_chk.c: Likewise.
9818 * debug/wcsrtombs_chk.c: Likewise.
9819 * debug/wcstombs_chk.c: Likewise.
9820 * debug/wmemcpy_chk.c: Likewise.
9821 * debug/wmemmove_chk.c: Likewise.
9822 * debug/wmempcpy_chk.c: Likewise.
9823 * debug/wmemset_chk.c: Likewise.
9824 * dirent/scandirat.c (SCANDIRAT): Likewise.
9825 * dlfcn/dladdr1.c (dladdr1): Likewise.
9826 * dlfcn/dladdr.c (dladdr): Likewise.
9827 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9828 * dlfcn/dlerror.c (__dlerror): Likewise.
9829 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9830 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9831 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9832 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9833 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9834 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9835 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9836 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9838 * elf/dl-conflict.c: Likewise.
9839 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9840 * elf/dl-dst.h: Likewise.
9841 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9842 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9843 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9844 * elf/dl-init.c (call_init, _dl_init): Likewise.
9845 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9846 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9847 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9849 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9851 * elf/dl-minimal.c (__libc_memalign): Likewise.
9852 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9853 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9854 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9855 * elf/dl-sym.c (do_sym): Likewise.
9856 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9857 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9858 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9859 * elf/dl-writev.h (_dl_writev): Likewise.
9860 * elf/ldconfig.c (search_dir): Likewise.
9861 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9862 (dl_main): Likewise.
9863 * elf/setup-vdso.h (setup_vdso): Likewise.
9864 * grp/compat-initgroups.c (compat_call): Likewise.
9865 * grp/fgetgrent.c (fgetgrent): Likewise.
9866 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9867 * grp/putgrent.c (putgrent): Likewise.
9868 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9870 * hurd/hurdinit.c: Likewise.
9871 * iconvdata/8bit-gap.c (struct): Likewise.
9872 * iconvdata/ansi_x3.110.c : Likewise.
9873 * iconvdata/big5.c : Likewise.
9874 * iconvdata/big5hkscs.c : Likewise.
9875 * iconvdata/cp1255.c: Likewise.
9876 * iconvdata/cp1258.c : Likewise.
9877 * iconvdata/cp932.c : Likewise.
9878 * iconvdata/euc-cn.c: Likewise.
9879 * iconvdata/euc-jisx0213.c : Likewise.
9880 * iconvdata/euc-jp.c: Likewise.
9881 * iconvdata/euc-jp-ms.c : Likewise.
9882 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9883 * iconvdata/gb18030.c : Likewise.
9884 * iconvdata/gbbig5.c (const): Likewise.
9885 * iconvdata/gbgbk.c: Likewise.
9886 * iconvdata/gbk.c : Likewise.
9887 * iconvdata/ibm1364.c : Likewise.
9888 * iconvdata/ibm930.c : Likewise.
9889 * iconvdata/ibm932.c: Likewise.
9890 * iconvdata/ibm933.c : Likewise.
9891 * iconvdata/ibm935.c : Likewise.
9892 * iconvdata/ibm937.c : Likewise.
9893 * iconvdata/ibm939.c : Likewise.
9894 * iconvdata/ibm943.c: Likewise.
9895 * iconvdata/iso_11548-1.c: Likewise.
9896 * iconvdata/iso-2022-cn.c : Likewise.
9897 * iconvdata/iso-2022-cn-ext.c : Likewise.
9898 * iconvdata/iso-2022-jp-3.c: Likewise.
9899 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9900 * iconvdata/iso-2022-kr.c : Likewise.
9901 * iconvdata/iso646.c (gconv_end): Likewise.
9902 * iconvdata/iso_6937-2.c : Likewise.
9903 * iconvdata/iso_6937.c : Likewise.
9904 * iconvdata/iso8859-1.c: Likewise.
9905 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9906 * iconvdata/shift_jisx0213.c : Likewise.
9907 * iconvdata/sjis.c : Likewise.
9908 * iconvdata/t.61.c : Likewise.
9909 * iconvdata/tcvn5712-1.c : Likewise.
9910 * iconvdata/tscii.c: Likewise.
9911 * iconvdata/uhc.c : Likewise.
9912 * iconvdata/unicode.c (gconv_end): Likewise.
9913 * iconvdata/utf-16.c (gconv_end): Likewise.
9914 * iconvdata/utf-32.c (gconv_end): Likewise.
9915 * iconvdata/utf-7.c (base64): Likewise.
9916 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9917 * iconv/gconv_close.c (__gconv_close): Likewise.
9918 * iconv/gconv_open.c (__gconv_open): Likewise.
9919 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9920 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9921 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9922 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9923 (ucs4le_internal_loop_single): Likewise.
9924 * iconv/iconv.c (iconv): Likewise.
9925 * iconv/iconv_close.c: Likewise.
9926 * iconv/loop.c (SINGLE): Likewise.
9927 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9928 * include/atomic.h: Likewise.
9929 * inet/inet6_option.c (option_alloc): Likewise.
9930 * intl/bindtextdom.c (set_binding_values): Likewise.
9931 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9932 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9933 * intl/localealias.c (read_alias_file): Likewise.
9934 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9935 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9936 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9937 * libio/fmemopen.c (fmemopen): Likewise.
9938 * libio/iofgets.c (_IO_fgets): Likewise.
9939 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9940 * libio/iofgetws.c (fgetws): Likewise.
9941 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9942 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9943 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9944 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9945 * locale/findlocale.c (_nl_find_locale): Likewise.
9946 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9947 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9949 * locale/setlocale.c (setlocale): Likewise.
9950 * login/programs/pt_chown.c (main): Likewise.
9951 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9952 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9953 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9954 (mmap, mmap64, mremap, munmap): Likewise.
9955 * math/e_exp2l.c: Likewise.
9956 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9957 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9958 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9959 * math/s_catan.c (__catan): Likewise.
9960 * math/s_catanf.c (__catanf): Likewise.
9961 * math/s_catanh.c (__catanh): Likewise.
9962 * math/s_catanhf.c (__catanhf): Likewise.
9963 * math/s_catanhl.c (__catanhl): Likewise.
9964 * math/s_catanl.c (__catanl): Likewise.
9965 * math/s_ccosh.c (__ccosh): Likewise.
9966 * math/s_ccoshf.c (__ccoshf): Likewise.
9967 * math/s_ccoshl.c (__ccoshl): Likewise.
9968 * math/s_cexp.c (__cexp): Likewise.
9969 * math/s_cexpf.c (__cexpf): Likewise.
9970 * math/s_cexpl.c (__cexpl): Likewise.
9971 * math/s_clog10.c (__clog10): Likewise.
9972 * math/s_clog10f.c (__clog10f): Likewise.
9973 * math/s_clog10l.c (__clog10l): Likewise.
9974 * math/s_clog.c (__clog): Likewise.
9975 * math/s_clogf.c (__clogf): Likewise.
9976 * math/s_clogl.c (__clogl): Likewise.
9977 * math/s_csin.c (__csin): Likewise.
9978 * math/s_csinf.c (__csinf): Likewise.
9979 * math/s_csinh.c (__csinh): Likewise.
9980 * math/s_csinhf.c (__csinhf): Likewise.
9981 * math/s_csinhl.c (__csinhl): Likewise.
9982 * math/s_csinl.c (__csinl): Likewise.
9983 * math/s_csqrt.c (__csqrt): Likewise.
9984 * math/s_csqrtf.c (__csqrtf): Likewise.
9985 * math/s_csqrtl.c (__csqrtl): Likewise.
9986 * math/s_ctan.c (__ctan): Likewise.
9987 * math/s_ctanf.c (__ctanf): Likewise.
9988 * math/s_ctanh.c (__ctanh): Likewise.
9989 * math/s_ctanhf.c (__ctanhf): Likewise.
9990 * math/s_ctanhl.c (__ctanhl): Likewise.
9991 * math/s_ctanl.c (__ctanl): Likewise.
9992 * math/w_pow.c: Likewise.
9993 * math/w_powf.c: Likewise.
9994 * math/w_powl.c: Likewise.
9995 * math/w_scalb.c (sysv_scalb): Likewise.
9996 * math/w_scalbf.c (sysv_scalbf): Likewise.
9997 * math/w_scalbl.c (sysv_scalbl): Likewise.
9998 * misc/error.c (error_tail): Likewise.
9999 * misc/pselect.c (__pselect): Likewise.
10000 * nis/nis_callback.c (__nis_create_callback): Likewise.
10001 * nis/nis_call.c (__nisfind_server): Likewise.
10002 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10003 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10004 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10005 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10006 * nis/nis_lookup.c (nis_lookup): Likewise.
10007 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10008 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10009 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10010 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10011 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10012 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10013 * nis/nss_compat/compat-initgroups.c (add_group)
10014 (internal_getgrent_r): Likewise.
10015 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10016 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10017 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10018 (internal_getspnam_r): Likewise.
10019 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10020 (_nss_nis_getaliasbyname_r): Likewise.
10021 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10022 (_nss_nis_getntohost_r): Likewise.
10023 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10024 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10025 (_nss_nis_getgrgid_r): Likewise.
10026 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10027 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10028 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10029 (_nss_nis_gethostbyname4_r): Likewise.
10030 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10031 (initgroups_netid): Likewise.
10032 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10033 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10034 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10035 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10036 (_nss_nis_getprotobynumber_r): Likewise.
10037 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10038 (_nss_nis_getsecretkey): Likewise.
10039 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10040 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10041 (_nss_nis_getpwuid_r): Likewise.
10042 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10043 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10044 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10045 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10046 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10047 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10048 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10050 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10051 (_nss_nisplus_getntohost_r): Likewise.
10052 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10053 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10054 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10055 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10057 * nis/nss_nisplus/nisplus-initgroups.c
10058 (_nss_nisplus_initgroups_dyn): Likewise.
10059 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10060 (_nss_nisplus_getnetbyaddr_r): Likewise.
10061 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10062 (_nss_nisplus_getprotobynumber_r): Likewise.
10063 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10064 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10065 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10067 * nis/nss_nisplus/nisplus-service.c
10068 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10069 (_nss_nisplus_getservbyport_r): Likewise.
10070 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10071 (_nss_nisplus_getspnam_r): Likewise.
10072 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10074 * nscd/aicache.c (addhstaiX): Likewise.
10075 * nscd/cache.c (cache_search, prune_cache): Likewise.
10076 * nscd/connections.c (register_traced_file, send_ro_fd)
10077 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10078 (main_loop_epoll): Likewise.
10079 * nscd/grpcache.c (addgrbyX): Likewise.
10080 * nscd/hstcache.c (addhstbyX): Likewise.
10081 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10082 * nscd/mem.c (gc, mempool_alloc): Likewise.
10083 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10084 (addinnetgrX): Likewise.
10085 * nscd/nscd-client.h (__nscd_acquire_maplock)
10086 (__nscd_drop_map_ref): Likewise.
10087 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10088 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10089 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10091 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10092 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10093 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10094 (__nscd_get_map_ref): Likewise.
10095 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10096 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10098 * nscd/pwdcache.c (addpwbyX): Likewise.
10099 * nscd/selinux.c (preserve_capabilities): Likewise.
10100 * nscd/servicescache.c (addservbyX): Likewise.
10101 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10102 * posix/fnmatch.c (fnmatch): Likewise.
10103 * posix/getopt.c (_getopt_internal_r): Likewise.
10104 * posix/glob.c (glob, glob_in_dir): Likewise.
10105 * posix/wordexp.c (exec_comm_child): Likewise.
10106 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10107 (getanswer_r, gaih_getanswer_slice): Likewise.
10108 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10109 * resolv/res_init.c: Likewise.
10110 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10111 * resolv/res_query.c (__libc_res_nquery): Likewise.
10112 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10114 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10115 * stdio-common/perror.c (perror): Likewise.
10116 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10117 * stdio-common/tmpnam.c (tmpnam): Likewise.
10118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10119 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10120 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10122 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10123 * stdlib/putenv.c (putenv): Likewise.
10124 * stdlib/setenv.c (__add_to_environ): Likewise.
10125 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10126 * stdlib/strtol_l.c (INTERNAL): Likewise.
10127 * string/memmem.c (memmem): Likewise.
10128 * string/strerror.c (strerror): Likewise.
10129 * string/strnlen.c (__strnlen): Likewise.
10130 * string/test-memmem.c (simple_memmem): Likewise.
10131 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10132 * sunrpc/pm_getport.c (__get_socket): Likewise.
10133 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10134 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10135 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10136 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10138 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10139 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10140 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10141 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10142 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10143 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10145 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10147 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10148 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10150 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10151 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10153 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10154 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10155 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10156 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10157 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10158 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10160 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10162 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10164 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10165 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10166 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10167 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10168 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10169 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10170 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10174 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10175 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10176 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10178 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10179 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10181 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10183 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10187 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10189 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10191 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10192 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10193 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10194 * sysdeps/posix/sleep.c: Likewise.
10195 * sysdeps/posix/tempname.c: Likewise.
10196 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10197 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10199 * sysdeps/powerpc/powerpc32/dl-machine.h
10200 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10201 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10203 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10204 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10206 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10207 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10208 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10209 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10210 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10211 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10212 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10213 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10214 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10215 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10216 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10217 (elf_machine_lazy_rel): Likewise.
10218 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10220 (elf_machine_lazy_rel): Likewise.
10221 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10222 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10223 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10224 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10225 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10226 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10227 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10230 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10231 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10232 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10233 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10234 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10235 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10236 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10237 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10238 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10239 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10240 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10242 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10243 (__posix_fallocate64_l64): Likewise.
10244 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10245 (posix_fallocate): Likewise.
10246 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10249 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10250 (getifaddrs_internal): Likewise.
10251 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10252 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10253 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10254 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10255 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10256 (__posix_fallocate64_l64): Likewise.
10257 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10259 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10260 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10261 (__get_clockfreq): Likewise.
10262 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10263 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10264 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10267 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10268 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10269 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10271 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10272 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10273 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10275 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10276 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10277 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10279 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10280 (posix_fallocate): Likewise.
10281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10282 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10283 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10284 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10285 (elf_machine_rela, elf_machine_rela_relative)
10286 (elf_machine_lazy_rel): Likewise.
10287 * time/asctime.c (asctime_internal): Likewise.
10288 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10289 * time/tzset.c (__tzset_parse_tz): Likewise.
10290 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10291 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10292 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10293 * wcsmbs/wcsmbsload.h: Likewise.
10296 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10298 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10299 (arena_get2): Remove THREAD_STATS conditionals.
10300 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10301 (__malloc_stats, int): Likewise.
10303 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10305 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10306 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10308 * manual/setjmp.texi: Fix typos/grammar errors.
10310 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10311 Only return early when n is <= 0. Delete unused return statement.
10313 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10314 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10315 * debug/tst-longjmp_chk3.c: New file.
10317 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10318 (test_main): Replace code with set_fortify_handler call.
10319 * debug/test-strcpy_chk.c: Likewise.
10320 * debug/tst-chk1.c: Likewise.
10321 * debug/tst-longjmp_chk.c: Likewise.
10322 * test-skeleton.c: Include fcntl.h & paths.h
10323 (set_fortify_handler): Define.
10325 * debug/tst-longjmp_chk.c: Add header comment and include
10326 ../test-skeleton.c.
10327 (do_test): Mark static.
10328 (TEST_FUNCTION): Define.
10330 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10331 (IP_PMTUDISC_INTERFACE): Likewise.
10332 (IP_MULTICAST_IF): Likewise.
10333 (IP_MULTICAST_TTL): Likewise.
10334 (IP_MULTICAST_LOOP): Likewise.
10335 (IP_ADD_MEMBERSHIP): Likewise.
10336 (IP_DROP_MEMBERSHIP): Likewise.
10337 (IP_UNBLOCK_SOURCE): Likewise.
10338 (IP_BLOCK_SOURCE): Likewise.
10339 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10340 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10341 (IP_MSFILTER): Likewise.
10342 (MCAST_JOIN_GROUP): Likewise.
10343 (MCAST_BLOCK_SOURCE): Likewise.
10344 (MCAST_UNBLOCK_SOURCE): Likewise.
10345 (MCAST_LEAVE_GROUP): Likewise.
10346 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10347 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10348 (MCAST_MSFILTER): Likewise.
10349 (IP_MULTICAST_ALL): Likewise.
10350 (IP_UNICAST_IF): Likewise.
10352 * timezone/Makefile: Delete $(have-ksh) check.
10353 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10354 * timezone/tzselect.ksh: Add +x mode bits.
10356 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10357 (ANON_INODE_FS_MAGIC): Likewise.
10358 (BDEVFS_MAGIC): Likewise.
10359 (BINFMTFS_MAGIC): Likewise.
10360 (BTRFS_TEST_MAGIC): Likewise.
10361 (CRAMFS_MAGIC_WEND): Likewise.
10362 (DEBUGFS_MAGIC): Likewise.
10363 (ECRYPTFS_SUPER_MAGIC): Likewise.
10364 (EXT3_SUPER_MAGIC): Likewise.
10365 (EXT4_SUPER_MAGIC): Likewise.
10366 (FUTEXFS_SUPER_MAGIC): Likewise.
10367 (HOSTFS_SUPER_MAGIC): Likewise.
10368 (HUGETLBFS_MAGIC): Likewise.
10369 (MINIX3_SUPER_MAGIC): Likewise.
10370 (MTD_INODE_FS_MAGIC): Likewise.
10371 (NILFS_SUPER_MAGIC): Likewise.
10372 (OPENPROM_SUPER_MAGIC): Likewise.
10373 (PIPEFS_MAGIC): Likewise.
10374 (PSTOREFS_MAGIC): Likewise.
10375 (QNX6_SUPER_MAGIC): Likewise.
10376 (RAMFS_MAGIC): Likewise.
10377 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10378 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10379 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10380 (SECURITYFS_MAGIC): Likewise.
10381 (SELINUX_MAGIC): Likewise.
10382 (SMACK_MAGIC): Likewise.
10383 (SOCKFS_MAGIC): Likewise.
10384 (SQUASHFS_MAGIC): Likewise.
10385 (STACK_END_MAGIC): Likewise.
10386 (TMPFS_MAGIC): Likewise.
10387 (USBDEVICE_SUPER_MAGIC): Likewise.
10388 (V9FS_MAGIC): Likewise.
10389 (XENFS_SUPER_MAGIC): Likewise.
10390 (CRAMFS_MAGIC): Fix typo in comment.
10391 (EXT2_SUPER_MAGIC): Update comment.
10392 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10394 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10396 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10397 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10398 * sysdeps/unix/sysv/linux/arm: Move directory from
10399 ports/sysdeps/unix/sysv/linux/arm.
10400 * README: Update listing for arm-*-linux-gnueabi.
10402 * README: Remove mention of am33.
10404 2014-02-07 Roland McGrath <roland@hack.frob.com>
10406 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10407 than the comma operator, to avoid "rhs of comma has no effect"
10409 (__sigfillset, __sigandset, __sigorset): Likewise.
10410 * include/signal.h (__sigemptyset): Likewise.
10411 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10413 2014-02-07 Allan McRae <allan@archlinux.org>
10415 * version.h (RELEASE): Set to "development".
10416 (VERSION): Set to "2.19.90"
10417 * NEWS: Add 2.20 section.
10419 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10422 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10424 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10426 * manual/contrib.texi: Update entry for Carlos O'Donell,
10427 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10429 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10431 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10433 * sysdeps/unix/sysv/linux/kernel-features.h
10434 [__LINUX_KERNEL_VERSION >= 0x020621]
10435 (__ASSUME_PROC_PID_TASK_COMM): Define.
10437 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10440 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10441 conversion when destination buffer does not have enough space.
10442 * libio/tst-ftell-partial-wide.c: New test case.
10443 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10445 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10446 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10447 Leonard and Allan McRae.
10449 2014-02-04 David S. Miller <davem@davemloft.net>
10451 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10454 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10483 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10485 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10486 * shlib-versions: Likewise.
10488 2014-02-04 Roland McGrath <roland@hack.frob.com>
10489 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10491 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10492 (abilist-pattern): New variable, set to %-le.abilist.
10494 * Makerules (abilist-pattern): New variable.
10495 (vpath): Use $(abilist-pattern) in place of %.abilist.
10496 (check-abi-% pattern rule): Likewise.
10497 (check-abi, update-abi): Likewise.
10499 2014-02-04 Eric Wong <normalperson@yhbt.net>
10501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10503 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10505 * manual/startup.texi: Add next, previous, and top entries for
10506 the `Program Arguments' and `Environment Variables' nodes.
10508 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10510 * manual/macros.texi: Add comments before MTASC-safety macros.
10512 * manual/users.texi: Document MTASC-safety properties.
10514 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10515 (pthread_getspecific, pthread_setspecific): Format with
10516 @deftypefun, and add @safety note.
10517 * manual/signal.texi: Move comments that analyze the above
10518 functions to their home place.
10520 2014-02-03 Allan McRae <allan@archlinux.org>
10522 * po/sl.po: Update Slovenian translation from translation project.
10524 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10526 * manual/time.texi (timegm): Add missing blank after @c.
10527 Reported by Joseph Myers <joseph@codesourcery.com>.
10529 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10531 * manual/check-safety.sh: New.
10532 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10534 * manual/terminal.texi: Document MTASC-safety properties.
10536 * manual/filesys.texi: Document MTASC-safety properties.
10538 * manual/errno.texi: Document MTASC-safety properties.
10540 * manual/intro.texi: Document safety identifiers and
10543 * manual/string.texi (wcstok): Fix prototype.
10544 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10546 * manual/time.texi: Document MTASC-safety properties.
10548 * manual/string.texi: Document MTASC-safety properties.
10550 * manual/threads.texi: Document MTASC-safety properties.
10552 * manual/stdio.texi: Document MTASC-safety properties.
10554 * manual/syslog.texi: Document MTASC-safety properties.
10556 * manual/sysinfo.texi: Document MTASC-safety properties.
10558 * manual/startup.texi: Document MTASC-safety properties.
10560 * manual/socket.texi: Document MTASC-safety properties.
10562 * manual/signal.texi: Document MTASC-safety properties.
10564 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10566 * manual/setjmp.texi: Document MTASC-safety properties.
10568 * manual/search.texi: Document MTASC-safety properties.
10570 * manual/resource.texi: Document MTASC-safety properties.
10572 * manual/process.texi: Document MTASC-safety properties.
10574 * manual/platform.texi: Document MTASC-safety properties.
10576 * manual/pipe.texi: Document MTASC-safety properties.
10578 * manual/pattern.texi: Document MTASC-safety properties.
10580 * manual/message.texi: Document MTASC-safety properties.
10583 * manual/memory.texi: Document MTASC-safety properties.
10585 * manual/math.texi: Document MTASC-safety properties.
10587 * manual/locale.texi: Document MTASC-safety properties.
10589 * manual/llio.texi: Document MTASC-safety properties.
10591 * manual/libdl.texi: New.
10593 * manual/lang.texi: Document MTASC-safety properties.
10595 * manual/job.texi: Document MTASC-safety properties.
10597 * manual/getopt.texi: Document MTASC-safety properties.
10599 * manual/ctype.texi: Document MTASC-safety properties.
10601 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10604 * csu/libc-tls.c (static_map): Remove variable.
10605 (__libc_setup_tls): Use main executable's link map for TLS data.
10606 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10607 casing for LM_ID_BASE and GL(dl_nns).
10608 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10609 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10610 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10611 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10612 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10614 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10617 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10619 * manual/debug.texi: Document MTASC-safety properties.
10621 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10624 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10625 of __x86_64__ when disabling x87 inline functions.
10627 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10629 * manual/charset.texi: Document MTASC-safety properties.
10631 * manual/crypt.texi: Document MTASC-safety properties.
10633 * manual/conf.texi: Document MTASC-safety properties.
10635 * manual/arith.texi: Document MTASC-safety properties.
10637 * manual/argp.texi: Document MTASC-safety properties.
10639 * manual/macros.texi: Introduce macros to document multi
10640 thread, asynchronous signal and asynchronous cancellation
10642 * manual/intro.texi: Introduce the properties themselves.
10644 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10646 * sysdeps/sh/sh4/Makefile: New file.
10648 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10650 * math/gen-libm-test.pl ($srcdir): New variable.
10651 ($auto_input): Use it.
10653 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10656 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10657 access beyond array bounds when parsing netgroups file.
10659 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10660 the old buffer before realloc.
10662 2014-01-27 Allan McRae <allan@archlinux.org>
10664 * po/fr.po: Update French translation from translation project.
10666 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10668 * sysdeps/sh/libm-test-ulps: Regenerate.
10670 2014-01-24 David S. Miller <davem@davemloft.net>
10672 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10674 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10676 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10677 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10679 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10682 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10683 string pointers after reallocation.
10685 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10687 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10688 __SH4A__ instead of __SH_FPU_ANY__.
10690 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10692 * sysdeps/sh/fpu_control.h: New file.
10693 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10694 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10695 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10696 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10697 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10698 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10699 * sysdeps/sh/sys/ucontext.h: Remove.
10700 * sysdeps/sh/sys: Remove directory.
10702 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10704 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10705 s390/sys/ucontext.h.
10706 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10707 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10709 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10712 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10714 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10717 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10718 Adjust the vDSO correctly for internal calls.
10719 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10721 2014-01-20 Allan McRae <allan@archlinux.org>
10723 * po/ca.po: Update Catalan translation from translation project.
10725 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10727 * sysdeps/s390/sotruss-lib.c: New file.
10729 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10732 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10733 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10734 local calls issues by not having a PLT stub required for IFUNC calls.
10735 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10737 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10739 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10740 * math/test-fpucw-static.c: Likewise.
10742 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10745 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10747 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10749 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10750 implementation for powerpc.
10752 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10755 * sysdeps/posix/system.c (__libc_system): Do not enable
10756 asynchronous cancellation.
10758 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10761 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10762 handling only for numbers special also in the IEEE case.
10764 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10766 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10768 2014-01-11 Allan McRae <allan@archlinux.org>
10770 * po/bg.po: Update Bulgarian translation from translation project.
10772 * po/de.po: Update German translation from translation project.
10774 2014-01-10 Roland McGrath <roland@hack.frob.com>
10776 * sysdeps/generic/gcc-compat.h: New file.
10778 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10780 * benchtests/asin-inputs: Correct slow inputs.
10781 * benchtests/acos-inputs: Likewise.
10783 2014-01-10 Allan McRae <allan@archlinux.org>
10785 * po:sv.po: Update Swedish translation from translation project.
10787 * po/vi.po: Update Vietnamese translation from translation project.
10789 * po/eo.po: Update Esperanto translation from translation project.
10791 * po/cs.po: Update Czech translation from translation project.
10793 * po/nl.po: Update Dutch translation from translation project.
10795 * po/pl.po: Update Polish translation from translation project.
10797 * po/ru.po: Update Russian translation from translation project.
10799 * po/uk.po: Update Ukrainian translation from translation project.
10801 2014-01-08 Brooks Moses <bmoses@google.com>
10803 * elf/dl-load.c: Fix comment typo.
10805 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10807 * po/header.pot: Rename to...
10808 * po/pot.header: ... this.
10809 * po/Makefile: Use pot.header.
10811 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10812 Maxim Kuvyrkov <maxim@kugelworks.com>
10815 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10816 SRC and DEST against LEN.
10818 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10821 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10823 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10825 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10829 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10832 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10833 for large positive arguments.
10835 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10837 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10839 * math/auto-libm-test-in: Mark various tests with
10840 xfail-rounding:ldbl-128ibm.
10841 * math/auto-libm-test-out: Regenerated.
10844 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10845 Increase overflow threshold.
10847 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10850 * stdio-common/vfprintf.c: Check for integer overflow.
10852 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10854 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10855 the first argument and return value of __tls_get_addr_internal.
10857 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10859 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10860 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10862 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10864 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10865 * sysdeps/s390/rtld-global-offsets.sym: New file.
10866 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10868 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10870 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10872 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10873 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10879 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10880 halfs of GPRs for high_gprs contexts.
10881 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10882 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10884 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10886 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10888 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10889 for high GPRs (uc_high_gprs) and for future extensions
10891 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10892 for future extensions (__reserved).
10893 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10895 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10896 SC_HIGHGPRS offset definition.
10897 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10898 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10900 * Versions.def: Add GLIBC_2.19 for libpthread.
10901 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10902 siglongjmp for libpthread with GLIBC_2.19 symver.
10903 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10904 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10905 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10906 * sysdeps/s390/__longjmp.c: New file.
10907 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10908 * sysdeps/s390/longjmp.c: New file.
10909 * sysdeps/s390/setjmp.S: New file.
10910 * sysdeps/s390/sigjmp.S: New file.
10911 * sysdeps/s390/v1-longjmp.c: New file.
10912 * sysdeps/s390/v1-setjmp.h: New file.
10913 * sysdeps/s390/v1-sigjmp.c: New file.
10914 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10915 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10916 GLIBC_2.19 version.
10917 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10918 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10919 versioned symbols for ____longjmp_chk.
10920 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10930 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10931 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10932 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10933 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10934 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10935 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10936 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10937 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10938 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10939 * sysdeps/s390/rtld-__longjmp.c: New file.
10940 * sysdeps/s390/rtld-setjmp.S: New file.
10942 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10946 Return -__logl (x) for small positive arguments without evaluating
10949 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10951 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10953 (__ptrace_peeksiginfo_args): ... this.
10954 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10955 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10956 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10958 2014-01-06 Allan McRae <allan@archlinux.org>
10960 * inet/netinet/in.h: Fix typo in comment.
10962 2014-01-05 Andreas Jaeger <aj@suse.de>
10964 * sysdeps/i386/fpu/libm-test-ulps: Update.
10966 2014-01-05 Allan McRae <allan@archlinux.org>
10968 * po/libc.pot: Regenerated.
10970 * malloc/memusagestat.c: Fix gettext call formatting.
10972 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10974 * nscd/nscd.c: Improve usage() output.
10976 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10978 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10979 * sysdeps/unix/sysv/linux/configure: Regenerated.
10980 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10981 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10983 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10986 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10987 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10989 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10991 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10992 extra tokens at end of #undef directive.
10993 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10994 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10997 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10999 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11001 * math/auto-libm-test-in: Mark various tests with
11002 xfail-rounding:ldbl-128ibm.
11003 * math/auto-libm-test-out: Regenerated.
11005 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11009 numbers with subnormal high part when calculating exponent.
11012 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11016 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11018 (__ieee754_acoshl): Use __log1pl not __log1p.
11020 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11022 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11023 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11024 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11025 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11026 (reused_arena, arena_get2): Convert to GNU style.
11027 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11028 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11029 (memalign_check, __malloc_set_state): Likewise.
11030 * malloc/mallocbug.c (main): Likewise.
11031 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11032 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11033 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11034 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11035 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11036 (__posix_memalign, malloc_info): Likewise.
11037 * malloc/malloc.h: Likewise.
11038 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11039 (mallochook, memalignhook, reallochook, mabort): Likewise.
11040 * malloc/mcheck.h: Likewise.
11041 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11042 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11043 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11044 * malloc/morecore.c (__default_morecore): Likewise.
11045 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11046 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11047 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11048 (print_and_abort): Likewise.
11049 * malloc/obstack.h: Likewise.
11050 * malloc/set-freeres.c (__libc_freeres): Likewise.
11051 * malloc/tst-mallocstate.c (main): Likewise.
11052 * malloc/tst-mtrace.c (main): Likewise.
11053 * malloc/tst-realloc.c (do_test): Likewise.
11055 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11058 * nscd/netgroupcache.c (do_notfound): New function.
11059 (addgetnetgrentX): Use it.
11062 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11063 NSS_STATUS_NOTFOUND.
11065 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11067 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11070 2014-01-01 Allan McRae <allan@archlinux.org>
11072 * scripts/update-copyrights: Update configure input file suffix.
11074 * NEWS: Update copyright year.
11075 * catgets/gencat.c: Likewise.
11076 * csu/version.c: Likewise.
11077 * debug/catchsegv.sh: Likewise.
11078 * debug/pcprofiledump.c: Likewise.
11079 * debug/xtrace.sh: Likewise.
11080 * elf/ldconfig.c: Likewise.
11081 * elf/ldd.bash.in: Likewise.
11082 * elf/pldd.c: Likewise.
11083 * elf/sotruss.ksh: Likewise.
11084 * elf/sprof.c: Likewise.
11085 * iconv/iconv_prog.c: Likewise.
11086 * iconv/iconvconfig.c: Likewise.
11087 * locale/programs/locale.c: Likewise.
11088 * locale/programs/localedef.c: Likewise.
11089 * login/programs/pt_chown.c: Likewise.
11090 * malloc/memusage.sh: Likewise.
11091 * malloc/memusagestat.c: Likewise.
11092 * malloc/mtrace.pl: Likewise.
11093 * manual/libc.texinfo: Likewise.
11094 * nscd/nscd.c: Likewise.
11095 * nss/getent.c: Likewise.
11096 * nss/makedb.c: Likewise.
11097 * posix/getconf.c: Likewise.
11098 * scripts/test-installation.pl: Likewise.
11100 * All files with FSF copyright notices: Update copyright dates
11101 using scripts/update-copyrights.
11102 * intl/plural.c: Regenerated.
11103 * locale/programs/charmap-kw.h: Likewise.
11104 * locale/programs/locfile-kw.h: Likewise.
11106 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11108 * sysdeps/unix/sysv/linux/configure: Regenerated.
11109 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11110 the linux/fanotify.h header.
11111 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11112 HAVE_LINUX_FANOTIFY_H is defined.
11114 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11116 * benchtests/cos-inputs: New inputs.
11117 * benchtests/sin-inputs: Likewise.
11119 * benchtests/atan-inputs: New inputs. Fix name of multiple
11120 precision fallback inputs.
11122 * benchtests/atanh-inputs: New inputs.
11123 * benchtests/tanh-inputs: Likewise.
11125 * benchtests/acosh-inputs: New inputs.
11126 * benchtests/asinh-inputs: Likewise.
11128 * benchtests/cosh-inputs: New inputs.
11129 * benchtests/sinh-inputs: Likewise.
11131 * benchtests/acos-inputs: Add more inputs.
11132 * benchtests/asin-inputs: Likewise.
11134 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11137 * manual/arith.texi: Fix spelling.
11138 * manual/charset.texi: Likewise.
11139 * manual/errno.texi: Likewise.
11140 * manual/filesys.texi: Likewise.
11141 * manual/lang.texi: Likewise.
11142 * manual/llio.texi: Likewise.
11143 * manual/locale.texi: Likewise.
11144 * manual/message.texi: Likewise.
11145 * manual/resource.texi: Likewise.
11146 * manual/search.texi: Likewise.
11147 * manual/setjmp.texi: Likewise.
11148 * manual/stdio.texi: Likewise.
11149 * manual/string.texi: Likewise.
11150 * manual/sysinfo.texi: Likewise.
11151 * manual/time.texi: Likewise.
11153 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11155 * po/sl.po: New file.
11157 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11159 * .gitignore: Add core/.gdbinit/.gdb_history.
11161 2013-12-27 Allan McRae <allan@archlinux.org>
11164 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11165 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11167 2013-12-24 Brooks Moses <bmoses@google.com>
11169 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11170 all compilers that claim C++98 compliance, not just GCC.
11171 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11174 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11176 * NEWS: Restore accidentally deleted bug-fix entries.
11178 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11179 Ondřej Bílka <neleai@seznam.cz>
11182 * malloc/malloc.c (_int_free): Perform sanity check only if we
11185 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11188 * manual/stdio.texi (String Input Conversions): Clarify that character
11189 classes are not supported.
11191 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11195 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11198 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11199 Calculate results for small negative arguments directly rather
11200 than using reflection formula with special underflow handling.
11202 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11203 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11204 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11205 (fchflags): Likewise.
11206 (revoke): Likewise.
11207 (setlogin): Likewise.
11208 (sigaltstack): Likewise.
11210 (sigblock): Remove.
11211 (sigsetmask): Likewise.
11213 (waitpid): Likewise.
11214 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11215 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11217 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11218 * sysdeps/unix/bsd/Makefile: ... here.
11219 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11220 * sysdeps/unix/bsd/Versions: ... here.
11221 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11222 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11223 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11224 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11225 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11226 * sysdeps/unix/bsd/sigblock.c: ... here.
11227 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11228 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11229 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11230 * sysdeps/unix/bsd/sigvec.c: ... here.
11231 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11232 * sysdeps/unix/bsd/tcdrain.c: ... here.
11233 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11234 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11235 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11236 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11237 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11238 * sysdeps/unix/bsd/wait.c: ... here.
11239 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11240 * sysdeps/unix/bsd/wait3.c: ... here.
11241 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11242 * sysdeps/unix/bsd/waitpid.c: ... here.
11244 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11247 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11248 round-to-nearest for [!USE_AS_EXPM1L].
11249 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11250 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11251 more tests of exp and exp10. Expect some exp10 tests to miss
11252 exceptions or fail in directed rounding modes.
11253 * math/auto-libm-test-out: Regenerated.
11254 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11255 (exp10_test_tonearest): New function.
11256 (exp10_towardzero_test_data): New array.
11257 (exp10_test_towardzero): New function.
11258 (exp10_downward_test_data): New array.
11259 (exp10_test_downward): New function.
11260 (exp10_upward_test_data): New array.
11261 (exp10_test_upward): New function.
11262 (main): Call the new functions.
11263 * sysdeps/i386/fpu/libm-test-ulps: Update.
11264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11266 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11268 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11269 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11270 * math/auto-libm-test-out: Regenerated.
11271 * math/libm-test.inc (acosh_test_data): Add more tests.
11272 (atanh_test_data): Likewise.
11273 (ceil_test_data): Likewise.
11274 (copysign_test_data): Likewise.
11275 * sysdeps/i386/fpu/libm-test-ulps: Update.
11276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11278 * timezone/checktab.awk: Update from tzcode 2013i.
11279 * timezone/private.h: Likewise.
11280 * timezone/scheck.c: Likewise.
11281 * timezone/tzfile.h: Likewise.
11282 * timezone/tzselect.ksh: Likewise.
11283 * timezone/zdump.c: Likewise.
11284 * timezone/zic.c: Likewise.
11286 * math/auto-libm-test-in: Add tests of cpow.
11287 * math/auto-libm-test-out: Regenerated.
11288 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11289 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11291 (func_calc_desc): Add mpc_cc_c union field.
11292 (test_functions): Add cpow.
11293 (special_fill_2pi): New function.
11294 (special_real_inputs): Add 2pi.
11295 (calc_generic_results): Handle mpc_cc_c.
11296 * sysdeps/i386/fpu/libm-test-ulps: Update.
11297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11299 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11300 csqrt, ctan and ctanh.
11301 * math/auto-libm-test-out: Regenerated.
11302 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11303 (TEST_COND_x86): Likewise.
11304 (ccos_test_data): Use AUTO_TESTS_c_c.
11305 (ccosh_test_data): Likewise.
11306 (cexp_test_data): Likewise.
11307 (clog_test_data): Likewise.
11308 (csqrt_test_data): Likewise.
11309 (ctan_test_data): Likewise.
11310 (ctan_tonearest_test_data): Likewise.
11311 (ctan_towardzero_test_data): Likewise.
11312 (ctan_downward_test_data): Likewise.
11313 (ctan_upward_test_data): Likewise.
11314 (ctanh_test_data): Likewise.
11315 (ctanh_tonearest_test_data): Likewise.
11316 (ctanh_towardzero_test_data): Likewise.
11317 (ctanh_downward_test_data): Likewise.
11318 (ctanh_upward_test_data): Likewise.
11319 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11321 (func_calc_desc): Add mpc_c_c union field.
11322 (FUNC_mpc_c_c): New macro.
11323 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11324 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11326 (special_fill_min_subnorm_p120): New function.
11327 (special_real_inputs): Add min_subnorm_p120.
11328 (calc_generic_results): Handle mpc_c_c.
11329 * sysdeps/i386/fpu/libm-test-ulps: Update.
11330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11332 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11334 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11335 (do_sin_slow): New functions.
11336 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11337 (cslow2, csloww1, csloww2): Use the new functions.
11339 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11340 Use M to change sign of result instead of X. Assume X is
11342 (csloww1): Likewise.
11346 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11347 arguments A and DA.
11351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11353 (sloww1): Don't adjust sign of DX.
11354 (csloww1): Likewise.
11355 (sloww2): Use X directly and don't adjust sign of DX.
11356 (csloww2): Likewise.
11358 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11360 * math/auto-libm-test-in: Add tests of cabs and carg.
11361 * math/auto-libm-test-out: Regenerated.
11362 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11363 (carg_test_data): Likewise.
11364 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11366 (func_calc_desc): Add mpc_c_f union field.
11367 (test_functions): Add cabs and carg.
11368 (calc_generic_results): Handle mpc_c_f.
11370 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11371 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11372 as a macro and a compat symbol.
11373 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11374 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11375 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11376 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11377 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11380 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11382 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11384 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11386 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11388 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11390 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11391 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11394 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11398 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11400 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11401 trailing whitespace removed.
11402 * scripts/config.guess: Update to version 2013-11-29.
11403 * scripts/config.sub: Update to version 2013-10-01.
11405 * math/auto-libm-test-in: Add tests of sincos.
11406 * math/auto-libm-test-out: Regenerated.
11407 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11408 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11410 (func_calc_desc): Add mpfr_f_11 union field.
11411 (test_functions): Add sincos.
11412 (calc_generic_results): Handle mpfr_f_11.
11413 * sysdeps/i386/fpu/libm-test-ulps: Update.
11414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11416 2013-12-19 Andreas Schwab <schwab@suse.de>
11418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11420 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11422 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11424 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11426 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11427 * sysdeps/i386/fpu/libm-test-ulps: Update.
11428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11431 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11432 round-to-nearest mode when using frndint.
11433 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11434 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11437 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11439 * math/auto-libm-test-out: Regenerated.
11440 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11441 (TEST_COND_x86): Likewise.
11442 (expm1_tonearest_test_data): New array.
11443 (expm1_test_tonearest): New function.
11444 (expm1_towardzero_test_data): New array.
11445 (expm1_test_towardzero): New function.
11446 (expm1_downward_test_data): New array.
11447 (expm1_test_downward): New function.
11448 (expm1_upward_test_data): New array.
11449 (expm1_test_upward): New function.
11450 (main): Run the new test functions.
11451 * sysdeps/i386/fpu/libm-test-ulps: Update.
11452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11454 * include/features.h: Update comment documenting feature test
11455 macros. Mention _DEFAULT_SOURCE in comment.
11456 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11457 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11458 _BSD_SOURCE and _SVID_SOURCE.
11459 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11460 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11461 !_SVID_SOURCE]: Likewise.
11462 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11463 (__USE_POSIX_IMPLICITLY): Define.
11464 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11465 (_POSIX_SOURCE): Undefine and redefine.
11466 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11467 (_POSIX_C_SOURCE): Likewise.
11468 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11469 (Feature Test Macros): Update documentation of default features.
11471 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11473 * benchtests/Makefile: Add bench-strtok.
11474 * benchtests/bench-strtok.c: New file: strtok benchtest.
11476 2013-12-19 Allan McRae <allan@archlinux.org>
11478 * manual/install.texi: Suppress menu for plain text output.
11479 * INSTALL: Regenerated.
11481 2013-12-18 Brooks Moses <bmoses@google.com>
11484 * misc/getauxval.c: Include errno.h.
11485 (__getauxval): Set errno to ENOENT if the requested type is not
11487 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11488 don't declare with __attribute_const__.
11489 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11490 * manual/startup.texi: Document that getauxval sets errno.
11492 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11494 * math/auto-libm-test-in: Add tests of jn and yn.
11495 * math/auto-libm-test-out: Regenerated.
11496 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11497 (yn_test_data): Likewise.
11498 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11500 (func_calc_desc): Add mpfr_if_f union field.
11501 (FUNC_mpfr_if_f): New macro.
11502 (test_functions): Add jn and yn.
11503 (calc_generic_results): Assert type of second input for
11504 mpfr_ff_f. Handle mpfr_if_f.
11505 (output_for_one_input_case): Disable all checking for arguments
11506 fitting floating-point types in case of an integer argument.
11507 * sysdeps/i386/fpu/libm-test-ulps: Update.
11508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11511 Don't expect fegetround reference in libm.so.
11513 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11515 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11516 $(config-cflags-nofma).
11518 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11520 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11521 * math/auto-libm-test-out: Regenerated.
11524 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11525 to determine exponent and adjust argument to have exponent of -1.
11526 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11528 * math/auto-libm-test-out: Regenerated.
11529 * sysdeps/i386/fpu/libm-test-ulps: Update.
11530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11532 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11534 * manual/probes.texi: Remove cases when per-thread arenas are
11537 2013-12-18 Andreas Schwab <schwab@suse.de>
11539 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11540 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11541 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11542 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11543 * sysdeps/i386/i686/multiarch/Makefile: Update.
11544 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11546 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11548 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11549 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11551 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11554 Support TZ transition times < 00:00:00.
11555 This is needed for version-3 tz-format files; it supports time
11556 stamps past 2037 for America/Godthab (the only entry in the tz
11557 database for which this change is relevant).
11558 * manual/time.texi (TZ Variable): Document transition times
11559 from -167:59:59 through -00:00:01.
11560 * time/tzset.c (tz_rule): Time of day is now signed.
11561 (__tzset_parse_tz): Parse negative time of day.
11563 Document TZ transition times >= 25:00:00.
11564 * manual/time.texi (TZ Variable): Document transition times from
11565 25:00:00 through 167:59:59. These are already supported, and this
11566 support will help with version-3 tz-format files.
11568 * manual/time.texi (TZ Variable): Modernize North America example
11569 to reflect current (i.e., 2007-and-later) daylight saving rules.
11571 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11573 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11575 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11576 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11579 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11580 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11581 * sysdeps/unix/bsd/clock.c: Likewise.
11582 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11583 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11584 * sysdeps/unix/bsd/init-posix.c: Likewise.
11585 * sysdeps/unix/bsd/poll.c: Likewise.
11586 * sysdeps/unix/bsd/ptsname.c: Likewise.
11587 * sysdeps/unix/bsd/seekdir.c: Likewise.
11588 * sysdeps/unix/bsd/setegid.c: Likewise.
11589 * sysdeps/unix/bsd/seteuid.c: Likewise.
11590 * sysdeps/unix/bsd/setgid.c: Likewise.
11591 * sysdeps/unix/bsd/setrgid.c: Likewise.
11592 * sysdeps/unix/bsd/setruid.c: Likewise.
11593 * sysdeps/unix/bsd/setsid.c: Likewise.
11594 * sysdeps/unix/bsd/setuid.c: Likewise.
11595 * sysdeps/unix/bsd/sigaction.c: Likewise.
11596 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11597 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11598 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11599 * sysdeps/unix/bsd/telldir.c: Likewise.
11600 * sysdeps/unix/bsd/times.c: Likewise.
11601 * sysdeps/unix/bsd/usleep.c: Likewise.
11603 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11604 ($(objpfx)libbsd-compat.a): Remove rule.
11606 * include/features.h (__FAVOR_BSD): Do not define.
11607 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11608 features conflicting with POSIX.
11609 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11610 (_BSD_SOURCE): Remove description of not being a subset of other
11611 feature test macros.
11612 * manual/job.texi (getpgrp): Do not document BSD version.
11613 (getpgid): Do not document by reference to BSD getpgrp.
11614 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11615 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11616 * signal/signal.h [__FAVOR_BSD]: Likewise.
11617 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11618 instead of making contents conditional on [__FAVOR_BSD].
11619 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11621 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11625 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11629 values below 2**-450, not 2**-500.
11630 * math/auto-libm-test-in: Don't allow spurious underflow from
11632 * math/auto-libm-test-out: Regenerated.
11636 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11637 values of ha and hb and sort them after adjusting subnormal
11639 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11641 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11642 values of ea and eb and sort them after adjusting subnormal
11644 * math/auto-libm-test-in: Do not expect some hypot tests of
11645 subnormals to fail. Add more hypot tests.
11646 * math/auto-libm-test-out: Regenerated.
11648 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11651 * sysdeps/sh/s_fma.c: New file.
11652 * sysdeps/sh/s_fmaf.c: New file.
11653 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11655 * sysdeps/sh/Implies: Add sh/soft-fp.
11657 2013-12-16 Roland McGrath <roland@hack.frob.com>
11659 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11660 level of indirection to members `objname', `errstring', `malloced'.
11661 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11662 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11663 it as the __longjmp argument (just pass 1 instead).
11664 (_dl_catch_error): Initialize C with argument pointers and address of
11665 volatile local ERRCODE rather than copying values out of C at return.
11667 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11669 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11670 * math/auto-libm-test-out: Regenerated.
11671 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11672 (hypot_test_data): Likewise.
11673 (pow_test_data): Likewise.
11674 (pow_tonearest_test_data): Likewise.
11675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11677 (func_calc_desc): Add mpfr_ff_f union field.
11678 (FUNC_mpfr_ff_f): New macro.
11679 (test_functions): Add atan2, hypot and pow.
11680 (special_fill_min): New function.
11681 (special_fill_minus_min): Likewise.
11682 (special_fill_min_subnorm): Likewise.
11683 (special_fill_minus_min_subnorm): Likewise.
11684 (special_real_inputs): Add min, -min, min_subnorm and
11686 (calc_generic_results): Handle mpfr_ff_f.
11687 * sysdeps/i386/fpu/libm-test-ulps: Update.
11688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11690 2013-12-16 Will Newton <will.newton@linaro.org>
11692 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11693 (Aligned Memory Blocks): Add documentation for aligned_alloc
11694 and suggest it as an alternative to posix_memalign.
11695 (Hooks for Malloc): Document __memalign_hook is also called
11696 for aligned_alloc. (Summary of Malloc): Add summary for
11697 aligned alloc. Document __memalign_hook is also called
11700 2013-12-16 Will Newton <will.newton@linaro.org>
11702 * manual/memory.texi (Malloc Examples): Clarify default
11703 alignment documentation. Suggest posix_memalign rather
11704 than memalign or valloc.
11705 (Aligned Memory Blocks): Remove suggestion to use memalign
11706 or valloc. Remove obsolete comment about BSD.
11707 Document memalign errno values and mark the function obsolete.
11708 Document posix_memalign returned error codes. Mark valloc
11709 as obsolete. (Hooks for Malloc): __memalign_hook is also
11710 called for posix_memalign and valloc.
11711 (Summary of Malloc): Add posix_memalign to function summary.
11712 __memalign_hook is also called for posix_memalign and valloc.
11714 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11720 (sloww): Use mynumber union. Expand ternary operator into
11721 if-else statements.
11722 (cslow): use mynumber union.
11724 2013-12-16 Allan McRae <allan@archlinux.org>
11726 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11727 * configure: Regenerated.
11729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11732 * configure.ac: Added --enable-maintainer-mode. Check for
11733 autoconf when enabled.
11734 * configure: Regenerated.
11736 * nscd/nscd.service: New file.
11737 * nscd/nscd.tmpfiles: New file.
11739 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11742 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11743 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11744 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11745 (strstr): Add __strstr_sse2_unaligned ifunc.
11746 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11747 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11748 (strcasestr): Remove __strcasestr_sse42 ifunc.
11749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11753 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11755 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11756 * sysdeps/sh/bits/fenv.h: ... here.
11757 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11759 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11761 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11764 hypotf multiarch implementations.
11765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11768 multiarch hypot for PPC64.
11769 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11770 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11771 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11772 multiarch hypotf for PPC64.
11774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11775 modff multiarch implementations.
11776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11779 multiarch modf for PPC64.
11780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11783 multiarch modff for PPC64.
11785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11786 and logl multiarch implementations.
11787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11790 multiarch logb for PPC64.
11791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11794 multiarch logb for PPC64.
11795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11798 multiarch logb for PPC64.
11800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11801 isinff multiarch implementation.
11802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11806 multiarch isinf for PPC64.
11807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11810 multiarch isinff for PPC64.
11812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11813 finitef multiarch implementation.
11814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11818 multiarch finite for PPC64.
11819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11822 multiarch finitef for PPC64.
11824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11825 lrint multiarch implementation.
11826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11830 multiarch llrint for PPC64.
11831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11832 multiarch lrint for PPC64.
11834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11835 copysignf multiarch implementation.
11836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11841 multiarch copysign for PPC64.
11842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11843 multiarch copysignf for PPC64.
11845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11846 multiarch implementation.
11847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11855 multiarch llround for PPC64.
11856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11857 multiarch trunc for PPC64.
11858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11859 multiarch truncf for PPC64.
11861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11862 multiarch implementation.
11863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11871 multiarch llround for PPC64.
11872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11873 multiarch round for PPC64.
11874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11875 multiarch roundf for PPC64.
11877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11878 multiarch implementation.
11879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11887 multiarch llround for PPC64.
11888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11889 multiarch floor for PPC64.
11890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11891 multiarch floorf for PPC64.
11893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11894 multiarch implementation.
11895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11903 multiarch llround for PPC64.
11904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11905 multiarch ceil for PPC64.
11906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11907 multiarch ceilf for PPC64.
11909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11910 multiarch implementation.
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11918 multiarch llround for PPC64.
11919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11920 multiarch lround for PPC64.
11922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11923 multiarch implementation.
11924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11931 multiarch isnan for PPC64.
11932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11933 multiarch isnanf for PPC64.
11935 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11936 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11937 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11938 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11939 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11942 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11943 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11944 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11948 multiarch implementations.
11949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11950 (__libc_ifunc_impl_list): Likewise.
11951 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11952 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11953 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11954 multiarch stpcpy for PPC64.
11956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11957 multiarch implementations.
11958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11959 (__libc_ifunc_impl_list): Likewise.
11960 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11961 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11962 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11963 multiarch strcpy for PPC64.
11965 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11966 redefine function name.
11967 (_wordcopy_fwd_dest_aligned): Likewise.
11968 (_wordcopy_bwd_aligned): Likewise.
11969 (_wordcopy_bwd_dest_aligned): Likewise.
11970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11971 multiarch implementations.
11972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11973 (__libc_ifunc_impl_list): Likewise.
11974 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11975 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11976 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11978 multiarch wcscpy for PPC64.
11980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11981 multiarch implementations.
11982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11983 (__libc_ifunc_impl_list): Likewise.
11984 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11986 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11987 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11988 multiarch wcscpy for PPC64.
11990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11991 multiarch implementations.
11992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11993 (__libc_ifunc_impl_list): Likewise.
11994 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11995 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11996 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11997 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11998 multiarch wcsrchr for PPC64.
12000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12001 multiarch implementations.
12002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12003 (__libc_ifunc_impl_list): Likewise.
12004 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12005 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12006 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12007 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12008 multiarch wcschr for PPC64.
12010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12011 multiarch implementations.
12012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12013 (__libc_ifunc_impl_list): Likewise.
12014 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12015 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12016 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12017 multiarch strchrnul for PPC64.
12019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12022 (__libc_ifunc_impl_list): Likewise.
12023 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12024 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12025 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12026 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12032 (__libc_ifunc_impl_list): Likewise.
12033 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12034 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12035 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12036 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12040 multiarch implementations.
12041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12042 (__libc_ifunc_impl_list): Likewise.
12043 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12044 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12045 strncasecmp for PPC64.
12046 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12047 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12048 multiarch strncasecmp_l for PPC64.
12050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12051 multiarch implementations.
12052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12053 (__libc_ifunc_impl_list): Likewise.
12054 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12055 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12056 multiarch strcasecmp for PPC64.
12057 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12059 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12060 multiarch strcasecmp_l for PPC64.
12062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12065 (__libc_ifunc_impl_list): Likewise.
12066 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12067 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12068 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12074 (__libc_ifunc_impl_list): Likewise.
12075 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12076 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12077 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12083 (__libc_ifunc_impl_list): Likewise.
12084 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12085 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12086 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12087 rawmemrchr for PPC64.
12089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12092 (__libc_ifunc_impl_list): Likewise.
12093 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12094 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12095 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12101 (__libc_ifunc_impl_list): Likewise.
12102 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12103 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12104 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12110 (__libc_ifunc_impl_list): Likewise.
12111 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12112 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12113 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12116 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12117 avoid cretion of __bzero symbol.
12118 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12120 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12122 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12125 multiarch implementations.
12126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12127 (__libc_ifunc_impl_list): Likewise.
12128 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12129 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12130 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12131 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12133 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12134 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12135 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12136 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12137 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12139 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12141 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12145 (__libc_ifunc_impl_list): Likewise.
12146 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12147 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12148 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12149 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12153 multiarch for POWER/PPC64.
12154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12155 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12157 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12158 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12159 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12160 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12161 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12162 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12165 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12166 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12167 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12168 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12169 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12170 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12171 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12172 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12173 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12174 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12175 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12176 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12177 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12178 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12179 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12188 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12190 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12192 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12194 * benchtests/Makefile (bench): Add exp2 and log2.
12195 (LDLIBS-bench-exp2): Add -lm.
12196 (LDLIBS-bench-log2): Likewise.
12197 * benchtests/exp2-inputs: New inputs file.
12198 * benchtests/log2-inputs: New inputs file.
12199 * benchtests/log-inputs: Add new inputs.
12200 * benchtests/tan-inputs: Likewise.
12202 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12204 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12206 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12207 (csloww2): ... from here.
12209 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12210 instead of structures.
12211 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12212 (POLYNOMIAL): Likewise.
12213 (TAYLOR_SLOW): Likewise.
12219 (sloww1); Likewise.
12220 (sloww2): Likewise.
12221 (bsloww1): Likewise.
12222 (bsloww2): Likewise.
12223 (cslow2): Likewise.
12224 (csloww): Likewise.
12225 (csloww1): Likewise.
12226 (csloww2): Likewise.
12228 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12230 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12231 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12232 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12233 * malloc/hooks.c (realloc_check): Likewise.
12235 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12236 * malloc/arena.c: Remove PER_THREAD conditional.
12237 [!PER_THREAD]: Remove code.
12238 (ptmalloc_unlock_all2): Likewise.
12239 (ptmalloc_init): Likewise.
12240 (_int_new_arena): Likewise.
12241 (arena_get2): Likewise.
12242 * malloc/hooks.c (__malloc_get_state): Likewise.
12243 (__malloc_set_state): Likewise.
12244 * malloc/malloc.c: Likewise.
12245 (struct malloc_state): Likewise.
12246 (struct malloc_par): Likewise.
12247 (__libc_realloc): Likewise.
12248 (__libc_mallopt): Likewise.
12250 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12252 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12254 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12256 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12257 macro to a function. Check for zero perturb_byte.
12258 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12260 * malloc/malloc.c: (force_reg): Remove.
12261 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12262 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12263 force_reg by atomic_forced_read.
12264 * malloc/arena.c (ptmalloc_init): Likewise.
12265 * malloc/hooks.c (top_check): Likewise.
12267 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12271 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12275 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12277 * math/auto-libm-test-in: Add tests of lgamma.
12278 * math/auto-libm-test-out: Regenerated.
12279 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12280 (M_LOG_2_SQRT_PIl): Likewise.
12281 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12282 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12284 (func_calc_desc): Add mpfr_f_f1 union field.
12285 (ARGS1): New macro.
12293 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12294 (test_functions): Add lgamma.
12295 (calc_generic_results): Handle mpfr_f_f1.
12296 * sysdeps/i386/fpu/libm-test-ulps: Update.
12297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12299 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12301 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12302 __mpn_add_n for PowerPC64/POWER7.
12303 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12304 __mpn_sub_n for PowerPC64/POWER7.
12306 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12307 __mpn_addmul_1 for PowerPC64.
12308 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12309 __mpn_submul_1 for PowerPC64.
12310 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12312 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12315 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12318 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12320 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12322 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12324 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12325 add multiarch folders.
12326 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12327 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12328 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12329 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12330 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12331 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12332 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12333 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12334 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12335 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12336 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12345 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12351 multiarch __ieee754_hypot for PowerPC32.
12352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12357 multiarch __ieee754_hypotf for PowerPC32.
12359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12360 long_double_symbol only if __logbl is defined.
12361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12362 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12364 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12366 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12367 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12368 path for implementation.
12369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12370 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12372 logb, and logbl multiarch implementations for PowerPC32.
12373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12378 multiarch logb for PowerPC32.
12379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12384 multiarch logbf for PowerPC32.
12385 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12389 multiarch logbl implementation for PowerPC32.
12391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12392 and modff multiarch implementations.
12393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12398 multiarch modf for PowerPC32.
12399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12404 multiarch modff for PowerPC32.
12406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12407 and lrintf multiarch implementations.
12408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12413 multiarch lrint for PowerPC32.
12414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12415 file: multiarch lrintf for PowerPC32.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12418 and lroundf multiarch implementations.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12426 multiarch lround for PowerPC32.
12427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12428 file: multiarch lroundf for PowerPC32.
12430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12431 copysign and copysignf multiarch implementations.
12432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12437 file: multiarch copysign for PowerPC32.
12438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12439 file: multiarch copysignf for PowerPC32.
12441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12442 and truncf multiarch implementations.
12443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12448 multiarch trunc for PowerPC32.
12449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12454 multiarch truncf for PowerPC32.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12457 and roundf multiarch implementations.
12458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12463 multiarch round for PowerPC32.
12464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12469 multiarch roundf for PowerPC32.
12471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12472 and floorf multiarch implementations.
12473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12478 multiarch floor for PowerPC32.
12479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12484 multiarch floorf for PowerPC32.
12486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12487 and ceilf multiarch implementations.
12488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12493 multiarch ceil for PowerPC32.
12494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12499 multiarch ceilf for PowerPC32.
12501 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12503 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12504 FINITEF is defined.
12505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12506 and finitef multiarch implementations.
12507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12512 multiarch finite for PowerPC32.
12513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12516 file: multiarch finitef for PowerPC32.
12518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12519 and isinff multiarch implementations.
12520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12525 multiarch isinf for PowerPC32.
12526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12529 multiarch isinff for PowerPC32.
12531 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12532 alias when __isnan is defined.
12533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12534 and isnanf multiarch implementations.
12535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12544 multiarch isnan for PowerPC32.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12550 multiarch isnanf for PowerPC32.
12552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12553 and sqrtf multiarch implementations.
12554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12559 multiarch sqrt for PowerPC32.
12560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12565 multiarch sqrtf for PowerPC32.
12567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12568 and llroundf multiarch implementations.
12569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12576 file: multiarch llround for PowerPC32.
12577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12578 file: multiarch llroundf for PowerPC32.
12580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12581 multiarch PowerPC32 fpu implementations.
12582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12587 multiarch llrint for PowerPC32.
12588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12597 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12599 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12601 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12603 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12604 multiarch wordcopy for PPC32.
12605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12608 (__libc_ifunc_impl_list): Likewise.
12609 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12610 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12611 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12612 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12614 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12616 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12623 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12624 multiarch wcscpy for PPC32.
12625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12628 (__libc_ifunc_impl_list): Likewise.
12629 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12630 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12631 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12632 sysdeps/powerpc/power6/wcscpy.c.
12634 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12637 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12641 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12642 multiarch wcsrchr for PPC32.
12643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12646 (__libc_ifunc_impl_list): Likewise.
12647 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12648 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12649 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12650 sysdeps/powerpc/power6/wcsrchr.c.
12652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12656 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12657 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12658 multiarch wcschr for PPc32.
12659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12662 (__libc_ifunc_impl_list): Likewise.
12663 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12664 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12665 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12666 sysdeps/powerpc/power6/wcschr.c.
12668 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12669 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12671 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12672 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12673 file: multiarch strchr for PPC32.
12674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12677 (__libc_ifunc_impl_list): Likewise.
12679 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12681 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12683 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12685 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12686 multiarch strchrnul for PPC32.
12687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12690 (__libc_ifunc_impl_list): Likewise.
12692 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12695 multiarch strncasecmp for PPC32.
12696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12698 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12699 multiarch strncasecmp_l for PPC32.
12700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12701 strncasecmp multiarch objects.
12702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12703 (__libc_ifunc_impl_list): Likewise.
12705 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12707 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12708 multiarch strncasecmp for PPC32.
12709 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12711 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12712 multiarch strcasecmp_l for PPC32.
12713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12716 (__libc_ifunc_impl_list): Likewise.
12718 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12720 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12722 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12723 multiarch strncmp for PPC32.
12724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12727 (__libc_ifunc_impl_list): Likewise.
12729 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12730 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12732 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12737 (__libc_ifunc_impl_list): Likewise.
12739 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12741 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12743 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12747 (__libc_ifunc_impl_list): Likewise.
12749 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12751 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12753 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12754 multiarch rawmemchr for PPC32.
12755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12758 (__libc_ifunc_impl_list): Likewise.
12760 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12762 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12764 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12765 file: memrchr multiarch for PPC32.
12766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12769 (__libc_ifunc_impl_list): Likewise.
12771 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12772 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12774 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12775 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12776 multiarch memchr for PPC32.
12777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12780 (__libc_ifunc_impl_list): Likewise.
12782 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12783 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12787 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12788 file: multiarch mempcpy for PPC32.
12789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12792 (__libc_ifunc_impl_list): Likewise.
12794 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12795 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12796 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12797 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12798 multiarch bzero for PPC32.
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12803 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12804 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12805 file: multiarch memset for PPC32.
12806 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12808 memset multiarch objects.
12809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12810 (__libc_ifunc_impl_list): Likewise.
12812 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12815 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12817 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12821 (__libc_ifunc_impl_list): Likewise.
12823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12829 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12831 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12832 multiarch memcpy for PPC32.
12833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12836 (__libc_ifunc_impl_list): Likewise.
12838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12839 support multiarch for POWER/PPC32.
12840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12842 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12844 Implies file to make multiarch folder appers before the fpu and
12845 default folder for power4 configuration.
12847 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12849 * scripts/bench.pl: Append volatile keyword to type.
12851 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12853 * sysdeps/sh/sotruss-lib.c: New file.
12854 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12856 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12860 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12863 * math/w_tgamma.c: Include <errno.h>.
12864 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12865 * math/w_tgammaf.c: Include <errno.h>.
12866 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12867 * math/w_tgammal.c: Include <errno.h>.
12868 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12869 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12870 underflow. Add more tgamma tests.
12871 * math/auto-libm-test-out: Regenerated.
12872 * sysdeps/i386/fpu/libm-test-ulps: Update.
12873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12875 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12876 sin, sinh, tan, tanh, tgamma, y0 and y1.
12877 * math/auto-libm-test-out: Regenerated.
12878 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12879 (TEST_COND_x86): Likewise.
12880 (M_E2l): Remove macro.
12882 (M_2_SQRT_PIl): Likewise.
12883 (M_SQRT_PIl): Likewise.
12884 (M_1_DIV_El): Likewise.
12885 (log_test_data): Use AUTO_TESTS_f_f.
12886 (log10_test_data): Likewise.
12887 (log1p_test_data): Likewise.
12888 (log2_test_data): Likewise.
12889 (sin_test_data): Likewise.
12890 (sin_tonearest_test_data): Likewise.
12891 (sin_towardzero_test_data): Likewise.
12892 (sin_downward_test_data): Likewise.
12893 (sin_upward_test_data): Likewise.
12894 (sinh_test_data): Likewise.
12895 (sinh_tonearest_test_data): Likewise.
12896 (sinh_towardzero_test_data): Likewise.
12897 (sinh_downward_test_data): Likewise.
12898 (sinh_upward_test_data): Likewise.
12899 (tan_test_data): Likewise.
12900 (tan_tonearest_test_data): Likewise.
12901 (tan_towardzero_test_data): Likewise.
12902 (tan_downward_test_data): Likewise.
12903 (tan_upward_test_data): Likewise.
12904 (tanh_test_data): Likewise.
12905 (tgamma_test_data): Likewise.
12906 (y0_test_data): Likewise.
12907 (y1_test_data): Likewise.
12908 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12909 (special_real_inputs): Add pi/4.
12910 * sysdeps/i386/fpu/libm-test-ulps: Update.
12911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12913 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12915 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12916 "longjmp_target" static probes.
12917 (__longjmp): Rename to __longjmp_symbol.
12918 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12919 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12920 on which longjmp to generate.
12921 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12922 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12924 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12925 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12926 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12927 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12928 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12929 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12931 __longjmp_symbol based on which __longjmp to generate.
12932 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12934 (setjmp): Rename to setjmp_symbol.
12935 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12936 (_setjmp): Rename to _setjmp_symbol.
12937 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12938 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12939 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12940 which setjmp to generate.
12941 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12942 "longjmp_target" static probes.
12944 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12946 * benchtests/README: Add note about output arguments.
12947 * benchtests/bench-sincos.c: Remove file.
12948 * benchtests/sincos-inputs: New file.
12949 * scripts/bench.pl: Identify output arguments and define
12950 static variables for them.
12952 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12955 * Makefile (INSTALL): Add install-plain.texi as the primary
12957 * manual/install-plain.texi: New file.
12958 * manual/install.texi: Include node directive only for
12959 non-plaintext output.
12961 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12963 * stdlib/longlong.h: Update from GCC.
12967 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12968 * math/w_j0f.c (y0f): Likewise.
12969 * math/w_j0l.c (__y0l): Likewise.
12970 * math/w_j1.c (y1): Likewise.
12971 * math/w_j1f.c (y1f): Likewise.
12972 * math/w_j1l.c (__y1l): Likewise
12973 * math/w_jn.c (yn): Likewise.
12974 * math/w_jnf.c (ynf): Likewise.
12975 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12976 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12977 value for Bessel function domain errors outside _SVID_ mode.
12978 Adjust sign of return value for yn (negative integer, 0).
12979 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12980 by zero in return for negative x and set sign appropriately for
12982 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12983 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12984 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12985 expectations in error cases.
12986 (y1_test_data): Likewise.
12987 (yn_test_data): Likewise.
12988 * sysdeps/i386/fpu/libm-test-ulps: Update.
12989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12991 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12993 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12994 "64" to "64-v1". Add "64-v2".
12995 (abi-64-options): Rename to ...
12996 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12997 (abi-64-condition): Rename to ...
12998 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12999 (abi-64-ld-soname): Rename to ...
13000 (abi-64-v1-ld-soname): ... this.
13001 (abi-64-v2-options): Define.
13002 (abi-64-v2-condition): Likewise.
13003 (abi-64-v2-ld-soname): Likewise.
13004 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13005 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13010 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13011 Alan Modra <amodra@gmail.com>
13013 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13014 New versions for use with the ELFv2 ABI.
13015 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13016 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13018 (struct La_ppc64v2_retval): Likewise.
13019 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13020 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13021 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13022 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13023 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13024 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13025 Do not save or restore CR.
13026 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13027 (_dl_profile_resolve): Do no save or restore CR. Support extended
13028 return values for ELFv2 ABI. Fix location of FPR return registers.
13029 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13030 updated values for _CALL_ELF == 2.
13031 (La_regs, La_retval, int_retval): Likewise.
13033 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13035 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13036 (FRAME_MIN_SIZE_PARM): Likewise.
13037 (FRAME_BACKCHAIN): Likewise.
13038 (FRAME_CR_SAVE): Likewise.
13039 (FRAME_LR_SAVE): Likewise.
13040 (FRAME_TOC_SAVE): Likewise.
13041 (FRAME_PARM_SAVE): Likewise.
13042 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13043 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13044 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13045 (call_mcount_parm_offset): New macro.
13046 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13047 (PROF): Use symbolic stack frame offsets.
13048 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13049 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13050 Redefine in terms of FRAME_MIN_SIZE.
13051 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13052 (_dl_profile_resolve): Likewise. Update comment.
13053 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13054 symbols stack frame offsets.
13055 (__sigsetjmp): Likewise.
13056 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13057 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13058 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13059 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13062 (FRAME_BACKCHAIN): Remove.
13063 (FRAME_CR_SAVE): Likewise.
13064 (FRAME_LR_SAVE): Likewise.
13065 (FRAME_COMPILER_DW): Likewise.
13066 (FRAME_LINKER_DW): Likewise.
13067 (FRAME_TOC_SAVE): Likewise.
13068 (FRAME_PARM_SAVE): Likewise.
13069 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13070 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13071 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13073 (CHECK_SP): Use symbolic stack frame offsets.
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13075 zone" instead of caller's parameter save area for temp storage.
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13077 Likewise. Also, use symbolic stack frame offsets.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13079 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13080 our own stack frame instead of the caller's.
13081 (__socket): Use symbolic stack frame offsets.
13083 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13084 Alan Modra <amodra@gmail.com>
13086 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13088 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13089 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13090 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13092 (elf_machine_fixup_plt): Call it.
13093 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13095 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13096 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13097 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13098 r2 before calling target.
13100 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13101 Alan Modra <amodra@gmail.com>
13103 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13104 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13105 versions of macros to support ELFv2 ABI.
13106 (LOCALENTRY): New macro.
13107 (ENTRY, EALIGN): Use it.
13108 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13109 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13110 fall through into ENTRY entry point.
13111 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13112 Only define if _CALL_ELF != 2.
13114 (elf_machine_matches_host): Verify ABI version matches.
13115 (RTLD_START): Use LOCALENTRY.
13116 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13117 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13118 (PLT_ENTRY_WORDS): New macro.
13119 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13120 (elf_machine_runtime_setup): Support ELFv2 ABI.
13121 (elf_machine_fixup_plt): Likewise.
13122 (elf_machine_plt_conflict): Likewise.
13123 (resolve_ifunc): Likewise.
13124 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13125 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13128 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13130 (makecontext): Support ELFv2 ABI.
13131 * elf/elf.h (EF_PPC64_ABI): Define.
13133 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13135 * sysdeps/powerpc/powerpc64/sysdep.h
13136 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13137 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13138 (ENTRY) [ASSEMBLER]: ... but instead here ...
13139 (EALIGN) [ASSEMBLER]: ... and here.
13140 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13141 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13142 (ENTRY_2) [!ASSEMBLER]: Use it.
13143 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13144 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13145 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13146 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13147 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13149 Use PPC64_LOAD_FUNCPTR.
13151 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13153 2013-12-04 Alan Modra <amodra@gmail.com>
13155 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13156 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13157 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13158 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13161 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13162 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13163 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13164 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13165 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13167 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13170 (__makecontext): Fix incorrect CFI when backtracing out of
13171 context created via makecontext.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13173 (__setcontext): Fix incorrect CFI during switch to new context.
13174 (__novec_setcontext): Likewise.
13176 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13179 * time/strptime_l.c (__strptime_internal): Allow modifiers
13181 * time/tst-strptime.c (day_tests): Add testcase.
13183 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13185 * scripts/bench.pl: Skip over blank lines.
13187 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13190 * manual/time.texi (Calendar Time): Clarify what timezone functions
13193 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13197 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13199 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13201 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13202 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13203 * debug/memset_chk.c (__memset_chk): Likewise.
13204 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13205 * debug/strncpy_chk.c: Likewise.
13207 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13211 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13212 (__ieee754_exp): For possibly underflowing results, check size of
13213 result and force underflow exception if required.
13214 * math/auto-libm-test-in: Add more tests of exp.
13215 * math/auto-libm-test-out: Regenerated.
13216 * sysdeps/i386/fpu/libm-test-ulps: Update.
13217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13220 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13221 * math/w_exp2f.c (__exp2f): Likewise.
13222 * math/w_exp2l.c (__exp2l): Likewise.
13223 * math/auto-libm-test-in: Do not allow missing errno on exp2
13225 * math/auto-libm-test-out: Regenerated.
13227 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13230 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13231 handle filename validation.
13232 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13235 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13238 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13239 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13240 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13242 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13244 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13245 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13246 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13247 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13248 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13249 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13250 Add more erfc tests.
13251 * math/auto-libm-test-out: Regenerated.
13252 * sysdeps/i386/fpu/libm-test-ulps: Update.
13253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13255 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13256 exp2, expm1, j0 and j1.
13257 * math/auto-libm-test-out: Regenerated.
13258 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13259 (erfc_test_data): Likewise.
13260 (exp_test_data): Likewise.
13261 (exp_tonearest_test_data): Likewise.
13262 (exp_towardzero_test_data): Likewise.
13263 (exp_downward_test_data): Likewise.
13264 (exp_upward_test_data): Likewise.
13265 (exp10_test_data): Likewise.
13266 (exp2_test_data): Likewise.
13267 (expm1_test_data): Likewise.
13268 (j0_test_data): Likewise.
13269 (j1_test_data): Likewise.
13270 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13271 (input_flag_type): Add flag_xfail_rounding.
13272 (input_flags): Add xfail-rounding.
13273 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13274 (output_for_one_input_case): Handle flag_xfail_rounding.
13275 * sysdeps/i386/fpu/libm-test-ulps: Update.
13276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13278 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13281 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13284 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13287 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13288 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13289 (STAP_PROBE0): New macro.
13290 (STAP_PROBE1): Likewise.
13291 (STAP_PROBE2): Likewise.
13292 (STAP_PROBE3): Likewise.
13293 (STAP_PROBE4): Likewise.
13295 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13297 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13299 2013-12-02 Steve Ellcey <sellcey@mips.com>
13301 * benchtests/Makefile (bench): Add sqrt.
13302 (LDLIBS-bench-sqrt): New.
13303 * benchtests/sqrt-input: New.
13305 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13307 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13308 (GAIH_EAI): Likewise.
13309 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13310 (gaih_inet): Likewise.
13311 (getaddrinfo): Don't use GAIH_EAI.
13313 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13314 (struct gaih): Remove definition.
13316 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13318 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13319 Use HERRNOP directly.
13321 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13325 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13327 * math/gen-auto-libm-tests.c (test_functions): Add more
13328 single-argument functions.
13329 (special_fill_pi_2): New function.
13330 (special_fill_minus_pi_2): Likewise.
13331 (special_fill_pi_6): Likewise.
13332 (special_fill_minus_pi_6): Likewise.
13333 (special_fill_pi_3): Likewise.
13334 (special_fill_2pi_3): Likewise.
13335 (special_fill_e): Likewise.
13336 (special_fill_1_e): Likewise.
13337 (special_fill_e_minus_1): Likewise.
13338 (special_real_inputs): Add more special inputs.
13339 (output_for_one_input_case): Do not require ERANGE on underflow to
13340 zero if round-to-nearest result does not underflow to zero, unless
13341 exact results required.
13342 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13343 atan, atanh, cbrt, cos and cosh.
13344 * math/auto-libm-test-out: Regenerated.
13345 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13346 (acos_tonearest_test_data): Likewise.
13347 (acos_towardzero_test_data): Likewise.
13348 (acos_downward_test_data): Likewise.
13349 (acos_upward_test_data): Likewise.
13350 (acosh_test_data): Likewise.
13351 (asin_test_data): Likewise.
13352 (asin_tonearest_test_data): Likewise.
13353 (asin_towardzero_test_data): Likewise.
13354 (asin_upward_test_data): Likewise.
13355 (asinh_test_data): Likewise.
13356 (atan_test_data): Likewise.
13357 (atanh_test_data): Likewise.
13358 (cbrt_test_data): Likewise.
13359 (cos_test_data): Likewise.
13360 (cos_tonearest_test_data): Likewise.
13361 (cos_towardzero_test_data): Likewise.
13362 (cos_downward_test_data): Likewise.
13363 (cos_upward_test_data): Likewise.
13364 (cosh_test_data): Likewise.
13365 (cosh_tonearest_test_data): Likewise.
13366 (cosh_towardzero_test_data): Likewise.
13367 (cosh_downward_test_data): Likewise.
13368 (cosh_upward_test_data): Likewise.
13369 * sysdeps/i386/fpu/libm-test-ulps: Update.
13370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13372 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13375 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13376 * math/w_exp10f.c (__exp10f): Likewise.
13377 * math/w_exp10l.c (__exp10l): Likewise.
13378 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13379 errno settings in existing tests.
13382 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13383 precision control set to double precision.
13384 * sysdeps/i386/fpu/w_sqrt.c: New file.
13385 * math/auto-libm-test-in: Add more tests.
13386 * math/auto-libm-test-out: Update.
13388 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13389 (sqrt_test_tonearest): New function.
13390 (sqrt_towardzero_test_data): New variable.
13391 (sqrt_test_towardzero): New function.
13392 (sqrt_downward_test_data): New variable.
13393 (sqrt_test_downward): New function.
13394 (sqrt_upward_test_data): New variable.
13395 (sqrt_test_upward): New function.
13396 (main): Call the new functions.
13398 * math/gen-auto-libm-tests.c: New file.
13399 * math/auto-libm-test-in: Likewise.
13400 * math/auto-libm-test-out: New generated file.
13401 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13403 (%beautify): Add generated representations of zero.
13404 (top level): Set $auto_input and call parse_auto_input.
13405 (beautify): Remove trailing "f" from hex float constants.
13406 (parse_args): Handle XFAIL_TEST.
13407 (convert_condition): New function.
13408 (or_value): Likewise.
13409 (or_cond_value): Likewise.
13410 (generate_testfile): Handle AUTO_TESTS_* lines.
13411 (parse_auto_input): New function.
13412 * math/libm-test.inc (XFAIL_TEST): New macro.
13413 (ERRNO_UNCHANGED): Update value.
13414 (ERRNO_EDOM): Likewise.
13415 (ERRNO_ERANGE): Likewise.
13416 (IGNORE_RESULT): Likewise.
13417 (TEST_COND_flt_32): New macro.
13418 (TEST_COND_dbl_64): Likewise.
13419 (TEST_COND_ldbl_96_intel): Likewise.
13420 (TEST_COND_ldbl_96_m68k): Likewise.
13421 (TEST_COND_ldbl_128): Likewise.
13422 (TEST_COND_ldbl_128ibm): Likewise.
13423 (TEST_COND_long32): Likewise.
13424 (TEST_COND_long64): Likewise.
13425 (TEST_COND_before_rounding): Likewise.
13426 (TEST_COND_after_rounding): Likewise.
13427 (enable_test): Handle XFAIL_TEST flag.
13428 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13429 with finite results.
13430 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13431 auto-libm-test-out.
13433 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13434 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13437 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13438 __tls_get_addr_internal instead of __tls_get_offset in order to
13439 avoid GOT pointer dependency. Make rtld export
13440 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13441 __tls_get_addr since we are a __tls_get_offset platform.
13442 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13443 GOT pointer being set up before.
13444 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13446 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13448 * manual/math.texi (Errors in Math Functions): Document accuracy
13452 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13453 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13456 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13469 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13470 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13471 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13472 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13473 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13475 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13477 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13479 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13480 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13481 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13482 atomic-feupdateenv and flt-rounds.
13483 * sysdeps/powerpc/nofpu/Versions (libc): Add
13484 __atomic_feholdexcept, __atomic_feclearexcept,
13485 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13486 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13487 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13488 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13489 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13494 * manual/arith.texi (FP Exceptions): Document that exceptions may
13495 not be raised when matherr is used.
13496 (Math Error Reporting): Document overflow in directed rounding
13497 modes. Document that errno may not be set when finite values are
13498 returned on overflow. Document intent to set errno on underflow
13499 only for underflow to zero.
13502 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13503 round-to-nearest then adjust result for other rounding modes.
13504 * include/fenv.h (fegetround): Use libm_hidden_proto.
13505 * math/fegetround.c (fegetround): Use libm_hidden_def.
13506 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13507 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13508 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13509 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13511 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13512 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13513 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13514 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13516 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 * nss/Versions (libnss_files): Add
13520 _nss_files_gethostbyname3_r.
13521 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13523 (HOST_DB_LOOKUP): Remove macro.
13524 (_nss_files_gethostbyname_r): Implement function without the
13525 HOST_DB_LOOKUP macro.
13526 (_nss_files_gethostbyname2_r): Likewise.
13528 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13530 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13532 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13534 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13535 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13538 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13540 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13541 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13542 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13543 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13544 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13545 __fe_nomask_env_priv and attribute_hidden.
13546 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13547 (libc_feupdateenv_test_ppc): Likewise.
13548 (libc_feresetround_ppc): Likewise.
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13550 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13551 compat_symbol macro.
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13553 (__fe_nomask_env): Likewise.
13554 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13556 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13558 * string/Makefile: Remove ifunc tests.
13559 * string/test-string.h: Define TEST_IFUNC.
13560 * string/test-bcopy-ifunc.c: Remove.
13561 * string/test-bzero-ifunc.c: Likewise.
13562 * string/test-memccpy-ifunc.c: Likewise.
13563 * string/test-memchr-ifunc.c: Likewise.
13564 * string/test-memcmp-ifunc.c: Likewise.
13565 * string/test-memcpy-ifunc.c: Likewise.
13566 * string/test-memmem-ifunc.c: Likewise.
13567 * string/test-memmove-ifunc.c: Likewise.
13568 * string/test-mempcpy-ifunc.c: Likewise.
13569 * string/test-memrchr-ifunc.c: Likewise.
13570 * string/test-memset-ifunc.c: Likewise.
13571 * string/test-rawmemchr-ifunc.c: Likewise.
13572 * string/test-stpcpy-ifunc.c: Likewise.
13573 * string/test-stpncpy-ifunc.c: Likewise.
13574 * string/test-strcasecmp-ifunc.c: Likewise.
13575 * string/test-strcasestr-ifunc.c: Likewise.
13576 * string/test-strcat-ifunc.c: Likewise.
13577 * string/test-strchr-ifunc.c: Likewise.
13578 * string/test-strchrnul-ifunc.c: Likewise.
13579 * string/test-strcmp-ifunc.c: Likewise.
13580 * string/test-strcpy-ifunc.c: Likewise.
13581 * string/test-strcspn-ifunc.c: Likewise.
13582 * string/test-strlen-ifunc.c: Likewise.
13583 * string/test-strncasecmp-ifunc.c: Likewise.
13584 * string/test-strncat-ifunc.c: Likewise.
13585 * string/test-strncmp-ifunc.c: Likewise.
13586 * string/test-strncpy-ifunc.c: Likewise.
13587 * string/test-strnlen-ifunc.c: Likewise.
13588 * string/test-strpbrk-ifunc.c: Likewise.
13589 * string/test-strrchr-ifunc.c: Likewise.
13590 * string/test-strspn-ifunc.c: Likewise.
13591 * string/test-strstr-ifunc.c: Likewise.
13593 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13595 * benchtests/Makefile: Remove ifunc tests.
13596 * benchtests/bench-string.h: Define TEST_IFUNC.
13597 * benchtests/bench-bcopy-ifunc.c: Remove.
13598 * benchtests/bench-bzero-ifunc.c: Likewise.
13599 * benchtests/bench-memccpy-ifunc.c: Likewise.
13600 * benchtests/bench-memchr-ifunc.c: Likewise.
13601 * benchtests/bench-memcmp-ifunc.c: Likewise.
13602 * benchtests/bench-memcpy-ifunc.c: Likewise.
13603 * benchtests/bench-memmem-ifunc.c: Likewise.
13604 * benchtests/bench-memmove-ifunc.c: Likewise.
13605 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13606 * benchtests/bench-memrchr-ifunc.c: Likewise.
13607 * benchtests/bench-memset-ifunc.c: Likewise.
13608 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13609 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13610 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13611 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13612 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13613 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13614 * benchtests/bench-strcat-ifunc.c: Likewise.
13615 * benchtests/bench-strchr-ifunc.c: Likewise.
13616 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13617 * benchtests/bench-strcmp-ifunc.c: Likewise.
13618 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13619 * benchtests/bench-strcpy-ifunc.c: Likewise.
13620 * benchtests/bench-strcspn-ifunc.c: Likewise.
13621 * benchtests/bench-strlen-ifunc.c: Likewise.
13622 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13623 * benchtests/bench-strncat-ifunc.c: Likewise.
13624 * benchtests/bench-strncmp-ifunc.c: Likewise.
13625 * benchtests/bench-strncpy-ifunc.c: Likewise.
13626 * benchtests/bench-strnlen-ifunc.c: Likewise.
13627 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13628 * benchtests/bench-strrchr-ifunc.c: Likewise.
13629 * benchtests/bench-strsep-ifunc.c: Likewise.
13630 * benchtests/bench-strspn-ifunc.c: Likewise.
13631 * benchtests/bench-strstr-ifunc.c: Likewise.
13633 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13635 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13637 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13639 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13640 * rt/aio.h: Likewise.
13641 * sysdeps/gnu/bits/utmp.h: Likewise.
13642 * sysdeps/gnu/bits/utmpx.h: Likewise.
13643 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13644 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13645 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13646 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13647 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13648 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13649 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13650 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13651 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13652 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13653 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13654 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13655 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13657 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13658 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13659 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13660 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13661 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13662 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13663 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13664 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13665 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13666 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13667 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13669 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13670 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13671 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13672 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13673 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13674 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13675 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13676 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13677 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13678 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13679 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13680 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13681 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13682 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13683 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13684 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13686 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13689 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13690 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13692 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13694 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13695 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13698 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13700 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13701 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13702 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13703 (__fesetround): Remove define.
13704 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13705 rounding and exceptions handling.
13706 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13707 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13708 (__fe_nomask_env): Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13710 __fegetround instead of fegetround.
13711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13714 2013-11-21 Roland McGrath <roland@hack.frob.com>
13716 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13719 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13721 2013-11-21 Meador Inge <meadori@codesourcery.com>
13724 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13725 (encrypt_r): Likewise.
13726 * malloc/obstack.h (obstack_free): Likewise.
13727 * posix/unistd.h (encrypt): Likewise.
13729 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13731 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13732 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13733 DL_CALL_DT_FINI() that call the functions directly.
13734 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13735 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13736 * elf/dl-fini.c: Likewise.
13738 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13740 * malloc/hooks.c (memalign_check): Add alignment rounding.
13741 * malloc/malloc.c (_mid_memalign): New function.
13742 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13743 Implement by calling _mid_memalign.
13744 * manual/probes.texi (Memory Allocation Probes): Remove
13745 memory_valloc_retry and memory_pvalloc_retry.
13747 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13749 * locale/programs/locarchive.c (open_archive): Add const
13750 qualifier to ARCHIVEFNAME and copy default fname to
13754 * libio/tst-widetext.input: Rename Oriya to Odia.
13755 * locale/iso-639.def: Likewise.
13757 * manual/probes.texi (Mathematical Function Probes): Add
13758 documentation for sin, cos, asin and acos probes.
13759 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13760 (__sin32): Add slowasin probe.
13761 (__cos32): Add slowacos probe.
13762 (__mpsin): Add slowsin probe.
13763 (__mpcos): Add slowcos probe.
13765 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13768 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13769 thread-local __sim_exceptions_thread and global
13770 __sim_exceptions_global.
13771 (__sim_disabled_exceptions): Change to thread-local
13772 __sim_disabled_exceptions_thread and global
13773 __sim_disabled_exceptions_global.
13774 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13775 and global __sim_round_mode_global.
13776 (__simulate_exceptions): Use thread-local floating-point state and
13777 set global state from it as needed.
13778 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13779 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13780 __sim_round_mode_thread.
13781 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13782 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13783 and global __sim_exceptions_global.
13784 (__sim_disabled_exceptions): Change to thread-local
13785 __sim_disabled_exceptions_thread and global
13786 __sim_disabled_exceptions_global.
13787 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13788 and global __sim_round_mode_global.
13789 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13790 (SIM_SET_GLOBAL): Likewise.
13791 * sysdeps/powerpc/soft-fp/sfp-machine.h
13792 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13793 __sim_round_mode_thread.
13794 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13795 __sim_disabled_exceptions_thread.
13796 (__sim_exceptions): Change to __sim_exceptions_thread.
13797 (__sim_disabled_exceptions): Change to
13798 __sim_disabled_exceptions_thread.
13799 (__sim_round_mode): Change to __sim_round_mode_thread.
13800 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13801 thread-local floating-point state and set global state from it as
13803 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13804 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13805 (__sim_disabled_exceptions): Remove extern declaration.
13806 (feenableexcept): Use thread-local floating-point state and set
13807 global state from it as needed.
13808 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13809 extern declaration.
13810 (__sim_disabled_exceptions): Likewise.
13811 (__sim_round_mode): Likewise.
13812 (__fegetenv): Use thread-local floating-point state.
13813 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13814 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13815 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13816 floating-point state and set global state from it as needed.
13817 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13818 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13819 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13821 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13822 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13824 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13825 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13826 Use __sim_round_mode_thread.
13827 * math/test-fenv-tls.c: New file.
13828 * math/Makefile (tests): Add test-fenv-tls.
13829 ($(objpfx)test-fenv-tls): Depend on
13830 $(common-objpfx)nptl/libpthread.so.
13832 2013-11-19 Andreas Schwab <schwab@suse.de>
13834 * locale/programs/locale.c (show_info): Decode wordarray elements.
13835 * locale/categories.def (LC_MONETARY): Add element for
13836 _NL_MONETARY_CRNCYSTR.
13837 * locale/C-monetary.c (conversion_rate): New variable.
13838 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13841 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13843 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13844 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13846 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13848 * elf/Makefile (tst-auxv): New test.
13849 * elf/tst-auxv.c: New
13850 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13852 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13854 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13855 (hidden_proto): Caller changed.
13856 (hidden_tls_proto): New macro.
13857 (libc_hidden_tls_proto): Likewise.
13858 (rtld_hidden_tls_proto): Likewise.
13859 (libm_hidden_tls_proto): Likewise.
13860 (libresolv_hidden_tls_proto): Likewise.
13861 (librt_hidden_tls_proto): Likewise.
13862 (libdl_hidden_tls_proto): Likewise.
13863 (libnss_files_hidden_tls_proto): Likewise.
13864 (libnsl_hidden_tls_proto): Likewise.
13865 (libnss_nisplus_hidden_tls_proto): Likewise.
13866 (libutil_hidden_tls_proto): Likewise.
13868 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13871 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13872 (decompose_rpath): Defer expansion to fillin_rpath.
13873 (_dl_init_paths): Pass linkmap to fillin_rpath.
13875 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13877 * benchtests/Makefile: Add strsep.
13878 * benchtests/bench-strsep.c: New file: strsep benchtest.
13879 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13881 2013-11-18 Andreas Schwab <schwab@suse.de>
13883 * locale/programs/locale.c (show_info) [case byte]: Check for
13884 '\377' instead of '\177'.
13885 * locale/C-monetary.c (not_available): Always use "\377".
13886 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13887 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13888 detect unavailable sign_posn locale elements.
13889 * locale/localeconv.c (__localeconv): For grouping and
13890 mon_grouping handle "\177" and "\377" like no grouping.
13891 (INT_ELEM): New macro. Use it to set all numeric members.
13892 * locale/programs/ld-monetary.c (monetary_read)
13893 <tok_mon_grouping>: Normalize single -1 to the empty string.
13894 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13897 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13900 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13901 when we match (nil).
13902 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13904 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13906 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13907 (NO_TEST_INLINE): Update value.
13908 (ERRNO_UNCHANGED): Likewise.
13909 (ERRNO_EDOM): Likewise.
13910 (ERRNO_ERANGE): Likewise.
13911 (IGNORE_RESULT): Likewise.
13912 (check_float_internal): Check signs of NaN results if
13913 TEST_NAN_SIGN used.
13914 (check_complex): Pass TEST_NAN_SIGN flag through to second
13915 check_float_internal call.
13916 (copysign_test_data): Add tests with quiet NaNs as second
13917 argument. Use TEST_NAN_SIGN.
13918 (fabs_test_data): Add test of negative quiet NaN argument. Use
13920 (signbit_test_data): Add tests of quiet NaN argument.
13921 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13923 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13925 (parse_args): Handle function results specified as IGNORE.
13926 * math/libm-test.inc (IGNORE_RESULT): New macro.
13927 (check_float_internal): Do not check numerical result if flag
13929 (check_complex): Pass through IGNORE_RESULT to second
13930 check_float_internal call.
13931 (check_int): Do not check numerical result if flag IGNORE_RESULT
13933 (check_long): Likewise.
13934 (check_bool): Likewise.
13935 (check_longlong): Likewise.
13936 (lrint_test_data): Add tests of infinite and NaN arguments.
13937 (lrint_tonearest_test_data): Likewise.
13938 (lrint_towardzero_test_data): Likewise.
13939 (lrint_downward_test_data): Likewise.
13940 (lrint_upward_test_data): Likewise.
13941 (llrint_test_data): Likewise.
13942 (llrint_tonearest_test_data): Likewise.
13943 (llrint_towardzero_test_data): Likewise.
13944 (llrint_downward_test_data): Likewise.
13945 (llrint_upward_test_data): Likewise.
13946 (lround_test_data): Likewise.
13947 (llround_test_data): Likewise.
13949 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13950 (ERRNO_UNCHANGED): Update value.
13951 (ERRNO_EDOM): Likewise.
13952 (ERRNO_ERANGE): Likewise.
13953 (NO_TEST_INLINE_FLOAT): New macro.
13954 (NO_TEST_INLINE_DOUBLE): Likewise.
13955 (enable_test): New function.
13956 (RUN_TEST_f_f): Check enable_test before running test.
13957 (RUN_TEST_2_f): Likewise.
13958 (RUN_TEST_fff_f): Likewise.
13959 (RUN_TEST_c_f): Likewise.
13960 (RUN_TEST_f_f1): Likewise.
13961 (RUN_TEST_fF_f1): Likewise.
13962 (RUN_TEST_fI_f1): Likewise.
13963 (RUN_TEST_ffI_f1): Likewise.
13964 (RUN_TEST_c_c): Likewise.
13965 (RUN_TEST_cc_c): Likewise.
13966 (RUN_TEST_f_i): Likewise.
13967 (RUN_TEST_f_i_tg): Likewise.
13968 (RUN_TEST_ff_i_tg): Likewise.
13969 (RUN_TEST_f_b): Likewise.
13970 (RUN_TEST_f_b_tg): Likewise.
13971 (RUN_TEST_f_l): Likewise.
13972 (RUN_TEST_f_L): Likewise.
13973 (RUN_TEST_fFF_11): Likewise.
13974 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13976 (cosh_test_data): Likewise.
13977 (exp_test_data): Likewise.
13978 (expm1_test_data): Likewise.
13979 (hypot_test_data): Likewise.
13980 (pow_test_data): Likewise.
13981 (sinh_test_data): Likewise.
13982 (tanh_test_data): Likewise.
13983 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13986 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13987 tests with quiet NaN input and output.
13988 (acosh_test_data): Likewise.
13989 (asin_test_data): Likewise.
13990 (asinh_test_data): Likewise.
13991 (atan_test_data): Likewise.
13992 (atanh_test_data): Likewise.
13993 (atan2_test_data): Likewise.
13994 (cbrt_test_data): Likewise.
13995 (cos_test_data): Likewise.
13996 (cosh_test_data): Likewise.
13997 (erf_test_data): Likewise.
13998 (erfc_test_data): Likewise.
13999 (exp_test_data): Likewise.
14000 (exp10_test_data): Likewise.
14001 (exp2_test_data): Likewise.
14002 (expm1_test_data): Likewise.
14003 (hypot_test_data): Likewise.
14004 (j0_test_data): Likewise.
14005 (j1_test_data): Likewise.
14006 (jn_test_data): Likewise.
14007 (lgamma_test_data): Likewise.
14008 (log_test_data): Likewise.
14009 (log10_test_data): Likewise.
14010 (log1p_test_data): Likewise.
14011 (log2_test_data): Likewise.
14012 (pow_test_data): Likewise.
14013 (scalb_test_data): Likewise.
14014 (sin_test_data): Likewise.
14015 (sincos_test_data): Likewise.
14016 (sinh_test_data): Likewise.
14017 (tan_test_data): Likewise.
14018 (tanh_test_data): Likewise.
14019 (tgamma_test_data): Likewise.
14020 (y0_test_data): Likewise.
14021 (y1_test_data): Likewise.
14022 (yn_test_data): Likewise.
14025 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14026 argument being NaN and avoid computations with second argument in
14028 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14029 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14030 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14032 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14034 * locale/iso-639.def: Add Chitwani Tharu (the).
14036 2013-11-14 Andreas Schwab <schwab@suse.de>
14038 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14039 word instead of empty string.
14041 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14044 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14046 (__fe_nomask_env): Likewise.
14048 2013-11-13 Steve Ellcey <sellcey@mips.com>
14050 * benchtests/bench-timing.h: Include time.h.
14052 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14055 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14057 * sysdeps/unix/sysv/linux/configure: Regenerated.
14059 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14062 * stdlib/strtod_l.c (round_and_return): Do not consider
14063 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14064 exponent one less than half the least subnormal exponent.
14065 * stdlib/test-strtod-round-data: Add more tests.
14066 * stdlib/tst-strtod-round.c (tests): Regenerated.
14068 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14071 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14072 (__fe_mask_env): Likewise.
14073 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14074 libm_hidden_proto and add function prototype.
14075 (__fe_mask_env): Add function prototype.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14077 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14079 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14081 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14083 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14085 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14086 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14088 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14090 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14091 of htab_find_slot().
14093 2013-11-11 David S. Miller <davem@davemloft.net>
14096 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14097 symbol in the non-vis3 case in static builds.
14098 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14099 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14100 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14101 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14103 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14106 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14109 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14111 * benchtests/Makefile: Add bench-strtod.
14112 * benchtests/bench-strtod.c: New file: strtod benchtest
14114 2013-11-11 Andreas Schwab <schwab@suse.de>
14117 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14118 terminating NUL in key length.
14120 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14122 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14123 Add artificial ODP entry for vDSO symbol for PPC64.
14124 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14125 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14127 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14130 * nss/getent.c (services_keys): Recognize services starting with digit.
14132 2013-11-06 David S. Miller <davem@davemloft.net>
14135 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14136 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14138 2013-11-06 Will Newton <will.newton@linaro.org>
14140 * manual/memory.texi (Malloc Examples): Remove register
14141 keyword from examples.
14143 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14145 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14147 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14150 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14151 depending on [__GCC_IEC_559 > 0].
14152 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14153 depending on [__GCC_IEC_559_COMPLEX > 0].
14155 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14157 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14160 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14162 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14164 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14167 * malloc/malloc (malloc_info): Do not handle first bin as
14170 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14172 * locale/iso-639.def: Add Central Nahuatl (nhn).
14174 2013-11-01 Bruno Haible <bruno@clisp.org>
14177 * manual/math.texi (BSD Random): Specify range upper bound as
14180 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14182 * locale/iso-639.def: Add Meadow Mari (mhr).
14184 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14186 [BZ #14752], [BZ #15763]
14187 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14189 * rt/tst_shm.c: Add test for escaping directory.
14191 2013-10-31 Andreas Schwab <schwab@suse.de>
14194 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14195 followed by 'x' as part of digit sequence.
14196 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14198 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14201 * configure.ac: allow GNU Make 4.0 and greater.
14202 * configure: Regenerated.
14204 2013-10-30 Will Newton <will.newton@linaro.org>
14207 * malloc/hooks.c (memalign_check): Limit alignment to the
14208 maximum representable power of two.
14209 * malloc/malloc.c (__libc_memalign): Likewise.
14210 * malloc/tst-memalign.c (do_test): Add test for very
14211 large alignment values.
14212 * malloc/tst-posix_memalign.c (do_test): Likewise.
14214 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14217 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14218 (munmap_chunk): Likewise.
14219 (mremap_chunk): Likewise.
14221 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14224 * stdlib/div.c (div): Remove obsolete code.
14225 * stdlib/ldiv.c (ldiv): Likewise.
14226 * stdlib/lldiv.c (lldiv): Likewise.
14228 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14231 * nss/nss_files/files-XXX.c (get_contents_ret): New
14233 (get_contents): New function.
14234 (internal_getent): Use it. Expand size of LINEBUFLEN.
14236 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14238 * configure.in: Moved to ...
14239 * configure.ac: ... here. Change reference to configure.in
14241 * sysdeps/arm/preconfigure.ac: ... here.
14242 configure.in to configure.ac.
14243 * sysdeps/gnu/configure.in: Moved to ...
14244 * sysdeps/gnu/configure.ac: ... here.
14245 * sysdeps/i386/configure.in: Moved to ...
14246 * sysdeps/i386/configure.ac: ... here.
14247 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14248 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14249 * sysdeps/mach/configure.in: Moved to ...
14250 * sysdeps/mach/configure.ac: ... here.
14251 * sysdeps/mach/hurd/configure.in: Moved to ...
14252 * sysdeps/mach/hurd/configure.ac: ... here.
14253 * sysdeps/powerpc/configure.in: Moved to ...
14254 * sysdeps/powerpc/configure.ac: ... here.
14255 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14256 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14257 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14258 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14259 * sysdeps/s390/s390-32/configure.in: Moved to ...
14260 * sysdeps/s390/s390-32/configure.ac: ... here.
14261 * sysdeps/s390/s390-64/configure.in: Moved to ...
14262 * sysdeps/s390/s390-64/configure.ac: ... here.
14263 * sysdeps/sh/configure.in: Moved to ...
14264 * sysdeps/sh/configure.ac: ... here.
14265 * sysdeps/sparc/configure.in: Moved to ...
14266 * sysdeps/sparc/configure.ac: ... here.
14267 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14268 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14269 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14270 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14271 * sysdeps/x86_64/configure.in: Moved to ...
14272 * sysdeps/x86_64/configure.ac: ... here.
14273 * sysdeps/x86_64/preconfigure.in: Moved to ...
14274 * sysdeps/x86_64/preconfigure.ac: ... here.
14275 * aclocal.m4: Change reference to configure.in to configure.ac.
14276 * config.h.in: Likewise.
14277 * manual/install.texi: Likewise.
14278 * manual/maint.texi: Likewise.
14279 * Makefile: Likewise.
14280 * malloc/Makefile: Likewise.
14281 * nscd/Makefile: Likewise.
14282 * Makeconfig: Change reference to configure.in and
14283 preconfigure.in to configure.ac and preconfigure.ac
14285 * INSTALL: Regenerated.
14286 * configure: Likewise.
14287 * sysdeps/gnu/configure: Likewise.
14288 * sysdeps/i386/configure: Likewise.
14289 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14290 * sysdeps/mach/configure: Likewise.
14291 * sysdeps/mach/hurd/configure: Likewise.
14292 * sysdeps/powerpc/configure: Likewise.
14293 * sysdeps/powerpc/powerpc32/configure: Likewise.
14294 * sysdeps/powerpc/powerpc64/configure: Likewise.
14295 * sysdeps/s390/s390-32/configure: Likewise.
14296 * sysdeps/s390/s390-64/configure: Likewise.
14297 * sysdeps/sh/configure: Likewise.
14298 * sysdeps/sparc/configure: Likewise.
14299 * sysdeps/unix/sysv/linux/configure: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14301 * sysdeps/x86_64/configure: Likewise.
14302 * sysdeps/x86_64/preconfigure: Likewise.
14304 2013-10-29 Andreas Schwab <schwab@suse.de>
14306 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14308 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14310 * benchtests/pow-inputs: Add new inputs.
14312 * benchtests/exp-inputs: Add new inputs.
14314 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14315 conditional check for return value.
14316 (__cos32): Likewise.
14318 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14320 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14321 to provide a boost for large inputs with word alignment.
14322 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14323 implementation based on optimized PPC64 strcpy.
14324 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14325 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14326 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14327 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14329 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14332 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14334 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14337 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14338 * time/tst-strptime.c (day_tests): Add testcase.
14340 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14343 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14345 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14348 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14349 MAP_FAILED on error.
14351 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14354 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14355 heap for large requests.
14357 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14360 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14361 result if the result has no associated interface.
14362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14363 interface for all 127.X.Y.Z addresses.
14365 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14367 * locale/iso-639.def: Add Ligurian (lij)
14369 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14372 * sunrpc/rpc_main.c: Document rpcgen -5.
14374 2013-10-19 Michael Stahl <mstahl@redhat.com>
14376 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14378 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14381 * posix/glob.c: Match only directories when trailing slash is present.
14382 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14383 (main): Add testcase.
14385 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14388 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14390 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14392 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14393 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14394 AUTH_DES and cindex for FIPS 140-2.
14395 (DES Encryption): Add cindex FIPS 46-3.
14397 * locale/locarchive.h (struct locarhandle): Add fname.
14398 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14399 if an optional argument was specified to --list-archive,
14401 * locale/programs/locarchive.c (show_archive_content): Take new
14402 argument fname and pass it via ah.fname to open_archive.
14403 * locale/programs/localedef.h: Update decl.
14404 (open_archive): If AH->fname is non-null, open that file
14405 rather than the default file name, and don't ignore ENOENT.
14406 (create_archive): Set AH.fname to NULL.
14407 (delete_locales_from_archive): Likewise.
14408 (add_locales_to_archive): Likewise.
14409 * locale/programs/locfile.c (write_all_categories): Likewise.
14411 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14412 Aldy Hernandez <aldyh@redhat.com>
14414 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14415 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14416 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14417 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14418 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14419 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14420 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14421 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14422 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14424 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14425 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14426 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14427 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14428 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14430 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14432 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14434 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14436 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14437 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14439 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14440 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14441 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14442 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14444 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14445 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14446 * sysdeps/powerpc/preconfigure: Likewise.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14449 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14450 Replace contents of file by #include of <fenv_libc.h>.
14451 * sysdeps/powerpc/soft-fp/sfp-machine.h
14452 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14454 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14456 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14457 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14461 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14462 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14463 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14464 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14465 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14467 Allow copysignl PLT reference to be missing.
14469 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14470 Joseph Myers <joseph@codesourcery.com
14473 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14475 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14477 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14479 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14480 * elf/tst-tls1.c: Likewise.
14481 * elf/tst-tls10.h: Likewise.
14482 * elf/tst-tls14.c: Likewise.
14483 * elf/tst-tls2.c: Likewise.
14484 * elf/tst-tls3.c: Likewise.
14485 * elf/tst-tls4.c: Likewise.
14486 * elf/tst-tls5.c: Likewise.
14487 * elf/tst-tls6.c: Likewise.
14488 * elf/tst-tls7.c: Likewise.
14489 * elf/tst-tls8.c: Likewise.
14490 * elf/tst-tls9.c: Likewise.
14491 * elf/tst-tlsmod1.c: Likewise.
14492 * elf/tst-tlsmod13.c: Likewise.
14493 * elf/tst-tlsmod13a.c: Likewise.
14494 * elf/tst-tlsmod14a.c: Likewise.
14495 * elf/tst-tlsmod16a.c: Likewise.
14496 * elf/tst-tlsmod16b.c: Likewise.
14497 * elf/tst-tlsmod2.c: Likewise.
14498 * elf/tst-tlsmod3.c: Likewise.
14499 * elf/tst-tlsmod4.c: Likewise.
14500 * elf/tst-tlsmod5.c: Likewise.
14501 * elf/tst-tlsmod6.c: Likewise.
14503 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14506 * malloc/malloc.c: remove checks for statistics.
14508 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14511 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14512 * inet/tst-network.c: Add testcase.
14514 2013-10-17 Andreas Schwab <schwab@suse.de>
14517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14518 to determine canonical name.
14520 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14522 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14523 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14546 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14547 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14554 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14577 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14579 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14581 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14584 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14585 make result into a quiet NaN.
14587 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14589 * soft-fp/adddf3.c: Fix horizontal whitespace.
14590 * soft-fp/addsf3.c: Likewise.
14591 * soft-fp/addtf3.c: Likewise.
14592 * soft-fp/divdf3.c: Likewise.
14593 * soft-fp/divsf3.c: Likewise.
14594 * soft-fp/divtf3.c: Likewise.
14595 * soft-fp/double.h: Likewise.
14596 * soft-fp/eqdf2.c: Likewise.
14597 * soft-fp/eqsf2.c: Likewise.
14598 * soft-fp/eqtf2.c: Likewise.
14599 * soft-fp/extenddftf2.c: Likewise.
14600 * soft-fp/extended.h: Likewise.
14601 * soft-fp/extendsfdf2.c: Likewise.
14602 * soft-fp/extendsftf2.c: Likewise.
14603 * soft-fp/extendxftf2.c: Likewise.
14604 * soft-fp/fixdfdi.c: Likewise.
14605 * soft-fp/fixdfsi.c: Likewise.
14606 * soft-fp/fixdfti.c: Likewise.
14607 * soft-fp/fixsfdi.c: Likewise.
14608 * soft-fp/fixsfsi.c: Likewise.
14609 * soft-fp/fixsfti.c: Likewise.
14610 * soft-fp/fixtfdi.c: Likewise.
14611 * soft-fp/fixtfsi.c: Likewise.
14612 * soft-fp/fixtfti.c: Likewise.
14613 * soft-fp/fixunsdfdi.c: Likewise.
14614 * soft-fp/fixunsdfsi.c: Likewise.
14615 * soft-fp/fixunsdfti.c: Likewise.
14616 * soft-fp/fixunssfdi.c: Likewise.
14617 * soft-fp/fixunssfsi.c: Likewise.
14618 * soft-fp/fixunssfti.c: Likewise.
14619 * soft-fp/fixunstfdi.c: Likewise.
14620 * soft-fp/fixunstfsi.c: Likewise.
14621 * soft-fp/fixunstfti.c: Likewise.
14622 * soft-fp/floatdidf.c: Likewise.
14623 * soft-fp/floatdisf.c: Likewise.
14624 * soft-fp/floatditf.c: Likewise.
14625 * soft-fp/floatsidf.c: Likewise.
14626 * soft-fp/floatsisf.c: Likewise.
14627 * soft-fp/floatsitf.c: Likewise.
14628 * soft-fp/floattidf.c: Likewise.
14629 * soft-fp/floattisf.c: Likewise.
14630 * soft-fp/floattitf.c: Likewise.
14631 * soft-fp/floatundidf.c: Likewise.
14632 * soft-fp/floatundisf.c: Likewise.
14633 * soft-fp/floatunditf.c: Likewise.
14634 * soft-fp/floatunsidf.c: Likewise.
14635 * soft-fp/floatunsisf.c: Likewise.
14636 * soft-fp/floatunsitf.c: Likewise.
14637 * soft-fp/floatuntidf.c: Likewise.
14638 * soft-fp/floatuntisf.c: Likewise.
14639 * soft-fp/floatuntitf.c: Likewise.
14640 * soft-fp/fmadf4.c: Likewise.
14641 * soft-fp/fmasf4.c: Likewise.
14642 * soft-fp/fmatf4.c: Likewise.
14643 * soft-fp/gedf2.c: Likewise.
14644 * soft-fp/gesf2.c: Likewise.
14645 * soft-fp/getf2.c: Likewise.
14646 * soft-fp/ledf2.c: Likewise.
14647 * soft-fp/lesf2.c: Likewise.
14648 * soft-fp/letf2.c: Likewise.
14649 * soft-fp/muldf3.c: Likewise.
14650 * soft-fp/mulsf3.c: Likewise.
14651 * soft-fp/multf3.c: Likewise.
14652 * soft-fp/negdf2.c: Likewise.
14653 * soft-fp/negsf2.c: Likewise.
14654 * soft-fp/negtf2.c: Likewise.
14655 * soft-fp/op-1.h: Likewise.
14656 * soft-fp/op-2.h: Likewise.
14657 * soft-fp/op-4.h: Likewise.
14658 * soft-fp/op-8.h: Likewise.
14659 * soft-fp/op-common.h: Likewise.
14660 * soft-fp/quad.h: Likewise.
14661 * soft-fp/single.h: Likewise.
14662 * soft-fp/soft-fp.h: Likewise.
14663 * soft-fp/sqrtdf2.c: Likewise.
14664 * soft-fp/sqrtsf2.c: Likewise.
14665 * soft-fp/sqrttf2.c: Likewise.
14666 * soft-fp/subdf3.c: Likewise.
14667 * soft-fp/subsf3.c: Likewise.
14668 * soft-fp/subtf3.c: Likewise.
14669 * soft-fp/truncdfsf2.c: Likewise.
14670 * soft-fp/trunctfdf2.c: Likewise.
14671 * soft-fp/trunctfsf2.c: Likewise.
14672 * soft-fp/trunctfxf2.c: Likewise.
14673 * soft-fp/unorddf2.c: Likewise.
14674 * soft-fp/unordsf2.c: Likewise.
14675 * soft-fp/unordtf2.c: Likewise.
14677 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14679 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14680 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14682 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14684 * elf/dl-libc.c: Clear initfini list after freeing.
14686 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14688 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14689 * soft-fp/addsf3.c: Likewise.
14690 * soft-fp/addtf3.c: Likewise.
14691 * soft-fp/divdf3.c: Likewise.
14692 * soft-fp/divsf3.c: Likewise.
14693 * soft-fp/divtf3.c: Likewise.
14694 * soft-fp/double.h: Likewise.
14695 * soft-fp/eqdf2.c: Likewise.
14696 * soft-fp/eqsf2.c: Likewise.
14697 * soft-fp/eqtf2.c: Likewise.
14698 * soft-fp/extenddftf2.c: Likewise.
14699 * soft-fp/extended.h: Likewise.
14700 * soft-fp/extendsfdf2.c: Likewise.
14701 * soft-fp/extendsftf2.c: Likewise.
14702 * soft-fp/extendxftf2.c: Likewise.
14703 * soft-fp/fixdfdi.c: Likewise.
14704 * soft-fp/fixdfsi.c: Likewise.
14705 * soft-fp/fixdfti.c: Likewise.
14706 * soft-fp/fixsfdi.c: Likewise.
14707 * soft-fp/fixsfsi.c: Likewise.
14708 * soft-fp/fixsfti.c: Likewise.
14709 * soft-fp/fixtfdi.c: Likewise.
14710 * soft-fp/fixtfsi.c: Likewise.
14711 * soft-fp/fixtfti.c: Likewise.
14712 * soft-fp/fixunsdfdi.c: Likewise.
14713 * soft-fp/fixunsdfsi.c: Likewise.
14714 * soft-fp/fixunsdfti.c: Likewise.
14715 * soft-fp/fixunssfdi.c: Likewise.
14716 * soft-fp/fixunssfsi.c: Likewise.
14717 * soft-fp/fixunssfti.c: Likewise.
14718 * soft-fp/fixunstfdi.c: Likewise.
14719 * soft-fp/fixunstfsi.c: Likewise.
14720 * soft-fp/fixunstfti.c: Likewise.
14721 * soft-fp/floatdidf.c: Likewise.
14722 * soft-fp/floatdisf.c: Likewise.
14723 * soft-fp/floatditf.c: Likewise.
14724 * soft-fp/floatsidf.c: Likewise.
14725 * soft-fp/floatsisf.c: Likewise.
14726 * soft-fp/floatsitf.c: Likewise.
14727 * soft-fp/floattidf.c: Likewise.
14728 * soft-fp/floattisf.c: Likewise.
14729 * soft-fp/floattitf.c: Likewise.
14730 * soft-fp/floatundidf.c: Likewise.
14731 * soft-fp/floatundisf.c: Likewise.
14732 * soft-fp/floatunsidf.c: Likewise.
14733 * soft-fp/floatunsisf.c: Likewise.
14734 * soft-fp/floatuntidf.c: Likewise.
14735 * soft-fp/floatuntisf.c: Likewise.
14736 * soft-fp/floatuntitf.c: Likewise.
14737 * soft-fp/fmadf4.c: Likewise.
14738 * soft-fp/fmasf4.c: Likewise.
14739 * soft-fp/fmatf4.c: Likewise.
14740 * soft-fp/gedf2.c: Likewise.
14741 * soft-fp/gesf2.c: Likewise.
14742 * soft-fp/getf2.c: Likewise.
14743 * soft-fp/ledf2.c: Likewise.
14744 * soft-fp/lesf2.c: Likewise.
14745 * soft-fp/letf2.c: Likewise.
14746 * soft-fp/muldf3.c: Likewise.
14747 * soft-fp/mulsf3.c: Likewise.
14748 * soft-fp/multf3.c: Likewise.
14749 * soft-fp/negdf2.c: Likewise.
14750 * soft-fp/negsf2.c: Likewise.
14751 * soft-fp/negtf2.c: Likewise.
14752 * soft-fp/op-1.h: Likewise.
14753 * soft-fp/op-2.h: Likewise.
14754 * soft-fp/op-4.h: Likewise.
14755 * soft-fp/op-8.h: Likewise.
14756 * soft-fp/op-common.h: Likewise.
14757 * soft-fp/quad.h: Likewise.
14758 * soft-fp/single.h: Likewise.
14759 * soft-fp/soft-fp.h: Likewise.
14760 * soft-fp/sqrtdf2.c: Likewise.
14761 * soft-fp/sqrtsf2.c: Likewise.
14762 * soft-fp/sqrttf2.c: Likewise.
14763 * soft-fp/subdf3.c: Likewise.
14764 * soft-fp/subsf3.c: Likewise.
14765 * soft-fp/subtf3.c: Likewise.
14766 * soft-fp/truncdfsf2.c: Likewise.
14767 * soft-fp/trunctfdf2.c: Likewise.
14768 * soft-fp/trunctfsf2.c: Likewise.
14769 * soft-fp/trunctfxf2.c: Likewise.
14770 * soft-fp/unorddf2.c: Likewise.
14771 * soft-fp/unordsf2.c: Likewise.
14772 * soft-fp/unordtf2.c: Likewise.
14774 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14777 * misc/error.c (error_tail): Fix possible buffer overflow.
14779 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14782 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14785 2013-10-14 P. J. McDermott <pj@pehjota.net>
14788 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14789 testing pipefail option.
14791 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14793 * soft-fp/double.h: Indent preprocessor directives inside #if.
14794 * soft-fp/extended.h: Likewise.
14795 * soft-fp/op-2.h: Likewise.
14796 * soft-fp/op-4.h: Likewise.
14797 * soft-fp/op-common.h: Likewise.
14798 * soft-fp/quad.h: Likewise.
14799 * soft-fp/single.h: Likewise.
14800 * soft-fp/soft-fp.h: Likewise.
14802 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14804 * iconv/iconv_prog.c: Fix typos.
14805 * stdio-common/psiginfo-data.h: Likewise.
14807 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14810 * locale/setlocale.c: Fix typo.
14812 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14815 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14816 signaling NaN arguments.
14817 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14818 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14821 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14822 unordered operands.
14823 * soft-fp/gesf2.c (__gesf2): Likewise.
14824 * soft-fp/getf2.c (__getf2): Likewise.
14825 * soft-fp/ledf2.c (__ledf2): Likewise.
14826 * soft-fp/lesf2.c (__lesf2): Likewise.
14827 * soft-fp/letf2.c (__letf2): Likewise.
14829 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14830 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14831 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14832 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14833 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14834 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14835 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14836 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14837 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14838 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14839 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14840 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14841 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14842 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14843 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14844 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14845 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14846 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14847 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14848 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14849 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14850 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14851 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14852 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14853 * soft-fp/floattidf.c (__floattidf): Likewise.
14854 * soft-fp/floattisf.c (__floattisf): Likewise.
14855 * soft-fp/floattitf.c (__floattitf): Likewise.
14856 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14857 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14858 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14859 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14860 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14861 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14862 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14863 * soft-fp/gesf2.c (__gesf2): Likewise.
14864 * soft-fp/getf2.c (__getf2): Likewise.
14865 * soft-fp/ledf2.c (__ledf2): Likewise.
14866 * soft-fp/lesf2.c (__lesf2): Likewise.
14867 * soft-fp/letf2.c (__letf2): Likewise.
14869 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14870 Undefine and redefine.
14871 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14872 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14873 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14874 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14875 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14876 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14877 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14878 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14879 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14880 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14881 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14882 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14883 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14884 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14885 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14888 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14889 without decrementing exponent if mantissa >= that for the
14890 denominator, not >.
14891 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14892 denominator, not >. Decrement exponent in < case instead of
14893 incrementing in >= case.
14894 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14895 without decrementing exponent if mantissa >= that for the
14896 denominator, not >.
14898 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14899 computing saturated result for unsigned overflow.
14901 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14902 Jeff Law <law@redhat.com>
14904 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14905 (atan2Mp): Add systemtap probe marker.
14906 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14907 (__ieee754_log): Add systemtap probe marker.
14908 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14909 (atanMp): Add systemtap probe marker.
14910 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14911 (tanMp): Add systemtap probe marker.
14912 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14913 (__slowexp): Add systemtap probe marker.
14914 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14915 (__slowpow): Add systemtap probe marker.
14916 * manual/probes.texi: Document probes.
14918 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14921 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14923 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14925 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14926 written to buffer but not flushed.
14927 * libio/iofwrite_u.c: Likewise.
14928 * libio/iopadn.c: Return bytes returned even if EOF was
14930 * libio/iowpadn.c: Likewise.
14931 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14932 if _IO_padn does not write the whole buffer.
14933 [!COMPILE_WPRINTF] (PAD): Likewise.
14935 2013-10-10 David S. Miller <davem@davemloft.net>
14937 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14940 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14942 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14943 instead of FSF address.
14944 * soft-fp/fixdfti.c: Likewise.
14945 * soft-fp/fixsfti.c: Likewise.
14946 * soft-fp/fixtfti.c: Likewise.
14947 * soft-fp/fixunsdfti.c: Likewise.
14948 * soft-fp/fixunssfti.c: Likewise.
14949 * soft-fp/fixunstfti.c: Likewise.
14950 * soft-fp/floattidf.c: Likewise.
14951 * soft-fp/floattisf.c: Likewise.
14952 * soft-fp/floattitf.c: Likewise.
14953 * soft-fp/floatuntidf.c: Likewise.
14954 * soft-fp/floatuntisf.c: Likewise.
14955 * soft-fp/floatuntitf.c: Likewise.
14956 * soft-fp/trunctfxf2.c: Likewise.
14958 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14959 * soft-fp/fixdfti.c: Likewise.
14960 * soft-fp/fixsfti.c: Likewise.
14961 * soft-fp/fixtfti.c: Likewise.
14962 * soft-fp/fixunsdfti.c: Likewise.
14963 * soft-fp/fixunssfti.c: Likewise.
14964 * soft-fp/fixunstfti.c: Likewise.
14965 * soft-fp/floattidf.c: Likewise.
14966 * soft-fp/floattisf.c: Likewise.
14967 * soft-fp/floattitf.c: Likewise.
14968 * soft-fp/floatuntidf.c: Likewise.
14969 * soft-fp/floatuntisf.c: Likewise.
14970 * soft-fp/floatuntitf.c: Likewise.
14971 * soft-fp/trunctfxf2.c: Likewise.
14973 2013-10-10 David S. Miller <davem@davemloft.net>
14975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14977 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14979 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14980 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14981 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14982 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14983 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14984 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14985 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14987 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14988 for NaNs before doing comparisons on argument.
14989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14992 2013-10-10 Will Newton <will.newton@linaro.org>
14994 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14995 passed to _int_memalign does not overflow.
14997 2013-10-10 Torvald Riegel <triegel@redhat.com>
14999 * scripts/bench.pl: Add include-sources directive.
15000 * benchtests/README: Update documentation.
15002 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15004 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15005 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15006 instead of FP_INIT_ROUNDMODE.
15007 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15008 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15011 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15012 copy class of input value.
15013 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15014 not handle exceptions.
15015 * soft-fp/negsf2.c (__negsf2): Likewise.
15016 * soft-fp/negtf2.c (__negtf2): Likewise.
15017 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15019 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15021 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15022 semicolon. From Linux kernel.
15024 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15026 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15028 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15031 * manual/socket.texi: Added statement about buffer
15032 for gethostbyname2_r.
15034 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15036 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15037 Use .p2align directive instead, throughout.
15038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15039 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15040 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15041 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15042 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15043 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15044 * sysdeps/x86_64/strchr.S: Likewise.
15045 * sysdeps/x86_64/strrchr.S: Likewise.
15047 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15049 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15051 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15053 * sysdeps/generic/math_private.h (__mpsin1): Remove
15055 (__mpcos1): Likewise.
15056 (__mpsin): New argument __range_reduce.
15057 (__mpcos): Likewise.
15058 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15059 (slow): Use __mpsin and __mpcos.
15063 (sloww1): Likewise.
15064 (sloww2): Likewise.
15065 (bsloww): Likewise.
15066 (bsloww1): Likewise.
15067 (bsloww2): Likewise.
15068 (cslow2): Likewise.
15069 (csloww): Likewise.
15070 (csloww1): Likewise.
15071 (csloww2): Likewise.
15072 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15073 range_reduce. Merge in __mpsin1.
15074 (__mpcos): Likewise.
15075 (__mpsin1): Remove.
15076 (__mpcos1): Likewise.
15078 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15080 * locale/loadlocale.c (_nl_intern_locale_data): Use
15082 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15083 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15084 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15085 obstack data is appropriately aligned.
15086 (obstack_int32_grow_fast): Likewise.
15087 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15088 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15089 (add_locale_uint32_array): Likewise.
15091 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15093 * benchtests/Makefile: Remove ARGLIST and RET variables.
15094 ($(objpfx)bench-%.c): Pass only function name to the script.
15095 * benchtests/README: Update documentation.
15096 * benchtests/acos-inputs: Add new directives.
15097 * benchtests/acosh-inputs: Likewise.
15098 * benchtests/asin-inputs: Likewise.
15099 * benchtests/asinh-inputs: Likewise.
15100 * benchtests/atan-inputs: Likewise.
15101 * benchtests/atanh-inputs: Likewise.
15102 * benchtests/cos-inputs: Likewise.
15103 * benchtests/cosh-inputs: Likewise.
15104 * benchtests/exp-inputs: Likewise.
15105 * benchtests/log-inputs: Likewise.
15106 * benchtests/pow-inputs: Likewise.
15107 * benchtests/rint-inputs: Likewise.
15108 * benchtests/sin-inputs: Likewise.
15109 * benchtests/sinh-inputs: Likewise.
15110 * benchtests/tan-inputs: Likewise.
15111 * benchtests/tanh-inputs: Likewise.
15112 * scripts/bench.pl: Add support for new directives.
15114 2013-10-07 Alan Modra <amodra@gmail.com>
15116 * README: Fix careless merge.
15118 2013-10-05 Alan Modra <amodra@gmail.com>
15120 * NEWS: Mention powerpc64le support and bugs fixed.
15121 * README: Both big-endian and little-endian powerpc64 supported.
15123 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15125 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15126 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15127 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15128 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15130 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15132 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15135 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15137 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15138 Move -mhard-float appending from
15139 ports/sysdeps/powerpc/powerpc32/Makefile.
15140 [$(with-fp) = yes] (ASFLAGS): Likewise.
15141 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15142 * sysdeps/powerpc/nofpu: Move directory from
15143 ports/sysdeps/powerpc/nofpu.
15144 * sysdeps/powerpc/soft-fp: Move directory from
15145 ports/sysdeps/powerpc/soft-fp.
15146 * sysdeps/powerpc/powerpc32/405: Move directory from
15147 ports/sysdeps/powerpc/powerpc32/405.
15148 * sysdeps/powerpc/powerpc32/440: Move directory from
15149 ports/sysdeps/powerpc/powerpc32/440.
15150 * sysdeps/powerpc/powerpc32/464: Move directory from
15151 ports/sysdeps/powerpc/powerpc32/464.
15152 * sysdeps/powerpc/powerpc32/476: Move directory from
15153 ports/sysdeps/powerpc/powerpc32/476.
15154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15155 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15157 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15159 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15161 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15163 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15164 * README: Update for powerpc-*-linux-gnu software floating point
15167 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15168 case to powerpc/powerpc32*.
15169 * sysdeps/unix/sysv/linux/configure: Regenerated.
15171 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15172 (_FPU_MASK_OM): Define as 0x04.
15173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15181 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15184 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15187 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15188 and setcontext_e500.
15190 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15192 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15194 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15196 * manual/threads.texi (Default Thread Attributes): Fix typo.
15198 2013-10-04 Will Newton <will.newton@linaro.org>
15200 * malloc/Makefile: Add tst-memalign.
15201 * malloc/tst-memalign.c: New file.
15203 * malloc/tst-posix_memalign.c: Add comments.
15204 (do_test): Add comments and call free on all potentially
15205 allocated pointers. Add space after cast.
15207 * malloc/tst-pvalloc.c: Add comments.
15208 (do_test): Add comments and call free on all potentially
15209 allocated pointers. Remove duplicate check for NULL pointer.
15210 Add space after cast.
15212 * malloc/tst-valloc.c: Add comments.
15213 (do_test): Add comments and call free on all potentially
15214 allocated pointers. Remove duplicate check for NULL pointer.
15215 Add space after cast.
15217 2013-10-04 Alan Modra <amodra@gmail.com>
15219 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15220 Use stdint types in rather than __attribute__((mode())).
15221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15223 2013-10-04 Alan Modra <amodra@gmail.com>
15225 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15226 Correct handling of unaligned relocs for little-endian.
15227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15229 2013-10-04 Alan Modra <amodra@gmail.com>
15231 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15232 * configure: Regenerate.
15233 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15234 * shlib-versions: Likewise.
15236 2013-10-04 Alan Modra <amodra@gmail.com>
15238 * string/tester.c (test_memrchr): Increment reported test cycle.
15240 2013-10-04 Alan Modra <amodra@gmail.com>
15242 * string/test-memcpy.c (do_one_test): When reporting errors, print
15243 string address and don't overrun end of string.
15245 2013-10-04 Alan Modra <amodra@gmail.com>
15247 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15248 insrdi. Make better use of reg selection to speed exit slightly.
15249 Schedule entry path a little better. Remove useless "are we done"
15250 checks on entry to main loop. Handle wrapping around zero address.
15251 Correct main loop count. Handle single left-over word from main
15252 loop inline rather than by using loop_small. Remove extra word
15253 case in loop_small caused by wrong loop count. Add little-endian
15255 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15258 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15259 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15260 support. Avoid rlwimi.
15261 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15263 2013-10-04 Alan Modra <amodra@gmail.com>
15265 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15266 insrdi. Formatting.
15267 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15268 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15269 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15270 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15271 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15272 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15274 2013-10-04 Alan Modra <amodra@gmail.com>
15276 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15277 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15278 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15279 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15280 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15281 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15282 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15283 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15284 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15285 use of regs. Use power7 mtocrf. Tidy function tails.
15287 2013-10-04 Alan Modra <amodra@gmail.com>
15289 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15290 Formatting. Consistently use rXXX register defines or rN defines.
15291 Use early exit labels that avoid restoring unused non-volatile regs.
15292 Make cr field use more consistent with rWORDn compares. Rename
15293 regs used as shift registers for unaligned loop, using rN defines
15294 for short lifetime/multiple use regs.
15295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15297 addi 1,1,64 to pop stack frame. Simplify return value code.
15298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15300 2013-10-04 Alan Modra <amodra@gmail.com>
15302 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15303 support. Correct typos, formatting. Optimize tail. Use insrdi
15304 rather than rlwimi.
15305 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15306 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15307 little-endian support. Correct typos.
15308 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15309 rather than rlwimi.
15310 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15311 in loop and entry code to keep "and." results.
15312 (strchr): Add little-endian support. Comment. Move cntlzd
15314 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15316 2013-10-04 Alan Modra <amodra@gmail.com>
15318 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15319 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15320 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15321 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15323 2013-10-04 Alan Modra <amodra@gmail.com>
15325 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15326 (rTMP): Define as r11.
15327 (strcmp): Add little-endian support. Optimise tail.
15328 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15329 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15330 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15331 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15332 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15333 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15336 2013-10-04 Alan Modra <amodra@gmail.com>
15338 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15339 little-endian support. Remove unnecessary "are we done" tests.
15340 Handle "s" wrapping around zero and extremely large "size".
15341 Correct main loop count. Handle single left-over word from main
15342 loop inline rather than by using small_loop. Correct comments.
15343 Delete "zero" tail, use "end_max" instead.
15344 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15346 2013-10-04 Alan Modra <amodra@gmail.com>
15348 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15349 support. Don't branch over align.
15350 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15351 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15352 support. Rearrange tmp reg use to suit. Comment.
15353 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15355 2013-10-04 Alan Modra <amodra@gmail.com>
15357 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15359 2013-10-04 Alan Modra <amodra@gmail.com>
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15362 conditional form of branch and link when obtaining pc.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15365 2013-10-04 Alan Modra <amodra@gmail.com>
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15372 2013-10-04 Alan Modra <amodra@gmail.com>
15374 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15375 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15376 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15377 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15378 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15379 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15380 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15381 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15382 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15383 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15385 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15386 Alistair Popple <alistair@ozlabs.au.ibm.com>
15387 Alan Modra <amodra@gmail.com>
15390 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15391 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15392 _dl_hwcap access for little-endian.
15393 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15394 destroy vmx regs when saving unaligned.
15395 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15396 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15397 destroy vmx regs when saving unaligned.
15399 2013-10-04 Alan Modra <amodra@gmail.com>
15401 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15402 Don't use a union to pack hi/low value.
15404 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15406 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15408 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15409 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15410 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15411 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15412 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15414 2013-10-04 Alan Modra <amodra@gmail.com>
15416 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15417 constants to usual value for .cst8 section, and remove redundant
15419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15420 constant for 0x1p52. Load little-endian words of double from
15421 correct stack offsets.
15423 2013-10-04 Alan Modra <amodra@gmail.com>
15425 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15426 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15427 words of double from correct stack offsets.
15428 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15429 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15430 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15431 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15435 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15436 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15440 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15441 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15442 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15443 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15444 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15446 2013-10-04 Alan Modra <amodra@gmail.com>
15448 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15449 64-bit int/double union.
15450 (_FPU_SETCW): Likewise.
15451 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15452 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15454 2013-10-04 Alan Modra <amodra@gmail.com>
15456 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15457 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15459 2013-10-04 Alan Modra <amodra@gmail.com>
15461 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15462 use vector int constants.
15463 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15465 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15467 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15468 array with long long.
15469 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15470 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15471 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15472 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15473 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15474 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15475 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15476 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15477 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15478 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15479 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15480 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15481 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15483 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15485 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15486 (__signbit): Likewise. Correct for little-endian.
15487 (__signbitl): Call __signbit.
15488 (lrint): Correct for little-endian.
15489 (lrintf): Call lrint.
15491 2013-10-04 Alan Modra <amodra@gmail.com>
15493 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15494 union 32-bit int array member with 64-bit int array.
15495 (t515, tm256): Double rather than long double.
15496 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15498 2013-10-04 Alan Modra <amodra@gmail.com>
15500 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15502 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15503 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15504 version of math_ldbl.h.
15506 2013-10-04 Alan Modra <amodra@gmail.com>
15508 [BZ #15734], [BZ #15735]
15509 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15510 all uses of ieee875 long double macros and unions. Simplify test
15511 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15512 ldbl_extract_mantissa value for ix,iy exponents. Properly
15513 normalize after ldbl_extract_mantissa, and don't add hidden bit
15514 already handled. Don't treat low word of ieee854 mantissa like
15515 low word of IBM long double and mask off bit when testing for
15517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15518 all uses of ieee875 long double macros and unions. Simplify tests
15519 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15520 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15521 two1022, instead use their values. Recognise that tests for large
15522 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15523 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15524 Rewrite all uses of ieee875 long double macros and unions. Simplify
15525 test for 0.0L and nan. Correct negation.
15526 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15527 ieee875 long double macros and unions. Correct output for large
15528 magnitude x. Correct absolute value calculation.
15529 (__erfcl): Likewise.
15530 * math/libm-test.inc: Add tests for errors discovered in IBM long
15531 double versions of fmodl, remainderl, erfl and erfcl.
15533 2013-10-04 Alan Modra <amodra@gmail.com>
15535 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15536 all uses of ieee854 long double macros and unions. Simplify tests
15537 for long doubles that are fully specified by the high double.
15538 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15540 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15541 Remove dead code too.
15542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15543 (__ieee754_ynl): Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15547 Remove dead code too.
15548 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15549 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15553 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15555 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15558 Comment on variable precision.
15559 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15562 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15566 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15568 2013-10-04 Alan Modra <amodra@gmail.com>
15570 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15571 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15572 all uses of ieee854 long double macros and unions.
15573 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15586 Simplify sign and nan test too.
15587 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15592 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15595 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15602 2013-10-04 Alan Modra <amodra@gmail.com>
15604 * stdio-common/printf_size.c (__printf_size): Don't use
15605 union ieee854_long_double in fpnum union.
15606 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15607 signbit macro to retrieve sign from long double.
15608 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15609 retrieve sign from long double.
15610 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15611 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15612 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15613 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15614 * math/test-misc.c (main): Don't use union ieee854_long_double.
15616 2013-10-04 Alan Modra <amodra@gmail.com>
15619 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15620 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15621 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15622 calculation. Remove unnecessary test for denormal exponent.
15623 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15624 Correct handling of denormals. Avoid undefined shift behaviour.
15625 Correct normalisation of low mantissa when low double is denormal.
15626 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15627 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15628 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15629 Correct normalisation of low mantissa. Test for overflow of high
15630 mantissa and normalise.
15631 (ldbl_nearbyint): Use more readable constant for two52.
15632 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15633 (__mpn_construct_long_double): Fix test for overflow of high
15634 mantissa and correct normalisation. Avoid undefined shift.
15636 2013-10-04 Alan Modra <amodra@gmail.com>
15638 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15639 (union ibm_extended_long_double): Define as an array of ieee754_double.
15640 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15641 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15642 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15643 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15645 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15647 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15648 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15649 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15650 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15652 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15654 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15655 page size instead of calling getpagesize.
15657 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15658 (LOCFILE_ALIGN_MASK): Likewise.
15659 (LOCFILE_ALIGN_UP): Likewise.
15660 (LOCFILE_ALIGNED_P): Likewise.
15661 * locale/programs/ld-collate.c (collate_output): Use the new
15662 macros instead of __alignof__ (int32_t).
15663 * locale/weight.h (findidx): Likewise.
15665 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15668 * manual/string.texi: Fix strncat and wcsncat.
15670 2013-10-03 Brooks Moses <bmoses@google.com>
15673 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15674 * Makerules: ...here, and adjust associated comments.
15676 2013-10-02 Will Newton <will.newton@linaro.org>
15678 * malloc/Makefile: Add tst-pvalloc.
15679 * malloc/tst-pvalloc.c: New file.
15681 2013-10-02 Will Newton <will.newton@linaro.org>
15683 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15684 improve test coverage.
15686 2013-10-02 Will Newton <will.newton@linaro.org>
15688 * malloc/Makefile: Add tst-posix_memalign.
15689 * malloc/tst-posix_memalign.c: New file.
15691 2013-10-01 Eric Blake <eblake@redhat.com>
15693 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15694 Use __THROWNL rather than __THROW on static functions.
15696 2013-09-30 Petr Machata <pmachata@redhat.com>
15698 * elf/elf.h (R_AARCH64_ABS16): New macro.
15699 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15700 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15701 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15702 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15703 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15704 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15705 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15706 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15707 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15708 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15709 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15710 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15711 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15712 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15713 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15714 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15715 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15716 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15717 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15718 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15719 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15720 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15721 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15722 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15723 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15724 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15725 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15726 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15727 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15728 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15729 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15730 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15731 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15732 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15733 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15734 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15735 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15736 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15737 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15738 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15739 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15740 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15741 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15742 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15743 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15744 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15745 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15746 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15747 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15748 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15749 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15750 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15751 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15752 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15753 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15754 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15755 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15756 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15757 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15758 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15759 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15760 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15761 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15762 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15763 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15764 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15765 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15766 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15767 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15768 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15769 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15770 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15771 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15772 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15773 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15774 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15775 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15776 (R_AARCH64_TLSDESC_LDR): Likewise.
15777 (R_AARCH64_TLSDESC_ADD): Likewise.
15778 (R_AARCH64_TLSDESC_CALL): Likewise.
15780 2013-09-30 Andreas Schwab <schwab@suse.de>
15783 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15784 the nss database lookup.
15785 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15788 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15790 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15792 2013-09-28 P. J. McDermott <pj@pehjota.net>
15794 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15795 ${Bash-specific parameter/pattern/string} parameter expansion.
15796 * sysdeps/unix/make-syscalls.sh: Likewise.
15798 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15800 * sysdeps/sh/stackguard-macros.h: New file.
15802 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15805 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15806 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15807 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15808 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15809 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15811 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15813 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15814 Fix thread ID register.
15816 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15818 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15819 [POSIX || UNIX98]: Require rather than permitting all symbols from
15821 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15822 element of struct sched_param.
15823 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15824 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15825 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15826 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15829 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15831 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15832 argument calculation.
15834 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15836 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15838 [POSIX] (pthread_attr_t): Do not require type.
15839 [POSIX] (pthread_cond_t): Likewise.
15840 [POSIX] (pthread_condattr_t): Likewise.
15841 [POSIX] (pthread_key_t): Likewise.
15842 [POSIX] (pthread_mutex_t): Likewise.
15843 [POSIX] (pthread_mutexattr_t): Likewise.
15844 [POSIX] (pthread_once_t): Likewise.
15845 [POSIX] (pthread_t): Likewise.
15846 [POSIX-based standards] (pthread_atfork): Expect function.
15848 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15849 Richard Sandiford <richard@codesourcery.com>
15851 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15852 (swap_endianness_p): New extern variable.
15853 (set_big_endian): New inline function.
15854 (maybe_swap_uint32): Likewise.
15855 (maybe_swap_uint32_array): Likewise.
15856 (maybe_swap_uint32_obstack): Likewise.
15857 * locale/programs/locfile.c: Include <stdbool.h>.
15858 (swap_endianness_p): New variable.
15859 (add_locale_uint32): Call maybe_swap_uint32.
15860 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15861 (write_locale_data): Call maybe_swap_uint32_array.
15862 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15864 (obstack_int32_grow_fast): Likewise.
15865 (output_weightwc): Call maybe_swap_uint32_obstack.
15866 (collate_output): Likewise.
15867 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15868 (OPT_LITTLE_ENDIAN): Likewise.
15869 (options): Add --little-endian and --big-endian options.
15870 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15871 * locale/programs/locarchive.c: Include "locfile.h".
15875 (create_archive): Use the new macros to access fields of
15876 structures directly mapped from or written to locale archives.
15877 (oldlocrecentcmp): Likewise.
15878 (enlarge_archive): Likewise.
15879 (insert_name): Likewise.
15880 (add_alias): Likewise.
15881 (add_locale): Likewise.
15882 (delete_locales_from_archive): Likewise.
15883 (show_archive_content): Likewise.
15884 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15887 2013-09-24 Roland McGrath <roland@hack.frob.com>
15889 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15890 http://www.gnu.org/doc/freemanuals.texi.
15891 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15893 2013-09-24 Will Newton <will.newton@linaro.org>
15895 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15898 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15900 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15903 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15905 * manual/threads.texi (POSIX Threads): Fix a typo.
15907 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15910 * string/tst-strcoll-overflow.c: New test case.
15911 * string/Makefile (xtests): Add tst-strcoll-overflow.
15912 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15913 cache if string sizes may cause integer overflow.
15916 * string/strcoll_l.c (coll_seq): New members rule, idx,
15917 save_idx and back_us.
15918 (get_next_seq_nocache): New function.
15919 (do_compare_nocache): New function.
15920 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15923 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15926 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15927 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15928 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15931 * elf/Makefile (tests): Add tst-ptrguard1.
15932 (tests-static): Add tst-ptrguard1-static.
15933 (tst-ptrguard1-ARGS): Define.
15934 (tst-ptrguard1-static-ARGS): Define.
15935 * elf/tst-ptrguard1.c: New file.
15936 * elf/tst-ptrguard1-static.c: New file.
15937 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15938 * sysdeps/i386/stackguard-macros.h: Likewise.
15939 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15940 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15941 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15942 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15943 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15944 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15946 2013-09-23 Hector Marco <hecmargi@upv.es>
15947 Ismael Ripoll <iripoll@disca.upv.es>
15948 Carlos O'Donell <carlos@redhat.com>
15951 * sysdeps/generic/stackguard-macros.h: Define
15952 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15953 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15954 Define __pointer_chk_guard_local.
15955 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15956 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15958 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15961 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15963 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15965 * include/string.h (__ffs): Declare as hidden.
15966 * string/ffs.c (__ffs): Define as hidden.
15967 * sysdeps/i386/ffs.c (__ffs): Likewise.
15968 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15969 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15970 * sysdeps/s390/ffs.c (__ffs): Likewise.
15971 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15973 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15975 * NEWS: Mention malloc probes.
15977 * malloc/arena.c (new_heap): New memory_heap_new probe.
15978 (grow_heap): New memory_heap_more probe.
15979 (shrink_heap): New memory_heap_less probe.
15980 (heap_trim): New memory_heap_free probe.
15981 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15982 (systrim): New memory_sbrk_less probe.
15983 * manual/probes.texi: Document them.
15985 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15986 * manual/probes.texi: Document it.
15988 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15989 (__libc_realloc): Add memory_realloc_retry probe.
15990 (__libc_memalign): Add memory_memalign_retry probe.
15991 (__libc_valloc): Add memory_valloc_retry probe.
15992 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15993 (__libc_calloc): Add memory_calloc_retry probe.
15994 * manual/probes.texi: Document them.
15996 * malloc/arena.c (get_free_list): Add probe
15997 memory_arena_reuse_free_list.
15998 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15999 and memory_arena_reuse.
16000 (arena_get2) [!PER_THREAD]: Likewise.
16001 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16002 memory_arena_reuse_realloc.
16003 * manual/probes.texi: Document them.
16005 * malloc/malloc.c (__libc_free): Add
16006 memory_mallopt_free_dyn_thresholds probe.
16007 (__libc_mallopt): Add multiple memory_mallopt probes.
16008 * manual/probes.texi: Document them.
16010 * malloc/malloc.c: Include stap-probe.h.
16011 (__libc_mallopt): Add memory_mallopt probe.
16012 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16013 * manual/probes.texi: New.
16014 * manual/Makefile (chapters): Add probes.
16015 * manual/threads.texi: Set next node.
16017 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16019 [BZ #15963, #13985]
16020 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16021 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16022 Add `Chinese' to `nan' entry name.
16024 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16026 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16027 (POLYNOMIAL): Likewise.
16028 (TAYLOR_SINCOS): Likewise.
16029 (TAYLOR_SLOW): Likewise.
16030 (__sin): Use TAYLOR_SINCOS.
16032 (slow): Use TAYLOR_SLOW.
16034 (bsloww): Likewise.
16035 (csloww): Likewise.
16037 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16039 * stdlib/strtod_l.c: Fix buffer overrun.
16041 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16043 * benchtests/Makefile (bench): Add sincos.
16044 * benchtests/bench-sincos.c: New file.
16046 * math/libm-test.inc (cos_test_data): New test inputs.
16047 (sin_test_data): Likewise.
16049 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16055 (sloww1): Likewise.
16056 (sloww2): Likewise.
16057 (bsloww1): Likewise.
16058 (bsloww2): Likewise.
16059 (cslow2): Likewise.
16060 (csloww1): Likewise.
16061 (csloww2): Likewise.
16063 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16068 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16072 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16074 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16075 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16076 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16077 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16078 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16079 * elf/cache.c (print_entry): Handle the new cache flags.
16081 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16082 Aldy Hernandez <aldyh@redhat.com>
16084 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16085 Change condition to [_SOFT_FLOAT].
16086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16098 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16101 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16104 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16106 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16107 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16108 (__longjmp): Use LOAD_GP to load saved GPRs.
16109 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16110 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16111 (__sigsetjmp): Use SAVE_GP to save GPRs.
16113 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16114 Do not append -msoft-float.
16115 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16117 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16119 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16121 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16124 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16125 (_FPU_GETCW): Use initial "__" on variable and field names but not
16126 on macro parameter name.
16127 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16128 parentheses around reference to macro parameter.
16130 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16132 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16134 (ctype_startup): Use uint32_t in cast and sizeof for
16137 2013-09-11 Jia Liu <proljc@gmail.com>
16139 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16141 [__FreeBSD__]: Likewise.
16143 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16146 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16147 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16148 (strchr): Remove __strchr_sse42 ifunc selection.
16149 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16150 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16152 2013-09-11 Will Newton <will.newton@linaro.org>
16154 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16155 parameter to RES. Remove hardcoded 1000 value.
16156 * benchtests/bench-skeleton.c (main): Pass RES parameter
16157 to TIMING_INIT and multiply result by 1000.
16159 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16163 2013-09-11 Andreas Schwab <schwab@suse.de>
16165 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16167 (O_TMPFILE) [__USE_GNU]: Define.
16168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16171 2013-09-11 Will Newton <will.newton@linaro.org>
16174 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16177 2013-09-11 Will Newton <will.newton@linaro.org>
16180 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16183 2013-09-11 Will Newton <will.newton@linaro.org>
16186 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16189 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16191 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16193 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16194 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16195 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16197 2013-09-10 Allan McRae <allan@archlinux.org>
16200 * manual/arith.texi (Parsing of Floats): Clarify
16204 * manual/install.texi (Running make install): Mention
16206 * INSTALL: Regenerated.
16208 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16210 * csu/init-first.c (_init): Remove the !SHARED condition around
16211 FPU control word initialization.
16212 * elf/dl-support.c (_dl_fpu_control): New variable.
16213 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16214 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16215 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16216 * math/test-fpucw-static.c: New file.
16217 * math/test-fpucw-ieee.c: New file.
16218 * math/test-fpucw-ieee-static.c: New file.
16219 * math/Makefile (tests): Add `test-fpucw-ieee' and
16221 (tests-static): New variable.
16222 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16224 [($(build-shared),yes)]
16225 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16227 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16230 2013-09-09 Allan McRae <allan@archlinux.org>
16233 * manual/string.texi (Collation Functions): Fix typo in
16235 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16238 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16241 * libio/memstream.c (open_memstream): Fix memory leak.
16242 * libio/wmemstream.c (open_wmemstream): Likewise.
16245 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16247 2013-09-09 Will Newton <will.newton@linaro.org>
16249 * malloc/Makefile: Add tst-realloc to tests.
16250 * malloc/tst-realloc.c: New file.
16252 2013-09-09 Allan McRae <allan@archlinux.org>
16255 * COPYING: Update from GNU website to fix FSF address.
16256 * COPYING.LIB: Likewise.
16258 2013-09-06 David S. Miller <davem@davemloft.net>
16260 * po/zh_TW.po: Update Chinese (traditional) translation from
16261 translation project.
16263 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16264 Joseph Myers <joseph@codesourcery.com>
16266 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16268 (obstack_chunk_alloc): New macro.
16269 (obstack_chunk_free): Likewise.
16270 (record_offset): New function.
16271 (init_locale_data): Likewise.
16272 (align_locale_data): Likewise.
16273 (add_locale_empty): Likewise.
16274 (add_locale_raw_data): Likewise.
16275 (add_locale_raw_obstack): Likewise.
16276 (add_locale_string): Likewise.
16277 (add_locale_wstring): Likewise.
16278 (add_locale_uint32): Likewise.
16279 (add_locale_uint32_array): Likewise.
16280 (add_locale_char): Likewise.
16281 (start_locale_structure): Likewise.
16282 (end_locale_structure): Likewise.
16283 (start_locale_prelude): Likewise.
16284 (end_locale_prelude): Likewise.
16285 (write_locale_data): Take locale_file structure rather than an
16287 * locale/programs/locfile.h: Include "obstack.h".
16288 (struct locale_file): Change to store locale file contents instead
16290 (init_locale_data): New prototype.
16291 (align_locale_data): Likewise.
16292 (add_locale_empty): Likewise.
16293 (add_locale_raw_data): Likewise.
16294 (add_locale_raw_obstack): Likewise.
16295 (add_locale_string): Likewise.
16296 (add_locale_wstring): Likewise.
16297 (add_locale_uint32): Likewise.
16298 (add_locale_uint32_array): Likewise.
16299 (add_locale_char): Likewise.
16300 (start_locale_structure): Likewise.
16301 (end_locale_structure): Likewise.
16302 (start_locale_prelude): Likewise.
16303 (end_locale_prelude): Likewise.
16304 (write_locale_data): Update prototype.
16305 * locale/programs/3level.h (struct TABLE): Remove result field.
16306 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16307 Use new locale_file interface.
16308 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16309 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16310 * locale/programs/ld-address.c (address_output): Use new
16311 locale_file interface.
16312 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16314 (collate_finish): Don't call collseq_table_finalize.
16315 (collate_output): Use new locale_file interface.
16316 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16318 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16319 (TABLE): Move defines earlier in file.
16320 (ELEMENT): Likewise.
16321 (DEFAULT): Likewise.
16322 (wctrans_table_add): Move macro and inline function earlier in
16324 (struct wctype_table): Move type earlier in file.
16325 (add_locale_wctype_table): New static prototype.
16326 (struct locale_ctype_t): Use logical types instead of struct iovec
16327 pointers for members.
16328 (ctype_output): Use new locale_file interface.
16329 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16330 new locale_file interface.
16331 (allocate_arrays): Update for use of new locale_file interface.
16332 * locale/programs/ld-identification.c (identification_output): Use
16333 new locale_file interface.
16334 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16335 * locale/programs/ld-messages.c (messages_output): Likewise.
16336 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16337 * locale/programs/ld-name.c (name_output): Likewise.
16338 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16339 * locale/programs/ld-paper.c (paper_output): Likewise.
16340 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16341 * locale/programs/ld-time.c (time_output): Likewise.
16343 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16345 * benchtests/Makefile: Add memrchr benchmark.
16346 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16347 benchmark as memrchr.
16348 * benchtests/bench-memrchr-ifunc.c: New file.
16349 * benchtests/bench-memrchr.c: New file.
16351 2013-09-06 Will Newton <will.newton@linaro.org>
16353 * benchtests/Makefile (string-bench): Add memcpy.
16355 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16356 Cong Wang <amwang@redhat.com>
16359 * sysdeps/unix/sysv/linux/bits/in.h
16360 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16361 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16362 before __USE_KERNEL_IPV6_DEFS uses.
16363 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16365 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16366 sockaddr_in6, or ipv6_mreq.
16368 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16370 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16371 memory access for final bytes in some large inputs.
16372 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16374 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16376 * string/test-memrchr.c: New file.
16377 * string/test-memrchr-ifunc.c: New file.
16378 * string/Makefile: Add new memrchr testcase.
16380 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16382 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16383 fanotify_init returns EPERM.
16385 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16387 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16389 (top level): Treat second token from macro or constant entries for
16390 allowed headers as allowed.
16391 * include/complex.h: Condition internal declarations on
16393 * include/fenv.h: Condition include of <stdbool.h> and internal
16394 declarations on [!_ISOMAC].
16396 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16399 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16401 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16403 * configure.in (--enable-versioning): Remove configure option.
16404 (libc_cv_asm_symver_directive): Remove configure test.
16405 (libc_cv_ld_version_script_option): Likewise.
16406 (VERSIONING): Remove variable and AC_SUBST.
16407 (DO_VERSIONING): Remove AC_DEFINE.
16408 * configure: Regenerated.
16409 * config.h.in (DO_VERSIONING): Remove macro.
16410 * Makerules [$(versioning) = yes]: Change conditionals to
16411 [$(build-shared) = yes].
16412 * config.make.in (versioning): Remove variable.
16413 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16414 [$(build-shared) = yes].
16415 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16416 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16417 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16418 [$(build-shared) = yes].
16419 * extra-lib.mk [$(versioning) = yes]: Likewise.
16420 * hurd/Makefile [$(versioning) = yes]: Likewise.
16421 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16423 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16425 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16426 [SHARED && !NO_HIDDEN].
16427 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16429 [SHARED && DO_VERSIONING]: Likewise..
16430 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16431 [$(build-shared) = yes].
16432 * manual/install.texi (--disable-versioning): Remove
16434 * INSTALL: Regenerated.
16435 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16437 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16438 [$(build-shared) = yes].
16439 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16440 * sysdeps/i386/i686/multiarch/strstr-c.c
16441 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16442 [SHARED && !NO_HIDDEN].
16443 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16444 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16445 * sysdeps/powerpc/powerpc32/dl-machine.c
16446 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16447 * sysdeps/powerpc/powerpc32/sysdep.h
16448 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16449 to [SHARED && PIC && !NO_HIDDEN].
16450 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16451 conditional to [SHARED].
16453 2013-09-04 Will Newton <will.newton@linaro.org>
16455 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16456 * benchtests/bench-string.h: Include bench-timing.h instead
16457 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16458 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16459 call to HP_TIMING_DIFF_INIT.
16460 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16461 instead of hp-timing.h macros.
16462 * benchtests/bench-memchr.c: Likewise.
16463 * benchtests/bench-memcmp.c: Likewise.
16464 * benchtests/bench-memcpy.c: Likewise.
16465 * benchtests/bench-memmem.c: Likewise.
16466 * benchtests/bench-memmove.c: Likewise.
16467 * benchtests/bench-memset.c: Likewise.
16468 * benchtests/bench-rawmemchr.c: Likewise.
16469 * benchtests/bench-strcasecmp.c: Likewise.
16470 * benchtests/bench-strcasestr.c: Likewise.
16471 * benchtests/bench-strcat.c: Likewise.
16472 * benchtests/bench-strchr.c: Likewise.
16473 * benchtests/bench-strcmp.c: Likewise.
16474 * benchtests/bench-strcpy.c: Likewise.
16475 * benchtests/bench-strcpy_chk.c: Likewise.
16476 * benchtests/bench-strlen.c: Likewise.
16477 * benchtests/bench-strncasecmp.c: Likewise.
16478 * benchtests/bench-strncat.c: Likewise.
16479 * benchtests/bench-strncmp.c: Likewise.
16480 * benchtests/bench-strncpy.c: Likewise.
16481 * benchtests/bench-strnlen.c: Likewise.
16482 * benchtests/bench-strpbrk.c: Likewise.
16483 * benchtests/bench-strrchr.c: Likewise.
16484 * benchtests/bench-strspn.c: Likewise.
16485 * benchtests/bench-strstr.c: Likewise.
16487 2013-09-04 Will Newton <will.newton@linaro.org>
16489 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16491 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16494 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16495 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16496 * math/libm-test.inc (lgamma_test_data): Add more tests.
16497 * sysdeps/i386/fpu/libm-test-ulps: Update.
16498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16500 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16502 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16506 Add strcmp-sse2-unaligned
16507 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16509 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16511 * Versions.def (libc): Add GLIBC_2.19.
16513 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16515 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16516 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16518 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16521 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16522 intermediate calculations in recurrence.
16523 (__ieee754_ynf): Likewise.
16524 * math/libm-test.inc (jn_test_data): Do not allow spurious
16525 underflow exception. Add more tests.
16526 (yn_test_data): Add more tests.
16527 * sysdeps/i386/fpu/libm-test-ulps: Update.
16528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16530 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16532 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16534 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16536 * csu/init-first.c: Fix then/than typos.
16537 * locale/programs/ld-collate.c: Likewise.
16538 * locale/programs/linereader.h: Likewise.
16539 * manual/charset.texi: Likewise.
16540 * manual/filesys.texi: Likewise.
16541 * manual/stdio.texi: Likewise.
16542 * manual/string.texi: Likewise.
16543 * stdlib/fmtmsg.c: Likewise.
16544 * sysdeps/i386/stpncpy.S: Likewise.
16545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16546 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16548 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16550 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16552 * elf/dl-open.c: Fix typos.
16553 * iconvdata/gbbig5.c: Likewise.
16554 * iconvdata/iso-2022-jp.c: Likewise.
16555 * iconv/gconv_int.h: Likewise.
16556 * iconv/loop.c: Likewise.
16557 * nis/rpcsvc/nis.h: Likewise.
16558 * resolv/ns_name.c: Likewise.
16559 * stdio-common/vfscanf.c: Likewise.
16560 * streams/stropts.h: Likewise.
16561 * sunrpc/rpc_thread.c: Likewise.
16562 * sysdeps/i386/strpbrk.S: Likewise.
16563 * sysdeps/ieee754/k_standard.c: Likewise.
16564 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16566 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16567 * sysdeps/mach/hurd/profil.c: Likewise.
16568 * sysdeps/s390/dl-procinfo.h: Likewise.
16569 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16570 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16571 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16572 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16573 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16575 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16577 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16580 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16582 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16583 aix specific files.
16584 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16585 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16586 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16587 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16588 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16589 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16590 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16591 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16593 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16594 Roland McGrath <roland@hack.frob.com>
16596 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16597 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16599 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16601 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16602 __executable_start symbol instead of _start.
16604 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16606 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16607 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16609 * sysdeps/gnu/ldsodefs.h: ... this new file.
16611 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16612 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16613 instead of ELFOSABI_LINUX.
16615 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16616 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16617 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16618 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16620 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16621 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16622 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16624 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16625 (ibm_extended_long_double): Add ieee_nan member.
16626 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16627 (do_test): New function.
16629 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16631 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16632 functions, renamed from truncdfsf_test, trunctfsf_test,
16634 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16636 (do_test): Run all these.
16638 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16640 * argp/argp-help.c: Fix typos.
16641 * argp/argp-parse.c: Likewise.
16642 * debug/backtracesyms.c: Likewise.
16643 * elf/elf.h: Likewise.
16644 * malloc/malloc.c: Likewise.
16645 * nis/nis_print.c: Likewise.
16646 * resolv/res_comp.c: Likewise.
16647 * stdlib/stdlib.h: Likewise.
16648 * sunrpc/clnt_tcp.c: Likewise.
16649 * sunrpc/clnt_udp.c: Likewise.
16650 * sunrpc/clnt_unix.c: Likewise.
16651 * sysdeps/unix/bsd/ptsname.c: Likewise.
16652 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16653 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16660 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16662 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16664 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16667 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16670 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16671 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16672 ($(objpfx)bug-dl-leaf): New rule.
16673 ($(objpfx)bug-dl-leaf.so): Likewise.
16674 ($(objpfx)bug-dl-leaf.out): Likewise.
16675 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16676 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16677 * dlfcn/bug-dl-leaf.c: New test.
16678 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16679 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16680 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16681 (dlclose): Likewise.
16682 (dlmopen): Likewise.
16684 2013-08-27 Roland McGrath <roland@hack.frob.com>
16686 * include/netdb.h [!_ISOMAC]:
16687 Don't include <tls.h>.
16688 (h_errno, __libc_h_errno): Move declaration and macros out of
16691 * include/resolv.h [_RESOLV_H_]:
16692 Don't include <tls.h>.
16693 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16694 * resolv/res_libc.c: Don't include <tls.h>.
16695 (_res): Use __attribute__ ((nocommon)) in place of
16696 __attribute__ ((section (".bss"))).
16698 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16699 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16701 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16703 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16704 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16706 * resolv/res_mkquery.c: Include <sys/time.h>.
16708 * inet/ifreq.c: Moved to ...
16709 * sysdeps/unix/ifreq.c: ... here.
16710 * inet/ifreq.c: New file, true stub version.
16712 * socket/sa_len.c: New file.
16713 * socket/Makefile (aux): Add it.
16714 * sysdeps/unix/sysv/linux/Makefile
16715 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16716 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16717 and #include <socket/sa_len.c>.
16718 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16719 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16721 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16722 * bits/socket.h: ... here.
16724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16725 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16726 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16728 2013-08-27 Andreas Schwab <schwab@suse.de>
16731 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16732 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16733 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16734 * string/test-strcasecmp.c (test_main): Run tests in several
16736 * string/test-strncasecmp.c (test_main): Likewise.
16738 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16739 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16740 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16742 (__strncasecmp_ssse3) [PIC]: Likewise.
16744 2013-08-26 Roland McGrath <roland@hack.frob.com>
16746 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16748 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16749 instead of explicitly declaring xdecrypt.
16750 * nis/nss_nis/nis-publickey.c: Likewise.
16752 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16755 * nscd/aicache.c: Include res_hconf.h.
16756 (addhstaiX): Initialize res_hconf.
16758 2013-08-26 Andreas Schwab <schwab@suse.de>
16760 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16761 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16763 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16765 * nscd/aicache.c (addhstaiX): Fix indentation.
16767 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16769 * configure.ac: Quote $build_pt_chown test.
16770 * configure: Regenerated.
16772 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16775 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16776 * math/s_cexpf.c (__cexpf): Likewise.
16777 * math/s_cexpl.c (__cexpl): Likewise.
16778 * math/libm-test.inc (cexp_test_data): Correct expected return
16779 value for NaN + i0. Add another test.
16781 2013-08-22 David S. Miller <davem@davemloft.net>
16783 * po/ca.po: Update Catalan translation from translation project.
16784 * po/uk.po: Add Ukrainian translations from translation project.
16786 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16789 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16790 is infinite, not alongside NaN test.
16791 * math/s_fdimf.c (__fdimf): Likewise.
16792 * math/s_fdiml.c (__fdiml): Likewise.
16793 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16794 errno is unchanged.
16796 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16798 * argp/argp-help.c: Fix typos.
16799 * crypt/speeds.c: Likewise.
16800 * csu/check_fds.c: Likewise.
16801 * elf/dl-load.c: Likewise.
16802 * elf/dl-open.c: Likewise.
16803 * elf/reldep3.c: Likewise.
16804 * elf/reldep.c: Likewise.
16805 * elf/sprof.c: Likewise.
16806 * iconv/iconv_charmap.c: Likewise.
16807 * iconv/skeleton.c: Likewise.
16808 * iconv/strtab.c: Likewise.
16809 * io/lockf64.c: Likewise.
16810 * libio/libioP.h: Likewise.
16811 * resolv/gai_notify.c: Likewise.
16812 * resolv/ns_name.c: Likewise.
16813 * resolv/ns_samedomain.c: Likewise.
16814 * resolv/res_send.c: Likewise.
16815 * stdlib/random.c: Likewise.
16816 * sunrpc/rpc/xdr.h: Likewise.
16817 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16818 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16819 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16820 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16821 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16825 * sysdeps/mach/hurd/check_fds.c: Likewise.
16826 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16827 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16828 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16830 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16831 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16832 * sysdeps/pthread/aio_notify.c: Likewise.
16833 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16834 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16835 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16836 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16837 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16839 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16841 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16842 version if bit_Slow_SSE4_2 is set.
16843 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16846 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16849 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16850 trampoline stack frame information.
16851 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16852 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16853 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16854 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16855 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16856 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16857 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16858 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16860 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16861 interrupting a syscall and set with option SA_SIGINFO.
16863 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16866 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16867 argument is infinite.
16868 * math/s_cprojf.c (__cprojf): Likewise.
16869 * math/s_cprojl.c (__cprojl): Likewise.
16870 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16871 * math/libm-test.inc (cproj_test_data): Add more tests.
16873 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16875 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16876 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16877 size. Use __ffs to determine corresponding shift.
16879 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16880 Roland McGrath <roland@hack.frob.com>
16882 * Makefile (INSTALL): Remove trailing blank lines from output of
16885 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16887 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16888 Align 32 bit compat elf_greg to 8 bytes.
16890 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16892 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16894 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16896 * string/strcoll_l.c (coll_seq): New structure.
16897 (get_next_seq_cached): New function.
16898 (get_next_seq): New function.
16899 (do_compare): New function.
16900 (STRCOLL): Use GNU style definition. Simplify implementation
16901 by using get_next_seq, get_next_seq_cached and do_compare.
16903 2013-08-16 Florian Weimer <fweimer@redhat.com>
16907 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16909 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16911 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16912 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16913 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16915 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16916 GETDENTS_64BIT_ALIGNED.
16917 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16918 * manual/filesys.texi (Reading/Closing Directory): Document
16919 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16921 * manual/conf.texi (Limits for Files): Add portability note to
16922 NAME_MAX, PATH_MAX.
16923 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16925 2013-08-13 Andreas Schwab <schwab@suse.de>
16928 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16930 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16931 LDBL_MAX_EXP >= 16384]: Add tests for it.
16933 2013-08-12 David S. Miller <davem@davemloft.net>
16935 * version.h (RELEASE): Set to "development".
16936 (VERSION): Set to "2.18.90".
16937 * NEWS: Add 2.19 section.
16939 2013-08-03 David S. Miller <davem@davemloft.net>
16941 * po/ko.po: Update Korean translation from translation project.
16943 2013-08-01 David S. Miller <davem@davemloft.net>
16945 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16946 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16949 2013-07-30 David S. Miller <davem@davemloft.net>
16951 * po/fr.po: Update French translation from translation project.
16953 2013-07-28 David S. Miller <davem@davemloft.net>
16955 * po/cs.po: Update Czech translation from translation project.
16957 * po/sv.po: Update Swedish translation from translation project.
16959 2013-07-27 David S. Miller <davem@davemloft.net>
16961 * po/eo.po: Update Esperanto translation from translation project.
16963 * po/vi.po: Update Vietnamese translation from translation project.
16965 * po/de.po: Update German translation from translation project.
16967 2013-07-26 David S. Miller <davem@davemloft.net>
16969 * po/bg.po: Update Bulgarian translation from translation project.
16971 * po/nl.po: Update Dutch translation from translation project.
16972 * po/pl.po: Update Polish translation from translation project.
16973 * po/ru.po: Update Russian translation from translation project.
16975 2013-07-24 David S. Miller <davem@davemloft.net>
16977 * po/libc.pot: Update.
16979 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16981 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16982 variable page size.
16983 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16984 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16985 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16987 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16989 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16991 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16992 Andreas Schwab <schwab@suse.de>
16993 Roland McGrath <roland@hack.frob.com>
16994 Joseph Myers <joseph@codesourcery.com>
16995 Carlos O'Donell <carlos@redhat.com>
16998 * config.h.in: Define HAVE_PT_CHOWN.
16999 * config.make.in (build-pt-chown): New variable.
17000 * configure.in (--enable-pt_chown): New configure option.
17001 * configure: Regenerate.
17002 * login/Makefile: Include Makeconfig. Build pt_chown only if
17003 build-pt-chown is enabled.
17004 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17005 pt_chown to fix pty ownership.
17006 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17008 * manual/install.texi (Configuring and compiling): Mention
17009 --enable-pt_chown. Add @findex for grantpt.
17010 * INSTALL: Regenerate.
17012 2013-07-20 David S. Miller <davem@davemloft.net>
17014 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17015 difference between 32-bit and 64-bit.
17017 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17020 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17021 Avoid system header dependency with -ffreestanding.
17022 ($(objpfx)bits/syscall%d): Likewise.
17024 2013-07-13 David S. Miller <davem@davemloft.net>
17026 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17027 underflows from atanl/atan2l due to bug 15319.
17028 (casinh_test_data): Likewise.
17030 2013-07-07 David S. Miller <davem@davemloft.net>
17032 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17034 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17036 * sysdeps/i386/fpu/libm-test-ulps: Update.
17037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17039 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17041 * configure.in (--enable-lock-elision): Fix message text.
17042 * INSTALL: Regenerate.
17043 * configure: Regenerate.
17045 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17049 2013-07-03 Andreas Jaeger <aj@suse.de>
17051 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17053 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17054 (ptrace_peeksiginfo_args): Add.
17055 (__ptrace_peeksiginfo_flags): Add.
17056 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17057 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17058 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17060 2013-07-03 Allan McRae <allan@archlinux.org>
17062 * sysdeps/i386/fpu/libm-test-ulps: Update.
17064 2013-07-02 David S. Miller <davem@davemloft.net>
17066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17068 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17072 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17074 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17077 2013-07-02 Andi Kleen <ak@linux.intel.com>
17079 * config.h.in (ENABLE_LOCK_ELISION): Add.
17080 * configure.in (--enable-lock-elision): Add option.
17081 * manual/install.texi: Document --enable lock elision.
17082 * configure: Regenerate
17083 * INSTALL: Regenerate.
17085 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17087 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17088 SSE4.2 strcasecmp for libc.a.
17089 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17091 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17094 * soft-fp/op-common.h (_FP_FMA): New macro.
17095 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17096 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17097 (_FP_MUL_MEAT_1_imm): ... here.
17098 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17099 (_FP_MUL_MEAT_1_wide): ... here.
17100 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17101 (_FP_MUL_MEAT_1_hard): ... here.
17102 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17103 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17104 (_FP_MUL_MEAT_2_wide): ... here.
17105 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17106 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17107 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17108 (_FP_MUL_MEAT_2_gmp): ... here.
17109 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17110 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17111 (_FP_MUL_MEAT_4_wide): ... here.
17112 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17113 (_FP_MUL_MEAT_4_gmp): ... here.
17114 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17115 (_FP_WFRACBITS_DW_S): Likewise.
17116 (_FP_WFRACXBITS_DW_S): Likewise.
17117 (_FP_HIGHBIT_DW_S): Likewise.
17118 (FP_FMA_S): Likewise.
17119 (_FP_FRAC_HIGH_DW_S): Likewise.
17120 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17121 (_FP_WFRACBITS_DW_D): Likewise.
17122 (_FP_WFRACXBITS_DW_D): Likewise.
17123 (_FP_HIGHBIT_DW_D): Likewise.
17124 (FP_FMA_D): Likewise.
17125 (_FP_FRAC_HIGH_DW_D): Likewise.
17126 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17127 (_FP_WFRACBITS_DW_E): Likewise.
17128 (_FP_WFRACXBITS_DW_E): Likewise.
17129 (_FP_HIGHBIT_DW_E): Likewise.
17130 (FP_FMA_E): Likewise.
17131 (_FP_FRAC_HIGH_DW_E): Likewise.
17132 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17133 (_FP_WFRACBITS_DW_Q): Likewise.
17134 (_FP_WFRACXBITS_DW_Q): Likewise.
17135 (_FP_HIGHBIT_DW_Q): Likewise.
17136 (FP_FMA_Q): Likewise.
17137 (_FP_FRAC_HIGH_DW_Q): Likewise.
17138 * soft-fp/fmasf4.c: New file.
17139 * soft-fp/fmadf4.c: Likewise.
17140 * soft-fp/fmatf4.c: Likewise.
17142 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17145 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17147 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17149 (index_Slow_SSE4_2): Likewise.
17150 (index_Prefer_PMINUB_for_stringop): Likewise.
17151 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17152 bit_Slow_SSE4_2 is set.
17153 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17154 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17156 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17158 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17159 rtld_global._dl_hwcap2.
17160 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17162 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17163 POWER8 feature descriptions defined in _dl_hwcap2.
17164 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17165 string handling for POWER8 feature bits.
17166 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17167 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17168 _dl_powerpc_cap_flags.
17169 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17170 * sysdeps/powerpc/rtld-global-offsets.sym
17171 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17172 _dl_hwcap2 in the rtld_global_ro structure.
17174 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17176 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17177 hardware capabilities in support of AT_HWCAP2.
17178 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17179 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17181 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17182 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17183 explicitly the unknown a_type display mechanism is used.
17184 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17185 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17187 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17188 to macro prototype for AT_HWCAP2 support.
17189 * sysdeps/i386/dl-procinfo.h: Likewise.
17190 * sysdeps/s390/dl-procinfo.h: Likewise.
17191 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17192 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17193 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17194 return -1 for unknown a_type display fallback.
17195 * sysdeps/sparc/dl-procinfo.h: Likewise.
17196 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17197 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17199 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17201 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17202 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17204 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17207 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17208 mprotect making __stack_prot writable.
17210 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17211 Joseph Myers <joseph@codesourcery.com>
17213 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17214 as being properly aligned.
17216 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17218 * dlfcn/modstatic5.c: New file.
17219 * dlfcn/tststatic5.c: New file.
17220 * dlfcn/Makefile (tests): Add tststatic5.
17221 (tests-static): Likewise.
17222 (modules-names): Add modstatic5.
17223 (tststatic5-ENV): New variable.
17224 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17227 * elf/dl-support.c (_dl_main_map): New variable.
17228 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17229 (_dl_nns, _dl_load_adds): Set to 1.
17230 (_dl_initial_searchlist): Refer to _dl_main_map.
17231 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17232 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17233 call to _dl_get_origin.
17234 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17236 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17237 * dlfcn/modstatic3.c: New file.
17238 * dlfcn/tststatic3.c: New file.
17239 * dlfcn/tststatic4.c: New file.
17240 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17241 (tests-static): Likewise.
17242 (modules-names): Add modstatic3.
17243 (tststatic3-ENV, tststatic4-ENV): New variables.
17244 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17245 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17247 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17249 * configure.in (CC): Require GCC version 4.4 or later.
17250 * configure: Regenerated.
17251 * manual/install.texi (Tools for Compilation): Update GCC version
17253 * INSTALL: Regenerated.
17255 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17258 * string/test-memcmp.c (check2): New.
17259 (main): Call check2.
17261 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17263 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17266 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17268 (dl_open_worker) [!SHARED]: ... here.
17270 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17272 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17274 2013-06-25 Richard Henderson <rth@redhat.com>
17276 * locale/programs/locarchive.c: Include <libc-internal.h>
17278 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17280 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17281 trailing whitespace removed.
17283 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17286 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17287 * locale/programs/locarchive.c: Include libc-mmap.h.
17288 (prepare_address_space): Take two new outputs (the mmap base and len).
17289 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17291 (create_archive): Declare new mmap base and len values for
17292 prepare_address_space, and store the result in ah.
17293 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17294 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17295 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17296 Declare new mmap base and len values for
17297 prepare_address_space, and store the result in new_ah.
17298 (open_archive): Declare new mmap base and len values for
17299 prepare_address_space, and store the result in ah.
17300 (close_archive): If ah->mmap_base is not NULL, use that and
17301 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17302 * sysdeps/generic/libc-mmap.h: New file.
17304 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17306 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17307 (ALIGN_UP): Likewise.
17308 (PTR_ALIGN_DOWN): Likewise.
17309 (PTR_ALIGN_UP): Likewise.
17311 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17313 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17314 entry mapped to PPC_PLATFORM_POWER8.
17315 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17317 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17318 (_dl_string_platform): Add case for exporting platform position for
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17321 search path to sysdeps/powerpc/powerpc32/power8 directory.
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17323 search path to sysdeps/powerpc/powerpc64/power8 directory.
17324 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17325 power7 directories.
17326 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17327 power7 directories.
17329 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17331 * INSTALL: Regenerate.
17333 * nscd/connections.c (nscd_init): Fix comment.
17335 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17337 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17340 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17341 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17343 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17345 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17347 (DL_DST_REQ_STATIC): Remove macro.
17349 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17352 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17353 with a shift of 0 bits.
17355 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17357 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17360 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17363 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17365 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17367 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17368 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17369 accepts -fno-tree-loop-distribute-patterns.
17370 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17371 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17373 * string/memset.c (memset): Likewise.
17374 * string/test-memmove.c (simple_memmove): Disable loop transformation
17376 * string/test-memset.c (simple_memset): Likewise.
17377 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17378 * benchtests/bench-memset.c (simple_memset): Likewise.
17379 * configure: Regenerated.
17381 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17383 * math/test-misc.c (main): Ignore fesetround failure when failures
17384 of subsequent rounding tests would be ignored.
17387 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17388 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17389 * math/fegetenv.c (__fegetenv): Return 0.
17390 * math/fegetexcept.c (fegetexcept): Return 0.
17391 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17393 * math/feholdexcpt.c (feholdexcept): Return 0.
17394 * math/fesetenv.c (__fesetenv): Return 0.
17395 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17396 argument FE_TONEAREST.
17397 * math/feupdateenv.c (__feupdateenv): Return 0.
17398 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17400 2013-06-18 Roland McGrath <roland@hack.frob.com>
17402 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17403 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17404 ($(objpfx)rtld-%.os rules): Use them.
17406 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17408 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17411 2013-06-17 Roland McGrath <roland@hack.frob.com>
17413 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17414 length of target pattern, then descending length of dependency pattern.
17415 * configure.in (AWK): Require gawk 3.1.2 or newer.
17416 * manual/install.texi (Tools for Compilation): Say that we do.
17417 * configure: Regenerated.
17419 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17420 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17421 * scripts/sysd-rules.awk: ... this new script.
17422 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17423 than a glob-style pattern.
17425 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17427 * math/test-misc.c (main): Do not treat incorrectly rounded
17428 conversions as failure unless ROUNDING_TESTS passes.
17430 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17433 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17434 restore exception state around main square root computation, then
17435 check for inexactness explicitly.
17437 * math/libm-test.inc (fma_test_data): Add another test.
17439 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17441 * manual/threads.texi (Non-POSIX Extensions): New document
17442 node. Document pthread_getattr_default_np and
17443 pthread_setattr_default_np.
17445 * Versions.def (libpthread): Add GLIBC_2.18.
17446 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17455 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17466 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17469 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17471 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17472 H.J. Lu <hjl.tools@gmail.com>
17475 * sysdeps/x86_64/rtld-memset.c: Remove file.
17476 * sysdeps/x86_64/rtld-memset.S: New file.
17478 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17480 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17481 (test_in_one_mode): Take arguments for whether the rounding mode
17482 is supported for each floating-point type.
17483 (do_test): Pass new arguments to test_in_one_mode using
17486 2013-06-13 Roland McGrath <roland@hack.frob.com>
17488 * posix/tst-waitid.c (do_test): Distinguish different instances of
17489 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17490 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17491 before entering the kernel for waitpid.
17493 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17495 * NEWS: Fix note on clock function precision. Text by Roland
17498 2013-06-13 Roland McGrath <roland@hack.frob.com>
17500 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17501 it into place only when and if the sanity check passes.
17503 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17505 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17506 output for whether conversion result is exact. Take argument
17507 indicating whether type is IBM long double.
17508 (round_for_all): Change need_exact field to ibm_ld.
17509 * stdlib/tst-strtod-round.c (struct exactness): New type.
17510 (struct test): Change bool ld_ok field to struct exactness exact.
17511 (TEST): Update all definitions for change to field.
17512 (tests): Regenerate array contents.
17513 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17514 field value. Check for IBM long double here.
17515 (do_test): Update calls to test_in_one_mode.
17517 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17520 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17521 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17523 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17526 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17527 generated by the compiler on loop optimizations.
17528 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17529 general definitions.
17531 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17533 * math/bug-nextafter.c: Include <math-tests.h>.
17534 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17536 * math/bug-nexttoward.c: Include <math-tests.h>.
17537 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17539 * math/test-misc.c: Include <math-tests.h>.
17540 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17543 2013-06-12 Andreas Jaeger <aj@suse.de>
17545 * po/ia.po: Update Interlingua translation from translation
17548 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17550 * include/fenv.h: Include stdbool.h.
17551 (struct rm_ctx): New structure.
17552 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17554 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17555 (SET_RESTORE_ROUNDF): Likewise.
17556 (SET_RESTORE_ROUNDL): Likewise.
17557 (SET_RESTORE_ROUND_NOEX): Likewise.
17558 (SET_RESTORE_ROUND_NOEXF): Likewise.
17559 (SET_RESTORE_ROUND_NOEXL): Likewise.
17560 (SET_RESTORE_ROUND_53BIT): Likewise.
17561 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17562 (libc_feresetround_noexf_ctx): Likewise.
17563 (libc_feresetround_noexl_ctx): Likewise.
17564 (libc_feholdsetround_53bit_ctx): Likewise.
17565 (libc_feresetround_53bit_ctx): Likewise.
17566 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17567 (libc_feholdexcept_setround_sse_ctx): New function.
17568 (libc_fesetenv_sse_ctx): Likewise.
17569 (libc_feupdateenv_sse_ctx): Likewise.
17570 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17571 (libc_feholdexcept_setround_387_ctx): Likewise.
17572 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17573 (libc_feholdsetround_387_prec_ctx): Likewise.
17574 (libc_feholdsetround_387_ctx): Likewise.
17575 (libc_feholdsetround_387_53bit_ctx): Likewise.
17576 (libc_feholdsetround_sse_ctx): Likewise.
17577 (libc_feresetround_sse_ctx): Likewise.
17578 (libc_feresetround_387_ctx): Likewise.
17579 (libc_feupdateenv_387_ctx): Likewise.
17580 (libc_feholdexcept_setroundf_ctx): Define macro.
17581 (libc_fesetenvf_ctx): Likewise.
17582 (libc_feupdateenvf_ctx): Likewise.
17583 (libc_feholdsetroundf_ctx): Likewise.
17584 (libc_feresetroundf_ctx): Likewise.
17585 (libc_feholdexcept_setround_ctx): Likewise.
17586 (libc_fesetenv_ctx): Likewise.
17587 (libc_feupdateenv_ctx): Likewise.
17588 (libc_feholdsetround_ctx): Likewise.
17589 (libc_feresetround_ctx): Likewise.
17590 (libc_feholdexcept_setroundl_ctx): Likewise.
17591 (libc_feupdateenvl_ctx): Likewise.
17592 (libc_feholdsetroundl_ctx): Likewise.
17593 (libc_feresetroundl_ctx): Likewise.
17594 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17595 (libc_feresetround_53bit_ctx): Likewise.
17597 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17599 * locale/iso-639.def: Convert to UTF-8.
17601 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17603 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17604 (EXCEPTION_TESTS_double): Likewise.
17605 (EXCEPTION_TESTS_long_double): Likewise.
17606 (EXCEPTION_TESTS): Likewise.
17607 * math/libm-test.inc (test_exceptions): Only test exceptions if
17608 EXCEPTION_TESTS (FLOAT).
17610 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17612 * benchtests/Makefile (string-bench): Add strcpy_chk and
17614 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17615 * benchtests/bench-stpcpy_chk.c: New file.
17616 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17617 * benchtests/bench-strcpy_chk.c: New file.
17618 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17620 (do_test): Likewise.
17622 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17624 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17625 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17626 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17627 with tabs where appropriate.
17628 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17630 [PPC_PLATFORM_PPC440]: Likewise.
17631 [PPC_PLATFORM_PPC464]: Likewise.
17632 [PPC_PLATFORM_PPC476]: Likewise.
17633 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17634 ppc464, and ppc476 platform strings merging from ports/
17637 2013-06-11 Andreas Schwab <schwab@suse.de>
17640 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17641 (from_ucs4_idx): Regenerate.
17642 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17643 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17644 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17645 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17646 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17647 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17648 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17649 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17650 from FROM_LOOP and TO_LOOP specific macros.
17651 (BODY): Handle combining characters.
17652 * iconvdata/BIG5HKSCS.irreversible: Update.
17653 * iconvdata/BIG5HKSCS.precomposed: New file.
17654 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17656 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17658 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17660 * include/sys/time.h: Fix indentation and add copyright header.
17662 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17663 (do_test): Likewise.
17664 * string/test-memchr.c (do_one_test): Likewise.
17665 (do_test): Likewise.
17666 * string/test-memcmp.c (do_one_test): Likewise.
17667 (do_test): Likewise.
17668 * string/test-memcpy.c (do_one_test): Likewise.
17669 (do_test): Likewise.
17670 * string/test-memmem.c (do_one_test): Likewise.
17671 (do_test): Likewise.
17672 (do_random_tests): Likewise.
17673 * string/test-memmove.c (do_one_test): Likewise.
17674 (do_test): Likewise.
17675 * string/test-memset.c (do_one_test): Likewise.
17676 (do_test): Likewise.
17677 * string/test-rawmemchr.c (do_one_test): Likewise.
17678 (do_test): Likewise.
17679 * string/test-strcasecmp.c (do_one_test): Likewise.
17680 (do_test): Likewise.
17681 * string/test-strcasestr.c (do_one_test): Likewise.
17682 (do_test): Likewise.
17683 * string/test-strcat.c (do_one_test): Likewise.
17684 (do_test): Likewise.
17685 * string/test-strchr.c (do_one_test): Likewise.
17686 (do_test): Likewise.
17687 * string/test-strcmp.c (do_one_test): Likewise.
17688 (do_test): Likewise.
17689 * string/test-strcpy.c (do_one_test): Likewise.
17690 (do_test): Likewise.
17691 * string/test-string.h: Likewise.
17692 (test_init): Likewise.
17693 * string/test-strlen.c (do_one_test): Likewise.
17694 (do_test): Likewise.
17695 * string/test-strncasecmp.c (do_one_test): Likewise.
17696 (do_test): Likewise.
17697 * string/test-strncat.c (do_one_test): Likewise.
17698 (do_test): Likewise.
17699 * string/test-strncmp.c (do_one_test): Likewise.
17700 (do_test_limit): Likewise.
17701 (do_test): Likewise.
17702 * string/test-strncpy.c (do_one_test): Likewise.
17703 (do_test): Likewise.
17704 * string/test-strnlen.c (do_one_test): Likewise.
17705 (do_test): Likewise.
17706 * string/test-strpbrk.c (do_one_test): Likewise.
17707 (do_test): Likewise.
17708 * string/test-strrchr.c (do_one_test): Likewise.
17709 (do_test): Likewise.
17710 * string/test-strspn.c (do_one_test): Likewise.
17711 (do_test): Likewise.
17712 * string/test-strstr.c (do_one_test): Likewise.
17713 (do_test): Likewise.
17715 * benchtests/Makefile (string-bench): Add string benchmarks.
17716 * benchtests/bench-bcopy-ifunc.c: New file.
17717 * benchtests/bench-bcopy.c: New file.
17718 * benchtests/bench-bzero-ifunc.c: New file.
17719 * benchtests/bench-bzero.c: New file.
17720 * benchtests/bench-memccpy-ifunc.c: New file.
17721 * benchtests/bench-memccpy.c: New file.
17722 * benchtests/bench-memchr-ifunc.c: New file.
17723 * benchtests/bench-memchr.c: New file.
17724 * benchtests/bench-memcmp-ifunc.c: New file.
17725 * benchtests/bench-memcmp.c: New file.
17726 * benchtests/bench-memmem-ifunc.c: New file.
17727 * benchtests/bench-memmem.c: New file.
17728 * benchtests/bench-memmove-ifunc.c: New file.
17729 * benchtests/bench-memmove.c: New file.
17730 * benchtests/bench-mempcpy-ifunc.c: New file.
17731 * benchtests/bench-mempcpy.c: New file.
17732 * benchtests/bench-memset-ifunc.c: New file.
17733 * benchtests/bench-memset.c: New file.
17734 * benchtests/bench-rawmemchr-ifunc.c: New file.
17735 * benchtests/bench-rawmemchr.c: New file.
17736 * benchtests/bench-stpcpy-ifunc.c: New file.
17737 * benchtests/bench-stpcpy.c: New file.
17738 * benchtests/bench-stpncpy-ifunc.c: New file.
17739 * benchtests/bench-stpncpy.c: New file.
17740 * benchtests/bench-strcasecmp-ifunc.c: New file.
17741 * benchtests/bench-strcasecmp.c: New file.
17742 * benchtests/bench-strcasestr-ifunc.c: New file.
17743 * benchtests/bench-strcasestr.c: New file.
17744 * benchtests/bench-strcat-ifunc.c: New file.
17745 * benchtests/bench-strcat.c: New file.
17746 * benchtests/bench-strchr-ifunc.c: New file.
17747 * benchtests/bench-strchr.c: New file.
17748 * benchtests/bench-strchrnul-ifunc.c: New file.
17749 * benchtests/bench-strchrnul.c: New file.
17750 * benchtests/bench-strcmp-ifunc.c: New file.
17751 * benchtests/bench-strcmp.c: New file.
17752 * benchtests/bench-strcpy-ifunc.c: New file.
17753 * benchtests/bench-strcpy.c: New file.
17754 * benchtests/bench-strcspn-ifunc.c: New file.
17755 * benchtests/bench-strcspn.c: New file.
17756 * benchtests/bench-strlen-ifunc.c: New file.
17757 * benchtests/bench-strlen.c: New file.
17758 * benchtests/bench-strncasecmp-ifunc.c: New file.
17759 * benchtests/bench-strncasecmp.c: New file.
17760 * benchtests/bench-strncat-ifunc.c: New file.
17761 * benchtests/bench-strncat.c: New file.
17762 * benchtests/bench-strncmp-ifunc.c: New file.
17763 * benchtests/bench-strncmp.c: New file.
17764 * benchtests/bench-strncpy-ifunc.c: New file.
17765 * benchtests/bench-strncpy.c: New file.
17766 * benchtests/bench-strnlen-ifunc.c: New file.
17767 * benchtests/bench-strnlen.c: New file.
17768 * benchtests/bench-strpbrk-ifunc.c: New file.
17769 * benchtests/bench-strpbrk.c: New file.
17770 * benchtests/bench-strrchr-ifunc.c: New file.
17771 * benchtests/bench-strrchr.c: New file.
17772 * benchtests/bench-strspn-ifunc.c: New file.
17773 * benchtests/bench-strspn.c: New file.
17774 * benchtests/bench-strstr-ifunc.c: New file.
17775 * benchtests/bench-strstr.c: New file.
17777 * benchtests/Makefile: Disable parallel execution of targets.
17778 (string-bench): Add memcpy.
17779 (benchset): New variable to store a list of benchmark sets.
17780 (bench-func): Renamed from bench.
17781 (bench-set): New target.
17782 (bench): Depend on bench-func and bench-set.
17783 * benchtests/README: Add section on benchmark sets.
17784 * benchtests/bench-memcpy-ifunc.c: New file.
17785 * benchtests/bench-memcpy.c: New file.
17786 * benchtests/bench-string.h: New file.
17788 2013-06-11 Andreas Schwab <schwab@suse.de>
17791 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17792 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17793 values in the triple.
17794 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17795 terminator in the group key.
17797 2013-06-11 Andreas Jaeger <aj@suse.de>
17799 * po/zh_TW.po: Update Chinese (traditional) translation from
17800 translation project.
17802 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17804 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17805 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17806 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17807 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17808 (clock_getcpuclockid): Likewise.
17809 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17810 Add weak_alias and libc_hidden_def.
17811 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17812 * rt/clock_gettime.c (clock_gettime): Rename to
17813 __clock_gettime. Add weak_alias and libc_hidden_def.
17814 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17815 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17816 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17817 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17818 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17820 * rt/clock_settime.c (clock_settime): Rename to
17821 __clock_settime. Add weak_alias and libc_hidden_def.
17822 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17824 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17826 * mach/err_boot.sub: Remove trailing whitespace.
17827 * mach/err_ipc.sub: Likewise.
17828 * mach/err_mach.sub: Likewise.
17830 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17831 (ROUNDING_TESTS_double): Likewise.
17832 (ROUNDING_TESTS_long_double): Likewise.
17833 (ROUNDING_TESTS): Likewise.
17834 * math/libm-test.inc: Include <math-tests.h>.
17835 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17836 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17837 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17838 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17840 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17842 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17845 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17847 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17848 otherwise empty TRANS lines.
17849 * sysdeps/gnu/errlist.c: Regenerated.
17851 * catgets/gencat.c (error_print): Use (void) in function
17853 * crypt/crypt_util.c (__init_des): Likewise.
17854 * crypt/speeds.c (Stop): Likewise.
17856 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17857 * inet/ruserpass.c (token): Likewise.
17858 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17859 * intl/localealias.c (extend_alias_table): Likewise.
17860 * intl/plural-exp.c (init_germanic_plural): Likewise.
17861 * libio/fcloseall.c (__fcloseall): Likewise.
17862 * libio/genops.c (_IO_flush_all): Likewise.
17863 (_IO_flush_all_linebuffered): Likewise.
17864 (_IO_cleanup): Likewise.
17865 (_IO_iter_begin): Likewise.
17866 (_IO_iter_end): Likewise.
17867 (_IO_list_lock): Likewise.
17868 (_IO_list_unlock): Likewise.
17869 (_IO_list_resetlock): Likewise.
17870 * libio/getchar.c (getchar): Likewise.
17871 * libio/getchar_u.c (getchar_unlocked): Likewise.
17872 * libio/getwchar.c (getwchar): Likewise.
17873 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17874 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17875 * login/getpt.c (__getpt): Likewise.
17876 * login/tst-utmp.c (main): Likewise.
17877 * malloc/hooks.c (__malloc_check_init): Likewise.
17878 * malloc/malloc.c (__malloc_stats): Likewise.
17879 * malloc/mtrace.c (tr_break): Likewise.
17880 (mtrace): Likewise.
17881 (muntrace): Likewise.
17882 * misc/fstab.c (endfsent): Likewise.
17883 * misc/getclktck.c (__getclktck): Likewise.
17884 * misc/getdtsz.c (__getdtablesize): Likewise.
17885 * misc/gethostid.c (gethostid): Likewise.
17886 * misc/getpagesize.c (__getpagesize): Likewise.
17887 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17888 (__get_nprocs): Likewise.
17889 (__get_phys_pages): Likewise.
17890 (__get_avphys_pages): Likewise.
17891 * misc/getttyent.c (getttyent): Likewise.
17892 (setttyent): Likewise.
17893 (endttyent): Likewise.
17894 * misc/getusershell.c (getusershell): Likewise.
17895 (endusershell): Likewise.
17896 (setusershell): Likewise.
17897 (initshells): Likewise.
17898 * misc/hsearch.c (__hdestroy): Likewise.
17899 * misc/sync.c (sync): Likewise.
17900 * misc/syslog.c (closelog_internal): Likewise.
17901 (closelog): Likewise.
17902 * misc/ttyslot.c (ttyslot): Likewise.
17903 * misc/vhangup.c (vhangup): Likewise.
17904 * posix/fork.c (__fork): Likewise.
17905 * posix/getegid.c (__getegid): Likewise.
17906 * posix/geteuid.c (__geteuid): Likewise.
17907 * posix/getgid.c (__getgid): Likewise.
17908 * posix/getpid.c (__getpid): Likewise.
17909 * posix/getppid.c (__getppid): Likewise.
17910 * posix/getuid.c (__getuid): Likewise.
17911 * posix/pause.c (pause): Likewise.
17912 * posix/setpgrp.c (setpgrp): Likewise.
17913 * posix/setsid.c (__setsid): Likewise.
17914 * posix/test-vfork.c (noop): Likewise.
17915 * resolv/gethnamaddr.c (_endhtent): Likewise.
17916 (_gethtent): Likewise.
17917 (ht_endhostent): Likewise.
17918 (gethostent): Likewise.
17919 (dns_service): Likewise.
17920 * stdlib/drand48.c (drand48): Likewise.
17921 * stdlib/lrand48.c (lrand48): Likewise.
17922 * stdlib/mrand48.c (mrand48): Likewise.
17923 * stdlib/rand.c (rand): Likewise.
17924 * stdlib/random.c (__random): Likewise.
17925 * stdlib/setenv.c (clearenv): Likewise.
17926 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17927 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17928 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17929 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17930 (__get_nprocs): Likewise.
17931 (__get_phys_pages): Likewise.
17932 (__get_avphys_pages): Likewise.
17933 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17934 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17935 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17936 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17937 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17938 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17939 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17940 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17941 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17942 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17943 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17944 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17945 * sysdeps/posix/clock.c (clock): Likewise.
17946 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17947 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17948 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17949 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17950 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17951 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17952 (__get_nprocs_conf): Likewise.
17953 (__get_phys_pages): Likewise.
17954 (__get_avphys_pages): Likewise.
17955 * time/clock.c (clock): Likewise.
17956 * time/tzset.c (__tzname_max): Likewise.
17958 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17960 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17961 (__bswap_32): Do not use "register".
17962 * crypt/crypt.c (_ufc_doit_r): Likewise.
17963 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17964 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17965 * gmon/gmon.c (__monstartup): Likewise.
17966 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17967 * hurd/hurdmalloc.c (more_memory): Likewise.
17968 (malloc): Likewise.
17970 (realloc): Likewise.
17971 (malloc_fork_prepare): Likewise.
17972 (malloc_fork_parent): Likewise.
17973 (malloc_fork_child): Likewise.
17974 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17975 (_svcauth_des): Likewise.
17976 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17977 * inet/inet_net.c (inet_network): Likewise.
17978 * inet/inet_netof.c (inet_netof): Likewise.
17979 * inet/rcmd.c (__validuser2_sa): Likewise.
17980 * io/fts.c (fts_open): Likewise.
17981 (fts_load): Likewise.
17982 (fts_close): Likewise.
17983 (fts_read): Likewise.
17984 (fts_children): Likewise.
17985 (fts_build): Likewise.
17986 (fts_stat): Likewise.
17987 (fts_sort): Likewise.
17988 (fts_alloc): Likewise.
17989 (fts_lfree): Likewise.
17990 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17991 (_IO_file_xsgetn): Likewise.
17992 (_IO_file_xsgetn_mmap): Likewise.
17993 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17994 (_IO_cookie_write): Likewise.
17995 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17996 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17997 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17998 * malloc/obstack.c (_obstack_begin): Likewise.
17999 (_obstack_begin_1): Likewise.
18000 (_obstack_newchunk): Likewise.
18001 (_obstack_allocated_p): Likewise.
18002 (obstack_free): Likewise.
18003 (_obstack_memory_used): Likewise.
18004 * misc/getttyent.c (getttynam): Likewise.
18005 (getttyent): Likewise.
18008 * misc/getusershell.c (initshells): Likewise.
18009 * misc/syslog.c (__vsyslog_chk): Likewise.
18010 * misc/ttyslot.c (ttyslot): Likewise.
18011 * nis/nis_hash.c (__nis_hash): Likewise.
18012 * posix/fnmatch_loop.c (FCT): Likewise.
18013 * posix/getconf.c (print_all): Likewise.
18015 * posix/getopt.c (exchange): Likewise.
18016 * posix/glob.c (globfree): Likewise.
18017 (prefix_array): Likewise.
18018 (__glob_pattern_type): Likewise.
18019 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18020 (NS_GET32): Likewise.
18021 (NS_PUT16): Likewise.
18022 (NS_PUT32): Likewise.
18023 * resolv/gethnamaddr.c (getanswer): Likewise.
18024 (gethostbyname2): Likewise.
18025 (gethostbyaddr): Likewise.
18026 (_gethtent): Likewise.
18027 (_gethtbyname2): Likewise.
18028 (_gethtbyaddr): Likewise.
18029 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18030 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18031 * resolv/res_init.c (__res_vinit): Likewise.
18032 (net_mask): Likewise.
18033 * resolv/res_mkquery.c (outchar): Likewise.
18035 * stdio-common/printf_fp.c (outchar): Likewise.
18037 * stdio-common/printf_fphex.c (outchar): Likewise.
18039 * stdio-common/printf_size.c (outchar): Likewise.
18041 * stdio-common/test_rdwr.c (main): Likewise.
18042 * stdio-common/tfformat.c (matches): Likewise.
18043 * stdio-common/vfprintf.c (outchar): Likewise.
18044 (printf_unknown): Likewise.
18045 (buffered_vfprintf): Likewise.
18046 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18047 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18048 (ReadFile): Likewise.
18049 * stdlib/qsort.c (SWAP): Likewise.
18050 (_quicksort): Likewise.
18051 * stdlib/setenv.c (__add_to_environ): Likewise.
18052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18053 * stdlib/strtol_l.c (__strtol_l): Likewise.
18054 * stdlib/tst-strtod.c (main): Likewise.
18055 * stdlib/tst-strtol.c (main): Likewise.
18056 * stdlib/tst-strtoll.c (main): Likewise.
18057 * string/bits/string2.h (__strcmp_cc): Likewise.
18058 (__strcmp_cg): Likewise.
18059 (__strcspn_c1): Likewise.
18060 (__strcspn_c2): Likewise.
18061 (__strcspn_c3): Likewise.
18062 (__strspn_c1): Likewise.
18063 (__strspn_c2): Likewise.
18064 (__strspn_c3): Likewise.
18065 (__strsep_1c): Likewise.
18066 (__strsep_2c): Likewise.
18067 (__strsep_3c): Likewise.
18068 * string/memccpy.c (__memccpy): Likewise.
18069 * string/stpcpy.c (__stpcpy): Likewise.
18070 * string/strcmp.c (strcmp): Likewise.
18071 * string/strrchr.c (strrchr): Likewise.
18072 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18074 * sysdeps/mach/hurd/getcwd.c
18075 (_hurd_canonicalize_directory_name_internal): Likewise.
18076 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18077 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18078 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18079 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18080 Likewise, in both definitions.
18081 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18083 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18084 64] (__bswap_64): Likewise.
18085 * time/test_time.c (main): Likewise.
18086 * time/tzfile.c (__tzfile_read): Likewise.
18087 (__tzfile_compute): Likewise.
18088 * time/tzset.c (__tzset_parse_tz): Likewise.
18089 (tzset_internal): Likewise.
18090 (compute_change): Likewise.
18091 * wcsmbs/wcscat.c (__wcscat): Likewise.
18092 * wcsmbs/wcschr.c (wcschr): Likewise.
18093 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18094 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18095 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18096 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18097 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18098 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18099 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18100 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18101 * wcsmbs/wmemset.c (wmemset): Likewise.
18103 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18105 * scripts/config.guess: Update to version 2013-05-16.
18106 * scripts/config.sub: Update to version 2013-04-24.
18107 * scripts/install-sh: Update to version 2011-11-20.07.
18108 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18109 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18111 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18113 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18114 * elf/sln.c: Likewise.
18115 * hurd/hurd/ioctl.h: Likewise.
18116 * hurd/hurdmalloc.c: Likewise.
18117 * hurd/xattr.c: Likewise.
18118 * include/shlib-compat.h: Likewise.
18119 * inet/ruserpass.c: Likewise.
18120 * libio/iofgets_u.c: Likewise.
18121 * libio/iofgetws_u.c: Likewise.
18122 * locale/programs/ld-identification.c: Likewise.
18123 * locale/programs/ld-time.c: Likewise.
18124 * mach/msg-destroy.c: Likewise.
18125 * nss/nss_files/files-netgrp.c: Likewise.
18126 * resolv/res_data.c: Likewise.
18127 * soft-fp/op-1.h: Likewise.
18128 * soft-fp/op-2.h: Likewise.
18129 * soft-fp/op-4.h: Likewise.
18130 * soft-fp/op-common.h: Likewise.
18131 * stdio-common/printf_fphex.c: Likewise.
18132 * stdlib/strtod_l.c: Likewise.
18133 * sunrpc/rpc/clnt.h: Likewise.
18134 * sysdeps/generic/framestate.c: Likewise.
18135 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18136 * sysdeps/i386/bsd-setjmp.S: Likewise.
18137 * sysdeps/i386/__longjmp.S: Likewise.
18138 * sysdeps/i386/setjmp.S: Likewise.
18139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18140 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18157 * sysdeps/ieee754/support.c: Likewise.
18158 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18159 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18160 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18161 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18162 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18163 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18164 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18165 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18166 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18167 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18168 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18169 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18170 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18171 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18172 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18173 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18174 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18177 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18179 * posix/transbug.c: Remove executable mode.
18181 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18183 * crypt/speeds.c: Remove trailing whitespace.
18184 * dlfcn/default.c: Likewise.
18185 * elf/ifuncdep2.c: Likewise.
18186 * elf/ifuncmain1.c: Likewise.
18187 * elf/ifuncmain1vis.c: Likewise.
18188 * elf/testobj.h: Likewise.
18189 * elf/tst-stackguard1.c: Likewise.
18190 * gmon/sys/gmon.h: Likewise.
18191 * hurd/hurdmsg.c: Likewise.
18192 * hurd/new-fd.c: Likewise.
18193 * hurd/ports-get.c: Likewise.
18194 * iconvdata/ibm1008_420.c: Likewise.
18195 * inet/tst-getni1.c: Likewise.
18196 * inet/tst-getni2.c: Likewise.
18197 * libio/ioungetc.c: Likewise.
18198 * libio/wfiledoalloc.c: Likewise.
18199 * manual/libm-err-tab.pl: Likewise.
18200 * math/w_dremf.c: Likewise.
18201 * misc/ftruncate.c: Likewise.
18202 * posix/bug-glob2.c: Likewise.
18203 * posix/tst-pcre.c: Likewise.
18204 * posix/wait4.c: Likewise.
18205 * resolv/README: Likewise.
18206 * resolv/res_debug.h: Likewise.
18207 * resolv/tst-inet_ntop.c: Likewise.
18208 * setjmp/bug269-setjmp.c: Likewise.
18209 * soft-fp/extended.h: Likewise.
18210 * soft-fp/op-1.h: Likewise.
18211 * soft-fp/op-2.h: Likewise.
18212 * soft-fp/op-4.h: Likewise.
18213 * soft-fp/op-8.h: Likewise.
18214 * soft-fp/testit.c: Likewise.
18215 * stdio-common/bug16.c: Likewise.
18216 * stdlib/random.c: Likewise.
18217 * sunrpc/rpcsvc/rquota.x: Likewise.
18218 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18223 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18224 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18225 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18226 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18227 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18247 * sysdeps/ieee754/s_lib_version.c: Likewise.
18248 * sysdeps/mach/hurd/check_fds.c: Likewise.
18249 * sysdeps/mach/hurd/getsockname.c: Likewise.
18250 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18251 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18252 * sysdeps/powerpc/bits/link.h: Likewise.
18253 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18254 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18255 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18256 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18257 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18258 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18259 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18260 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18261 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18262 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18263 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18264 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18265 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18266 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18267 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18268 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18269 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18270 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18272 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18273 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18274 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18276 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18277 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18278 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18279 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18280 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18281 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18282 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18283 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18284 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18285 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18286 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18287 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18288 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18289 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18290 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18291 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18292 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18293 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18294 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18295 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18296 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18297 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18298 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18299 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18300 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18301 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18302 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18305 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18306 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18307 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18308 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18309 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18310 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18311 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18312 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18313 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18314 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18315 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18316 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18317 * sysdeps/powerpc/sysdep.h: Likewise.
18318 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18319 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18320 * sysdeps/sh/dl-trampoline.S: Likewise.
18321 * sysdeps/sh/memset.S: Likewise.
18322 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18323 * sysdeps/sh/strlen.S: Likewise.
18324 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18325 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18326 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18327 * sysdeps/sparc/sparc32/rem.S: Likewise.
18328 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18329 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18330 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18331 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18332 * sysdeps/sparc/sparc32/urem.S: Likewise.
18333 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18334 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18335 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18336 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18337 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18338 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18339 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18340 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18341 * sysdeps/unix/bsd/times.c: Likewise.
18342 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18343 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18347 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18348 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18349 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18350 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18352 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18353 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18354 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18355 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18356 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18357 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18358 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18359 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18360 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18361 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18362 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18363 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18364 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18365 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18366 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18367 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18368 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18369 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18370 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18371 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18372 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18373 * sysdeps/x86_64/strcspn.S: Likewise.
18375 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18377 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18378 generated file. Regenerate properly from gen-translit.pl.
18379 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18380 locale/C-translit.h.
18382 2013-06-05 Andreas Schwab <schwab@suse.de>
18385 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18386 week as 6 instead of -1.
18387 * time/tst-strptime.c (day_tests): Add test case.
18389 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18391 * sysdeps/generic/math_private.h
18392 (libc_feholdexcept_setround_53bit): Replace with
18393 libc_feholdsetround_53bit.
18394 (libc_feupdateenv_53bit): Replace with
18395 libc_feresetround_53bit.
18396 (SET_RESTORE_ROUND_53BIT): Adjust.
18398 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18400 * string/test-strchrnul.c: Add copyright header.
18402 * posix/tst-getaddrinfo4.c: Increase test timeout.
18404 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18407 * math/libm-test.inc (MAX_EXP): Remove
18409 (ulp): Use MIN_EXP - MANT_DIG.
18410 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18412 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18414 * po/be.po: Revert last change.
18415 * po/zh_CN.po: Likewise.
18416 * po/header.pot: Likewise.
18418 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18420 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18421 link-libc-deps to empty as target-specific variable.
18422 * Makerules (link-libc-args): New variable.
18423 (libc-for-link): Likewise.
18424 (link-libc-deps): Likewise.
18425 (lib%.so): Depend on $(link-libc-deps). Link with
18427 (build-module): Link with $(link-libc-args).
18428 (build-module-asneeded): Likewise.
18429 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18431 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18432 target-specific variable.
18433 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18434 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18435 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18437 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18439 ($(objpfx)libpcprofile.so): Likewise.
18440 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18442 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18443 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18444 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18446 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18447 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18448 * login/Makefile ($(objpfx)libutil.so): Likewise.
18449 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18450 * math/Makefile ($(objpfx)libm.so): Likewise.
18451 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18452 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18453 variable instead of depending directly on libc.
18454 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18455 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18457 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18459 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18460 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18461 ($(objpfx)libanl.so): Likewise.
18462 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18464 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18466 * sysdeps/i386/fpu/Makefile: Remove file.
18467 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18468 ($(objpfx)libm.so): Remove dependency on ld.so.
18470 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18473 * nis/yp_xdr.c (XDRMAXNAME): Define.
18474 (XDRMAXRECORD): Define.
18475 (xdr_domainname): Use XDRMAXNAME.
18476 (xdr_mapname): Likewise.
18477 (xdr_peername): Likewise.
18478 (xdr_keydat): Use XDRMAXRECORD.
18479 (xdr_valdat): Likewise.
18481 2013-05-30 Jeff Law <law@redhat.com>
18484 * manual/errno.texi (ESTALE): Update to account for more than
18485 just NFS file systems.
18486 * sysdeps/gnu/errlist.c: Regenerated.
18488 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18491 * elf/Makefile (tests): Add tst-null-argv.
18492 (modules-names): Add tst-null-argv-lib.
18493 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18494 (tst-null-argv-ENV): Set environment for tst-null-argv.
18495 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18496 (RTLD_PROGNAME): New macro.
18497 * elf/tst-null-argv.c: New test case.
18498 * elf/tst-null-argv-lib.c: Library for test case.
18499 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18500 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18501 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18502 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18503 * elf/dl-init.c (call_init): Likewise.
18504 (_dl_init): Likewise.
18505 * elf/dl-load.c (print_search_path): Likewise.
18506 (_dl_map_object): Likewise.
18507 * elf/dl-lookup.c (do_lookup_x): Likewise.
18508 (add_dependency): Likewise.
18509 (_dl_lookup_symbol_x): Likewise.
18510 (_dl_debug_bindings): Likewise.
18511 * elf/dl-open.c (_dl_show_scope): Likewise.
18512 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18513 * elf/dl-version.c (match_symbol): Likewise.
18514 (_dl_check_map_versions): Likewise.
18515 * elf/rtld.c (dl_main): Likewise.
18516 (print_unresolved): Use RTLD_PROGNAME.
18517 (print_missing_version): Likewise.
18518 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18519 (elf_machine_rela): Likewise.
18520 * sysdeps/powerpc/powerpc32/dl-machine.c
18521 (__process_machine_rela): Likewise.
18522 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18528 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18529 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18535 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18537 * po/be.po: Add descriptive title.
18538 * po/zh_CN.po: Likewise.
18539 * po/header.pot: Likewise.
18541 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18543 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18545 (enlarge_archive): Likewise.
18547 2013-05-28 Ben North <ben@redfrontdoor.org>
18549 * manual/arith.texi (frexp): It is the magnitude of the return
18550 value which lies in [0.5, 1), not the return value itself.
18552 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18556 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18558 * stdio-common/bug26.c (main): Correct fscanf template.
18560 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18561 declare _dl_skip_args.
18563 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18566 * manual/platform.texi: Add missing @end deftypefun.
18568 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18571 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18572 bit of mantissa of 2^16382.
18573 * math/libm-test.inc (hypot_test_data): Add more tests.
18575 * math/libm-test.inc: Add drem and pow10 to list of tested
18577 (pow10_test): New function.
18578 (drem_test): Likewise.
18579 (drem_test_tonearest): Likewise.
18580 (drem_test_towardzero): Likewise.
18581 (drem_test_downward): Likewise.
18582 (drem_test_upward): Likewise.
18583 (main): Call the new functions.
18585 * math/libm-test.inc (finite_test_data): Remove.
18586 (finite_test): Run tests from isfinite_test_data.
18587 (gamma_test_data): Remove.
18588 (gamma_test): Run tests from lgamma_test_data.
18589 * sysdeps/i386/fpu/libm-test-ulps: Update.
18590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18592 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18594 * manual/platform.texi: Add PowerPC PPR function set documentation.
18595 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18598 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18600 * math/libm-test.inc (MAX_EXP): Define.
18602 (ulp): New function.
18603 (check_float_internal): Use ULPDIFF.
18604 (cpow_test): Disable failing test.
18605 (check_ulp): Test ulp() implemetnation.
18606 (main): Call check_ulp before starting tests.
18608 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18610 * math/gen-libm-test.pl (generate_testfile): Do not handle
18611 START_DATA and END_DATA.
18612 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18614 (acos_tonearest_test_data): Likewise.
18615 (acos_towardzero_test_data): Likewise.
18616 (acos_downward_test_data): Likewise.
18617 (acos_upward_test_data): Likewise.
18618 (acosh_test_data): Likewise.
18619 (asin_test_data): Likewise.
18620 (asin_tonearest_test_data): Likewise.
18621 (asin_towardzero_test_data): Likewise.
18622 (asin_downward_test_data): Likewise.
18623 (asin_upward_test_data): Likewise.
18624 (asinh_test_data): Likewise.
18625 (atan_test_data): Likewise.
18626 (atanh_test_data): Likewise.
18627 (atan2_test_data): Likewise.
18628 (cabs_test_data): Likewise.
18629 (cacos_test_data): Likewise.
18630 (cacosh_test_data): Likewise.
18631 (carg_test_data): Likewise.
18632 (casin_test_data): Likewise.
18633 (casinh_test_data): Likewise.
18634 (catan_test_data): Likewise.
18635 (catanh_test_data): Likewise.
18636 (cbrt_test_data): Likewise.
18637 (ccos_test_data): Likewise.
18638 (ccosh_test_data): Likewise.
18639 (ceil_test_data): Likewise.
18640 (cexp_test_data): Likewise.
18641 (cimag_test_data): Likewise.
18642 (clog_test_data): Likewise.
18643 (clog10_test_data): Likewise.
18644 (conj_test_data): Likewise.
18645 (copysign_test_data): Likewise.
18646 (cos_test_data): Likewise.
18647 (cos_tonearest_test_data): Likewise.
18648 (cos_towardzero_test_data): Likewise.
18649 (cos_downward_test_data): Likewise.
18650 (cos_upward_test_data): Likewise.
18651 (cosh_test_data): Likewise.
18652 (cosh_tonearest_test_data): Likewise.
18653 (cosh_towardzero_test_data): Likewise.
18654 (cosh_downward_test_data): Likewise.
18655 (cosh_upward_test_data): Likewise.
18656 (cpow_test_data): Likewise.
18657 (cproj_test_data): Likewise.
18658 (creal_test_data): Likewise.
18659 (csin_test_data): Likewise.
18660 (csinh_test_data): Likewise.
18661 (csqrt_test_data): Likewise.
18662 (ctan_test_data): Likewise.
18663 (ctan_tonearest_test_data): Likewise.
18664 (ctan_towardzero_test_data): Likewise.
18665 (ctan_downward_test_data): Likewise.
18666 (ctan_upward_test_data): Likewise.
18667 (ctanh_test_data): Likewise.
18668 (ctanh_tonearest_test_data): Likewise.
18669 (ctanh_towardzero_test_data): Likewise.
18670 (ctanh_downward_test_data): Likewise.
18671 (ctanh_upward_test_data): Likewise.
18672 (erf_test_data): Likewise.
18673 (erfc_test_data): Likewise.
18674 (exp_test_data): Likewise.
18675 (exp_tonearest_test_data): Likewise.
18676 (exp_towardzero_test_data): Likewise.
18677 (exp_downward_test_data): Likewise.
18678 (exp_upward_test_data): Likewise.
18679 (exp10_test_data): Likewise.
18680 (exp2_test_data): Likewise.
18681 (expm1_test_data): Likewise.
18682 (fabs_test_data): Likewise.
18683 (fdim_test_data): Likewise.
18684 (finite_test_data): Likewise.
18685 (floor_test_data): Likewise.
18686 (fma_test_data): Likewise.
18687 (fma_towardzero_test_data): Likewise.
18688 (fma_downward_test_data): Likewise.
18689 (fma_upward_test_data): Likewise.
18690 (fmax_test_data): Likewise.
18691 (fmin_test_data): Likewise.
18692 (fmod_test_data): Likewise.
18693 (fpclassify_test_data): Likewise.
18694 (frexp_test_data): Likewise.
18695 (gamma_test_data): Likewise.
18696 (hypot_test_data): Likewise.
18697 (ilogb_test_data): Likewise.
18698 (isfinite_test_data): Likewise.
18699 (isgreater_test_data): Likewise.
18700 (isgreaterequal_test_data): Likewise.
18701 (isinf_test_data): Likewise.
18702 (isless_test_data): Likewise.
18703 (islessequal_test_data): Likewise.
18704 (islessgreater_test_data): Likewise.
18705 (isnan_test_data): Likewise.
18706 (isnormal_test_data): Likewise.
18707 (issignaling_test_data): Likewise.
18708 (isunordered_test_data): Likewise.
18709 (j0_test_data): Likewise.
18710 (j1_test_data): Likewise.
18711 (jn_test_data): Likewise.
18712 (ldexp_test_data): Likewise.
18713 (lgamma_test_data): Likewise.
18714 (lrint_test_data): Likewise.
18715 (lrint_tonearest_test_data): Likewise.
18716 (lrint_towardzero_test_data): Likewise.
18717 (lrint_downward_test_data): Likewise.
18718 (lrint_upward_test_data): Likewise.
18719 (llrint_test_data): Likewise.
18720 (llrint_tonearest_test_data): Likewise.
18721 (llrint_towardzero_test_data): Likewise.
18722 (llrint_downward_test_data): Likewise.
18723 (llrint_upward_test_data): Likewise.
18724 (log_test_data): Likewise.
18725 (log10_test_data): Likewise.
18726 (log1p_test_data): Likewise.
18727 (log2_test_data): Likewise.
18728 (logb_test_data): Likewise.
18729 (logb_downward_test_data): Likewise.
18730 (lround_test_data): Likewise.
18731 (llround_test_data): Likewise.
18732 (modf_test_data): Likewise.
18733 (nearbyint_test_data): Likewise.
18734 (nextafter_test_data): Likewise.
18735 (nexttoward_test_data): Likewise.
18736 (pow_test_data): Likewise.
18737 (pow_tonearest_test_data): Likewise.
18738 (pow_towardzero_test_data): Likewise.
18739 (pow_downward_test_data): Likewise.
18740 (pow_upward_test_data): Likewise.
18741 (remainder_test_data): Likewise.
18742 (remainder_tonearest_test_data): Likewise.
18743 (remainder_towardzero_test_data): Likewise.
18744 (remainder_downward_test_data): Likewise.
18745 (remainder_upward_test_data): Likewise.
18746 (remquo_test_data): Likewise.
18747 (rint_test_data): Likewise.
18748 (rint_tonearest_test_data): Likewise.
18749 (rint_towardzero_test_data): Likewise.
18750 (rint_downward_test_data): Likewise.
18751 (rint_upward_test_data): Likewise.
18752 (round_test_data): Likewise.
18753 (scalb_test_data): Likewise.
18754 (scalbn_test_data): Likewise.
18755 (scalbln_test_data): Likewise.
18756 (signbit_test_data): Likewise.
18757 (sin_test_data): Likewise.
18758 (sin_tonearest_test_data): Likewise.
18759 (sin_towardzero_test_data): Likewise.
18760 (sin_downward_test_data): Likewise.
18761 (sin_upward_test_data): Likewise.
18762 (sincos_test_data): Likewise.
18763 (sinh_test_data): Likewise.
18764 (sinh_tonearest_test_data): Likewise.
18765 (sinh_towardzero_test_data): Likewise.
18766 (sinh_downward_test_data): Likewise.
18767 (sinh_upward_test_data): Likewise.
18768 (sqrt_test_data): Likewise.
18769 (tan_test_data): Likewise.
18770 (tan_tonearest_test_data): Likewise.
18771 (tan_towardzero_test_data): Likewise.
18772 (tan_downward_test_data): Likewise.
18773 (tan_upward_test_data): Likewise.
18774 (tanh_test_data): Likewise.
18775 (tgamma_test_data): Likewise.
18776 (trunc_test_data): Likewise.
18777 (y0_test_data): Likewise.
18778 (y1_test_data): Likewise.
18779 (yn_test_data): Likewise.
18780 (significand_test_data): Likewise.
18782 * math/gen-libm-test.pl (@functions): Remove variable.
18783 (generate_testfile): Don't handle START and END lines.
18784 * math/libm-test.inc (START): New macro.
18786 (END_COMPLEX): Likewise.
18787 (acos_test): Use END macro without arguments.
18788 (acos_test_tonearest): Likewise.
18789 (acos_test_towardzero): Likewise.
18790 (acos_test_downward): Likewise.
18791 (acos_test_upward): Likewise.
18792 (acosh_test): Likewise.
18793 (asin_test): Likewise.
18794 (asin_test_tonearest): Likewise.
18795 (asin_test_towardzero): Likewise.
18796 (asin_test_downward): Likewise.
18797 (asin_test_upward): Likewise.
18798 (asinh_test): Likewise.
18799 (atan_test): Likewise.
18800 (atanh_test): Likewise.
18801 (atan2_test): Likewise.
18802 (cabs_test): Likewise.
18803 (cacos_test): Use END_COMPLEX macro without arguments.
18804 (cacosh_test): Likewise.
18805 (carg_test): Use END macro without arguments.
18806 (casin_test): Use END_COMPLEX macro without arguments.
18807 (casinh_test): Likewise.
18808 (catan_test): Likewise.
18809 (catanh_test): Likewise.
18810 (cbrt_test): Use END macro without arguments.
18811 (ccos_test): Use END_COMPLEX macro without arguments.
18812 (ccosh_test): Likewise.
18813 (ceil_test): Use END macro without arguments.
18814 (cexp_test): Use END_COMPLEX macro without arguments.
18815 (cimag_test): Use END macro without arguments.
18816 (clog_test): Use END_COMPLEX macro without arguments.
18817 (clog10_test): Likewise.
18818 (conj_test): Likewise.
18819 (copysign_test): Use END macro without arguments.
18820 (cos_test): Likewise.
18821 (cos_test_tonearest): Likewise.
18822 (cos_test_towardzero): Likewise.
18823 (cos_test_downward): Likewise.
18824 (cos_test_upward): Likewise.
18825 (cosh_test): Likewise.
18826 (cosh_test_tonearest): Likewise.
18827 (cosh_test_towardzero): Likewise.
18828 (cosh_test_downward): Likewise.
18829 (cosh_test_upward): Likewise.
18830 (cpow_test): Use END_COMPLEX macro without arguments.
18831 (cproj_test): Likewise.
18832 (creal_test): Use END macro without arguments.
18833 (csin_test): Use END_COMPLEX macro without arguments.
18834 (csinh_test): Likewise.
18835 (csqrt_test): Likewise.
18836 (ctan_test): Likewise.
18837 (ctan_test_tonearest): Likewise.
18838 (ctan_test_towardzero): Likewise.
18839 (ctan_test_downward): Likewise.
18840 (ctan_test_upward): Likewise.
18841 (ctanh_test): Likewise.
18842 (ctanh_test_tonearest): Likewise.
18843 (ctanh_test_towardzero): Likewise.
18844 (ctanh_test_downward): Likewise.
18845 (ctanh_test_upward): Likewise.
18846 (erf_test): Use END macro without arguments.
18847 (erfc_test): Likewise.
18848 (exp_test): Likewise.
18849 (exp_test_tonearest): Likewise.
18850 (exp_test_towardzero): Likewise.
18851 (exp_test_downward): Likewise.
18852 (exp_test_upward): Likewise.
18853 (exp10_test): Likewise.
18854 (exp2_test): Likewise.
18855 (expm1_test): Likewise.
18856 (fabs_test): Likewise.
18857 (fdim_test): Likewise.
18858 (finite_test): Likewise.
18859 (floor_test): Likewise.
18860 (fma_test): Likewise.
18861 (fma_test_towardzero): Likewise.
18862 (fma_test_downward): Likewise.
18863 (fma_test_upward): Likewise.
18864 (fmax_test): Likewise.
18865 (fmin_test): Likewise.
18866 (fmod_test): Likewise.
18867 (fpclassify_test): Likewise.
18868 (frexp_test): Likewise.
18869 (gamma_test): Likewise.
18870 (hypot_test): Likewise.
18871 (ilogb_test): Likewise.
18872 (isfinite_test): Likewise.
18873 (isgreater_test): Likewise.
18874 (isgreaterequal_test): Likewise.
18875 (isinf_test): Likewise.
18876 (isless_test): Likewise.
18877 (islessequal_test): Likewise.
18878 (islessgreater_test): Likewise.
18879 (isnan_test): Likewise.
18880 (isnormal_test): Likewise.
18881 (issignaling_test): Likewise.
18882 (isunordered_test): Likewise.
18883 (j0_test): Likewise.
18884 (j1_test): Likewise.
18885 (jn_test): Likewise.
18886 (ldexp_test): Likewise.
18887 (lgamma_test): Likewise.
18888 (lrint_test): Likewise.
18889 (lrint_test_tonearest): Likewise.
18890 (lrint_test_towardzero): Likewise.
18891 (lrint_test_downward): Likewise.
18892 (lrint_test_upward): Likewise.
18893 (llrint_test): Likewise.
18894 (llrint_test_tonearest): Likewise.
18895 (llrint_test_towardzero): Likewise.
18896 (llrint_test_downward): Likewise.
18897 (llrint_test_upward): Likewise.
18898 (log_test): Likewise.
18899 (log10_test): Likewise.
18900 (log1p_test): Likewise.
18901 (log2_test): Likewise.
18902 (logb_test): Likewise.
18903 (logb_test_downward): Likewise.
18904 (lround_test): Likewise.
18905 (llround_test): Likewise.
18906 (modf_test): Likewise.
18907 (nearbyint_test): Likewise.
18908 (nextafter_test): Likewise.
18909 (nexttoward_test): Likewise.
18910 (pow_test): Likewise.
18911 (pow_test_tonearest): Likewise.
18912 (pow_test_towardzero): Likewise.
18913 (pow_test_downward): Likewise.
18914 (pow_test_upward): Likewise.
18915 (remainder_test): Likewise.
18916 (remainder_test_tonearest): Likewise.
18917 (remainder_test_towardzero): Likewise.
18918 (remainder_test_downward): Likewise.
18919 (remainder_test_upward): Likewise.
18920 (remquo_test): Likewise.
18921 (rint_test): Likewise.
18922 (rint_test_tonearest): Likewise.
18923 (rint_test_towardzero): Likewise.
18924 (rint_test_downward): Likewise.
18925 (rint_test_upward): Likewise.
18926 (round_test): Likewise.
18927 (scalb_test): Likewise.
18928 (scalbn_test): Likewise.
18929 (scalbln_test): Likewise.
18930 (signbit_test): Likewise.
18931 (sin_test): Likewise.
18932 (sin_test_tonearest): Likewise.
18933 (sin_test_towardzero): Likewise.
18934 (sin_test_downward): Likewise.
18935 (sin_test_upward): Likewise.
18936 (sincos_test): Likewise.
18937 (sinh_test): Likewise.
18938 (sinh_test_tonearest): Likewise.
18939 (sinh_test_towardzero): Likewise.
18940 (sinh_test_downward): Likewise.
18941 (sinh_test_upward): Likewise.
18942 (sqrt_test): Likewise.
18943 (tan_test): Likewise.
18944 (tan_test_tonearest): Likewise.
18945 (tan_test_towardzero): Likewise.
18946 (tan_test_downward): Likewise.
18947 (tan_test_upward): Likewise.
18948 (tanh_test): Likewise.
18949 (tgamma_test): Likewise.
18950 (trunc_test): Likewise.
18951 (y0_test): Likewise.
18952 (y1_test): Likewise.
18953 (yn_test): Likewise.
18954 (significand_test): Likewise.
18956 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18959 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18961 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18964 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18965 __ppc_mdoio and __ppc_mdoom.
18966 * manual/platform.texi: Document new functions __ppc_yield,
18967 __ppc_mdoio and __ppc_mdoom.
18969 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18971 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18972 (main): Mention "tls" pseudo-hwcap is legacy.
18973 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18975 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18977 * math/gen-libm-test.pl (parse_args): Output only string of
18978 arguments as text for test name, not full call or descriptions of
18979 tests for extra outputs.
18980 (generate_testfile): Do not pass function name to parse_args.
18981 Generate this_func variable from START.
18982 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18984 (struct test_ff_f_data): Likewise.
18985 (test_ff_f_data_nexttoward): Likewise.
18986 (struct test_fi_f_data): Likewise.
18987 (struct test_fl_f_data): Likewise.
18988 (struct test_if_f_data): Likewise.
18989 (struct test_fff_f_data): Likewise.
18990 (struct test_c_f_data): Likewise.
18991 (struct test_f_f1_data): Likewise. Remove field extra_name.
18992 (struct test_fF_f1_data): Likewise.
18993 (struct test_ffI_f1_data): Likewise.
18994 (struct test_c_c_data): Rename test_name field to arg_str.
18995 (struct test_cc_c_data): Likewise.
18996 (struct test_f_i_data): Likewise.
18997 (struct test_ff_i_data): Likewise.
18998 (struct test_f_l_data): Likewise.
18999 (struct test_f_L_data): Likewise.
19000 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19002 (COMMON_TEST_SETUP): New macro.
19003 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19004 (COMMON_TEST_CLEANUP): Likewise.
19005 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19006 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19008 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19009 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19011 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19012 (RUN_TEST_fff_f): Take argument string. Call new setup and
19014 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19015 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19017 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19018 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19020 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19021 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19023 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19024 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19026 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19027 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19029 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19030 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19032 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19033 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19035 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19036 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19038 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19039 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19041 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19042 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19044 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19045 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19047 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19048 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19050 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19051 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19053 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19054 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19056 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19057 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19059 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19061 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19063 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19064 to _sifields.sigfault.
19065 (si_addr_lsb): Define new macro.
19066 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19068 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19070 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19073 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19075 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19077 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19078 loading the domain.
19080 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19082 * math/gen-libm-test.pl (parse_args): Do not include expected
19083 result in test name.
19084 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19085 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19086 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19087 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19088 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19091 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19093 * benchtests/Makefile: Sort function entries.
19095 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19096 tanh, asinh, acosh, atanh.
19097 * benchtests/acos-inputs: New file.
19098 * benchtests/acosh-inputs: New file.
19099 * benchtests/asin-inputs: New file.
19100 * benchtests/asinh-inputs: New file.
19101 * benchtests/atanh-inputs: New file.
19102 * benchtests/cosh-inputs: New file.
19103 * benchtests/log-inputs: New file.
19104 * benchtests/sinh-inputs: New file.
19105 * benchtests/tanh-inputs: New file.
19107 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19110 * posix/tst-getaddrinfo4.c: New test.
19111 * posix/Makefile (tests): Add it.
19113 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19116 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19117 when no services were used.
19118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19119 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19121 2013-05-21 Andreas Schwab <schwab@suse.de>
19124 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19125 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19127 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19128 redundant variable declarations and reallocation of buffer when
19129 parsing as IPv6 address. Always set NSS status when called from
19130 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19131 buffer too small. Correct computation of needed size.
19132 * nss/Makefile (tests): Add test-digits-dots.
19133 * nss/test-digits-dots.c: New test.
19135 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19137 * benchtests/Makefile: Remove instructions for adding
19139 * benchtests/README: New file to explain how to execute and
19140 enhance the benchmark tests.
19142 2013-05-21 Andreas Schwab <schwab@suse.de>
19145 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19146 * setjmp/tst-sigsetjmp.c: New test.
19148 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19150 * sysdeps/x86_64/memset.S (memset): New implementation.
19151 (__bzero): Likewise.
19152 (__memset_tail): New function.
19154 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19156 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19157 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19158 __memcpy_sse2_unaligned ifunc selection.
19159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19160 Add memcpy-sse2-unaligned.S.
19161 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19162 Add: __memcpy_sse2_unaligned.
19164 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19167 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19168 math_force_eval before restoring floating-point envrionment.
19169 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19170 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19172 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19174 (__nearbyintl): Use math_force_eval before restoring
19175 floating-point environment.
19176 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19178 * math/gen-libm-test.pl (special_functions): Remove.
19179 (parse_args): Don't handle TEST_extra. Handle functions with no
19181 * math/libm-test.inc (struct test_sincos_data): Replace with
19182 struct test_fFF_11_data.
19183 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19184 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19185 (sincos_test_data): Change element type to struct
19186 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19187 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19188 RUN_TEST_LOOP_sincos.
19189 * math/README.libm-test: Don't mention special handling of
19190 individual functions.
19191 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19192 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19193 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19194 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19195 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19198 * math/gen-libm-test.pl (get_variable): Remove function.
19199 (parse_args): Don't show pointer parameters to call in test
19200 names. Use "extra output N" in test names for extra outputs
19201 rather than naming variables.
19203 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19206 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19207 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19208 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19210 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19212 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19215 * math/gen-libm-test.pl (@tests): Remove variable.
19216 ($count): Likewise.
19217 (new_test): Remove function.
19218 (show_exceptions): New function.
19219 (special_functions): Use show_exceptions instead of new_test.
19220 (parse_args): Likewise.
19221 (generate_testfile): Pass only function name in generated call to
19222 print_max_error or print_complex_max_error.
19223 (get_ulps): Do not handle complex tests specially.
19224 (output_test): Rename to ...
19225 (get_all_ulps_for_test): ... this. Return a string rather than
19226 printing to a file. Require ulps to be present.
19227 (output_ulps): Generate arrays rather than #defines.
19228 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19229 (struct ulp_data): New type.
19230 (BUILD_COMPLEX_ULP): Remove macro.
19231 (compare_ulp_data): New function.
19232 (find_ulps): Likewise.
19233 (find_test_ulps): Likewise.
19234 (find_function_ulps): Likewise.
19235 (find_complex_function_ulps): Likewise.
19236 (print_max_error): Determine allowed ulps using
19237 find_function_ulps.
19238 (print_complex_max_error): Determine allowed ulps using
19239 find_complex_function_ulps.
19240 (check_float_internal): Determine max ulps using find_test_ulps.
19241 (check_float): Do not take max_ulp parameter. Update call to
19242 check_float_internal.
19243 (check_complex): Likewise.
19244 (check_int): Do not take max_ulp parameter.
19245 (check_long): Likewise.
19246 (check_bool): Likewise.
19247 (check_longlong): Likewise.
19248 (struct test_f_f_data): Remove max_ulp field.
19249 (struct test_ff_f_data): Likewise.
19250 (struct test_ff_f_data_nexttoward): Likewise.
19251 (struct test_fi_f_data): Likewise.
19252 (struct test_fl_f_data): Likewise.
19253 (struct test_if_f_data): Likewise.
19254 (struct test_fff_f_data): Likewise.
19255 (struct test_c_f_data): Likewise.
19256 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19257 (struct test_fF_f1_data): Likewise.
19258 (struct test_ffI_f1_data): Likewise.
19259 (struct test_c_c_data): Remove max_ulp field.
19260 (struct test_cc_c_data): Likewise.
19261 (struct test_f_i_data): Likewise.
19262 (struct test_ff_i_data): Likewise.
19263 (struct test_f_l_data): Likewise.
19264 (struct test_f_L_data): Likewise.
19265 (struct test_sincos_data): Likewise.
19266 (RUN_TEST_f_f): Do not handle ulps.
19267 (RUN_TEST_LOOP_f_f): Likewise.
19268 (RUN_TEST_2_f): Likewise.
19269 (RUN_TEST_LOOP_2_f): Likewise.
19270 (RUN_TEST_fff_f): Likewise.
19271 (RUN_TEST_LOOP_fff_f): Likewise.
19272 (RUN_TEST_c_f): Likewise.
19273 (RUN_TEST_LOOP_c_f): Likewise.
19274 (RUN_TEST_f_f1): Likewise.
19275 (RUN_TEST_LOOP_f_f1): Likewise.
19276 (RUN_TEST_fF_f1): Likewise.
19277 (RUN_TEST_LOOP_fF_f1): Likewise.
19278 (RUN_TEST_fI_f1): Likewise.
19279 (RUN_TEST_LOOP_fI_f1): Likewise.
19280 (RUN_TEST_ffI_f1): Likewise.
19281 (RUN_TEST_LOOP_ffI_f1): Likewise.
19282 (RUN_TEST_c_c): Likewise.
19283 (RUN_TEST_LOOP_c_c): Likewise.
19284 (RUN_TEST_cc_c): Likewise.
19285 (RUN_TEST_LOOP_cc_c): Likewise.
19286 (RUN_TEST_f_i): Likewise.
19287 (RUN_TEST_LOOP_f_i): Likewise.
19288 (RUN_TEST_f_i_tg): Likewise.
19289 (RUN_TEST_LOOP_f_i_tg): Likewise.
19290 (RUN_TEST_ff_i_tg): Likewise.
19291 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19292 (RUN_TEST_f_b): Likewise.
19293 (RUN_TEST_LOOP_f_b): Likewise.
19294 (RUN_TEST_f_b_tg): Likewise.
19295 (RUN_TEST_LOOP_f_b_tg): Likewise.
19296 (RUN_TEST_f_l): Likewise.
19297 (RUN_TEST_LOOP_f_l): Likewise.
19298 (RUN_TEST_f_L): Likewise.
19299 (RUN_TEST_LOOP_f_L): Likewise.
19300 (RUN_TEST_sincos): Likewise.
19301 (RUN_TEST_LOOP_sincos): Likewise.
19303 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19307 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19308 main case of finite arguments, set rounding mode to FE_TONEAREST
19309 and discard exceptions.
19310 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19312 (remainder_tonearest_test_data): New variable.
19313 (remainder_test_tonearest): New function.
19314 (remainder_towardzero_test_data): New variable.
19315 (remainder_test_towardzero): New function.
19316 (remainder_downward_test_data): New variable.
19317 (remainder_test_downward): New function.
19318 (remainder_upward_test_data): New variable.
19319 (remainder_test_upward): New function.
19320 (main): Call the new test functions.
19322 * math/libm-test.inc (struct test_f_f1_data): Remove field
19324 (struct test_fF_f1_data): Likewise.
19325 (struct test_ffI_f1_data): Likewise.
19326 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19327 based on value of EXTRA_EXPECTED.
19328 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19329 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19330 EXTRA_VAR based on value of EXTRA_EXPECTED.
19331 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19332 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19333 EXTRA_VAR based on value of EXTRA_EXPECTED.
19334 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19335 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19336 EXTRA_VAR based on value of EXTRA_EXPECTED.
19337 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19338 * math/gen-libm-test.pl (parse_args): Don't output initializers
19339 for extra output values.
19341 * math/libm-test.inc (check_int): Expect result to be exactly
19342 equal to expected value and do not handle ulps.
19343 (check_long): Likewise.
19344 (check_longlong): Likewise.
19346 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19348 (cimag_test_data): Likewise.
19349 (conj_test_data): Likewise.
19350 (copysign_test_data): Likewise.
19351 (cproj_test_data): Likewise.
19352 (creal_test_data): Likewise.
19353 (fabs_test_data): Likewise.
19354 (fdim_test_data): Likewise.
19355 (finite_test_data): Likewise.
19356 (floor_test_data): Likewise.
19357 (fmax_test_data): Likewise.
19358 (fmin_test_data): Likewise.
19359 (fmod_test_data): Likewise.
19360 (fpclassify_test_data): Likewise.
19361 (frexp_test_data): Likewise.
19362 (ilogb_test_data): Likewise.
19363 (isfinite_test_data): Likewise.
19364 (isgreater_test_data): Likewise.
19365 (isgreaterequal_test_data): Likewise.
19366 (isinf_test_data): Likewise.
19367 (isless_test_data): Likewise.
19368 (islessequal_test_data): Likewise.
19369 (islessgreater_test_data): Likewise.
19370 (isnan_test_data): Likewise.
19371 (isnormal_test_data): Likewise.
19372 (issignaling_test_data): Likewise.
19373 (isunordered_test_data): Likewise.
19374 (ldexp_test_data): Likewise.
19375 (lrint_test_data): Likewise.
19376 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19377 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19378 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19379 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19380 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19381 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19383 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19384 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19385 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19386 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19388 (lrint_downward_test_data): Test for "inexact" exceptions.
19389 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19390 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19391 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19393 (lrint_upward_test_data): Test for "inexact" exceptions.
19394 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19396 (llrint_test_data): Test for "inexact" exceptions.
19397 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19398 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19399 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19400 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19401 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19402 (llrint_downward_test_data): Test for "inexact" exceptions.
19403 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19404 (llrint_upward_test_data): Test for "inexact" exceptions.
19405 (logb_test_data): Likewise.
19406 (logb_downward_test_data): Likewise.
19407 (nextafter_test_data): Likewise.
19408 (nexttoward_test_data): Likewise.
19409 (remainder_test_data): Likewise.
19410 (remquo_test_data): Likewise.
19411 (scalbn_test_data): Likewise.
19412 (scalbln_test_data): Likewise.
19413 (signbit_test_data): Likewise.
19414 (sqrt_test_data): Likewise.
19415 (significand_test_data): Likewise.
19417 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19420 * benchtests/bench-modf.c (struct args): Mark arg0 as
19422 * scripts/bench.pl: Mark members of struct args as volatile.
19424 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19427 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19428 negative infinity on POWER6 or lower.
19429 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19431 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19434 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19435 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19436 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19437 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19438 (_FP_SETQNAN): New macro.
19439 (_FP_SETQNAN_SEMIRAW): Likewise.
19440 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19441 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19442 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19443 (FP_EXTEND): Use _FP_FRAC_SNANP.
19444 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19445 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19447 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19452 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19454 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19455 with DIVIDE_BY_ZERO_EXCEPTION.
19456 (gamma_test_data): Likewise.
19457 (lgamma_test_data): Likewise.
19458 (log_test_data): Likewise.
19459 (log10_test_data): Likewise.
19460 (log2_test_data): Likewise.
19461 (tgamma_test_data): Likewise.
19463 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19464 (acos_test_tonearest): Likewise.
19465 (acos_test_towardzero): Likewise.
19466 (acos_test_downward): Likewise.
19467 (acos_test_upward): Likewise.
19468 (acosh_test): Likewise.
19469 (asin_test): Likewise.
19470 (asin_test_tonearest): Likewise.
19471 (asin_test_towardzero): Likewise.
19472 (asin_test_downward): Likewise.
19473 (asin_test_upward): Likewise.
19474 (asinh_test): Likewise.
19475 (atan_test): Likewise.
19476 (atanh_test): Likewise.
19477 (atan2_test): Likewise.
19478 (cabs_test): Likewise.
19479 (cacos_test): Likewise.
19480 (cacosh_test): Likewise.
19481 (casin_test): Likewise.
19482 (casinh_test): Likewise.
19483 (catan_test): Likewise.
19484 (catanh_test): Likewise.
19485 (cbrt_test): Likewise.
19486 (ccos_test): Likewise.
19487 (ccosh_test): Likewise.
19488 (cexp_test): Likewise.
19489 (clog_test): Likewise.
19490 (clog10_test): Likewise.
19491 (cos_test): Likewise.
19492 (cos_test_tonearest): Likewise.
19493 (cos_test_towardzero): Likewise.
19494 (cos_test_downward): Likewise.
19495 (cos_test_upward): Likewise.
19496 (cosh_test): Likewise.
19497 (cosh_test_tonearest): Likewise.
19498 (cosh_test_towardzero): Likewise.
19499 (cosh_test_downward): Likewise.
19500 (cosh_test_upward): Likewise.
19501 (cpow_test): Likewise.
19502 (csin_test): Likewise.
19503 (csinh_test): Likewise.
19504 (csqrt_test): Likewise.
19505 (ctan_test): Likewise.
19506 (ctan_test_tonearest): Likewise.
19507 (ctan_test_towardzero): Likewise.
19508 (ctan_test_downward): Likewise.
19509 (ctan_test_upward): Likewise.
19510 (ctanh_test): Likewise.
19511 (ctanh_test_tonearest): Likewise.
19512 (ctanh_test_towardzero): Likewise.
19513 (ctanh_test_downward): Likewise.
19514 (ctanh_test_upward): Likewise.
19515 (erf_test): Likewise.
19516 (erfc_test): Likewise.
19517 (exp_test): Likewise.
19518 (exp_test_tonearest): Likewise.
19519 (exp_test_towardzero): Likewise.
19520 (exp_test_downward): Likewise.
19521 (exp_test_upward): Likewise.
19522 (exp10_test): Likewise.
19523 (exp2_test): Likewise.
19524 (expm1_test): Likewise.
19525 (fmod_test): Likewise.
19526 (gamma_test): Likewise.
19527 (hypot_test): Likewise.
19528 (j0_test): Likewise.
19529 (j1_test): Likewise.
19530 (jn_test): Likewise.
19531 (lgamma_test): Likewise.
19532 (log_test): Likewise.
19533 (log10_test): Likewise.
19534 (log1p_test): Likewise.
19535 (log2_test): Likewise.
19536 (logb_test_downward): Likewise.
19537 (pow_test): Likewise.
19538 (pow_test_tonearest): Likewise.
19539 (pow_test_towardzero): Likewise.
19540 (pow_test_downward): Likewise.
19541 (pow_test_upward): Likewise.
19542 (remainder_test): Likewise.
19543 (remquo_test): Likewise.
19544 (sin_test): Likewise.
19545 (sin_test_tonearest): Likewise.
19546 (sin_test_towardzero): Likewise.
19547 (sin_test_downward): Likewise.
19548 (sin_test_upward): Likewise.
19549 (sincos_test): Likewise.
19550 (sinh_test): Likewise.
19551 (sinh_test_tonearest): Likewise.
19552 (sinh_test_towardzero): Likewise.
19553 (sinh_test_downward): Likewise.
19554 (sinh_test_upward): Likewise.
19555 (sqrt_test): Likewise.
19556 (tan_test): Likewise.
19557 (tan_test_tonearest): Likewise.
19558 (tan_test_towardzero): Likewise.
19559 (tan_test_downward): Likewise.
19560 (tan_test_upward): Likewise.
19561 (tanh_test): Likewise.
19562 (tgamma_test): Likewise.
19563 (y0_test): Likewise.
19564 (y1_test): Likewise.
19565 (yn_test): Likewise.
19567 * math/gen-libm-test.pl (adjust_arg): Remove function.
19568 (special_function): Remove argument $in_func. Only handle
19569 generating output for tables of tests, not inside functions.
19570 (parse_args): Likewise.
19571 (generate_testfile): Remove variable $in_func. Update call to
19573 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19574 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19575 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19576 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19577 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19578 (MAX_VALUE_INIT): Rename macro to max_value.
19579 (MIN_VALUE_INIT): Rename macro to min_value.
19580 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19581 (plus_zero): Remove variable.
19582 (minus_zero): Likewise.
19583 (plus_infty): Likewise.
19584 (minus_infty): Likewise.
19585 (qnan_value): Likewise.
19586 (max_value): Likewise.
19587 (min_value): Likewise.
19588 (min_subnorm_value): Likewise.
19590 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19592 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19593 uint64_t or uint32_t usage.
19594 * crypt/sha256-block.c: Likewise.
19595 * crypt/sha256-crypt.c: Likewise.
19596 * crypt/sha256.c: Likewise.
19597 * crypt/sha512-block.c: Likewise.
19598 * crypt/sha512-crypt.c: Likewise.
19599 * crypt/sha512.c: Likewise.
19600 * debug/backtrace-tst.c: Likewise.
19601 * debug/pcprofiledump.c: Likewise.
19602 * elf/cache.c: Likewise.
19603 * elf/dl-cache.c: Likewise.
19604 * elf/dl-misc.c: Likewise.
19605 * elf/dl-profile.c: Likewise.
19606 * elf/dl-support.c: Likewise.
19607 * elf/ldconfig.c: Likewise.
19608 * elf/sprof.c: Likewise.
19609 * iconv/dummy-repertoire.c: Likewise.
19610 * iconv/iconv_charmap.c: Likewise.
19611 * iconv/skeleton.c: Likewise.
19612 * iconvdata/8bit-generic.c: Likewise.
19613 * iconvdata/cp737.h: Likewise.
19614 * iconvdata/cp775.h: Likewise.
19615 * iconvdata/ibm1008.h: Likewise.
19616 * iconvdata/ibm1025.h: Likewise.
19617 * iconvdata/ibm1046.h: Likewise.
19618 * iconvdata/ibm1097.h: Likewise.
19619 * iconvdata/ibm1112.h: Likewise.
19620 * iconvdata/ibm1122.h: Likewise.
19621 * iconvdata/ibm1123.h: Likewise.
19622 * iconvdata/ibm1124.h: Likewise.
19623 * iconvdata/ibm1129.h: Likewise.
19624 * iconvdata/ibm1130.h: Likewise.
19625 * iconvdata/ibm1132.h: Likewise.
19626 * iconvdata/ibm1133.h: Likewise.
19627 * iconvdata/ibm1137.h: Likewise.
19628 * iconvdata/ibm1140.h: Likewise.
19629 * iconvdata/ibm1141.h: Likewise.
19630 * iconvdata/ibm1142.h: Likewise.
19631 * iconvdata/ibm1143.h: Likewise.
19632 * iconvdata/ibm1144.h: Likewise.
19633 * iconvdata/ibm1145.h: Likewise.
19634 * iconvdata/ibm1146.h: Likewise.
19635 * iconvdata/ibm1147.h: Likewise.
19636 * iconvdata/ibm1148.h: Likewise.
19637 * iconvdata/ibm1149.h: Likewise.
19638 * iconvdata/ibm1153.h: Likewise.
19639 * iconvdata/ibm1154.h: Likewise.
19640 * iconvdata/ibm1155.h: Likewise.
19641 * iconvdata/ibm1156.h: Likewise.
19642 * iconvdata/ibm1157.h: Likewise.
19643 * iconvdata/ibm1158.h: Likewise.
19644 * iconvdata/ibm1160.h: Likewise.
19645 * iconvdata/ibm1161.h: Likewise.
19646 * iconvdata/ibm1162.h: Likewise.
19647 * iconvdata/ibm1163.h: Likewise.
19648 * iconvdata/ibm1164.h: Likewise.
19649 * iconvdata/ibm1166.h: Likewise.
19650 * iconvdata/ibm1167.h: Likewise.
19651 * iconvdata/ibm12712.h: Likewise.
19652 * iconvdata/ibm1390.h: Likewise.
19653 * iconvdata/ibm1399.h: Likewise.
19654 * iconvdata/ibm16804.h: Likewise.
19655 * iconvdata/ibm4517.h: Likewise.
19656 * iconvdata/ibm4899.h: Likewise.
19657 * iconvdata/ibm4909.h: Likewise.
19658 * iconvdata/ibm4971.h: Likewise.
19659 * iconvdata/ibm5347.h: Likewise.
19660 * iconvdata/ibm803.h: Likewise.
19661 * iconvdata/ibm856.h: Likewise.
19662 * iconvdata/ibm901.h: Likewise.
19663 * iconvdata/ibm902.h: Likewise.
19664 * iconvdata/ibm9030.h: Likewise.
19665 * iconvdata/ibm9066.h: Likewise.
19666 * iconvdata/ibm921.h: Likewise.
19667 * iconvdata/ibm922.h: Likewise.
19668 * iconvdata/ibm9448.h: Likewise.
19669 * iconvdata/isiri-3342.h: Likewise.
19670 * iconvdata/jis0201.h: Likewise.
19671 * include/link.h: Likewise.
19672 * include/netdb.h: Likewise.
19673 * inet/check_native.c: Likewise.
19674 * inet/check_pf.c: Likewise.
19675 * inet/getipv4sourcefilter.c: Likewise.
19676 * inet/getnameinfo.c: Likewise.
19677 * inet/getsourcefilter.c: Likewise.
19678 * inet/htonl.c: Likewise.
19679 * inet/setipv4sourcefilter.c: Likewise.
19680 * inet/setsourcefilter.c: Likewise.
19681 * inet/test-inet6_opt.c: Likewise.
19682 * inet/tst-network.c: Likewise.
19683 * locale/C-collate.c: Likewise.
19684 * locale/C-ctype.c: Likewise.
19685 * locale/C-time.c: Likewise.
19686 * locale/C-translit.h: Likewise.
19687 * locale/loadarchive.c: Likewise.
19688 * locale/programs/3level.h: Likewise.
19689 * locale/programs/charmap.c: Likewise.
19690 * locale/programs/charmap.h: Likewise.
19691 * locale/programs/ld-address.c: Likewise.
19692 * locale/programs/ld-collate.c: Likewise.
19693 * locale/programs/ld-ctype.c: Likewise.
19694 * locale/programs/ld-identification.c: Likewise.
19695 * locale/programs/ld-measurement.c: Likewise.
19696 * locale/programs/ld-messages.c: Likewise.
19697 * locale/programs/ld-monetary.c: Likewise.
19698 * locale/programs/ld-name.c: Likewise.
19699 * locale/programs/ld-numeric.c: Likewise.
19700 * locale/programs/ld-paper.c: Likewise.
19701 * locale/programs/ld-telephone.c: Likewise.
19702 * locale/programs/ld-time.c: Likewise.
19703 * locale/programs/linereader.c: Likewise.
19704 * locale/programs/locale.c: Likewise.
19705 * locale/programs/locarchive.c: Likewise.
19706 * locale/programs/locfile.h: Likewise.
19707 * locale/programs/repertoire.c: Likewise.
19708 * locale/programs/simple-hash.c: Likewise.
19709 * locale/programs/simple-hash.h: Likewise.
19710 * malloc/memusage.c: Likewise.
19711 * malloc/memusagestat.c: Likewise.
19712 * nis/nis_defaults.c: Likewise.
19713 * nis/nis_hash.c: Likewise.
19714 * nis/nis_print.c: Likewise.
19715 * nis/nis_xdr.c: Likewise.
19716 * nscd/connections.c: Likewise.
19717 * nscd/hstcache.c: Likewise.
19718 * nscd/nscd_gethst_r.c: Likewise.
19719 * nscd/nscd_getserv_r.c: Likewise.
19720 * nscd/nscd_helper.c: Likewise.
19721 * nscd/servicescache.c: Likewise.
19722 * nss/makedb.c: Likewise.
19723 * nss/nss_db/db-XXX.c: Likewise.
19724 * nss/nss_db/db-initgroups.c: Likewise.
19725 * nss/nss_db/db-netgrp.c: Likewise.
19726 * nss/nss_files/files-network.c: Likewise.
19727 * nss/nss_files/files-parse.c: Likewise.
19728 * posix/bug-regex5.c: Likewise.
19729 * posix/fnmatch_loop.c: Likewise.
19730 * posix/regcomp.c: Likewise.
19731 * posix/regexec.c: Likewise.
19732 * posix/tst-rfc3484-2.c: Likewise.
19733 * posix/tst-rfc3484-3.c: Likewise.
19734 * posix/tst-rfc3484.c: Likewise.
19735 * resolv/nss_dns/dns-canon.c: Likewise.
19736 * resolv/nss_dns/dns-network.c: Likewise.
19737 * resolv/res_init.c: Likewise.
19738 * resolv/res_mkquery.c: Likewise.
19739 * resolv/tst-aton.c: Likewise.
19740 * stdlib/cxa_atexit.c: Likewise.
19741 * stdlib/cxa_finalize.c: Likewise.
19742 * stdlib/gen-fpioconst.c: Likewise.
19743 * stdlib/strtol_l.c: Likewise.
19744 * string/tst-endian.c: Likewise.
19745 * sunrpc/auth_des.c: Likewise.
19746 * sunrpc/clnt_udp.c: Likewise.
19747 * sunrpc/rtime.c: Likewise.
19748 * sunrpc/svcauth_des.c: Likewise.
19749 * sunrpc/xdr.c: Likewise.
19750 * sunrpc/xdr_intXX_t.c: Likewise.
19751 * sunrpc/xdr_rec.c: Likewise.
19752 * sysdeps/generic/ldconfig.h: Likewise.
19753 * sysdeps/generic/ldsodefs.h: Likewise.
19754 * sysdeps/generic/memusage.h: Likewise.
19755 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19765 * sysdeps/posix/getaddrinfo.c: Likewise.
19766 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19767 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19768 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19769 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19770 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19771 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19772 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19773 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19774 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19775 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19776 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19777 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19778 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19779 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19780 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19781 * sysdeps/x86_64/dl-tls.h: Likewise.
19782 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19783 * time/alt_digit.c: Likewise.
19784 * time/era.c: Likewise.
19785 * wcsmbs/tst-c16c32-1.c: Likewise.
19787 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19789 * math/libm-test.inc (struct test_sincos_data): New type.
19790 (RUN_TEST_LOOP_sincos): New macro.
19791 (sincos_test_data): New variable.
19792 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19794 2013-05-16 Richard Henderson <rth@redhat.com>
19796 * math/atest-exp2.c (LIMB64): New macro.
19797 (CONSTSZ): New macro.
19798 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19800 (print_mpn_fp): ... to function scope.
19801 (read_mpn_hex): Remove.
19802 (get_log2): Remove.
19803 (exp2_mpn): Use mp_log2.
19804 (main): Use mp_exp1.
19806 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19808 * math/libm-test.inc: Remove comment about not testing "inexact"
19810 (INEXACT_EXCEPTION): New macro.
19811 (NO_INEXACT_EXCEPTION): Likewise.
19812 (INVALID_EXCEPTION_OK): Update value.
19813 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19814 (OVERFLOW_EXCEPTION_OK): Likewise.
19815 (UNDERFLOW_EXCEPTION_OK): Likewise.
19816 (IGNORE_ZERO_INF_SIGN): Likewise.
19817 (ERRNO_UNCHANGED): Likewise.
19818 (ERRNO_EDOM): Likewise.
19819 (ERRNO_ERANGE): Likewise.
19820 (test_exceptions): Handle testing "inexact" exceptions.
19821 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19822 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19823 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19824 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19826 (rint_towardzero_test_data): Likewise.
19827 (rint_downward_test_data): Likewise.
19828 (rint_upward_test_data): Likewise.
19830 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19831 with OVERFLOW_EXCEPTION.
19832 (exp10_test_data): Likewise.
19833 (exp2_test_data): Likewise.
19834 (expm1_test_data): Likewise.
19835 (lgamma_test_data): Likewise.
19836 (pow_test_data): Likewise.
19837 (tgamma_test_data): Likewise.
19838 (yn_test_data): Remove duplicate test of overflow.
19840 * math/libm-test.inc (struct test_cc_c_data): New type.
19841 (RUN_TEST_LOOP_cc_c): New macro.
19842 (cpow_test_data): New variable.
19843 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19845 * math/libm-test.inc (struct test_f_L_data): New type.
19846 (RUN_TEST_LOOP_f_L): New macro.
19847 (llrint_test_data): New variable.
19848 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19849 (llrint_tonearest_test_data): New variable.
19850 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19851 (llrint_towardzero_test_data): New variable.
19852 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19853 (llrint_downward_test_data): New variable.
19854 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19855 (llrint_upward_test_data): New variable.
19856 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19857 (llround_test_data): New variable.
19858 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19860 2013-05-13 Peter Collingbourne <pcc@google.com>
19862 * math/atest-exp2.c (get_log2): Remove const attribute.
19864 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19866 * math/libm-test.inc (struct test_f_l_data): New type.
19867 (RUN_TEST_LOOP_f_l): New macro.
19868 (lrint_test_data): New variable.
19869 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19870 (lrint_tonearest_test_data): New variable.
19871 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19872 (lrint_towardzero_test_data): New variable.
19873 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19874 (lrint_downward_test_data): New variable.
19875 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19876 (lrint_upward_test_data): New variable.
19877 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19878 (lround_test_data): New variable.
19879 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19881 2013-05-15 Peter Collingbourne <pcc@google.com>
19883 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19884 (EXTRACT_WORDS64) Use where appropriate.
19885 (INSERT_WORDS64) Likewise.
19887 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19888 constraints with x constraints.
19889 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19891 * malloc/obstack.c (_obstack_compat): Add initializer.
19893 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19895 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19896 si_trapno and add si_addr_lsb to _sifields.sigfault.
19897 (si_trapno): Remove macro.
19898 (si_addr_lsb): Define new macro.
19899 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19901 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19903 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19904 instead of TEST_f_l.
19905 (llrint_test_tonearest): Likewise.
19906 (llrint_test_towardzero): Likewise.
19907 (llrint_test_downward): Likewise.
19908 (llrint_test_upward): Likewise.
19909 (llround_test): Likewise.
19911 * math/libm-test.inc (struct test_f_i_data): Add comment.
19912 (RUN_TEST_LOOP_f_b): New macro.
19913 (RUN_TEST_LOOP_f_b_tg): Likewise.
19914 (finite_test_data): New variable.
19915 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19916 (isfinite_test_data): New variable.
19917 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19918 (isinf_test_data): New variable.
19919 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19920 (isnan_test_data): New variable.
19921 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19922 (isnormal_test_data): New variable.
19923 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19924 (issignaling_test_data): New variable.
19925 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19926 (signbit_test_data): New variable.
19927 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19929 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19930 with INVALID_EXCEPTION.
19931 (acosh_test_data): Likewise.
19932 (asin_test_data): Likewise.
19933 (atanh_test_data): Likewise.
19934 (fmod_test_data): Likewise.
19935 (log_test_data): Likewise.
19936 (log10_test_data): Likewise.
19937 (log2_test_data): Likewise.
19938 (pow_test_data): Likewise.
19939 (sqrt_test_data): Likewise.
19940 (y0_test_data): Likewise.
19941 (y1_test_data): Likewise.
19942 (yn_test_data): Likewise.
19944 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19947 * math/libm-test.inc (struct test_ff_i_data): New type.
19948 (RUN_TEST_LOOP_ff_i_tg): New macro.
19949 (isgreater_test_data): New variable.
19950 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19951 (isgreaterequal_test_data): New variable.
19952 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19953 (isless_test_data): New variable.
19954 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19955 (islessequal_test_data): New variable.
19956 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19957 (islessgreater_test_data): New variable.
19958 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19959 (isunordered_test_data): New variable.
19960 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19962 2013-05-14 David S. Miller <davem@davemloft.net>
19964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19966 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19968 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19970 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19972 (struct test_f_i_data): Change type of max_ulp to int.
19974 * math/libm-test.inc (test_ffI_f1_data): New type.
19975 (RUN_TEST_LOOP_ffI_f1): New macro.
19976 (remquo_test_data): New variable.
19977 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19979 * setjmp/tst-setjmp-fp.c: New file.
19980 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19981 (link-libm): New variable.
19982 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19984 * math/libm-test.inc (struct test_f_i_data): New type.
19985 (RUN_TEST_LOOP_f_i): New macro.
19986 (RUN_TEST_LOOP_f_i_tg): Likewise.
19987 (fpclassify_test_data): New variable.
19988 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19989 (ilogb_test_data): New variable.
19990 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19992 * math/libm-test.inc (scalbln_test): Correct function name in END
19995 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19996 (RUN_TEST_LOOP_fI_f1): New macro.
19997 (frexp_test_data): New variable.
19998 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20000 * math/libm-test.inc (struct test_fF_f1_data): New type.
20001 (RUN_TEST_LOOP_fF_f1): New macro.
20002 (modf_test_data): New variable.
20003 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20005 * math/libm-test.inc (struct test_f_f1_data): New type.
20006 (RUN_TEST_LOOP_f_f1): New macro.
20007 (gamma_test_data): New variable.
20008 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20009 (lgamma_test_data): New variable.
20010 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20012 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20014 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20015 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20016 (main): Comment "tls" pseudo-hwcap.
20018 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20020 * math/libm-test.inc (struct test_fl_f_data): New type.
20021 (RUN_TEST_LOOP_fl_f): New variable.
20022 (scalbln_test_data): New variable.
20023 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20025 * math/libm-test.inc (struct test_fi_f_data): New type.
20026 (RUN_TEST_LOOP_fi_f): New macro.
20027 (ldexp_test_data): New variable.
20028 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20029 (scalbn_test_data): New variable.
20030 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20032 * math/libm-test.inc (struct test_c_f_data): New type.
20033 (RUN_TEST_LOOP_c_f): New macro.
20034 (cabs_test_data): New variable.
20035 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20036 (carg_test_data): New variable.
20037 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20038 (cimag_test_data): New variable.
20039 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20040 (creal_test_data): New variable.
20041 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20043 * math/libm-test.inc (struct test_if_f_data): New type.
20044 (RUN_TEST_LOOP_if_f): New macro.
20045 (jn_test_data): New variable.
20046 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20047 (yn_test_data): New variable.
20048 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20050 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20052 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20054 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20055 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20057 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20059 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20060 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20061 (bench-deps): Add bench-timing.h.
20062 * benchtests-bench-skeleton.c: Include bench-timing.h.
20063 (main): Use TIMING_* macros instead of clock_gettime.
20064 * benchtests/bench-timing.h: New file.
20067 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20068 Renamed from _LIB_VERSION.
20069 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20071 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20073 * math/libm-test.inc (struct test_fff_f_data): New type.
20074 (RUN_TEST_LOOP_fff_f): New macro.
20075 (fma_test_data): New variable.
20076 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20077 (fma_towardzero_test_data): New variable.
20078 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20079 (fma_downward_test_data): New variable.
20080 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20081 (fma_upward_test_data): New variable.
20082 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20084 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20085 (struct test_c_c_data): New type.
20086 (RUN_TEST_LOOP_c_c): New macro.
20087 (cacos_test_data): New variable.
20088 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20089 (cacosh_test_data): New variable.
20090 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20091 (casin_test_data): New variable.
20092 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20093 (casinh_test_data): New variable.
20094 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20095 (catan_test_data): New variable.
20096 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20097 (catanh_test_data): New variable.
20098 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20099 (ccos_test_data): New variable.
20100 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20101 (ccosh_test_data): New variable.
20102 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20103 (cexp_test_data): New variable.
20104 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20105 (clog_test_data): New variable.
20106 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20107 (clog10_test_data): New variable.
20108 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20109 (conj_test_data): New variable.
20110 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20111 (cproj_test_data): New variable.
20112 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20113 (csin_test_data): New variable.
20114 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20115 (csinh_test_data): New variable.
20116 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20117 (csqrt_test_data): New variable.
20118 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20119 (ctan_test_data): New variable.
20120 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20121 (ctan_tonearest_test_data): New variable.
20122 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20123 (ctan_towardzero_test_data): New variable.
20124 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20125 (ctan_downward_test_data): New variable.
20126 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20127 (ctan_upward_test_data): New variable.
20128 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20129 (ctanh_test_data): New variable.
20130 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20131 (ctanh_tonearest_test_data): New variable.
20132 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20133 (ctanh_towardzero_test_data): New variable.
20134 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20135 (ctanh_downward_test_data): New variable.
20136 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20137 (ctanh_upward_test_data): New variable.
20138 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20139 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20142 * math/libm-test.inc (struct test_ff_f_data): New type.
20143 (struct test_ff_f_data_nexttoward): Likewise.
20144 (RUN_TEST_LOOP_2_f): New macro.
20145 (RUN_TEST_LOOP_ff_f): Likewise.
20146 (atan2_test_data): New variable.
20147 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20148 (copysign_test_data): New variable.
20149 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20150 (fdim_test_data): New variable.
20151 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20152 (fmax_test_data): New variable.
20153 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20154 (fmin_test_data): New variable.
20155 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20156 (fmod_test_data): New variable.
20157 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20158 (hypot_test_data): New variable.
20159 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20160 (nextafter_test_data): New variable.
20161 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20162 (nexttoward_test_data): New variable.
20163 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20164 (pow_test_data): New variable.
20165 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20166 (pow_tonearest_test_data): New variable.
20167 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20168 (pow_towardzero_test_data): New variable.
20169 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20170 (pow_downward_test_data): New variable.
20171 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20172 (pow_upward_test_data): New variable.
20173 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20174 (remainder_test_data): New variable.
20175 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20176 (scalb_test_data): New variable.
20177 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20178 * sysdeps/i386/fpu/libm-test-ulps: Update.
20180 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20182 * math/libm-test.inc (fma_test): Use max_value instead of local
20184 (nextafter_test): Likewise.
20186 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20187 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20188 (acos_downward_test_data): New variable.
20189 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20190 (acos_upward_test_data): New variable.
20191 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20192 (acosh_test_data): New variable.
20193 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20194 (asin_test_data): New variable.
20195 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20196 (asin_tonearest_test_data): New variable.
20197 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20198 (asin_towardzero_test_data): New variable.
20199 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20200 (asin_downward_test_data): New variable.
20201 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20202 (asin_upward_test_data): New variable.
20203 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20204 (asinh_test_data): New variable.
20205 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20206 (atan_test_data): New variable.
20207 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20208 (atanh_test_data): New variable.
20209 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20210 (cbrt_test_data): New variable.
20211 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20212 (ceil_test_data): New variable.
20213 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20214 (cos_test_data): New variable.
20215 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20216 (cos_tonearest_test_data): New variable.
20217 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20218 (cos_towardzero_test_data): New variable.
20219 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20220 (cos_downward_test_data): New variable.
20221 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20222 (cos_upward_test_data): New variable.
20223 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20224 (cosh_test_data): New variable.
20225 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20226 (cosh_tonearest_test_data): New variable.
20227 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20228 (cosh_towardzero_test_data): New variable.
20229 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20230 (cosh_downward_test_data): New variable.
20231 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20232 (cosh_upward_test_data): New variable.
20233 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20234 (erf_test_data): New variable.
20235 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20236 (erfc_test_data): New variable.
20237 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20238 (exp_test_data): New variable.
20239 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20240 (exp_tonearest_test_data): New variable.
20241 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20242 (exp_towardzero_test_data): New variable.
20243 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20244 (exp_downward_test_data): New variable.
20245 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20246 (exp_upward_test_data): New variable.
20247 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20248 (exp10_test_data): New variable.
20249 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20250 (exp2_test_data): New variable.
20251 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20252 (expm1_test_data): New variable.
20253 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20254 (fabs_test_data): New variable.
20255 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20256 (floor_test_data): New variable.
20257 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20258 (j0_test_data): New variable.
20259 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20260 (j1_test_data): New variable.
20261 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20262 (log_test_data): New variable.
20263 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20264 (log10_test_data): New variable.
20265 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20266 (log1p_test_data): New variable.
20267 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20268 (log2_test_data): New variable.
20269 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20270 (logb_test_data): New variable.
20271 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20272 (logb_downward_test_data): New variable.
20273 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20274 (nearbyint_test_data): New variable.
20275 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20276 (rint_test_data): New variable.
20277 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20278 (rint_tonearest_test_data): New variable.
20279 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20280 (rint_towardzero_test_data): New variable.
20281 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20282 (rint_downward_test_data): New variable.
20283 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20284 (rint_upward_test_data): New variable.
20285 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20286 (round_test_data): New variable.
20287 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20288 (sin_test_data): New variable.
20289 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20290 (sin_tonearest_test_data): New variable.
20291 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20292 (sin_towardzero_test_data): New variable.
20293 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20294 (sin_downward_test_data): New variable.
20295 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20296 (sin_upward_test_data): New variable.
20297 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20298 (sinh_test_data): New variable.
20299 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20300 (sinh_tonearest_test_data): New variable.
20301 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20302 (sinh_towardzero_test_data): New variable.
20303 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20304 (sinh_downward_test_data): New variable.
20305 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20306 (sinh_upward_test_data): New variable.
20307 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20308 (sqrt_test_data): New variable.
20309 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20310 (tan_test_data): New variable.
20311 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20312 (tan_tonearest_test_data): New variable.
20313 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20314 (tan_towardzero_test_data): New variable.
20315 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20316 (tan_downward_test_data): New variable.
20317 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20318 (tan_upward_test_data): New variable.
20319 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20320 (tanh_test_data): New variable.
20321 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20322 (tgamma_test_data): New variable.
20323 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20324 (trunc_test_data): New variable.
20325 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20326 (y0_test_data): New variable.
20327 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20328 (y1_test_data): New variable.
20329 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20330 (significand_test_data): New variable.
20331 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20333 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20336 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20338 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20340 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20342 2013-05-10 Andreas Jaeger <aj@suse.de>
20345 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20346 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20348 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20350 * math/gen-libm-test.pl (adjust_arg): New function.
20351 (special_functions): Handle generating output in both functions
20353 (parse_args): Likewise.
20354 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20355 $in_func argument to parse_args.
20356 * math/libm-test.inc (struct test_f_f_data): New type.
20357 (IF_ROUND_INIT_): New macro.
20358 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20359 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20360 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20361 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20362 (ROUND_RESTORE_): Likewise.
20363 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20364 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20365 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20366 (ROUND_RESTORE_FE_UPWARD): Likewise.
20367 (RUN_TEST_LOOP_f_f): New macro.
20368 (acos_test_data): New variable.
20369 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20370 (acos_tonearest_test_data): New variable.
20371 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20373 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20375 * benchtests/bench-skeleton.c (startup): Fix coding style.
20377 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20380 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20381 negative infinity argument.
20382 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20383 negative infinity argument.
20384 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20385 negative infinity argument.
20386 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20389 2013-05-10 Florian Weimer <fweimer@redhat.com>
20391 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20392 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20393 * iconv/iconv_prog.c (main): Likewise.
20394 * locale/programs/charmap-dir.c (charmap_readdir)
20395 (fopen_uncompressed): Likewise.
20396 * locale/programs/locfile.c (siblings_uncached)
20397 (write_locale_data): Use lstat64 instead of lstat.
20398 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20401 2013-05-10 Andreas Jaeger <aj@suse.de>
20404 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20406 Include <locale.h>.
20408 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20410 * elf/dl-close.c (_dl_close_worker): Add comments.
20412 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20415 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20417 (__ieee754_rem_pio2l): Update comments.
20420 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20422 (__ieee754_rem_pio2l): Update comments.
20424 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20425 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20427 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20430 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20431 (M_PI_34_LOG10El): Likewise.
20432 (M_PI2_LOG10El): Likewise.
20433 (M_PI4_LOG10El): Likewise.
20434 (M_PI_LOG10El): Likewise.
20436 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20440 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20442 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20443 (MINUS_ZERO_INIT): Likewise.
20444 (PLUS_INFTY_INIT): Likewise.
20445 (MINUS_INFTY_INIT): Likewise.
20446 (QNAN_VALUE_INIT): Likewise.
20447 (MAX_VALUE_INIT): Likewise.
20448 (MIN_VALUE_INIT): Likewise.
20449 (MIN_SUBNORM_VALUE_INIT): Likewise.
20450 (plus_zero): Initialize with PLUS_ZERO_INIT.
20451 (minus_zero): Initialize with MINUS_ZERO_INIT.
20452 (plus_infty): Initialize with PLUS_INFTY_INIT.
20453 (minus_infty): Initialize with MINUS_INFTY_INIT.
20454 (qnan_value): Initialize with QNAN_VALUE_INIT.
20455 (max_value): Initialize with MAX_VALUE_INIT.
20456 (min_value): Initialize with MIN_VALUE_INIT.
20457 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20459 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20460 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20461 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20462 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20464 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20465 (RUN_TEST_2_f): Likewise.
20466 (RUN_TEST_ff_f): Likewise.
20467 (RUN_TEST_fi_f): Likewise.
20468 (RUN_TEST_fl_f): Likewise.
20469 (RUN_TEST_fff_f): Likewise.
20470 (RUN_TEST_c_f): Likewise.
20471 (RUN_TEST_f_f1): Likewise.
20472 (RUN_TEST_fF_f1): Likewise.
20473 (RUN_TEST_fI_f1): Likewise.
20474 (RUN_TEST_ffI_f1): Likewise.
20475 (RUN_TEST_c_c): Likewise.
20476 (RUN_TEST_cc_c): Likewise.
20477 (RUN_TEST_f_i): Likewise.
20478 (RUN_TEST_f_i_tg): Likewise.
20479 (RUN_TEST_ff_i_tg): Likewise.
20480 (RUN_TEST_f_b): Likewise.
20481 (RUN_TEST_f_b_tg): Likewise.
20482 (RUN_TEST_f_l): Likewise.
20483 (RUN_TEST_f_L): Likewise.
20484 (RUN_TEST_sincos): Likewise.
20485 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20486 whether to show exceptions. Do not include ");\n" in return
20488 (special_functions): Output call to RUN_TEST_sincos instead of
20489 check_float calls. Update calls to new_test.
20490 (parse_args): Output call to single RUN_TEST_* macro instead of
20491 check_* calls and other assignments. Update calls to new_test.
20497 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20498 input to result for tgamma overflow.
20499 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20500 (gamma_coeff): New variable.
20501 (NCOEFF): New macro.
20502 (gamma_positive): New function.
20503 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20504 underflow here. Use gamma_positive instead of exp (lgamma) for
20506 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20507 (gamma_coeff): New variable.
20508 (NCOEFF): New macro.
20509 (gammaf_positive): New function.
20510 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20511 underflow here. Use gamma_positive instead of exp (lgamma) for
20513 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20514 (gamma_coeff): New variable.
20515 (NCOEFF): New macro.
20516 (gammal_positive): New function.
20517 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20518 underflow here. Use gamma_positive instead of exp (lgamma) for
20520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20521 (gamma_coeff): New variable.
20522 (NCOEFF): New macro.
20523 (gammal_positive): New function.
20524 (__ieee754_gammal_r): Handle positive infinity, overflow and
20525 underflow here. Handle NaN the same as positive infinity. Remove
20526 check x < 0xffffffff for negative integers. Use gamma_positive
20527 instead of exp (lgamma) for other arguments.
20528 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20529 (gamma_coeff): New variable.
20530 (NCOEFF): New macro.
20531 (gammal_positive): New function.
20532 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20533 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20534 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20535 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20536 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20537 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20538 * sysdeps/generic/math_private.h (__gamma_productf): New
20540 (__gamma_product): Likewise.
20541 (__gamma_productl): Likewise.
20542 * math/Makefile (libm-calls): Add gamma_product.
20543 * math/libm-test.inc (tgamma_test): Add more tests.
20544 * sysdeps/i386/fpu/libm-test-ulps: Update.
20545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20547 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20549 * benchtests/bench-skeleton.c (main): Preheat CPU.
20551 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20553 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20555 2013-05-07 Roland McGrath <roland@hack.frob.com>
20557 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20558 and _dl_skip_args_internal.
20560 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20562 * manual/message.texi (Message Translation): Talk about users.
20563 Message to key mapping impacts design.
20565 2013-05-06 Roland McGrath <roland@hack.frob.com>
20567 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20569 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20571 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20572 * sysdeps/wordsize-64/glob64.c: ... here.
20574 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20575 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20578 * debug/getlogin_r_chk.c: Moved to ...
20579 * login/getlogin_r_chk.c: ... here.
20580 * debug/Makefile (routines): Move getlogin_r_chk to ...
20581 * login/Makefile (routines): ... here.
20582 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20583 * login/Versions (libc: GLIBC_2.4): ... here.
20585 * io/poll.c (__poll): Renamed from poll.
20586 Add libc_hidden_def.
20587 (poll): Define as weak alias.
20589 * debug/ptsname_r_chk.c: Moved to ...
20590 * login/ptsname_r_chk.c: ... here.
20591 * debug/Makefile (routines): Move ptsname_r_chk to ...
20592 * login/Makefile (routines): ... here.
20593 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20594 * login/Versions (libc: GLIBC_2.4): ... here.
20596 * posix/getlogin.c: Moved to ...
20597 * login/getlogin.c: ... here.
20598 * posix/getlogin_r.c: Moved to ...
20599 * login/getlogin_r.c: ... here.
20600 * posix/getlogin_r.c: Moved to ...
20601 * login/getlogin_r.c: ... here.
20602 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20603 * login/Makefile (routines): ... here.
20604 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20605 * login/Versions (libc: GLIBC_2.0): ... here.
20607 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20608 (setrlimit): Define as weak alias.
20610 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20611 Call __ names for open, ftruncate, and close.
20612 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20613 (truncate): Define as weak alias.
20615 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20617 * math/gen-libm-test.pl (parse_args): Initialize x before each
20618 test of frexp, modf and remquo.
20620 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20621 test signgam value.
20623 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20627 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20629 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20631 2013-05-06 Roland McGrath <roland@hack.frob.com>
20633 * elf/dl-writev.h: New file.
20634 * elf/dl-misc.c: Include it.
20635 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20636 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20638 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20640 * math/libm-test.inc (noXFails): Remove variable.
20641 (noXPasses): Likewise.
20642 (BUILD_COMPLEX_INT): Remove macro.
20643 (print_screen): Remove xfail argument.
20644 (print_screen_max_error): Likewise.
20645 (update_stats): Likewise.
20646 (print_max_error): Likewise. Update calls to other affected
20648 (print_complex_max_error): Likewise.
20649 (test_single_exception): Update calls to print_screen.
20650 (test_single_errno): Likewise.
20651 (check_float_internal): Remove xfail argument. Update calls to
20652 other affected functions.
20653 (check_float): Likewise.
20654 (check_complex): Likewise.
20655 (check_int): Likewise.
20656 (check_long): Likewise.
20657 (check_bool): Likewise.
20658 (check_longlong): Likewise.
20659 (main): Don't print noXFails and noXPasses.
20660 * math/gen-libm-test.pl (top level): Don't mention expected
20661 failure handling in comment.
20662 (new_test): Don't handle expected failures.
20663 (parse_args): Don't mention expected failure handling in comment.
20664 (generate_testfile): Don't handle expected failures.
20665 (parse_ulps): Likewise.
20666 (print_ulps_file): Likewise.
20667 (get_failure): Remove function.
20668 (output_test): Don't handle expected failures.
20669 * make/README.libm-test: Don't mention expected failure handling.
20671 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20672 (minus_zero): Likewise.
20673 (plus_infty): Likewise.
20674 (minus_infty): Likewise.
20675 (qnan_value): Likewise.
20676 (max_value): Likewise.
20677 (min_value): Likewise.
20678 (min_subnorm_value): Likewise.
20679 (initialize): Do not initialize those variables dynamically.
20681 2013-05-03 Roland McGrath <roland@hack.frob.com>
20683 * io/open.c (__open_2): Moved to ...
20684 * io/open_2.c: ... this new file.
20685 * io/open64.c (__open64_2): Moved to ...
20686 * io/open64_2.c: ... this new file.
20687 * io/openat.c (__openat_2): Moved to ...
20688 * io/openat_2.c: ... this new file.
20689 * io/openat64.c (__openat64_2): Moved to ...
20690 * io/openat64_2.c: ... this new file.
20691 * io/Makefile (routines): Add them.
20692 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20693 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20694 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20695 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20696 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20697 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20698 (__openat64): Add hidden_ver.
20699 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20700 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20702 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20703 Separately conditionalize setting of GLRO(dl_sysinfo) so
20704 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20705 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20707 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20709 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20710 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20712 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20713 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20714 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20715 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20716 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20718 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20720 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20721 test signgam value.
20723 * math/libm-test.inc (hypot_test): Do not use
20724 IGNORE_ZERO_INF_SIGN.
20726 2013-05-03 Andreas Jaeger <aj@suse.de>
20728 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20730 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20731 (PF_MAX): Adjust for VSOCK change.
20733 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20737 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20740 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20741 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20742 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20744 2013-05-02 David S. Miller <davem@davemloft.net>
20746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20748 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20750 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20752 2013-05-01 Roland McGrath <roland@hack.frob.com>
20754 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20756 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20759 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20760 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20761 Use __attribute__ ((__gnu_inline__)).
20762 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20763 Don't use __attribute__ ((__gnu_inline__)).
20765 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20768 * math/s_catan.c (__catan): Handle small real or imaginary part of
20769 input specially to avoid spurious underflow.
20770 * math/s_catanf.c (__catanf): Likewise.
20771 * math/s_catanh.c (__catanh): Likewise.
20772 * math/s_catanhf.c (__catanhf): Likewise.
20773 * math/s_catanhl.c (__catanhl): Likewise.
20774 * math/s_catanl.c (__catanl): Likewise.
20775 * math/libm-test.inc (catan_test): Add more tests.
20776 (catanh_test): Likewise.
20777 * sysdeps/i386/fpu/libm-test-ulps: Update.
20778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20780 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20784 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20787 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20788 accurately for denominator in atan2.
20789 * math/s_catanf.c (__catanf): Likewise.
20790 * math/s_catanh.c (__catanh): Likewise.
20791 * math/s_catanhf.c (__catanhf): Likewise.
20792 * math/s_catanhl.c (__catanhl): Likewise.
20793 * math/s_catanl.c (__catanl): Likewise.
20794 * math/libm-test.inc (catan_test): Add more tests.
20795 (catanh_test): Likewise.
20796 * sysdeps/i386/fpu/libm-test-ulps: Update.
20797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20799 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20801 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20803 * benchtests/Makefile (bench): Remove slow benchmarks.
20804 * benchtests/atan-inputs: Add slow benchmark inputs.
20805 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20806 (BENCH_FUNC): Accept variant offset.
20808 * benchtests/bench-skeleton.c (main): Run benchmark for each
20810 * benchtests/cos-inputs: Add slow benchmark inputs.
20811 * benchtests/exp-inputs: Likewise.
20812 * benchtests/pow-inputs: Likewise.
20813 * benchtests/sin-inputs: Likewise.
20814 * benchtests/slowatan-inputs: Remove.
20815 * benchtests/slowatan.c: Remove.
20816 * benchtests/slowcos-inputs: Remove.
20817 * benchtests/slowcos.c: Remove.
20818 * benchtests/slowexp-inputs: Remove.
20819 * benchtests/slowexp.c: Remove.
20820 * benchtests/slowpow-inputs: Remove.
20821 * benchtests/slowpow.c: Remove.
20822 * benchtests/slowsin-inputs: Remove.
20823 * benchtests/slowsin.c: Remove.
20824 * benchtests/slowtan-inputs: Remove.
20825 * benchtests/slowtan.c: Remove.
20826 * benchtests/tan-inputs: Add slow benchmark inputs.
20827 * scripts/bench.pl: Parse comments and directives.
20829 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20831 ($(objpfx)bench-%.c): Remove *-ITER.
20832 * benchtests/bench-modf.c: Remove definition of ITER.
20833 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20834 (main): Loop for DURATION seconds instead of fixed number of
20836 * scripts/bench.pl: Don't expect iterations in parameters.
20838 2013-04-29 Roland McGrath <roland@hack.frob.com>
20840 * io/fchdir.c (__fchdir): Renamed from fchdir.
20841 (fchdir): Define as weak alias.
20843 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20845 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20846 (ERRNO_EDOM): Likewise.
20847 (ERRNO_ERANGE): Likewise.
20848 (noErrnoTests): New variable.
20849 (init_max_error): Set errno to 0.
20850 (test_single_errno): New function.
20851 (test_errno): Likewise.
20852 (check_float_internal): Call test_errno. Set errno to 0.
20853 (check_complex): Refer to errno tests in comment.
20854 (check_int): Call test_errno. Set errno to 0.
20855 (check_long): Likewise.
20856 (check_bool): Likewise.
20857 (check_longlong): Likewise.
20858 (cos_test): Use ERRNO_* flags for errno tests instead of
20860 (expm1_test): Likewise.
20861 (fmod_test): Likewise.
20862 (ilogb_test): Likewise.
20863 (lgamma_test): Likewise.
20864 (pow_test): Likewise.
20865 (remainder_test): Likewise.
20866 (sin_test): Likewise.
20867 (tan_test): Likewise.
20868 (yn_test): Likewise.
20869 (initialize): Set errno to 0.
20870 (main): Print number of errno tests.
20871 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20873 2013-04-29 Andreas Jaeger <aj@suse.de>
20876 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20880 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20881 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20885 * stdlib/random.c (__initstate): Return NULL if
20889 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20890 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20893 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20897 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20899 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20900 of individual tests.
20901 (casin_test): Likewise.
20902 (casinh_test): Likewise.
20904 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20907 * math/s_catan.c (__catan): Handle arguments with large real or
20908 imaginary part separately without squaring.
20909 * math/s_catanf.c (__catanf): Likewise.
20910 * math/s_catanh.c (__catanh): Likewise.
20911 * math/s_catanhf.c (__catanhf): Likewise.
20912 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20914 (__catanhl): Handle arguments with large real or imaginary part
20915 separately without squaring.
20916 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20918 (__catanl): Handle arguments with large real or imaginary part
20919 separately without squaring.
20920 * math/libm-test.inc (catan_test): Add more tests.
20921 (catanh_test): Likewise.
20922 * sysdeps/i386/fpu/libm-test-ulps: Update.
20923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20925 2013-04-27 Andreas Jaeger <aj@suse.de>
20928 * stdlib/stdlib.h: Update guards for qecvt.
20929 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20932 2013-04-27 Allan McRae <allan@archlinux.org>
20934 * sysdeps/i386/fpu/libm-test-ulps: Update.
20936 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20939 * math/s_catan.c: Include <float.h>.
20940 (__catan): Ensure underflow exception occurs for underflowed
20942 * math/s_catanf.c: Include <float.h>.
20943 (__catanf): Ensure underflow exception occurs for underflowed
20945 * math/s_catanh.c: Include <float.h>.
20946 (__catanh): Ensure underflow exception occurs for underflowed
20948 * math/s_catanhf.c: Include <float.h>.
20949 (__catanhf): Ensure underflow exception occurs for underflowed
20951 * math/s_catanhl.c: Include <float.h>.
20952 (__catanhl): Ensure underflow exception occurs for underflowed
20954 * math/s_catanl.c: Include <float.h>.
20955 (__catanl): Ensure underflow exception occurs for underflowed
20957 * math/libm-test.inc (catan_test): Add more tests.
20958 (catanh_test): Likewise.
20961 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20962 underflowed result.
20963 * math/s_ccoshf.c (__ccoshf): Likewise.
20964 * math/s_ccoshl.c (__ccoshl): Likewise.
20965 * math/s_csin.c (__csin): Likewise.
20966 * math/s_csinf.c (__csinf): Likewise.
20967 * math/s_csinh.c (__csinh): Likewise.
20968 * math/s_csinhf.c (__csinhf): Likewise.
20969 * math/s_csinhl.c (__csinhl): Likewise.
20970 * math/s_csinl.c (__csinl): Likewise.
20971 * math/libm-test.inc (ccos_test): Add more tests.
20972 (ccosh_test): Likewise.
20973 (csin_test): Likewise.
20974 (csinh_test): Likewise.
20976 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20978 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20979 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20980 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20981 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20982 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20983 powerpc/power5+/fpu folders.
20984 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20987 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20991 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20993 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20994 additions to variable.
20995 [$(config-machine) = x86_64] (modules-names): Likewise.
20996 ($(objpfx)tst-audit3): Remove dependency.
20997 ($(objpfx)tst-audit3.out): Likewise.
20998 ($(objpfx)tst-audit4): Likewise.
20999 ($(objpfx)tst-audit4.out): Likewise.
21000 ($(objpfx)tst-audit5): Likewise.
21001 ($(objpfx)tst-audit5.out): Likewise.
21002 ($(objpfx)tst-audit6): Likewise.
21003 ($(objpfx)tst-audit6.out): Likewise.
21004 ($(objpfx)tst-audit7): Likewise.
21005 ($(objpfx)tst-audit7.out): Likewise.
21006 (tst-audit3-ENV): Remove variable.
21007 (tst-audit4-ENV): Likewise.
21008 (tst-audit5-ENV): Likewise.
21009 (tst-audit6-ENV): Likewise.
21010 (tst-audit7-ENV): Likewise.
21011 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21012 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21013 addition to variable.
21014 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21015 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21016 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21017 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21018 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21019 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21020 tst-audit3, tst-audit4 and tst-audit5.
21021 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21022 tst-audit6 and tst-audit7.
21023 [$(subdir) = elf] (modules-names): Add audit modules for those
21025 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21026 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21027 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21028 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21029 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21030 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21031 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21032 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21033 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21034 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21035 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21036 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21037 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21038 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21039 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21040 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21042 [$(subdir) = elf && $(config-cflags-avx) = yes]
21043 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21044 [$(subdir) = elf && $(config-cflags-avx) = yes]
21045 (CFLAGS-tst-auditmod4a.c): Likewise.
21046 [$(subdir) = elf && $(config-cflags-avx) = yes]
21047 (CFLAGS-tst-auditmod4b.c): Likewise.
21048 [$(subdir) = elf && $(config-cflags-avx) = yes]
21049 (CFLAGS-tst-auditmod6b.c): Likewise.
21050 [$(subdir) = elf && $(config-cflags-avx) = yes]
21051 (CFLAGS-tst-auditmod6c.c): Likewise.
21052 [$(subdir) = elf && $(config-cflags-avx) = yes]
21053 (CFLAGS-tst-auditmod7b.c): Likewise.
21054 * elf/tst-audit3.c: Move to ...
21055 * sysdeps/x86_64/tst-audit3.c: ... here.
21056 * elf/tst-audit4.c: Move to ...
21057 * sysdeps/x86_64/tst-audit4.c: ... here.
21058 * elf/tst-audit5.c: Move to ...
21059 * sysdeps/x86_64/tst-audit5.c: ... here.
21060 * elf/tst-audit6.c: Move to ...
21061 * sysdeps/x86_64/tst-audit6.c: ... here.
21062 * elf/tst-audit7.c: Move to ...
21063 * sysdeps/x86_64/tst-audit7.c: ... here.
21064 * elf/tst-auditmod3a.c: Move to ...
21065 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21066 * elf/tst-auditmod3b.c: Move to ...
21067 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21068 * elf/tst-auditmod4a.c: Move to ...
21069 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21070 * elf/tst-auditmod4b.c: Move to ...
21071 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21072 * elf/tst-auditmod5a.c: Move to ...
21073 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21074 * elf/tst-auditmod5b.c: Move to ...
21075 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21076 * elf/tst-auditmod6a.c: Move to ...
21077 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21078 * elf/tst-auditmod6b.c: Move to ...
21079 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21080 * elf/tst-auditmod6c.c: Move to ...
21081 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21082 * elf/tst-auditmod7a.c: Move to ...
21083 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21084 * elf/tst-auditmod7b.c: Move to ...
21085 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21087 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21090 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21091 define unconditionally.
21092 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21093 define unconditionally.
21094 (INT8_C, INT16_C, etc.): Likewise.
21096 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21098 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21099 __ehdr_start with hidden visibility.
21101 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21103 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21105 * math/libm-test.inc (cos_test): Use accurate hex constants.
21106 (sincost_test): Likewise.
21108 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21110 * math/libm-test.inc (catan_test): Add more tests.
21111 (catanh_test): Likewise.
21113 * math/s_catanf.c (__catanf): Use suffixed floating-point
21115 * math/s_catanhf.c (__catanhf): Likewise.
21116 * math/s_catanhl.c (__catanhl): Likewise.
21117 * math/s_catanl.c (__catanl): Likewise.
21120 * math/s_catan.c (__catan): Calculate imaginary part of result
21121 with log1p not log unless computing log of number close to 0.
21122 * math/s_catanf.c (__catanf): Likewise.
21123 * math/s_catanl.c (__catanl): Likewise.
21124 * math/s_catanh.c (__catanh): Calculate real part of result with
21125 log1p not log unless computing log of number close to 0.
21126 * math/s_catanhf.c (__catanhf): Likewise.
21127 * math/s_catanhl.c (__catanhl): Likewise.
21128 * math/libm-test.inc (catan_test): Add more tests.
21129 (catanh_test): Likewise.
21130 * sysdeps/i386/fpu/libm-test-ulps: Update.
21131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21133 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21135 * benchtests/Makefile: Mention files in which fast and slow
21136 paths of math functions are implemented.
21138 2013-04-23 Roland McGrath <roland@hack.frob.com>
21140 * sysdeps/posix/timespec_get.c: New file.
21142 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21144 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21146 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21148 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21149 powerpc/power5/fpu folders.
21150 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21151 * benchtests/Makefile: Add modf testcase.
21152 * benchtests/bench-modf.c: New file: Benchmark test for mo
21154 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21157 * time/Makefile (tests): Add tst-strptime-whitespace.
21158 * time/strptime_l.c (get_number): Use ISSPACE.
21159 (__strptime_internal): Likewise.
21160 * time/tst-strptime-whitespace.c: New test case.
21162 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21164 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21166 (_nss_files_init): Set it here.
21168 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21170 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21171 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21174 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21176 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21178 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21183 2013-04-21 David S. Miller <davem@davemloft.net>
21185 * po/ru.po: Update Russion translation from translation project.
21187 2013-04-17 Adam Conrad <adconrad@0c3.net>
21189 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21192 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21194 * configure.in: Remove i386 configure warning. Remove i386 case.
21195 * configure: Regenerate.
21196 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21197 Add example to error message.
21198 * sysdeps/i386/configure: Regenerate.
21200 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21202 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21204 * benchtests/cos-inputs: New file.
21205 * benchtests/slowcos-inputs: New file.
21206 * benchtests/slowcos.c: New file.
21207 * benchtests/slowtan-inputs: New file.
21208 * benchtests/slowtan.c: New file.
21209 * benchtests/tan-inputs: New file.
21211 2013-04-16 Roland McGrath <roland@hack.frob.com>
21213 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21216 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21218 * benchtests/Makefile: Include cppflags-iterator.mk to add
21219 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21221 * Makefile.in (bench-clean): New target.
21222 * benchtests/Makefile (bench-clean): Likewise.
21224 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21226 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21228 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21230 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21232 2013-04-15 Andreas Schwab <schwab@suse.de>
21234 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21236 * nscd/pwdcache.c (cache_addpw): Likewise.
21237 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21240 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21242 * benchtests/Makefile (bench): Write all output to
21243 bench-out.tmp together.
21245 2013-04-15 Andreas Schwab <schwab@suse.de>
21247 * nscd/nscd.c (main): Don't fork again after closing files.
21249 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21251 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21253 * benchtests/Rules (bench-deps): Collect dependencies into a
21254 single variable. Add Makefile to dependencies.
21255 ($(objpfx)bench-%.c): Depend on bench-deps.
21257 2013-04-12 Roland McGrath <roland@hack.frob.com>
21258 Xavier Roche <roche+kml2@exalead.com>
21261 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21262 just that it's a file descriptor.
21263 * manual/llio.texi (Synchronizing AIO Operations): Update description
21264 for EBADF error from aio_fsync.
21266 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21268 * Rules (bench): Move target definition...
21269 * benchtests/Makefile: ... here.
21271 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21273 * math/libm-test.inc (cos_test): Fix PI/2 test.
21274 (sincos_test): Likewise.
21275 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21276 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21278 2013-04-11 Andreas Schwab <schwab@suse.de>
21281 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21282 accept exponent character only when digits were seen.
21283 * stdio-common/Makefile (tests): Add bug26.
21284 * stdio-common/bug26.c: New file.
21287 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21290 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21292 * Makeconfig (rtld-prefix): Define built linker prefix.
21293 * Rules (run-bench): Use it.
21294 * math/Makefile (run-regen-ulps): Likewise.
21296 * Rules (bench): Remove eval.
21298 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21299 Roland McGrath <roland@hack.frob.com>
21300 Ondrej Bilka <neleai@seznam.cz>
21303 * time/getdate.c: Include ctype.h and alloca.h.
21304 (__getdate_r): Trim leading and trailing spaces of input.
21305 * time/tst-getdate.c (tests): Add tests with leading and
21308 2013-04-08 Roland McGrath <roland@hack.frob.com>
21311 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21312 when computing value.
21314 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21316 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21317 Use testrun.sh to run libm tests.
21320 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21322 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21325 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21327 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21329 * Makefile.in (regen-ulps): New target.
21330 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21331 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21332 [ifneq (no,$(PERL)] (regen-ulps): New target.
21333 [ifeq (no,$(PERL)] (regen-ulps): New target.
21334 * math/libm-test.inc (ulps_file_name): Define.
21335 (output_dir): New variable.
21336 (options): Add "output-dir" option.
21337 (parse_opt): Handle 'o' case.
21338 (main): If output_dir is non-NULL use it as a prefix
21340 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21342 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21344 [BZ #10060, #10062]
21345 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21346 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21347 fail configure if __sync_val_compare_and_swap is not inlined.
21348 * sysdeps/i386/configure: Regenerate.
21349 * configure.in: Build for i686 when configured for i386.
21350 * configure: Regenerate.
21351 * README: Remove i386 reference.
21353 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21355 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21358 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21360 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21361 (lmsnanval): New variables.
21362 (F): Add conversion tests.
21363 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21364 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21366 * stdio-common/tstdiomisc.c (F): Properly collect individual
21369 [BZ #14686, #15336]
21370 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21371 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21372 Instead, use input NaN values or generate a qNaN by arithmetic
21373 operation. Also fix bugs to comply with the standard.
21374 * math/libm-test.inc (remainder_test): Add more tests.
21376 [BZ #15335, #15342]
21377 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21379 input NaN values or generate a qNaN by arithmetic operation.
21381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21384 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21387 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21390 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21391 underflowed result.
21392 * math/s_cexpf.c (__cexpf): Likewise.
21393 * math/s_cexpl.c (__cexpl): Likewise.
21394 * math/libm-test.inc (cexp_test): Add more tests.
21396 2013-04-03 Andreas Schwab <schwab@suse.de>
21399 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21400 order arrays from heap if bigger than alloca cutoff.
21402 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21404 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21405 (SNAN_TESTS_double): Refer to GCC PR56831.
21406 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21409 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21411 * Rules (bench): Move bench.out after the run is complete.
21413 * Rules (bench): Echo currently running benchmark.
21415 * benchtests/Makefile (bench): Add atan and slowatan.
21416 * benchtests/atan-inputs: New file.
21417 * benchtests/slowatan-inputs: New file.
21418 * benchtests/slowatan.c: New file.
21420 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21425 * sysdeps/unix/sysv/linux/kernel-features.h
21426 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21427 __ASSUME_XFS_RESTRICTED_CHOWN.
21428 * sysdeps/unix/sysv/linux/pathconf.c
21429 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21430 Save and restore errno.
21432 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21435 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21436 arguments using __kernel_casinh.
21437 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21438 arguments using __kernel_casinhf.
21439 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21440 arguments using __kernel_casinhl.
21441 * math/libm-test.inc (cacosh_test): Add more tests.
21442 * sysdeps/i386/fpu/libm-test-ulps: Update.
21443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21445 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21447 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21450 * bench/Makefile (bench): Add sin and slowsin.
21451 * benchtests/sin-inputs: New file.
21452 * benchtests/slowsin-inputs: New file.
21453 * benchtests/slowsin.c: New file.
21455 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21456 (bench): Add slowexp and slowpow.
21457 (exp-ITER): Increase iterations.
21458 (pow-ITER): Likewise.
21459 * benchtests/exp-inputs: Change input.
21460 * benchtests/pow-inputs: Likewise.
21461 * benchtests/slowexp-inputs: New file.
21462 * benchtests/slowexp.c: New file.
21463 * benchtests/slowpow-inputs: New file.
21464 * benchtests/slowpow.c: New file.
21466 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21468 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21470 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21471 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21472 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21473 * benchtests/Makefile: Add rint benchtest.
21474 * benchtests/rint-inputs: Input for rint benchtest.
21476 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21478 * Versions.def (libm): Add GLIBC_2.18.
21479 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21480 hidden libm prototypes.
21481 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21482 * math/Makefile (libm-calls): Add s_issignaling.
21483 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21484 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21485 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21487 * math/math.h [__USE_GNU] (issignaling): New macro.
21488 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21489 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21490 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21491 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21492 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21493 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21494 * manual/arith.texi (issignaling): New section.
21495 * manual/libm-err-tab.pl (@all_functions): Update comment.
21496 * math/gen-libm-test.pl (parse_args): Apply special handling for
21498 * math/libm-test.inc (print_float, issignaling_test): New
21500 (check_float_internal): Add issignaling checks.
21501 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21502 default definition.
21503 * sysdeps/powerpc/math-tests.h: New file.
21504 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21506 * math/test-snan.c (TEST_FUNC): Likewise.
21508 2013-03-30 David S. Miller <davem@davemloft.net>
21510 * po/de.po: Update from translation team.
21512 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21515 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21516 imaginary part less than 1.0 and real part less than 0.5
21518 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21519 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21520 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21521 (cacos_test): Add more tests.
21522 (casin_test): Likewise.
21523 (casinh_test): Likewise.
21524 * sysdeps/i386/fpu/libm-test-ulps: Update.
21525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21527 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21529 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21530 ONE with its value.
21532 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21533 (__pow_mp): Replace ONE and MONE with their values.
21534 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21536 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21537 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21538 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21539 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21541 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21543 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21544 (__pow_mp): Replace ZERO and MZERO with their values.
21545 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21546 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21547 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21549 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21550 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21553 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21555 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21557 2013-03-28 Roland McGrath <roland@hack.frob.com>
21559 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21560 Declare with __attribute__ ((weak)).
21561 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21562 Call __call_tls_dtors only if it's not NULL.
21564 2013-03-28 Roland McGrath <roland@hack.frob.com>
21566 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21567 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21568 magic __ehdr_start linker symbol if it's defined.
21569 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21570 them up here if it was already done.
21572 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21573 (_dl_aux_init): Use const in cast when setting it.
21574 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21575 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21576 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21578 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21580 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21581 * csu/libc-tls.c: Nor here.
21582 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21584 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21585 (__libc_message): Never call vsyslog.
21587 2013-03-28 Alan Modra <amodra@gmail.com>
21589 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21591 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21594 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21597 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21601 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21604 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21605 Don't add gid passed as argument.
21607 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21609 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21612 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21613 imaginary part between 1.0 and 1.5 and real part less than 0.5
21615 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21616 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21617 * math/libm-test.inc (cacos_test): Add more tests.
21618 (casin_test): Likewise.
21619 (casinh_test): Likewise.
21620 * sysdeps/i386/fpu/libm-test-ulps: Update.
21621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21623 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21625 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21628 (denorm): Likewise.
21629 (__dbl_mp): Likewise.
21630 (add_magnitudes): Likewise.
21631 (sub_magnitudes): Likewise.
21639 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21641 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21642 (__dubcos): Likewise.
21643 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21644 (__ieee754_acos): Likewise.
21645 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21646 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21647 (__exp1): Likewise.
21648 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21651 (my_log2): Likewise.
21652 (checkint): Likewise.
21653 * sysdeps/ieee754/dbl-64/e_remainder.c
21654 (__ieee754_remainder): Likewise.
21655 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21656 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21657 (bsloww): Likewise.
21658 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21660 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21661 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21662 MANTISSA_STORE_T to store computations on mantissa. Use
21663 macros for rounding and division.
21664 (denorm): Likewise.
21665 (__dbl_mp): Likewise.
21666 (add_magnitudes): Likewise.
21667 (sub_magnitudes): Likewise.
21670 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21671 powers of two in terms of TWOPOW macro.
21672 (mp_no): Make type of mantissa as MANTISSA_T.
21673 [!RADIXI]: Define RADIXI.
21674 [!TWO52]: Define TWO52.
21675 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21677 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21679 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21680 llroundl symbol when building for PPC32.
21682 2013-03-24 Mark H Weaver <mhw@netris.org>
21684 * manual/arith.texi (Normalization Functions): Fix prototypes for
21685 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21687 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21691 high value to check if expl overflow.
21692 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21693 to check for underflow and overflow.
21694 * math/libm-test.inc: Add exp test.
21696 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21699 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21702 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21704 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21707 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21709 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21710 wrap blocks consisting of several statements.
21712 * sysdeps/generic/math-tests.h: New file.
21713 * sysdeps/i386/fpu/math-tests.h: Likewise.
21714 * math/test-snan.c: Include it.
21715 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21717 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21720 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21721 (__ieee754_j0l): Do not improve calculations using cos of twice
21722 input for inputs above LDBL_MAX / 2.0L.
21723 (__ieee754_y0l): Likewise.
21724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21725 (__ieee754_j1l): Do not improve calculations using cos of twice
21726 input for inputs above LDBL_MAX / 2.0L.
21727 (__ieee754_y1l): Likewise.
21728 * math/libm-test.inc (j0_test): Add another test.
21729 (j1_test): Likewise.
21730 (y0_test): Likewise.
21731 (y1_test): Likewise.
21732 * sysdeps/i386/fpu/libm-test-ulps: Update.
21734 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21736 * Rules ($(objpfx)bench-%.c): Include code from a C source
21739 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21742 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21743 imaginary part 1.0 and real part less than 0.5 specially.
21744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21746 * math/libm-test.inc (cacos_test): Add more tests.
21747 (casin_test): Likewise.
21748 (casinh_test): Likewise.
21749 * sysdeps/i386/fpu/libm-test-ulps: Update.
21750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21752 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21754 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21755 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21757 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21759 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21760 * config.make.in (config-cflags-sse4): Remove variable.
21761 (config-cflags-avx): Likewise.
21762 (config-cflags-sse2avx): Likewise.
21763 (config-cflags-novzeroupper): Likewise.
21764 (config-asflags-i686): Likewise.
21765 (have-mfma4): Likewise.
21766 (have-as-vis3): Likewise.
21768 * configure.in (MIG): Do not AC_SUBST.
21769 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21770 (libc_cv_cc_sse4): Do not AC_SUBST.
21771 (libc_cv_cc_avx): Likewise.
21772 (libc_cv_cc_sse2avx): Likewise.
21773 (libc_cv_cc_novzeroupper): Likewise.
21774 (libc_cv_cc_fma4): Likewise.
21775 (libc_cv_as_i686): Likewise.
21776 (libc_cv_sparc_as_vis3): Likewise.
21777 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21779 (config-asflags-i686): Likewise.
21780 (config-cflags-avx): Likewise.
21781 (config-cflags-sse2avx): Likewise.
21782 (have-mfma4): Likewise.
21783 (config-cflags-novzeroupper): Likewise.
21784 * sysdeps/mach/configure.in (MIG): Likewise.
21785 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21786 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21788 (config-cflags-avx): Likewise.
21789 (config-cflags-sse2avx): Likewise.
21790 (have-mfma4): Likewise.
21791 (config-cflags-novzeroupper): Likewise.
21792 * configure: Regenerated.
21793 * sysdeps/i386/configure: Likewise.
21794 * sysdeps/mach/configure: Likewise.
21795 * sysdeps/sparc/configure: Likewise.
21796 * sysdeps/x86_64/configure: Likewise.
21798 2013-03-20 Roland McGrath <roland@hack.frob.com>
21801 * locale/programs/localedef.c (options): Put N_ translation marker
21802 on argument names, not just descriptions.
21804 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21806 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21808 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21811 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21813 2013-03-19 Roland McGrath <roland@hack.frob.com>
21815 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21816 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21817 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21818 [!BEFORE_ABORT] (before_abort): New function.
21819 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21820 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21821 (writev_for_fatal): New function.
21822 (WRITEV_FOR_FATAL): New macro; call that.
21823 (backtrace_and_maps): New function.
21824 (BEFORE_ABORT): New macro; call that.
21825 (struct str_list): Type removed.
21826 (__libc_message, __libc_fatal): Functions removed.
21827 Include <sysdeps/posix/libc_fatal.c> instead.
21829 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21831 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21833 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21836 2013-03-19 Andreas Schwab <schwab@suse.de>
21838 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21839 * sysdeps/gnu/configure: Regenerate.
21841 * configure.in: Substitute libc_cv_rtlddir.
21842 * configure: Regenerate.
21843 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21844 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21845 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21846 * elf/Makefile (install-others, CFLAGS-interp.c)
21847 (ldso_install, common-ldd-rewrite): Likewise.
21848 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21849 $(inst_slibdir)/$(rtld-installed-name).
21850 * scripts/rellns-sh: Add -p option.
21851 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21854 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21856 * manual/nptl.texi: Renamed to ...
21857 * manual/threads.texi: ... this.
21858 * manual/Makefile (chapters): Update.
21860 2013-03-18 Roland McGrath <roland@hack.frob.com>
21863 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21864 on argument names, not just descriptions.
21865 * malloc/memusagestat.c (options): Likewise.
21866 * nss/getent.c (options): Likewise.
21868 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21871 * iconv/iconv_prog.c (options): Put N_ translation marker
21872 on argument names, not just descriptions.
21873 * iconv/iconvconfig.c (options): Likewise.
21875 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21877 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21878 implementation which is faster on all x86_64 architectures.
21879 Tested on AMD, Intel Nehalem, SNB, IVB.
21880 * sysdeps/x86_64/strnlen.S: Likewise.
21882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21883 Remove all multiarch strlen and strnlen versions.
21884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21885 Remove strlen and strnlen related parts.
21887 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21888 Inline strlen part.
21889 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21891 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21892 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21893 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21894 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21895 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21896 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21898 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21900 * manual/memory.texi (Malloc Tunable Parameters):
21901 Sort parameters alphabetically. Add comments for missing entries.
21903 2013-03-17 David S. Miller <davem@davemloft.net>
21905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21907 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21910 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21911 for arguments at most half maximum finite value.
21912 * math/libm-test.inc (j0_test): Add more tests.
21913 (j1_test): Likewise.
21914 (y0_test): Likewise.
21915 (y1_test): Likewise.
21916 * sysdeps/i386/fpu/libm-test-ulps: Update.
21917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21920 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21921 1 / x and functions P and Q for arguments above 0x1p256L.
21922 (__ieee754_y0l): Likewise.
21923 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21924 (__ieee754_y1l): Likewise.
21925 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21926 (j1_test): Likewise.
21927 (y0_test): Likewise.
21928 (y1_test): Likewise.
21930 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21932 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21935 2013-03-15 Roland McGrath <roland@hack.frob.com>
21937 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21938 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21939 zero since it's initialized to EXEC_PAGESIZE.
21941 * sysdeps/unix/sysv/linux/ldsodefs.h
21942 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21943 * sysdeps/generic/ldsodefs.h: ... here.
21945 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21947 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21949 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21951 * math/test-snan.c: Renamed from
21952 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21953 * math/Makefile (tests): Add test-snan.
21954 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21957 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21958 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21960 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21961 __builtin_nan family of functions.
21962 * math/libm-test.inc (initialize): Initialize qnan_value with
21963 __builtin_nan family of functions.
21964 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21966 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21968 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21969 storage class. Initialize qNaN_var and sNaN_var with
21970 __builtin_nan and __builtin_nans families of functions,
21973 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21974 (sqrt_test): Remove duplicate test with qNaN input.
21975 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21976 (round_test, signbit_test, significand_test): Note missing +/-Inf
21977 as well as qNaN tests.
21979 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21980 qNaN_var. Fix a few strings, too.
21981 * math/libm-test.inc (nan_value): Rename to qnan_value.
21982 * math/gen-libm-test.pl (%beautify): Adjust to that.
21983 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21984 * math/test-misc.c (main): Likewise.
21985 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21986 to __qnan_bytes, and __qnan_union, respectively.
21987 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21989 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21990 and lqnanval, respectively.
21991 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21992 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21993 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21994 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21996 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21997 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22000 * math/test-misc.c (main): Fix copy'n'pastos.
22001 * misc/tst-efgcvt.c (special): Likewise.
22003 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22004 Remove declarations.
22006 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22008 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22009 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22010 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22011 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22013 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22015 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22016 macro to return vdso values correctly in IFUNC implementations.
22017 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22018 Optimization by using IFUNC.
22020 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22021 Richard Henderson <rth@redhat.com>
22022 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22024 * Makefile.in (bench): New target.
22025 * NEWS: Mention the benchmark framework.
22026 * Rules (bench): Likewise.
22027 (binaries-bench): Generate binaries for functions to
22029 * benchtests/Makefile: New makefile for benchmark tests.
22030 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22032 * benchtests/exp-inputs: New input file for EXP function.
22033 * benchtests/pow-inputs: New input file for POW function.
22034 * scripts/bench.pl: New script to generate source files for
22035 benchmark programs.
22037 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22039 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22041 computations on mantissa. Use macros for rounding and
22043 (denorm): Likewise.
22044 (__dbl_mp): Likewise.
22045 (add_magnitudes): Likewise.
22046 (sub_magnitudes): Likewise.
22049 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22050 powers of two in terms of TWOPOW macro.
22051 (mp_no): Make type of mantissa as MANTISSA_T.
22052 [!RADIXI]: Define RADIXI.
22053 [!TWO52]: Define TWO52.
22054 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22056 * manual/nptl.texi (cindex): Modify threads to pthreads.
22058 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22060 * sysdeps/x86_64/preconfigure: Regenerated.
22062 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22065 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22067 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22068 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22070 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22071 * math/libm-test.inc (j0_test): Do not allow one spurious
22072 underflow exception.
22073 (y1_test): Likewise.
22075 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22077 * manual/Makefile (chapters): Add nptl.
22078 * manual/debug.texi (Debugging Support): Add link to Threads
22080 * manual/nptl.texi: New file.
22082 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22084 2013-03-14 Petr Baudis <pasky@ucw.cz>
22086 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22087 for non-NULL pointer before the memory validity test. Pointed
22088 out by Holger Brunck <holger.brunck@keymile.com>.
22090 2013-03-13 Andreas Schwab <schwab@suse.de>
22092 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22095 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22097 * timezone/zic.c: Update from tzcode 2013b.
22099 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22101 * manual/install.texi (Configuring and compiling):
22102 Mention i686 and i586.
22103 * INSTALL: Regenerate.
22105 2013-03-12 Roland McGrath <roland@hack.frob.com>
22107 * sysdeps/init_array/elf-init.c: New file.
22109 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22110 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22112 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22113 __gmon_start__ as global, but as static with a .preinit_array pointer.
22114 * sysdeps/init_array/gmon-start.c: New file. Use that.
22115 * sysdeps/init_array/crti.S: New file, empty except for comments.
22116 * sysdeps/init_array/crtn.S: Likewise.
22118 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22120 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22123 Remove Prefer_SSE_for_memop.
22124 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22125 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22126 HAS_PREFER_SSE_FOR_MEMOP.
22127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22130 Remove bzero, memset ifunc support.
22131 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22132 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22133 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22134 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22136 2013-03-11 Andreas Schwab <schwab@suse.de>
22139 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22142 (GLIBC_2.16): Remove pthread_atfork.
22144 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22146 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22147 (ptestcases.h): Likewise.
22149 2013-03-08 Roland McGrath <roland@hack.frob.com>
22151 * Makeconfig ($(common-objpfx)config.status): Depend on
22152 sysdeps/*/preconfigure{,.in} too.
22154 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22156 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22157 (__free_hook): Use void * instead of __malloc_ptr_t.
22158 (__malloc_hook): Likewise.
22159 (__realloc_hook): Likewise.
22160 (__memalign_hook): Likewise.
22161 (__after_morecore_hook): Likewise.
22162 * malloc/arena.c (save_malloc_hook): Likewise.
22163 (save_free_hook): Likewise.
22164 * malloc/hooks.c (malloc_hook_ini): Likewise.
22165 (realloc_hook_ini): Likewise.
22166 (memalign_hook_ini): Likewise.
22167 * malloc/malloc.c (malloc_hook_ini): Likewise.
22168 (realloc_hook_ini): Likewise.
22169 (memalign_hook_ini): Likewise.
22170 (__free_hook): Likewise.
22171 (__malloc_hook): Likewise.
22172 (__realloc_hook): Likewise.
22173 (__memalign_hook): Likewise.
22174 (__libc_malloc): Likewise.
22175 (__libc_free): Likewise.
22176 (__libc_realloc): Likewise.
22177 (__libc_memalign): Likewise.
22178 (__libc_valloc): Likewise.
22179 (__libc_pvalloc): Likewise.
22180 (__libc_calloc): Likewise.
22181 (__posix_memalign): Likewise.
22182 * malloc/morecore.c (__sbrk): Likewise.
22183 (__default_morecore): Likewise.
22185 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22187 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22188 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22189 __malloc_ptrdiff_t.
22191 * malloc/malloc.h (__malloc_size_t): Remove macro.
22192 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22194 (old_memalign_hook): Likewise.
22195 (old_realloc_hook): Likewise.
22196 (struct hdr): Likewise.
22198 (mallochook): Likewise.
22199 (memalignhook): Likewise.
22200 (reallochook): Likewise.
22201 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22202 (tr_old_realloc_hook): Likewise.
22203 (tr_old_memalign_hook): Likewise.
22204 (tr_mallochook): Likewise.
22205 (tr_reallochook): Likewise.
22206 (tr_memalignhook): Likewise.
22208 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22211 default_ldbl_pack and using as default implementation.
22212 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22214 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22215 redundant definition.
22216 (ldbl_insert_mantissa): Likewise.
22217 (ldbl_canonicalize): Likewise.
22218 (ldbl_nearbyint): Likewise.
22219 (ldbl_pack): Rename to ldbl_pack_ppc.
22220 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22221 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22222 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22224 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22227 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22228 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22229 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22231 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22232 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22233 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22235 2013-03-07 Andreas Jaeger <aj@suse.de>
22237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22240 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22242 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22243 Include mpa.h and declare __MPEXP.
22244 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22245 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22246 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22247 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22248 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22249 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22250 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22252 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22253 (__slowpow): Use long double EXPL and LOGL functions to
22255 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22256 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22257 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22258 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22259 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22260 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22263 intermediate variable to calculate exponent.
22265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22269 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22270 [!NO__SQR]: Define __sqr.
22271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22272 and NO__SQR. Remove all code except __mul and __sqr. Include
22273 sysdeps/ieee754/dbl-64/mpa.c.
22274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22277 * posix/Makefile (tests): Add tst-pathconf.
22278 * posix/tst-pathconf.c: New test case.
22279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22281 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22283 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22285 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22287 2013-03-06 Andreas Jaeger <aj@suse.de>
22289 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22290 definition via __MAP_ANONYMOUS.
22292 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22293 it's not part of Linux headers.
22295 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22296 (MAP_HUGE_MASK): Define.
22298 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22300 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22304 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22307 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22309 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22311 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22312 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22313 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22314 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22315 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22316 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22318 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22321 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22322 Handle f2fs and efivarfs.
22324 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22327 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22328 (EFIVARFS_MAGIC): Add.
22329 (F2FS_LINK_MAX): Add.
22331 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22333 * stdio-common/vfprintf.c: Replace __builtin_expect with
22336 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22339 * sysdeps/generic/bp-sym.h: Remove file.
22340 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22341 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22342 <bp-sym.h> and <bp-asm.h>.
22343 (__longjmp): Don't use BP_SYM.
22344 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22346 (memcpy): Don't use BP_SYM.
22347 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22348 <bp-sym.h> and <bp-asm.h>.
22349 (memcpy): Don't use BP_SYM.
22350 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22352 (memcpy): Don't use BP_SYM.
22353 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22355 (memset): Don't use BP_SYM.
22356 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22357 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22358 (__bzero): Don't use BP_SYM.
22359 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22360 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22362 <bp-sym.h> and <bp-asm.h>.
22363 (memcmp): Don't use BP_SYM. Remove comment about bounded
22365 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22366 <bp-sym.h> and <bp-asm.h>.
22367 (memcpy): Don't use BP_SYM.
22368 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22369 <bp-sym.h> and <bp-asm.h>.
22370 (memset): Don't use BP_SYM.
22371 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22372 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22373 (__bzero): Don't use BP_SYM.
22374 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22375 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22377 <bp-sym.h> and <bp-asm.h>.
22378 (strncmp): Don't use BP_SYM. Remove comment about bounded
22380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22381 <bp-sym.h> and <bp-asm.h>.
22382 (memcpy): Don't use BP_SYM.
22383 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22384 <bp-sym.h> and <bp-asm.h>.
22385 (memset): Don't use BP_SYM.
22386 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22387 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22388 (__bzero): Don't use BP_SYM.
22389 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22390 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22392 <bp-sym.h> and <bp-asm.h>.
22393 (__memchr): Don't use BP_SYM.
22394 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22395 <bp-sym.h> and <bp-asm.h>.
22396 (memcmp): Don't use BP_SYM. Remove comment about bounded
22398 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22399 <bp-sym.h> and <bp-asm.h>.
22400 (memcpy): Don't use BP_SYM.
22401 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22402 <bp-sym.h> and <bp-asm.h>.
22403 (__mempcpy): Don't use BP_SYM.
22404 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22405 <bp-sym.h> and <bp-asm.h>.
22406 (__memrchr): Don't use BP_SYM.
22407 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22408 <bp-sym.h> and <bp-asm.h>.
22409 (memset): Don't use BP_SYM.
22410 (__bzero): Likewise.
22411 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22412 <bp-sym.h> and <bp-asm.h>.
22413 (__rawmemchr): Don't use BP_SYM.
22414 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22415 <bp-sym.h> and <bp-asm.h>.
22416 (__STRCMP): Don't use BP_SYM.
22417 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22418 <bp-sym.h> and <bp-asm.h>.
22419 (strchr): Don't use BP_SYM.
22420 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22421 <bp-sym.h> and <bp-asm.h>.
22422 (__strchrnul): Don't use BP_SYM.
22423 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22424 <bp-sym.h> and <bp-asm.h>.
22425 (strlen): Don't use BP_SYM.
22426 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22427 <bp-sym.h> and <bp-asm.h>.
22428 (strncmp): Don't use BP_SYM. Remove comment about bounded
22430 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22431 <bp-sym.h> and <bp-asm.h>.
22432 (__strnlen): Don't use BP_SYM.
22433 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22434 <bp-sym.h> and <bp-asm.h>.
22435 (__GI__setjmp): Don't use BP_SYM.
22436 (_setjmp): Likewise.
22437 (__sigsetjmp): Likewise.
22438 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22439 (L(start_addresses)): Don't use BP_SYM.
22440 (_start): Likewise.
22441 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22443 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22444 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22445 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22446 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22447 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22449 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22450 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22451 about bounded pointers.
22452 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22453 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22454 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22456 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22457 about bounded pointers. Remove GKM FIXME comments.
22458 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22459 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22461 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22462 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22463 Remove GKM FIXME comments.
22464 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22465 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22466 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22468 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22469 about bounded pointers. Remove GKM FIXME comment.
22470 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22472 (strncmp): Don't use BP_SYM. Remove comment about bounded
22474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22475 <bp-sym.h> and <bp-asm.h>.
22476 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22478 <bp-sym.h> and <bp-asm.h>.
22479 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22482 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22484 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22487 2013-03-05 David S. Miller <davem@davemloft.net>
22489 * po/es.po: Update from translation team.
22491 2013-03-05 Andreas Jaeger <aj@suse.de>
22493 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22494 <bits/mman-linux.h>.
22495 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22497 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22498 <bits/mman-linux.h> to end of file.
22499 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22501 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22502 <bits/mman-linux.h> to end of file.
22503 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22506 <bits/mman-linux.h> to end of file.
22508 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22509 (MCL_CURRENT, MCL_FUTURE): Define here.
22511 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22514 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22516 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22518 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22520 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22521 fourth parameter needed for rt_sigprocmask syscall.
22522 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22523 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22524 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22525 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22526 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22527 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22529 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22532 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22533 comment about bounded pointers.
22534 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22535 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22537 2013-03-04 Andreas Jaeger <aj@suse.de>
22539 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22540 common definitions.
22542 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22543 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22546 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22549 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22552 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22553 __ieee754_sqrl instead of __sqrl.
22555 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22557 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22558 * sysdeps/powerpc/fpu_control.h: ... here.
22559 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22560 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22561 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22562 * sysdeps/powerpc/bits/mathinline.h: ... here.
22564 2013-03-01 Roland McGrath <roland@hack.frob.com>
22566 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22567 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22568 to just [NEED_DL_SYSINFO_DSO].
22569 * elf/dl-support.c: Likewise.
22570 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22571 * elf/rtld.c (dl_main): Likewise.
22572 * elf/setup-vdso.h (setup_vdso): Likewise.
22573 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22574 * sysdeps/unix/sysv/linux/dl-sysdep.c
22575 (_dl_discover_osversion): Likewise.
22577 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22579 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22580 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22582 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22584 * NEWS: Mention libm performance improvements and non-x86 PI
22587 * csu/libc-start.c (__pthread_initialize_minimal): Change
22588 function arguments.
22589 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22591 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22594 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22595 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22596 <bp-sym.h> and <bp-asm.h>.
22597 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22598 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22600 (memcpy): Don't use BP_SYM.
22601 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22603 (__mpn_add_n): Don't use BP_SYM.
22604 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22605 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22607 (__mpn_addmul_1): Don't use BP_SYM.
22608 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22609 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22611 (_setjmp): Don't use BP_SYM.
22612 (__novmx_setjmp): Likewise.
22613 (__GI__setjmp): Likewise.
22614 (__vmx_setjmp): Likewise.
22615 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22617 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22618 (__bzero): Don't use BP_SYM.
22619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22621 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22622 <bp-sym.h> and <bp-asm.h>.
22623 (memcpy): Don't use BP_SYM.
22624 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22625 <bp-sym.h> and <bp-asm.h>.
22626 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22627 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22628 <bp-sym.h> and <bp-asm.h>.
22629 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22630 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22632 (__mpn_lshift): Don't use BP_SYM.
22633 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22634 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22636 (memset): Don't use BP_SYM.
22637 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22638 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22639 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22641 (__mpn_mul_1): Don't use BP_SYM.
22642 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22644 <bp-sym.h> and <bp-asm.h>.
22645 (memcmp): Don't use BP_SYM.
22646 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22647 <bp-sym.h> and <bp-asm.h>.
22648 (memcpy): Don't use BP_SYM.
22649 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22650 <bp-sym.h> and <bp-asm.h>.
22651 (memset): Don't use BP_SYM.
22652 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22653 <bp-sym.h> and <bp-asm.h>.
22654 (strncmp): Don't use BP_SYM.
22655 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22656 <bp-sym.h> and <bp-asm.h>.
22657 (memcpy): Don't use BP_SYM.
22658 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22659 <bp-sym.h> and <bp-asm.h>.
22660 (memset): Don't use BP_SYM.
22661 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22662 <bp-sym.h> and <bp-asm.h>.
22663 (__memchr): Don't use BP_SYM.
22664 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22665 <bp-sym.h> and <bp-asm.h>.
22666 (memcmp): Don't use BP_SYM.
22667 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22668 <bp-sym.h> and <bp-asm.h>.
22669 (memcpy): Don't use BP_SYM.
22670 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22671 <bp-sym.h> and <bp-asm.h>.
22672 (__mempcpy): Don't use BP_SYM.
22673 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22674 <bp-sym.h> and <bp-asm.h>.
22675 (__memrchr): Don't use BP_SYM.
22676 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22677 <bp-sym.h> and <bp-asm.h>.
22678 (memset): Don't use BP_SYM.
22679 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22680 <bp-sym.h> and <bp-asm.h>.
22681 (__rawmemchr): Don't use BP_SYM.
22682 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22683 <bp-sym.h> and <bp-asm.h>.
22684 (__STRCMP): Don't use BP_SYM.
22685 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22686 <bp-sym.h> and <bp-asm.h>.
22687 (strchr): Don't use BP_SYM.
22688 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22689 <bp-sym.h> and <bp-asm.h>.
22690 (__strchrnul): Don't use BP_SYM.
22691 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22692 <bp-sym.h> and <bp-asm.h>.
22693 (strlen): Don't use BP_SYM.
22694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22695 <bp-sym.h> and <bp-asm.h>.
22696 (strncmp): Don't use BP_SYM.
22697 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22698 <bp-sym.h> and <bp-asm.h>.
22699 (__strnlen): Don't use BP_SYM.
22700 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22702 (__mpn_rshift): Don't use BP_SYM.
22703 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22704 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22705 <bp-sym.h> and <bp-asm.h>.
22706 (__sigsetjmp): Don't use BP_SYM.
22707 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22708 (L(start_addresses)): Don't use BP_SYM.
22709 (_start): Likewise.
22710 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22712 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22713 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22714 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22715 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22717 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22718 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22719 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22720 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22722 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22724 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22725 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22727 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22729 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22730 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22731 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22733 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22735 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22737 (strncmp): Don't use BP_SYM,
22738 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22740 (__mpn_sub_n): Don't use BP_SYM.
22741 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22742 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22744 (__mpn_submul_1): Don't use BP_SYM.
22745 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22747 <bp-sym.h> and <bp-asm.h>.
22748 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22750 <bp-sym.h> and <bp-asm.h>.
22751 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22754 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22757 Use ZK to minimize writes to Z.
22758 (sub_magnitudes): Simplify code a bit.
22759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22760 Use ZK to minimize writes to Z.
22761 (sub_magnitudes): Simplify code a bit.
22763 2013-02-27 Roland McGrath <roland@hack.frob.com>
22765 * csu/gmon-start.c: Add special exception to license text.
22767 2013-02-27 Richard Henderson <rth@redhat.com>
22769 * scripts/config.guess: Update from config.git.
22770 * scripts/config.sub: Likewise.
22772 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22776 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22778 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22780 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22782 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22784 2013-02-26 Roland McGrath <roland@hack.frob.com>
22786 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22787 [$(build-shared = yes].
22789 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22791 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22792 (__mul): Reduce iterations for calculating mantissa.
22794 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22796 (__mpranred): Likewise.
22799 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22800 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22802 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22804 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22805 Define __attribute__.
22807 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22809 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22811 * posix/regex_internal.h (__attribute): Remove.
22812 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22813 (re_string_context_at): Likewise.
22814 (bitset_not): Use __attribute__ and mark function as possibly
22816 (bitset_merge): Likewise.
22817 (bitset_mask): Likewise.
22818 (re_string_char_size_at): Likewise.
22819 (re_string_wchar_at): Likewise.
22820 (re_string_elem_size_at): Likewise.
22822 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22824 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22828 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22832 (denorm): Likewise.
22833 (__dbl_mp): Likewise.
22834 (add_magnitudes): Likewise.
22835 (sub_magnitudes): Likewise.
22839 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22842 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22845 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22849 up changes with default code.
22850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22853 2013-02-24 Allan McRae <allan@archlinux.org>
22855 * manual/socket.texi (The Internet Namespace): Order menu items
22856 to match that in the file.
22858 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22859 node listing of the info page menu.
22861 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22864 * sysdeps/i386/bp-asm.h: Remove file.
22865 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22866 (PARMS): Do not use macros from bp-asm.h.
22870 (__mpn_add_n): Do not use BP_SYM
22871 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22873 (PARMS): Do not use macros from bp-asm.h.
22876 (__mpn_addmul_1): Do not use BP_SYM
22877 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22879 (PARMS): Do not use macros from bp-asm.h.
22880 (SIGMSK): Likewise.
22881 (_setjmp): Likewise. Do not use BP_SYM.
22882 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22884 (PARMS): Do not use macros from bp-asm.h.
22885 (SIGMSK): Likewise.
22886 (setjmp): Likewise. Do not use BP_SYM.
22887 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22889 (PARMS): Do not use macros from bp-asm.h.
22890 (__frexp): Do not use BP_SYM.
22892 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22894 (PARMS): Do not use macros from bp-asm.h.
22895 (__frexpf): Do not use BP_SYM.
22896 (frexpf): Likewise.
22897 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22899 (PARMS): Do not use macros from bp-asm.h.
22900 (__frexpl): Do not use BP_SYM.
22901 (frexpl): Likewise.
22902 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22904 (PARMS): Do not use macros from bp-asm.h.
22905 (__remquo): Do not use BP_SYM.
22906 (remquo): Likewise.
22907 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22909 (PARMS): Do not use macros from bp-asm.h.
22910 (__remquof): Do not use BP_SYM.
22911 (remquof): Likewise.
22912 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22914 (PARMS): Do not use macros from bp-asm.h.
22915 (__remquol): Do not use BP_SYM.
22916 (remquol): Likewise.
22917 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22919 (PARMS): Do not use macros from bp-asm.h.
22922 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22923 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22925 (PARMS): Do not use macros from bp-asm.h.
22926 (strlen): Do not use BP_SYM.
22927 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22929 (PARMS): Do not use macros from bp-asm.h.
22933 (__mpn_add_n): Do not use BP_SYM.
22934 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22936 (PARMS): Do not use macros from bp-asm.h.
22939 (__mpn_addmul_1): Do not use BP_SYM.
22940 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22943 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22945 (PARMS): Do not use macros from bp-asm.h.
22948 (__mpn_lshift): Do not use BP_SYM.
22949 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22951 (PARMS): Do not use macros from bp-asm.h.
22955 (memcpy): Likewise. Do not use BP_SYM.
22956 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22957 libc_hidden_def and weak_alias.
22958 (mempcpy): Do not use BP_SYM in weak_alias.
22959 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22961 (PARMS): Do not use macros from bp-asm.h.
22964 [!BZERO_P] (CHR): Likewise.
22965 (memset): Likewise. Do not use BP_SYM.
22966 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22968 (PARMS): Do not use macros from bp-asm.h.
22971 (__mpn_mul_1): Do not use BP_SYM.
22972 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22974 (PARMS): Do not use macros from bp-asm.h.
22977 (__mpn_rshift): Do not use BP_SYM.
22978 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22980 (PARMS): Do not use macros from bp-asm.h.
22983 (strchr): Likewise. Do not use BP_SYM.
22984 (index): Do not use BP_SYM in weak_alias.
22985 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22987 (PARMS): Do not use macros from bp-asm.h.
22990 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22991 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22993 (PARMS): Do not use macros from bp-asm.h.
22994 (strlen): Do not use BP_SYM.
22995 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22997 (PARMS): Do not use macros from bp-asm.h.
23001 (__mpn_sub_n): Do not use BP_SYM.
23002 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23004 (PARMS): Do not use macros from bp-asm.h.
23007 (__mpn_submul_1): Do not use BP_SYM.
23008 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23010 (PARMS): Do not use macros from bp-asm.h.
23014 (__mpn_add_n): Do not use BP_SYM.
23015 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23018 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23020 (PARMS): Do not use macros from bp-asm.h.
23023 (memcmp): Do not use BP_SYM.
23024 (bcmp): Do not use BP_SYM in weak_alias.
23025 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23027 (PARMS): Do not use macros from bp-asm.h.
23031 (memcpy): Likewise. Do not use BP_SYM.
23032 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23034 (PARMS): Do not use macros from bp-asm.h.
23038 (memmove): Likewise. Do not use BP_SYM.
23039 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23041 (PARMS): Do not use macros from bp-asm.h.
23045 (__mempcpy): Likewise. Do not use BP_SYM.
23046 (mempcpy): Do not use BP_SYM in weak_alias.
23047 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23049 (PARMS): Do not use macros from bp-asm.h.
23052 [!BZERO_P] (CHR): Likewise.
23053 (memset): Likewise. Do not use BP_SYM.
23054 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23056 (PARMS): Do not use macros from bp-asm.h.
23058 (strcmp): Do not use BP_SYM.
23059 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23061 (PARMS): Do not use macros from bp-asm.h.
23064 [USE_AS_STRTOK_R] (SAVE): Likewise.
23065 (FUNCTION): Likewise. Do not use BP_SYM.
23066 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23068 (strtok_r): Likewise.
23069 (__GI___strtok_r): Likewise.
23070 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23071 (PARMS): Do not use macros from bp-asm.h.
23074 (__mpn_lshift): Do not use BP_SYM.
23075 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23076 (PARMS): Do not use macros from bp-asm.h.
23079 (__memchr): Do not use BP_SYM.
23080 (memchr): Do not use BP_SYM in weak_alias.
23081 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23082 (PARMS): Do not use macros from bp-asm.h.
23085 (memcmp): Do not use BP_SYM.
23086 (bcmp): Do not use BP_SYM in weak_alias.
23087 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23088 (PARMS): Do not use macros from bp-asm.h.
23091 (__mpn_mul_1): Do not use BP_SYM.
23092 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23094 (PARMS): Do not use macros from bp-asm.h.
23097 (__rawmemchr): Do not use BP_SYM.
23098 (rawmemchr): Do not use BP_SYM in weak_alias.
23099 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23100 (PARMS): Do not use macros from bp-asm.h.
23103 (__mpn_rshift): Do not use BP_SYM.
23104 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23105 (PARMS): Do not use macros from bp-asm.h.
23106 (SIGMSK): Likewise.
23107 (__sigsetjmp): Likewise. Do not use BP_SYM.
23108 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23109 (_start): Do not use BP_SYM.
23110 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23111 (PARMS): Do not use macros from bp-asm.h.
23114 (__stpcpy): Likewise. Do not use BP_SYM.
23115 (stpcpy): Do not use BP_SYM in weak_alias.
23116 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23118 (PARMS): Do not use macros from bp-asm.h.
23122 (__stpncpy): Likewise. Do not use BP_SYM.
23123 (stpncpy): Do not use BP_SYM in weak_alias.
23124 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23125 (PARMS): Do not use macros from bp-asm.h.
23128 (strchr): Likewise. Do not use BP_SYM.
23129 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23131 (PARMS): Do not use macros from bp-asm.h.
23134 (__strchrnul): Likewise. Do not use BP_SYM.
23135 (strchrnul): Do not use BP_SYM in weak_alias.
23136 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23138 (PARMS): Do not use macros from bp-asm.h.
23140 (strcspn): Do not use BP_SYM.
23141 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23143 (PARMS): Do not use macros from bp-asm.h.
23146 (strpbrk): Likewise. Do not use BP_SYM.
23147 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23149 (PARMS): Do not use macros from bp-asm.h.
23152 (strrchr): Likewise. Do not use BP_SYM.
23153 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23154 (PARMS): Do not use macros from bp-asm.h.
23156 (strspn): Do not use BP_SYM.
23157 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23158 (PARMS): Do not use macros from bp-asm.h.
23162 (FUNCTION): Likewise. Do not use BP_SYM.
23163 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23165 (strtok_r): Likewise.
23166 (__GI___strtok_r): Likewise.
23167 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23168 (PARMS): Do not use macros from bp-asm.h.
23172 (__mpn_sub_n): Do not use BP_SYM.
23173 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23175 (PARMS): Do not use macros from bp-asm.h.
23178 (__mpn_submul_1): Do not use BP_SYM.
23179 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23181 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23183 (PARMS): Do not use macros from bp-asm.h.
23188 (__clone): Do not use BP_SYM.
23189 (clone): Do not use BP_SYM in weak_alias.
23190 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23192 (PARMS): Do not use macros from bp-asm.h.
23194 (__mmap64): Do not use BP_SYM.
23195 (mmap64): Do not use BP_SYM in weak_alias.
23196 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23197 <bp-sym.h> and <bp-asm.h>.
23198 (PARMS): Do not use macros from bp-asm.h.
23199 (__posix_fadvise64_l64): Do not use BP_SYM.
23200 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23201 (PARMS): Do not use macros from bp-asm.h.
23203 (semtimedop): Do not use BP_SYM.
23204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23207 2013-02-21 Allan McRae <allan@archlinux.org>
23209 * manual/message.texi (Charset conversion in gettext):
23210 Move @end statement to beginning of line.
23212 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23219 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23220 (denorm): Likewise.
23221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23224 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23226 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23227 tail-call to the resolved function if pltexit isn't needed.
23229 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23232 or Y being zero as being unlikely.
23233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23236 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23238 * manual/nss.texi (System Databases and Name Service Switch):
23239 Remove frobnicate @pxref.
23241 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23243 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23244 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23246 2013-02-20 Petr Machata <pmachata@redhat.com>
23248 * elf/elf.h (R_ARM_TARGET1): New macro.
23249 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23250 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23251 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23252 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23253 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23254 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23255 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23256 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23257 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23258 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23259 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23260 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23261 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23262 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23263 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23264 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23265 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23266 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23267 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23268 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23269 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23270 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23271 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23272 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23273 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23274 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23275 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23276 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23277 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23278 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23279 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23280 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23281 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23282 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23283 (R_ARM_THM_GOT_BREL12): Likewise.
23284 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23285 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23286 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23287 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23288 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23289 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23290 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23291 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23292 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23294 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23296 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23297 __attribute_used__ to __attribute__ ((unused)).
23299 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23301 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23304 comment formatting.
23305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23307 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23310 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23312 (ENTER): Remove both macro definitions.
23314 (CHECK_BOUNDS_LOW): Likewise.
23315 (CHECK_BOUNDS_HIGH): Likewise.
23316 (CHECK_BOUNDS_BOTH): Likewise.
23317 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23318 (RETURN_BOUNDED_POINTER): Likewise.
23319 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23320 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23321 (POP_ERRNO_LOCATION_RETURN): Likewise.
23322 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23323 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23324 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23326 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23327 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23328 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23329 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23330 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23331 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23332 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23333 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23334 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23335 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23336 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23337 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23338 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23339 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23341 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23342 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23344 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23345 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23346 * sysdeps/i386/i586/memset.S (memset): Likewise.
23347 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23348 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23349 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23351 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23352 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23353 Change uses of L(2) to L(out).
23354 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23355 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23356 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23357 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23358 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23360 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23361 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23363 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23364 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23365 (RETURN): Do not use macro LEAVE.
23366 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23367 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23368 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23369 * sysdeps/i386/i686/memset.S (memset): Likewise.
23370 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23371 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23372 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23373 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23375 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23376 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23377 L(1_2) and L(1_3) into L(1).
23378 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23379 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23380 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23381 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23382 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23383 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23384 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23385 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23386 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23388 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23389 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23390 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23391 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23392 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23393 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23394 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23395 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23396 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23397 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23398 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23399 * sysdeps/i386/strspn.S (strspn): Likewise.
23400 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23402 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23403 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23404 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23405 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23406 L(1_3) into L(1_1).
23407 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23408 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23409 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23411 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23413 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23415 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23418 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23420 * math/atest-exp.c (exp_mpn): Remove ROUND.
23421 * math/atest-exp2.c (exp_mpn): Likewise.
23422 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23424 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23425 * stdlib/tst-tls-atexit-lib.c: Likewise.
23426 * stdlib/tst-tls-atexit.c: Likewise.
23428 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23430 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23431 and __attribute_alloc_size__.
23433 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23435 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23436 __attribute_alloc_size__.
23437 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23438 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23440 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23442 * include/programs/xmalloc.h: New file.
23443 * catgets/gencat.c: Include it.
23444 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23445 * elf/pldd.c: Likewise.
23446 * iconv/iconv_charmap.c: Likewise.
23447 * iconv/iconvconfig.c: Likewise.
23448 * iconv/strtab.c: Likewise.
23449 * locale/programs/locale.c: Likewise.
23450 * locale/programs/localedef.h: Likewise.
23451 * locale/programs/simple-hash.c: Likewise.
23452 * nscd/nscd.h: Likewise.
23453 * nss/makedb.c: Likewise.
23454 * sysdeps/generic/ldconfig.h: Likewise.
23456 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23458 * Versions.def: Add GLIBC_2.18.
23459 * include/link.h (struct link_map): New member l_tls_dtor_count.
23460 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23461 (__call_tls_dtors): Likewise.
23462 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23463 __cxa_thread_atexit_impl.
23464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23480 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23481 (tests): Add test case tst-tls-atexit.
23482 (modules-names): Add shared library for tst-tls-atexit.
23483 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23484 (GLIBC_PRIVATE): Add __call_tls_dtors.
23485 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23487 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23488 * stdlib/tst-tls-atexit.c: New test case.
23489 * stdlib/tst-tls-atexit-lib.c: New test case.
23491 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23493 * elf/Versions (ld): Add _dl_find_dso_for_object.
23494 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23495 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23496 (dl_open_worker): Use _dl_find_dso_for_object.
23497 * elf/dl-sym.c (do_sym): Likewise.
23498 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23500 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23502 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23503 Syntactic changes only.
23504 (_dl_runtime_profile): Do a tail-call to the resolved function.
23506 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23509 * sysdeps/x86_64/bp-asm.h: Remove file.
23510 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23511 <bp-sym.h> and <bp-asm.h>.
23512 (__clone): Do not use BP_SYM.
23513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23514 <bp-sym.h> and <bp-asm.h>.
23515 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23516 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23518 (_setjmp): Do not use BP_SYM.
23519 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23521 (setjmp): Do not use BP_SYM.
23522 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23524 (mempcpy): Do not use BP_SYM in weak_alias.
23525 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23527 (strchr): Do not use BP_SYM.
23528 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23530 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23531 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23532 (_start): Do not use BP_SYM.
23533 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23535 (strcat): Do not use BP_SYM.
23536 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23538 (STRCMP): Do not use BP_SYM.
23539 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23541 (STRCPY): Do not use BP_SYM.
23542 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23544 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23546 (FUNCTION): Do not use BP_SYM.
23547 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23549 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23551 2013-02-17 Andreas Jaeger <aj@suse.de>
23553 * time/Versions: Sort entries.
23554 * string/Versions: Likewise.
23555 * resolv/Versions: Likewise.
23556 * posix/Versions: Likewise.
23557 * iconv/Versions: Likewise.
23558 * elf/Versions: Likewise.
23559 * wcsmbs/Versions: Likewise.
23561 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23563 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23564 loop termination condition.
23566 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23567 variable to calculate EZ.
23570 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23571 the lower precision input.
23573 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23576 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23577 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23578 (run-via-rtld-prefix): Do not handle %-bp tests.
23579 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23580 (all-object-suffixes): Remove .ob.
23581 (bppfx): Remove variable.
23582 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23583 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23584 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23585 [$(build-bounded) = yes] (libtype.ob): Likewise.
23586 * Makerules (elide-routines.ob): Remove variable.
23587 (do-tests-clean): Do not handle *-bp.out.
23588 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23589 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23590 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23591 (tests): Do not include $(tests-bp.out).
23592 (xtests): Do not include $(xtests-bp.out).
23593 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23594 [$(build-bounded) = yes] ($(addprefix
23595 $(objpfx),$(binaries-bounded))): Remove rule.
23596 ($(objpfx)%-bp.out): Remove rule.
23597 * config.make.in (build-bounded): Remove variable.
23598 * crypt/Makefile [$(build-bounded) = yes]
23599 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23600 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23601 append to variable.
23602 [$(build-bounded) = yes] (install-lib): Likewise.
23603 [$(build-bounded) = yes] (generated): Likewise.
23604 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23606 * intl/Makefile [$(build-bounded) = yes]
23607 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23608 * math/Makefile [$(build-bounded) = yes]
23609 ($(tests:%=$(objpfx)%-bp): Likewise.
23610 * misc/Makefile [$(build-bounded) = yes]
23611 ($(objpfx)tst-tsearch-bp): Likewise.
23612 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23613 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23615 * string/Makefile (o-objects.ob): Remove variable.
23616 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23617 (CFLAGS-.ob): Remove variable.
23618 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23619 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23620 both definitions of variable.
23621 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23622 (ASFLAGS-.ob): Remove variable.
23624 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23627 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23628 Remove __BOUNDED_POINTERS__ from condition.
23629 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23630 * string/bits/string2.h [!__NO_STRING_INLINES &&
23631 !__BOUNDED_POINTERS__]: Likewise.
23632 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23634 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23635 Remove conditional code.
23636 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23637 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23638 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23642 * csu/libc-start.c: Do not include <bp-sym.h>.
23643 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23644 * elf/dl-open.c: Do not include <bp-sym.h>.
23645 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23646 * math/fegetenv.c: Do not include <bp-sym.h>.
23647 (fegetenv): Do not use BP_SYM in versioned symbols.
23648 * nptl/sysdeps/pthread/bits/libc-lockP.h
23649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23652 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23654 (__pthread_mutex_destroy): Likewise.
23655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23656 (__pthread_mutex_lock): Likewise.
23657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23658 (__pthread_mutex_trylock): Likewise.
23659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23660 (__pthread_mutex_unlock): Likewise.
23661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23662 (__pthread_mutexattr_init): Likewise.
23663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23664 (__pthread_mutexattr_destroy): Likewise.
23665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23666 (__pthread_mutexattr_settype): Likewise.
23667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23668 (__pthread_rwlock_init): Likewise.
23669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23670 (__pthread_rwlock_destroy): Likewise.
23671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23672 (__pthread_rwlock_rdlock): Likewise.
23673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23674 (__pthread_rwlock_tryrdlock): Likewise.
23675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23676 (__pthread_rwlock_wrlock): Likewise.
23677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23678 (__pthread_rwlock_trywrlock): Likewise.
23679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23680 (__pthread_rwlock_unlock): Likewise.
23681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23682 (__pthread_key_create): Likewise.
23683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23684 (__pthread_setspecific): Likewise.
23685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23686 (__pthread_getspecific): Likewise.
23687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23690 (_pthread_cleanup_push_defer): Likewise.
23691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23692 (_pthread_cleanup_pop_restore): Likewise.
23693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23694 (pthread_setcancelstate): Likewise.
23695 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23697 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23698 (memchr): Do not use BP_SYM in weak_alias.
23699 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23700 (fegetenv): Do not use BP_SYM in versioned symbols.
23701 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23702 (fesetenv): Do not use BP_SYM in versioned symbols.
23703 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23704 (feupdateenv): Do not use BP_SYM in versioned symbols.
23705 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23706 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23707 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23708 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23709 (open64): Do not use BP_SYM in weak_alias.
23710 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23711 (fegetenv): Do not use BP_SYM in versioned symbols.
23712 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23713 (fesetenv): Do not use BP_SYM in versioned symbols.
23714 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23715 (feupdateenv): Do not use BP_SYM in versioned symbols.
23716 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23717 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23718 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23719 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23720 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23721 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23722 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23724 (__libc_start_main): Do not use BP_SYM.
23726 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23729 redundant return line.
23731 (denorm): Likewise.
23732 (dbl_mp): Likewise.
23733 (sub_magnitudes): Likewise.
23739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23741 (denorm): Likewise.
23742 (dbl_mp): Likewise.
23743 (sub_magnitudes): Likewise.
23750 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23752 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23753 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23757 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23759 of __mul for squares.
23760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23764 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23765 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23767 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23770 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23772 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23773 prototype or function definition. Rename ubp_* variables and
23774 parameters. Remove argv definitions conditional on
23775 [__BOUNDED_POINTERS__].
23776 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23777 * elf/dl-runtime.c (_dl_fixup): Likewise.
23778 * include/set-hooks.h (RUN_HOOK): Likewise.
23779 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23781 * string/strcpy.c (strcpy): Do not use __unbounded.
23782 * sysdeps/generic/frame.h (struct layout): Likewise.
23783 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23784 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23785 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23786 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23787 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23788 (__backtrace): Likewise.
23789 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23791 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23792 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23793 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23795 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23796 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23797 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23798 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23799 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23800 Do not use __unbounded.
23801 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23802 Rename __unboundedrlimits parameter to rlimits in prototype.
23803 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23804 Do not use __unbounded.
23805 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23806 not use __ptrvalue.
23807 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23808 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23809 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23810 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23811 __ptrvalue or __unbounded.
23812 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23813 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23815 (__new_msgctl): Do not use __ptrvalue.
23816 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23818 (__libc_msgrcv): Do not use __ptrvalue.
23819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23820 startup_info): Do not use __unbounded.
23821 (__libc_start_main): Likewise. Rename ubp_* variables and
23822 parameters. Remove argv definitions conditional on
23823 [__BOUNDED_POINTERS__].
23824 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23826 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23828 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23830 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23832 (__new_shmctl): Do not use __ptrvalue.
23833 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23834 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23836 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23837 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23838 (__libc_sigaction): Likewise.
23839 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23840 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23842 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23844 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23846 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23848 * string/mempcpy.c: Implement by calling memcpy.
23850 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23857 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23858 values in the mantissa.
23860 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23861 minimize writes to Z.
23862 (sub_magnitudes): Simplify code a bit.
23864 2013-02-12 Roland McGrath <roland@hack.frob.com>
23866 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23867 from the message. The linker prefixes all warnings with that already.
23869 2013-02-12 Andreas Schwab <schwab@suse.de>
23872 * posix/regexec.c (extend_buffers): Add parameter min_len.
23873 (check_matching): Pass minimum needed length.
23874 (clean_state_log_if_needed): Likewise.
23875 (get_subexp): Likewise.
23876 * posix/Makefile (tests): Add bug-regex34.
23877 (bug-regex34-ENV): Define.
23878 * posix/bug-regex34.c: New file.
23881 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23882 elements compare against the byte sequence of it, not its name.
23883 * posix/Makefile (tests): Add bug-regex35.
23884 (bug-regex35-ENV): Define.
23885 * posix/bug-regex35.c: New file.
23887 2013-02-11 Tom de Vries <tom@codesourcery.com>
23889 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23891 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23892 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23893 (CHECK_EOL): Add undef.
23895 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23897 * bits/stdlib-bsearch.h: New file.
23898 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23899 * stdlib/stdlib.h: Likewise.
23901 2013-02-11 Roland McGrath <roland@hack.frob.com>
23903 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23904 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23906 * manual/search.texi (Array Search Function): Add missing const in
23908 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23909 declaration to use rlim_t.
23910 (Basic Scheduling Functions): Remove erroneous const from
23911 sched_getparam prototype. Remove erroneous * from
23912 sched_get_priority_max and sched_get_priority_min prototypes.
23913 (Resource Usage): Fix summary @comment on vtimes to refer to
23914 sys/vtimes.h rather than vtimes.h.
23915 Add missing *s in vtimes prototype.
23916 (Limits on Resources): Fix ulimit prototype to return long int.
23917 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23918 prototypes to use long int rather than double.
23919 (BSD Random): Fix initstate and setstate to use char *, not void *.
23920 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23921 prototype to make second argument 'struct aiocb64 *const[]'.
23922 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23923 (Status of AIO Operations): Remove erroneous const in aio_return and
23924 aio_return64 prototypes.
23925 (Synchronizing I/O): Fix sync prototype to return void.
23926 * manual/startup.texi (Suboptions): Remove an erroneous const in
23927 getsubopt prototype.
23928 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23929 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23930 use size_t rather than int.
23931 (Scanning All Users): Likewise for getpwent_r.
23932 (Setting Groups): Add missing const to setgroups prototype.
23933 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23934 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23935 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23936 'const void *' rather than 'const char *'.
23937 (Host Address Functions): Likewise for inet_ntop.
23938 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23939 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23940 ssize_t for return value.
23941 (Sending Data): Likewise for send, sendto, sendmsg.
23942 (Socket Option Functions): Add a missing const in setsockopt prototype.
23943 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23944 use wchar_t for the argument.
23945 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23946 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23948 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23949 double/float/long double for second argument.
23950 Fix return types of significand, significandf, significandl.
23951 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23952 argument in fchmod prototype.
23953 (File Owner): Use uid_t and gid_t in fchown prototype.
23954 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23955 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23956 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23957 use 'const struct dirent **' as argument types to CMP function pointer
23959 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23960 (File Times): Fix summary magic @comment for struct utimbuf and utime
23961 to refer to utime.h, not time.h.
23962 * manual/string.texi (Argz Functions): Add missing const in
23963 argz_extract and argz_next prototypes.
23964 (Finding Tokens in a String): Likewise for basename.
23965 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23966 (Copying and Concatenation): Fix typo in wmemmove prototype.
23967 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23968 (Signal Stack): Remove erroneous const in sigstack prototype.
23969 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23971 (Simple Calendar Time): Likewise for stime.
23972 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23974 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23975 say sys/sysctl.h instead.
23976 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23977 and vsyslog prototypes.
23979 2013-02-11 Tom de Vries <tom@codesourcery.com>
23981 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23984 2013-02-11 Roland McGrath <roland@hack.frob.com>
23986 * misc/sys/mman.h: Fix typo in mremap comment.
23988 2013-02-08 Roland McGrath <roland@hack.frob.com>
23990 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23991 the '\0' terminator.
23993 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23996 * debug/segfault.c: Don't include <bp-checks.h>.
23997 * sysdeps/generic/bp-checks.h: Remove file.
23998 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23999 (__GETDENTS): Don't use CHECK_N.
24000 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24001 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24002 (__getgroups): Don't use CHECK_N.
24003 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24004 (setgroups): Don't use CHECK_N.
24005 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24006 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24007 (__libc_msgrcv): Don't use CHECK_N.
24008 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24009 (__libc_msgsnd): Don't use CHECK_N.
24010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24012 (__libc_pread): Don't use CHECK_N.
24013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24014 include <bp-checks.h>.
24015 (__libc_pread64): Don't use CHECK_N.
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24017 include <bp-checks.h>.
24018 (__libc_pwrite): Don't use CHECK_N.
24019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24020 include <bp-checks.h>.
24021 (__libc_pwrite64): Don't use CHECK_N.
24022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24024 (__libc_pread): Don't use CHECK_N.
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24026 include <bp-checks.h>.
24027 (__libc_pread64): Don't use CHECK_N.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24029 include <bp-checks.h>.
24030 (__libc_pwrite): Don't use CHECK_N.
24031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24032 include <bp-checks.h>.
24033 (__libc_pwrite64): Don't use CHECK_N.
24034 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24035 (do_pread): Don't use CHECK_N.
24036 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24037 (do_pread64): Don't use CHECK_N.
24038 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24039 (do_pwrite): Don't use CHECK_N.
24040 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24041 (do_pwrite64): Don't use CHECK_N.
24042 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24043 (__libc_readv): Don't use CHECK_N.
24044 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24045 (semop): Don't use CHECK_N.
24046 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24048 (semtimedop): Don't use CHECK_N.
24049 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24050 (__libc_pread): Don't use CHECK_N.
24051 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24053 (__libc_pread64): Don't use CHECK_N.
24054 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24056 (__libc_pwrite): Don't use CHECK_N.
24057 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24059 (__libc_pwrite64): Don't use CHECK_N.
24060 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24062 (__libc_msgrcv): Don't use CHECK_N.
24063 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24064 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24065 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24066 (__libc_writev): Don't use CHECK_N.
24068 2013-02-08 Roland McGrath <roland@hack.frob.com>
24070 * string/strcpy.c: Removed unused variable.
24072 * Makeconfig (+sysdep-includes): Define with := rather than =.
24073 Use an existing include/ subdir of each sysdeps dir before it.
24075 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24077 * nscd/connection.c (register_traced_file): Comment function.
24078 [HAVE_INOTIFY] (union __inev): Define.
24079 [HAVE_INOTIFY] (inotify_check_files): New function.
24080 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24081 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24083 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24085 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24087 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24088 loaded if not already and that a failure is permanent.
24090 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24093 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24094 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24096 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24099 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24100 (CHECK_1_NULL_OK): Likewise.
24101 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24102 (__fxstat): Do not use CHECK_1.
24103 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24105 (___fxstat64): Do not use CHECK_1.
24106 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24108 (__fxstatat): Do not use CHECK_1.
24109 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24111 (__fxstatat64): Do not use CHECK_1.
24112 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24114 (__fxstat): Do not use CHECK_1.
24115 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24117 (__fxstatat): Do not use CHECK_1.
24118 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24120 (__getresgid): Do not use CHECK_1.
24121 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24123 (__getresuid): Do not use CHECK_1.
24124 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24126 (__lxstat): Do not use CHECK_1.
24127 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24129 (__old_msgctl): Do not use CHECK_1.
24130 (__new_msgctl): Likewise.
24131 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24133 (__new_setrlimit): Do not use CHECK_1.
24134 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24136 (__old_shmctl): Do not use CHECK_1.
24137 (__new_shmctl): Likewise.
24138 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24140 (__xstat): Do not use CHECK_1.
24141 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24142 (__lxstat): Do not use CHECK_1.
24143 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24145 (___lxstat64): Do not use CHECK_1.
24146 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24147 (__old_msgctl): Do not use CHECK_1.
24148 (__new_msgctl): Likewise.
24149 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24151 (__gettimeofday): Do not use CHECK_1.
24152 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24153 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24154 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24156 (__gettimeofday): Do not use CHECK_1.
24157 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24158 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24159 (__new_shmctl): Do not use CHECK_1.
24160 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24162 (do_sigtimedwait): Do not use CHECK_1.
24163 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24165 (do_sigwaitinfo): Do not use CHECK_1.
24166 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24168 (msgctl): Do not use CHECK_1.
24169 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24171 (shmctl): Do not use CHECK_1.
24172 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24173 (ustat): Do not use CHECK_1.
24174 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24176 (__fxstat): Do not use CHECK_1.
24177 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24179 (__fxstatat): Do not use CHECK_1.
24180 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24182 (__lxstat): Do not use CHECK_1.
24183 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24185 (__xstat): Do not use CHECK_1.
24186 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24187 (__xstat): Do not use CHECK_1.
24188 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24189 (___xstat64): Do not use CHECK_1.
24192 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24194 (CHECK_BOUNDS_HIGH): Likewise.
24195 * string/strcpy.c: Do not include <bp-checks.h>.
24196 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24198 2013-02-07 Roland McGrath <roland@hack.frob.com>
24200 * nscd/nscd-client.h (__nscd_drop_map_ref):
24201 Add __attribute__ ((unused)).
24202 * nis/nss-nisplus.h (niserr2nss): Likewise.
24204 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24205 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24207 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24208 Remove inline keyword.
24209 * include/rounding-mode.h (round_away): Likewise.
24210 * libio/wfileops.c (adjust_wide_data): Likewise.
24211 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24212 (__m128i_strloadu_tolower): Likewise.
24213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24214 (__m128i_strloadu_tolower): Likewise.
24215 * time/mktime.c (ydhms_diff): Likewise.
24216 * locale/elem-hash.h (elem_hash): Likewise.
24217 * locale/setlocale.c (setdata): Likewise.
24218 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24219 (re_string_wchar_at): Likewise.
24220 (bitset_not, bitset_merge, bitset_mask): Likewise.
24221 [!(__GNUC__ > 3)] (inline): Remove macro.
24222 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24223 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24224 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24225 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24226 * string/memcmp.c (memcmp_bytes): Likewise.
24227 * locale/programs/locarchive.c (compute_hashval): Likewise.
24228 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24229 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24230 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24231 * nss/getent.c (print_rpc, print_protocols): Likewise.
24232 (print_passwd, print_group, print_aliases): Likewise.
24233 * nis/nss-nisplus.h (niserr2nss): Likewise.
24234 * nscd/connections.c (restart_p): Likewise.
24235 Change return type to bool.
24237 2013-02-05 Roland McGrath <roland@hack.frob.com>
24239 * Makeconfig (all-Depend-files): Add existing
24240 $(sorted-subdirs:=/Depend) files.
24241 (all-subdirs): Remove nss.
24242 * sysdeps/unix/inet/Subdirs: Add it here instead.
24243 * hesiod/Depend: New file.
24245 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24246 instead of calling alloca.
24248 * io/lseek.c (__lseek): Rename to __libc_lseek.
24249 Define __lseek as an alias.
24251 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24253 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24255 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24256 else clause and remove check for non-standard endianness.
24258 2013-02-04 David S. Miller <davem@davemloft.net>
24260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24262 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24265 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24266 (__ubp_memchr): Remove prototype.
24267 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24268 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24269 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24270 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24271 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24273 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24274 (__ubp_memchr): Likewise.
24275 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24276 (__ubp_memchr): Likewise.
24277 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24278 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24279 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24280 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24282 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24283 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24284 (__getcwd): Do not use CHECK_STRING.
24285 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24287 (__real_chown): Do not use CHECK_STRING.
24288 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24290 (fchownat): Do not use CHECK_STRING.
24291 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24293 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24295 (__lchown): Do not use CHECK_STRING.
24296 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24297 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24298 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24299 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24301 include <bp-checks.h>.
24302 (truncate64): Do not use CHECK_STRING.
24303 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24305 (__real_chown): Do not use CHECK_STRING.
24306 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24308 (__lchown): Do not use CHECK_STRING.
24309 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24311 (__chown): Do not use CHECK_STRING.
24312 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24314 (truncate64): Do not use CHECK_STRING.
24315 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24317 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24318 (__xmknod): Do not use CHECK_STRING.
24319 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24321 (__xmknodat): Do not use CHECK_STRING.
24322 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24323 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24325 2013-02-04 Andreas Schwab <schwab@suse.de>
24328 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24329 * include/netdb.h: Likewise for h_errno.
24330 * elf/tst-stackguard1.c: Include <tls.h>.
24332 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24334 * elf/link.h (struct link_map): Extend the l_addr comment.
24335 * include/link.h (struct link_map): Likewise.
24337 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24340 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24341 (BOUNDED_1): Remove macro.
24342 * debug/backtrace.c: Don't include <bp-checks.h>.
24343 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24344 (__backtrace): Likewise.
24345 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24347 (__backtrace): Don't use BOUNDED_1.
24348 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24350 (__backtrace): Don't use BOUNDED_1.
24351 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24352 (__backtrace): Don't use BOUNDED_1.
24353 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24354 (shmat): Don't use BOUNDED_N.
24356 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24359 * sysdeps/generic/bp-start.h: Remove file.
24360 * csu/libc-start.c: Don't include <bp-start.h>.
24361 (LIBC_START_MAIN): Set up __environ directly instead of using
24362 INIT_ARGV_and_ENVIRON.
24363 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24367 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24369 (CHECK_FCNTL): Likewise.
24370 (CHECK_N_PAGES): Likewise.
24373 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24375 (CHECK_SIGSET_NULL_OK): Likewise.
24376 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24378 (sigpending): Don't use CHECK_SIGSET.
24379 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24381 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24382 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24384 (do_sigsuspend): Don't use CHECK_SIGSET.
24385 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24387 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24388 (do_sigwait): Don't use CHECK_SIGSET.
24389 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24391 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24392 include <bp-checks.h>.
24393 (sigpending): Don't use CHECK_SIGSET.
24394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24395 include <bp-checks.h>.
24396 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24397 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24399 (sigpending): Don't use CHECK_SIGSET.
24400 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24402 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24405 * sysdeps/generic/bp-semctl.h: Remove file.
24406 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24407 <bp-checks.h> and <bp-semctl.h>.
24408 (__old_semctl): Don't use CHECK_SEMCTL.
24409 (__new_semctl): Likewise.
24410 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24412 (__old_semctl): Don't use CHECK_SEMCTL.
24413 (__new_semctl): Likewise.
24414 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24415 <bp-checks.h> and <bp-semctl.h>.
24416 (__old_semctl): Don't use CHECK_SEMCTL.
24417 (__new_semctl): Likewise.
24418 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24419 <bp-checks.h> and <bp-semctl.h>.
24420 (semctl): Don't use CHECK_SEMCTL.
24423 * Makerules (elide-bp-thunks): Remove variable.
24424 (elide-routines.oS): Don't use $(elide-bp-thunks).
24425 (elide-routines.os): Likewise.
24426 (elide-routines.o): Likewise.
24427 (elide-routines.op): Likewise.
24428 (elide-routines.og): Likewise.
24429 (objects): Don't use $(bp-thunks).
24430 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24432 (common-generated): Do not add s-proto-bp.d.
24433 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24436 Do not generate makefile rules for bounded-pointer thunks.
24437 * sysdeps/generic/bp-thunks.h: Remove file.
24438 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24439 * sysdeps/unix/s-proto-bp.S: Likewise.
24442 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24443 parts of result separately when argument is not close to line from
24444 -i to i and one part of argument is small.
24445 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24446 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24447 * math/libm-test.inc (cacos_test): Add more tests.
24448 (casin_test): Likewise.
24449 (casinh_test): Likewise.
24450 * sysdeps/i386/fpu/libm-test-ulps: Update.
24451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24453 2013-01-31 David S. Miller <davem@davemloft.net>
24455 * po/de.po: Update from translation team.
24457 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24459 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24461 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24463 * configure.in (_AC_PROG_CC_C89): New definition.
24464 * configure: Regenerate.
24466 * configure.in (AC_PROG_CPP): New definition.
24467 * configure: Regenerate.
24469 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24471 * debug/tst-backtrace.h: New file.
24472 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24473 (ret): Remove variable.
24475 (FAIL): Remove macro.
24476 (NO_INLINE): Likewise.
24477 (fn1): Use match function instead of strstr.
24478 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24479 (ret): Remove variable.
24481 (FAIL): Remove macro.
24482 (NO_INLINE): Likewise.
24483 (fn): Use match function instead of strstr.
24484 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24485 (ret): Remove variable.
24487 (FAIL): Remove macro.
24488 (NO_INLINE): Likewise.
24489 (handle_signal): Use match function instead of strstr.
24490 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24491 (ret): Remove variable.
24493 (FAIL): Remove macro.
24494 (NO_INLINE): Likewise.
24495 (handle_signal): Use match function instead of strstr.
24497 2013-01-23 Roland McGrath <roland@hack.frob.com>
24499 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24501 2013-01-23 David S. Miller <davem@davemloft.net>
24503 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24504 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24505 argument of CAS if possible.
24506 * sysdeps/sparc/sparc64/bits/atomic.h
24507 (__arch_compare_and_exchange_val_32_acq): Likewise.
24508 (__arch_compare_and_exchange_val_64_acq): Likewise.
24510 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24512 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24513 * sysdeps/posix/ulimit.c: ... this.
24514 Include <limits.h>.
24515 * sysdeps/unix/bsd/ulimit.c: Remove file.
24517 2013-01-23 Adam Conrad <adconrad@0c3.net>
24519 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24520 (LDFLAGS-tst-array5): Likewise.
24522 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24525 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24526 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24527 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24528 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24530 2013-01-21 David S. Miller <davem@davemloft.net>
24532 * sysdeps/sparc/backtrace.c: New file.
24533 * sysdeps/sparc/sparc32/backtrace.h: New file.
24534 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24535 * sysdeps/sparc/sparc64/backtrace.h: New file.
24536 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24537 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24540 2013-01-21 Andreas Schwab <schwab@suse.de>
24543 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24546 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24552 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24553 Mark Mitchell <mark@codesourcery.com>
24554 Tom de Vries <tom@codesourcery.com>
24555 Paul Pluzhnikov <ppluzhnikov@google.com>
24557 * debug/tst-backtrace2.c: New file.
24558 * debug/tst-backtrace3.c: Likewise.
24559 * debug/tst-backtrace4.c: Likewise.
24560 * debug/tst-backtrace5.c: Likewise.
24561 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24562 (CFLAGS-tst-backtrace3.c): Likewise.
24563 (CFLAGS-tst-backtrace4.c): Likewise.
24564 (CFLAGS-tst-backtrace5.c): Likewise.
24565 (LDFLAGS-tst-backtrace2): Likewise.
24566 (LDFLAGS-tst-backtrace3): Likewise.
24567 (LDFLAGS-tst-backtrace4): Likewise.
24568 (LDFLAGS-tst-backtrace5): Likewise.
24569 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24570 tst-backtrace4 and tst-backtrace5.
24572 2013-01-18 Anton Blanchard <anton@samba.org>
24573 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24575 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24576 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24577 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24578 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24580 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24581 "+r" and remove output regs list as redundant. Add explicit inline
24582 asm to specify register of return val to work around compiler codegen
24583 bug. Remove (int) cast on return value. Add return type parameter to
24584 use in macro so that this macro does not truncate return value for
24586 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24587 pass to INTERNAL_VSYSCALL_NCS.
24588 (INLINE_VSYSCALL): Add 'long int' as return type to
24589 INTERNAL_VSYSCALL_NCS macro invocation.
24590 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24591 INTERNAL_VSYSCALL_NCS macro invocation.
24592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24594 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24597 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24598 Fix application of SIMD FP exception mask.
24600 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24601 mp_no from a power of two.
24602 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24603 __mpexp_twomm1. Use __pow_mp.
24605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24608 2013-01-17 David S. Miller <davem@davemloft.net>
24610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24612 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24615 * include/complex.h: Condition contents on [!_COMPLEX_H].
24616 (__kernel_casinhf): New prototype.
24617 (__kernel_casinh): Likewise.
24618 (__kernel_casinhl): Likewise.
24619 * math/Makefile (libm_calls): Add k_casinh.
24620 * math/k_casinh.c: New file.
24621 * math/k_casinhf.c: Likewise.
24622 * math/k_casinhl.c: Likewise.
24623 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24624 finite nonzero arguments.
24625 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24626 finite nonzero arguments.
24627 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24628 finite nonzero arguments.
24629 * math/s_casinh.c: Do not include <float.h>.
24630 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24631 * math/s_casinhf.c: Do not include <float.h>.
24632 (__casinhf): Move code for finite nonzero arguments to
24634 * math/s_casinhl.c: Do not include <float.h>.
24635 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24637 (__casinhl): Move code for finite nonzero arguments to
24639 * math/libm-test.inc (cacos_test): Add more tests.
24640 * sysdeps/i386/fpu/libm-test-ulps: Update.
24641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24643 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24645 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24646 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24647 [!HAVE_MREMAP]: Remove [defined linux] case.
24648 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24650 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24652 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24654 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24656 * elf/elf.h (R_386_SIZE32): New relocation.
24657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24659 (elf_machine_rela): Likewise.
24660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24661 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24663 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24665 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24666 (FP_FAST_FMA): Do not define.
24667 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24668 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24669 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24670 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24671 !_SOFT_FLOAT]: Likewise.
24672 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24673 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24675 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24676 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24677 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24678 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24679 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24680 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24683 2013-01-16 Andreas Schwab <schwab@suse.de>
24686 * include/stdlib.h (__mktemp): Add declaration.
24687 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24688 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24690 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24692 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24694 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24695 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24696 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24698 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24699 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24701 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24703 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24704 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24705 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24707 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24708 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24710 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24712 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24714 2013-01-15 David S. Miller <davem@davemloft.net>
24716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24717 trunc{,f} to libm-sysdep_routes.
24718 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24732 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24733 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24736 nearbyint{,f} to libm-sysdep_routes.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24748 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24750 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24754 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24755 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24757 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24758 libc_feholdexcept and libc_fesetenv.
24760 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24762 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24764 2013-01-14 David S. Miller <davem@davemloft.net>
24766 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24767 (SPARC_ASM_VIS2_IFUNC): Likewise.
24768 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24770 use of 'siam' instruction.
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24804 routines to libm-sysdep_routines.
24805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24808 fdim/fdimf to libm-sysdep_routines.
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24817 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24818 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24819 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24820 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24822 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24824 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24825 to optimize copies.
24827 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24832 local variable MPTWO.
24833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24836 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24838 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24841 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24843 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24845 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24847 * manual/pattern.texi (glob_t): Document gl_flags.
24848 (glob64_t): Likewise.
24850 2013-01-11 David S. Miller <davem@davemloft.net>
24852 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24853 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24854 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24855 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24856 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24857 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24858 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24859 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24860 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24861 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24862 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24863 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24864 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24866 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24867 sparc V9 rather than using V8 code.
24868 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24869 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24871 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24873 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24876 2013-01-11 Roland McGrath <roland@hack.frob.com>
24878 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24879 not in the main loop.
24880 * configure: Regenerated.
24882 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24884 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24885 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24887 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24888 [!__GLIBC_HAVE_LONG_LONG] case.
24889 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24890 condition to just #else.
24891 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24892 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24893 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24894 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24896 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24897 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24898 #elif condition to just #else.
24899 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24900 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24901 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24902 #elif condition to just #else.
24904 2013-01-11 Steve Ellcey <sellcey@mips.com>
24906 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24907 (EF_MIPS_ARCH_64): Fix value.
24908 (EF_MIPS_ARCH_32R2): New.
24909 (EF_MIPS_ARCH_64R2): New.
24911 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24913 * Makeconfig (+link-pie-before-libc): New.
24914 (+link-pie-after-libc): Likewise.
24915 (+link-pie-tests): Likewise.
24916 (+link-pie): Rewritten.
24917 (link-before-libc): Remove $(config-LDFLAGS).
24918 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24919 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24920 (config-LDFLAGS): Renamed to ...
24921 (rtld-LDFLAGS): This.
24922 (rtld-tests-LDFLAGS): New macro.
24923 (link-libc-rpath-link): Likewise.
24924 (link-libc-tests-rpath-link): Likewise.
24925 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24926 (link-libc): Prepand $(link-libc-rpath-link).
24927 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24928 (test-program-prefix): New macro.
24929 (test-via-rtld-prefix): Likewise.
24930 (test-program-cmd): Likewise.
24931 (host-test-program-cmd): Likewise.
24932 * Makefile ($(common-objpfx)testrun.sh): Replace
24933 $(run-program-prefix) with $(test-program-prefix).
24934 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24936 ($(common-objpfx)shlib.lds): Likewise.
24937 (build-module-helper): Likewise.
24938 ($(common-objpfx)format.lds): Likewise.
24939 * Rules (binaries-pie-tests): New.
24940 (binaries-pie-notests): Likewise.
24941 (binaries-pie): Rewritten.
24942 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24943 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24944 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24945 (make-test-out): Replace $(host-built-program-cmd) with
24946 $(host-test-program-cmd).
24947 * config.make.in (build-hardcoded-path-in-tests): New variable.
24948 * configure.in (--enable-hardcoded-path-in-tests): New configure
24950 (hardcoded_path_in_tests): New AC_SUBST.
24951 * configure: Regenerated.
24952 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24953 $(built-program-cmd) with $(test-program-cmd).
24954 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24955 (test_program_cmd): This.
24956 * elf/Makefile ($(objpfx)order.out): Run test with
24957 $(test-program-prefix).
24958 ($(objpfx)order2.out): Likewise.
24959 ($(objpfx)tst-initorder.out): Likewise.
24960 ($(objpfx)tst-initorder2.out): Likewise.
24961 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24962 $(test-program-cmd).
24963 ($(objpfx)tst-array1-static.out): Likewise.
24964 ($(objpfx)tst-array2.out): Likewise.
24965 ($(objpfx)tst-array3.out): Likewise.
24966 ($(objpfx)tst-array4.out): Likewise.
24967 ($(objpfx)tst-array5.out): Likewise.
24968 ($(objpfx)tst-array5-static.out): Likewise.
24969 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24970 $(test-program-cmd).
24971 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24972 $(run-program-prefix) with $(test-program-prefix).
24973 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24974 (test_program_prefix): This.
24975 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24976 $(run-program-prefix) with $(test-program-prefix).
24977 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24978 (test_program_prefix): This.
24979 * iconvdata/tst-tables.sh: Likewise.
24980 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24981 $(run-program-prefix) with $(test-program-prefix).
24982 ($(objpfx)tst-translit.out): Likewise.
24983 ($(objpfx)tst-gettext2.out): Likewise.
24984 ($(objpfx)tst-gettext4.out): Likewise.
24985 ($(objpfx)tst-gettext6.out): Likewise.
24986 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24987 (test_program_prefix): This.
24988 * intl/tst-gettext2.sh: Likewise.
24989 * intl/tst-gettext4.sh Likewise.
24990 * intl/tst-gettext6.sh: Likewise.
24991 * intl/tst-translit.sh: Likewise.
24992 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24993 with $(test-program-cmd).
24994 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24995 $(run-program-prefix) with $(test-program-prefix).
24996 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24997 (test_program_prefix): This.
24998 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24999 $(run-program-prefix) with $(test-program-prefix).
25000 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25001 (test_program_prefix): This.
25002 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25003 * posix/Makefile ($(objpfx)globtest.out): Replace
25004 $(run-via-rtld-prefix) and $(test-wrapper) with
25005 $(test-program-prefix) and $(test-via-rtld-prefix).
25006 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25007 $(test-program-prefix).
25008 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25009 $(host-test-program-cmd).
25010 (tst-spawn-ARGS): Likewise.
25011 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25012 $(test-program-prefix).
25013 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25014 (test_via_rtld_prefix): This.
25015 (test_wrapper): Renamed to ...
25016 (test_program_prefix): This.
25017 (run_program_prefix): Replaced by test_program_prefix.
25018 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25019 (test_program_prefix): This.
25020 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25021 with $(host-test-program-cmd).
25022 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25023 $(run-program-prefix) with $(test-program-prefix).
25024 ($(objpfx)tst-printf.out): Likewise.
25025 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25026 $(test-program-cmd).
25027 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25028 (test_program_prefix): This.
25029 * stdio-common/tst-unbputc.sh: Likewise.
25030 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25031 $(run-program-prefix) with $(test-program-prefix).
25032 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25033 (test_program_prefix): This.
25034 * string/Makefile ($(objpfx)tst-svc.out): Replace
25035 $(built-program-cmd) with $(test-program-cmd).
25037 2013-01-11 Andreas Jaeger <aj@suse.de>
25040 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25041 value. Sync with Linux 3.7.
25043 2013-01-10 David S. Miller <davem@davemloft.net>
25045 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25046 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25047 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25049 2013-01-10 Roland McGrath <roland@hack.frob.com>
25051 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25053 * configure: Regenerated.
25055 2013-01-10 David S. Miller <davem@davemloft.net>
25057 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25058 sparc V9 rather than using V8 code.
25059 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25060 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25062 2013-01-10 Roland McGrath <roland@hack.frob.com>
25064 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25065 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25066 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25067 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25068 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25069 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25070 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25071 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25072 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25073 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25074 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25075 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25076 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25077 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25078 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25079 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25080 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25081 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25082 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25083 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25084 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25085 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25086 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25087 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25088 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25089 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25090 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25092 2013-01-10 David S. Miller <davem@davemloft.net>
25094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25096 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25098 * posix/Makefile (tests-static): New variable.
25099 (tests): Add $(tests-static).
25100 (tst-exec-static-ARGS): New variable.
25101 (tst-spawn-static-ARGS): Likewise.
25102 * posix/tst-exec-static.c: New file.
25103 * posix/tst-spawn-static.c: Likewise.
25104 * posix/tst-exec.c: Support run directly.
25105 * posix/tst-spawn.c: Likewise.
25107 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25109 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25111 * math/bits/mathcalls.h (llrint): Likewise.
25112 (llround): Likewise.
25113 * stdlib/stdlib.h (struct drand48_data): Likewise.
25114 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25115 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25116 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25118 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25120 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25121 (elf_greg_t): Likewise.
25122 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25123 (__jmp_buf): Likewise.
25124 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25126 (llrint): Likewise, for all definitions.
25127 (llrintl): Likewise.
25129 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25130 Remove [__GNUC__] condition.
25131 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25132 condition to just [__USE_ISOC99].
25133 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25135 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25138 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25139 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25141 (_POSIX_V6_ILP32_OFF32): Likewise.
25142 (_XBS5_ILP32_OFF32): Likewise.
25143 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25144 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25146 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25148 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25151 doubles __mpexp_twomm1. Adjust usage.
25152 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25155 2013-01-10 Andreas Schwab <schwab@suse.de>
25158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25159 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25161 2013-01-09 David S. Miller <davem@davemloft.net>
25164 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25165 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25166 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25167 (TCP_FASTOPEN): Define.
25168 (tcp_repair_opt): New structure.
25169 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25171 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25172 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25173 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25174 (tcp_cookie_transactions): New structure.
25176 2013-01-09 Anton Blanchard <anton@samba.org>
25178 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25179 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25181 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25183 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25185 * include/features.h (__USE_ANSI): Remove.
25187 2013-01-09 Roland McGrath <roland@hack.frob.com>
25189 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25191 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25193 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25195 * sysdeps/s390/fpu/libm-test-ulps: Update.
25197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25199 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25203 (denorm): Likewise.
25204 (__mp_dbl): Likewise.
25205 (__dbl_mp): Likewise.
25206 (add_magnitudes): Likewise.
25207 (sub_magnitudes): Likewise.
25213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25217 (denorm): Likewise.
25218 (__mp_dbl): Likewise.
25219 (__dbl_mp): Likewise.
25220 (add_magnitudes): Likewise.
25221 (sub_magnitudes): Likewise.
25227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25231 (denorm): Likewise.
25232 (__mp_dbl): Likewise.
25233 (__dbl_mp): Likewise.
25234 (add_magnitudes): Likewise.
25235 (sub_magnitudes): Likewise.
25242 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25244 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25245 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25246 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25247 2 && __USE_EXTERN_INLINES]: Likewise.
25249 2013-01-08 Andreas Jaeger <aj@suse.de>
25252 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25254 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25255 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25257 2013-01-07 Anton Blanchard <anton@samba.org>
25259 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25260 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25261 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25262 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25263 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25264 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25265 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25266 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25268 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25269 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25270 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25274 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25275 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25276 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25277 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25280 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25282 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25283 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25284 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25286 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25289 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25292 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25293 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25296 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25298 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25299 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25301 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25303 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25305 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25306 (__MALLOC_PMT): Likewise.
25307 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25308 [__GNUC__], only on [_LIBC].
25309 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25310 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25311 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25312 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25313 forward declaration.
25314 (realloc_hook_ini): Likewise.
25315 (memalign_hook_ini): Likewise.
25316 (__libc_memalign): Do not use __MALLOC_PMT in variable
25318 (__libc_valloc): Likewise.
25319 (__libc_pvalloc): Likewise.
25320 (__libc_calloc): Likewise.
25321 (__posix_memalign): Likewise.
25324 * math/s_casinh.c: Include <float.h>.
25325 (__casinh): Do not do computation with squaring and square root
25326 for large arguments.
25327 * math/s_casinhf.c: Include <float.h>.
25328 (__casinhf): Do not do computation with squaring and square root
25329 for large arguments.
25330 * math/s_casinhl.c: Include <float.h>.
25331 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25332 (__casinhl): Do not do computation with squaring and square root
25333 for large arguments.
25334 * math/libm-test.inc (casin_test): Add more tests.
25335 (casinh_test): Likewise.
25336 * sysdeps/i386/fpu/libm-test-ulps: Update.
25337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25339 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25341 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25342 (__x86_64_raw_data_cache_size): Likewise.
25343 (__x86_64_data_cache_size_half): Likewise.
25344 (__x86_64_raw_data_cache_size_half): Likewise.
25345 (__x86_64_shared_cache_size): Likewise.
25346 (__x86_64_raw_shared_cache_size): Likewise.
25347 (__x86_64_shared_cache_size_half): Likewise.
25348 (__x86_64_raw_shared_cache_size_half): Likewise.
25349 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25351 (__x86_data_cache_size): This.
25352 (__x86_64_raw_data_cache_size): Renamed to ...
25353 (__x86_raw_data_cache_size): This.
25354 (__x86_64_data_cache_size_half): Renamed to ...
25355 (__x86_data_cache_size_half): This.
25356 (__x86_64_raw_data_cache_size_half): Renamed to ...
25357 (__x86_raw_data_cache_size_half): This.
25358 (__x86_64_shared_cache_size): Renamed to ...
25359 (__x86_shared_cache_size): This.
25360 (__x86_64_raw_shared_cache_size): Renamed to ...
25361 (__x86_raw_shared_cache_size): This.
25362 (__x86_64_shared_cache_size_half): Renamed to ...
25363 (__x86_shared_cache_size_half): This.
25364 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25365 (__x86_raw_shared_cache_size_half): This.
25366 * sysdeps/x86_64/memcpy.S: Updated.
25367 * sysdeps/x86_64/memset.S: Likewise.
25368 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25369 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25370 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25372 2013-01-04 David S. Miller <davem@davemloft.net>
25374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25376 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25378 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25379 1 to avoid redefinition warning.
25380 (__USE_GNU): Don't define.
25381 (init_signaling_nan): Protoize.
25383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25385 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25387 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25389 (__cpymn): Likewise.
25390 (norm): Remove commented code.
25391 (denorm): Likewise.
25392 (__mp_dbl): Likewise.
25394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25395 (__cpymn): Likewise.
25396 (norm): Remove commented code.
25397 (denorm): Likewise.
25398 (__mp_dbl): Likewise.
25401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25402 mp_no value for 1.0 and 2.0.
25403 (norm): Use RADIXI instead of radixi.d.
25404 (denorm): Likewise.
25405 (__mul): Use 0.0 instead of zero.d.
25406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25407 mp_no value for 1.0 and 2.0.
25408 (norm): Use RADIXI instead of radixi.d.
25409 (denorm): Likewise.
25410 (__mul): Use 0.0 instead of zero.d.
25412 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25415 * math/s_casinh.c (__casinh): Reduce finite argument to first
25416 quadrant then set signs of results at the end.
25417 * math/s_casinhf.c (__casinhf): Likewise.
25418 * math/s_casinhl.c (__casinhl): Likewise.
25419 * math/libm-test.inc (casin_test): Add more tests.
25420 (casinh_test): Likewise.
25421 * sysdeps/i386/fpu/libm-test-ulps: Update.
25422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25424 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25426 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25428 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25430 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25432 (denorm): Likewise.
25433 (__mp_dbl): Likewise.
25436 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25437 and adjust the header comment.
25439 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25440 variable name from declaration.
25442 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25445 Initialize COMMON_CPUID_INDEX_7 element.
25446 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25447 (CPUID_RTM): Likewise.
25448 (HAS_RTM): Likewise.
25449 (COMMON_CPUID_INDEX_7): New enum.
25451 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25454 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25455 size is zero, record memory as freed.
25457 2013-01-03 Andreas Jaeger <aj@suse.de>
25459 * po/ia.po: Add new Interlingua translation.
25461 2012-01-03 Allan McRae <allan@archlinux.org>
25463 * locale/programs/localedef.c: Fix description of '--posix' flag.
25465 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25467 * NEWS: Update dates in second copyright notice.
25468 * README: Update copyright dates in example.
25469 * manual/libc.texinfo: Update copyright dates.
25470 * scripts/test-installation.pl: Update copyright date in --version
25473 * hurd/ctty-input.c: Fix copyright notice formatting.
25474 * hurd/ctty-output.c: Likewise.
25475 * hurd/dtable.c: Likewise.
25476 * hurd/hurd-raise.c: Likewise.
25477 * hurd/hurdprio.c: Likewise.
25478 * hurd/msgportdemux.c: Likewise.
25479 * misc/sys/file.h: Likewise.
25480 * misc/sys/ioctl.h: Likewise.
25481 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25482 * sysdeps/mach/hurd/chdir.c: Likewise.
25483 * sysdeps/mach/hurd/fchdir.c: Likewise.
25484 * sysdeps/mach/hurd/rename.c: Likewise.
25485 * sysdeps/mach/hurd/rmdir.c: Likewise.
25486 * sysdeps/mach/hurd/seekdir.c: Likewise.
25487 * sysdeps/mach/hurd/setsid.c: Likewise.
25488 * sysdeps/posix/wait3.c: Likewise.
25490 * All files with FSF copyright notices: Update copyright dates
25491 using scripts/update-copyrights.
25492 * intl/plural.c: Regenerated.
25493 * locale/programs/charmap-kw.h: Likewise.
25494 * locale/programs/locfile-kw.h: Likewise.
25496 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25498 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25501 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25502 calculation loop and add branch prediction.
25504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25505 check access beyond bounds of m1np.
25507 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25509 (__inv): Remove local variable MPTWO to use the global
25511 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25512 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25514 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25515 MP3HALFS static const.
25517 2013-01-01 David S. Miller <davem@davemloft.net>
25519 * po/ca.po: Update from translation team.
25521 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25523 * scripts/update-copyrights: New file.
25524 * Makeconfig: Reformat copyright notice.
25525 * ctype/ctype.h: Likewise.
25526 * debug/swprintf_chk.c: Likewise.
25527 * elf/dl-cache.c: Likewise.
25528 * elf/dl-debug.c: Likewise.
25529 * elf/dl-object.c: Likewise.
25530 * grp/initgroups.c: Likewise.
25531 * hurd/Makefile: Likewise.
25532 * hurd/hurd/signal.h: Likewise.
25533 * hurd/hurdfault.c: Likewise.
25534 * hurd/hurdioctl.c: Likewise.
25535 * hurd/hurdlookup.c: Likewise.
25536 * hurd/intr-msg.c: Likewise.
25537 * iconv/gconv_open.c: Likewise.
25538 * libio/swprintf.c: Likewise.
25539 * locale/lc-ctype.c: Likewise.
25540 * locale/nl_langinfo.c: Likewise.
25541 * mach/Machrules: Likewise.
25542 * mach/Makefile: Likewise.
25543 * malloc/obstack.h: Likewise.
25544 * manual/Makefile: Likewise.
25545 * manual/tsort.awk: Likewise.
25546 * misc/bits/stab.def: Likewise.
25547 * nis/nis_print_group_entry.c: Likewise.
25548 * nis/nis_table.c: Likewise.
25549 * nis/nss_compat/compat-pwd.c: Likewise.
25550 * nis/nss_compat/compat-spwd.c: Likewise.
25551 * po/Makefile: Likewise.
25552 * posix/fnmatch.c: Likewise.
25553 * posix/regex.h: Likewise.
25554 * resolv/Makefile: Likewise.
25555 * resolv/nss_dns/dns-network.c: Likewise.
25556 * resolv/res_hconf.c: Likewise.
25557 * scripts/gen-sorted.awk: Likewise.
25558 * soft-fp/soft-fp.h: Likewise.
25559 * stdio-common/printf.h: Likewise.
25560 * stdlib/monetary.h: Likewise.
25561 * stdlib/random.c: Likewise.
25562 * stdlib/random_r.c: Likewise.
25563 * sysdeps/generic/Makefile: Likewise.
25564 * sysdeps/gnu/Makefile: Likewise.
25565 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25572 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25575 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25576 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25577 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25579 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25581 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25587 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25588 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25589 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25593 * sysdeps/mach/hurd/errnos.awk: Likewise.
25594 * sysdeps/mach/hurd/fork.c: Likewise.
25595 * sysdeps/mach/hurd/getcwd.c: Likewise.
25596 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25597 * sysdeps/mach/hurd/mmap.c: Likewise.
25598 * sysdeps/mach/hurd/utimes.c: Likewise.
25599 * sysdeps/mach/hurd/xmknod.c: Likewise.
25600 * sysdeps/posix/profil.c: Likewise.
25601 * sysdeps/posix/readdir_r.c: Likewise.
25602 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25603 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25604 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25605 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25607 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25608 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25609 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25611 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25612 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25613 * sysdeps/pthread/lio_listio.c: Likewise.
25614 * sysdeps/sparc/dl-procinfo.h: Likewise.
25615 * sysdeps/unix/i386/sysdep.S: Likewise.
25616 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25617 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25618 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25619 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25621 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25622 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25623 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25624 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25625 * sysdeps/wordsize-32/divdi3.c: Likewise.
25626 * time/sys/time.h: Likewise.
25627 * wcsmbs/Makefile: Likewise.
25629 2013-01-01 David S. Miller <davem@davemloft.net>
25631 * po/fr.po: Update from translation team.
25633 * catgets/gencat.c: Update copyright year.
25634 * csu/version.c: Likewise.
25635 * debug/catchsegv.sh: Likewise.
25636 * debug/pcprofiledump.c: Likewise.
25637 * debug/xtrace.sh: Likewise.
25638 * elf/ldconfig.c: Likewise.
25639 * elf/ldd.bash.in: Likewise.
25640 * elf/pldd.c: Likewise.
25641 * elf/sotruss.ksh: Likewise.
25642 * elf/sprof.c: Likewise.
25643 * iconv/iconv_prog.c: Likewise.
25644 * iconv/iconvconfig.c: Likewise.
25645 * locale/programs/locale.c: Likewise.
25646 * locale/programs/localedef.c: Likewise.
25647 * login/programs/pt_chown.c: Likewise.
25648 * malloc/memusage.sh: Likewise.
25649 * malloc/memusagestat.c: Likewise.
25650 * malloc/mtrace.pl: Likewise.
25651 * nscd/nscd.c: Likewise.
25652 * nss/getent.c: Likewise.
25653 * nss/makedb.c: Likewise.
25654 * posix/getconf.c: Likewise.
25656 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25658 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25661 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25663 * math/bits/mathcalls.h (modf): Use __nonnull.
25665 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25667 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25668 (split): Use macro CN instead of the bare value.
25669 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25672 instead of the bare value.
25673 (power1): Likewise.
25675 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25679 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25681 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25683 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25684 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25685 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25686 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25688 2012-12-28 Andreas Jaeger <aj@suse.de>
25690 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25691 values are from Linux 3.7.
25693 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25694 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25696 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25698 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25701 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25703 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25704 variables with preprocessor constants.
25705 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25706 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25707 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25709 2012-12-27 Bruno Haible <bruno@clisp.org>
25712 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25715 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25718 and use variable directly.
25719 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25721 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25723 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25726 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25728 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25729 include directive. Remove local variable MPONE.
25730 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25731 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25732 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25734 2012-12-25 David S. Miller <davem@davemloft.net>
25736 * version.h (RELEASE): Set to "development".
25737 (VERSION): Set to "2.17.90".
25738 * NEWS: Add 2.18 section.
25740 2012-12-21 David S. Miller <davem@davemloft.net>
25742 * po/hr.po: Update from translation team.
25744 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25746 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25748 2012-12-19 Steve Ellcey <sellcey@mips.com>
25750 * NEWS: Mention new memcpy for MIPS.
25752 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25754 * manual/contrib.texi (Contributors): Spelling correction.
25756 2012-12-15 David S. Miller <davem@davemloft.net>
25758 * po/ru.po: Update from translation team.
25760 2012-12-13 David S. Miller <davem@davemloft.net>
25762 * NEWS: Mention IFUNC testsuite enhancements.
25764 * po/pl.po: Update from translation team.
25765 * po/bg.po: Likewise.
25767 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25768 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25770 2012-12-11 David S. Miller <davem@davemloft.net>
25772 * po/sv.po: Update from translation team.
25774 * po/vi.po: Update from translation team.
25776 * po/cs.po: Update from translation team.
25778 * po/de.po: Update from translation team.
25779 * po/eo.po: Likewise.
25780 * po/nl.po: Likewise.
25782 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25785 * manual/argp.texi (Argp Helper Functions): Move node to follow
25786 Argp Parsing State.
25789 * manual/conf.texi (Limits on File System Capacity): Mention if
25790 terminating null is included in the max size.
25792 2012-12-10 Andreas Jaeger <aj@suse.de>
25794 * po/cs.po: Update from translation team.
25796 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25798 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25799 void pointer and cast to uintptr_t.
25800 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25802 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25803 * sysdeps/s390/s390-64/memset.S: Likewise.
25805 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25808 * menual/message.texi (Message Translation): Fix typos.
25809 (Helper programs for gettext): Likewise.
25811 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25814 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25817 2012-12-07 David S. Miller <davem@davemloft.net>
25819 * po/libc.pot: Update.
25821 2012-12-07 Richard Henderson <rth@redhat.com>
25824 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25825 normal/normal case to before the switch.
25826 (_FP_DIV): Likewise.
25828 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25829 Mike Frysinger <vapier@gentoo.org>
25831 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25832 check for __NR_fadvise64_64.
25834 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25836 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25837 0, not just to plain "0" as a statement.
25838 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25841 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25843 * NEWS: Use sourceware.org in Bugzilla URL.
25845 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25848 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25850 * stdio-common/tst-put-error.c (do_test): Add newline to the
25851 padded test to ensure flush.
25853 2012-12-05 Jeff Law <law@redhat.com>
25855 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25857 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25859 * README: Don't refer to ports add-on as distributed separately.
25860 Mention AArch64 in list of systems supported in the ports add-on.
25862 * LICENSES: Add more non-FSF copyright and license notices.
25864 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25867 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25869 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25870 10000 as width of padded output.
25872 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25874 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25876 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25877 variable LX with __attribute__ ((unused)).
25878 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25880 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25883 with __attribute__ ((unused)).
25885 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25887 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25889 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25891 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25892 (CFLAGS-nldbl-acos.c): New variable.
25893 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25894 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25895 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25896 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25897 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25898 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25899 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25900 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25901 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25902 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25903 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25904 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25905 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25906 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25907 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25908 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25909 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25910 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25911 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25912 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25913 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25914 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25915 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25916 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25917 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25918 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25919 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25920 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25921 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25922 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25923 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25924 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25925 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25926 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25927 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25928 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25929 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25930 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25931 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25932 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25933 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25934 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25935 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25936 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25937 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25938 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25939 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25940 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25941 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25942 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25943 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25944 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25945 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25946 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25947 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25948 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25949 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25950 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25951 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25952 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25953 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25954 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25955 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25956 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25957 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25958 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25959 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25960 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25961 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25962 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25963 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25964 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25965 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25966 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25967 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25968 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25969 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25970 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25971 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25972 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25973 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25974 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25975 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25976 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25977 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25978 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25979 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25980 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25981 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25982 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25983 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25984 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25985 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25986 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25987 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25988 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25989 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25992 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25996 whole low double instead of just low 47 bits when splitting values
25999 2012-12-03 Allan McRae <allan@archlinux.org>
26001 * manual/stdio.texi (Predefined Printf Handlers): Remove
26002 @hsep and @vsep usage.
26004 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26006 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26007 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26009 2012-12-03 Jeff Law <law@redhat.com>
26011 * time/sys/time.h (settimeofday): Do not mark TV argument
26014 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26016 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26017 when currently writing and seek to current position when not.
26018 * libio/Makefile (tests): Remove bug-fclose1.
26019 * libio/bug-fclose1.c: Delete.
26021 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26023 * manual/arith.texi (feenableexcept): Fix typo.
26024 (fedisableexcept): Likewise.
26026 2012-11-30 Roland McGrath <roland@hack.frob.com>
26028 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26029 second, differently-typed declaration, rather than a cast.
26031 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26033 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26034 * include/rpc/svc.h: ... here.
26036 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26039 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26040 depending n and resplen2 to catch cases where answer
26043 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26045 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26046 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26048 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26050 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26052 2012-11-29 Roland McGrath <roland@hack.frob.com>
26054 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26056 2012-11-28 Jeff Law <law@redhat.com>
26059 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26060 dataset_temporary. Track alloca usage into alloca_used.
26061 If dataset is large allocate and release it via malloc/free.
26063 2012-06-04 Florian Weimer <fweimer@redhat.com>
26066 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26068 2012-11-28 David S. Miller <davem@davemloft.net>
26070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26072 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26075 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26076 of pi/2 rounded to nearest to 64 bits.
26077 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26078 nearest to 64 bits.
26079 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26082 2012-11-28 Jeff Law <law@redhat.com>
26083 Martin Osvald <mosvald@redhat.com>
26086 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26087 * sunrpc/svc.c: Include time.h.
26088 (__svc_accept_failed): New function.
26089 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26090 any reason other than EINTR, call __svc_accept_failed.
26091 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26092 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26094 2012-11-28 Andreas Schwab <schwab@suse.de>
26096 * scripts/abilist.awk: Also handle indirect functions in .opd
26099 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26102 * sysdeps/x86/fpu/powl_helper.c: New file.
26103 * sysdeps/x86/fpu/Makefile: Likewise.
26104 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26106 (__ieee754_powl): Use __powl_helper for finite arguments except
26107 integer exponents below 8.
26108 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26110 (__ieee754_powl): Use __powl_helper for finite arguments except
26111 integer exponents below 8.
26112 * math/libm-test.inc (pow_test): Add more tests and enable some
26113 previously disabled tests.
26114 * sysdeps/i386/fpu/libm-test-ulps: Update.
26115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26117 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26118 Carlos O'Donell <carlos_odonell@mentor.com>
26120 * nss/makedb.c (is_prime): Assert that input is odd and greater
26121 than 4. Note that fact in a comment too.
26122 (next_prime): Add 4 to input.
26124 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26127 * libio/Makefile (tests): Add test case tst-fwrite-error.
26128 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26129 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26130 * libio/tst-fwrite-error.c: New test case.
26132 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26134 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26135 before casting to void *.
26136 * include/libc-internal.h (__pointer_type): New macro.
26137 (__integer_if_pointer_type_sub): Likewise.
26138 (__integer_if_pointer_type): Likewise.
26139 (cast_to_integer): Likewise.
26140 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26141 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26142 before casting to atomic64_t.
26143 (atomic_exchange_acq): Likewise.
26144 (__arch_exchange_and_add_body): Likewise.
26145 (__arch_add_body): Likewise.
26146 (atomic_add_negative): Likewise.
26147 (atomic_add_zero): Likewise.
26149 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26151 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26152 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26153 (add_fdes): Likewise.
26154 (linear_search_fdes): Likewise.
26155 (binary_search_unencoded_fdes): Likewise.
26157 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26159 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26161 2012-11-24 Adam Conrad <adconrad@0c3.net>
26163 * configure.in: Autodetect C++ header directories.
26164 * configure: Regenerated.
26166 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26168 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26170 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26174 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26176 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26177 LDBL_MANT_DIG == 106]: Disable some tests.
26178 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26180 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26184 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26185 input for small inputs. Return +/- pi/2 for large inputs.
26186 * math/libm-test.inc (atan_test): Add more tests.
26188 * sysdeps/generic/unwind-dw2-fde-glibc.c
26189 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26190 __attribute__ ((unused)).
26193 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26194 x * y if x and y are nonzero and z is zero.
26197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26198 nonzero exponents with absolute value below 0x1p-117 to +/-
26202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26203 up arguments below 2**-450, not just those below 2**-500.
26204 * math/libm-test.inc (hypot_test): Add another test.
26207 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26208 Return a+b for ratio over 2**120, not 2**60.
26209 * math/libm-test.inc (hypot_test): Add another test.
26211 * math/libm-test.inc (clog_test): Use
26212 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26213 (clog10_test): Likewise.
26216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26218 2012-11-22 Andreas Schwab <schwab@suse.de>
26220 * sysdeps/i386/fpu/libm-test-ulps: Update.
26222 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26224 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26225 printf output with newline.
26227 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26230 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26231 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26232 -z nodlopen, -z initfirst and -z execstack support.
26233 * configure: Regenerated.
26235 * elf/elf.h (DF_1_NODIRECT): New macro.
26236 (DF_1_IGNMULDEF): Likewise.
26237 (DF_1_NOKSYMS): Likewise.
26238 (DF_1_NOHDR): Likewise.
26239 (DF_1_EDITED): Likewise.
26240 (DF_1_NORELOC): Likewise.
26241 (DF_1_SYMINTPOSE): Likewise.
26242 (DF_1_GLOBAUDIT): Likewise.
26243 (DF_1_SINGLETON): Likewise.
26244 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26245 DT_1_SUPPORTED_MASK bits.
26246 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26248 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26250 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26252 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26254 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26257 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26258 (sendmmsg): Move declarations...
26259 * socket/sys/socket.h: ... here.
26260 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26261 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26263 * socket/recvmmsg.c: ... this new file.
26264 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26265 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26266 definition of __sendmmsg hidden.
26267 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26268 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26269 Move ENOSYS stub into and include it from...
26270 * socket/sendmmsg.c: ... this new file.
26271 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26272 (sysdep_routines): Move recvmmsg and sendmmsg...
26273 * socket/Makefile (routines): ... here.
26274 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26275 (GLIBC_PRIVATE): Add __sendmmsg.
26276 * include/sys/socket.h (__sendmmsg): Add declarations.
26277 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26280 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26282 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26283 variable I1 with __attribute__ ((unused)).
26284 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26286 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26288 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26289 DUMMY variables with __attribute__ ((unused)).
26291 * bits/byteswap.h: Include <bits/types.h>.
26292 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26294 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26296 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26297 string_t. Do not manually set errno.
26298 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26299 length with __strnlen. Make sure to both set errno and return it on
26302 2012-11-19 David S. Miller <davem@davemloft.net>
26304 With help from Joseph Myers.
26305 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26306 very large arguments properly.
26307 * math/libm-test.inc (atan_test): New tests.
26308 (atan2_test): New tests.
26309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26312 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26315 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26318 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26319 [POSIX] (EADDRNOTAVAIL): Likewise.
26320 [POSIX] (EAFNOSUPPORT): Likewise.
26321 [POSIX] (EALREADY): Likewise.
26322 [POSIX] (ECONNABORTED): Likewise.
26323 [POSIX] (ECONNREFUSED): Likewise.
26324 [POSIX] (ECONNRESET): Likewise.
26325 [POSIX] (EDESTADDRREQ): Likewise.
26326 [POSIX] (EDQUOT): Likewise.
26327 [POSIX] (EHOSTUNREACH): Likewise.
26328 [POSIX] (EIDRM): Likewise.
26329 [POSIX] (EISCONN): Likewise.
26330 [POSIX] (ELOOP): Likewise.
26331 [POSIX] (EMULTIHOP): Likewise.
26332 [POSIX] (ENETDOWN): Likewise.
26333 [POSIX] (ENETUNREACH): Likewise.
26334 [POSIX] (ENOBUFS): Likewise.
26335 [POSIX] (ENODATA): Likewise.
26336 [POSIX] (ENOLINK): Likewise.
26337 [POSIX] (ENOMSG): Likewise.
26338 [POSIX] (ENOPROTOOPT): Likewise.
26339 [POSIX] (ENOSR): Likewise.
26340 [POSIX] (ENOSTR): Likewise.
26341 [POSIX] (ENOTCONN): Likewise.
26342 [POSIX] (ENOTSOCK): Likewise.
26343 [POSIX] (EOPNOTSUPP): Likewise.
26344 [POSIX] (EOVERFLOW): Likewise.
26345 [POSIX] (EPROTO): Likewise.
26346 [POSIX] (EPROTONOSUPPORT): Likewise.
26347 [POSIX] (EPROTOTYPE): Likewise.
26348 [POSIX] (ESTALE): Likewise.
26349 [POSIX] (ETIME): Likewise.
26350 [POSIX] (ETXTBSY): Likewise.
26351 [POSIX] (EWOULDBLOCK): Likewise.
26352 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26353 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26354 [POSIX] (SEEK_CUR): Likewise.
26355 [POSIX] (SEEK_END): Likewise.
26356 [POSIX || UNIX98] (mode_t): Do not require.
26357 [POSIX] (off_t): Likewise.
26358 [POSIX] (pid_t): Likewise.
26359 [POSIX] (sys/stat.h): Do not allow header.
26360 [POSIX] (unistd.h): Likewise.
26361 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26362 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26363 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26364 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26366 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26367 sigevent): Specify elements.
26368 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26370 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26371 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26373 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26374 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26375 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26376 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26377 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26378 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26379 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26380 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26381 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26382 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26383 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26384 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26385 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26386 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26388 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26390 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26392 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26394 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26395 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26396 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26397 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26398 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26399 Specify lower bound on value.
26400 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26401 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26402 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26403 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26404 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26405 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26406 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26407 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26409 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26411 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26412 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26413 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26414 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26415 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26416 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26417 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26418 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26419 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26420 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26421 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26422 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26423 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26424 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26425 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26426 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26428 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26430 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26431 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26432 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26433 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26434 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26435 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26437 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26438 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26439 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26440 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26441 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26442 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26443 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26445 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26446 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26449 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26450 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26451 specify as optional.
26452 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26453 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26454 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26455 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26456 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26457 [XPG3] (NL_LANGMAX): Likewise.
26458 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26459 [POSIX || XPG3] (NL_NMAX): Likewise.
26460 [POSIX || XPG3] (NL_SETMAX): Likewise.
26461 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26462 [XPG3] (NZERO): Likewise.
26463 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26464 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26465 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26466 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26467 (REG_ERANGE): Expect.
26468 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26470 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26471 Use (void) in prototype.
26472 [POSIX] (*_t): Allow.
26473 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26474 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26475 (WRDE_BADVAL): Expect.
26477 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26479 [XPG3 || XPG4] (O_RSYNC): Likewise.
26480 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26482 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26483 [XPG3 || XPG4] (sigqueue): Likewise.
26484 [XPG3 || XPG4] (sigtimedwait): Likewise.
26485 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26486 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26487 [XPG3 || XPG4] (vsnprintf): Likewise.
26488 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26490 [XPG3 || XPG4] (blksize_t): Likewise.
26491 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26493 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26494 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26495 [XPG3 || XPG4] (struct itimerspec): Likewise.
26496 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26497 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26498 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26499 [XPG3 || XPG4] (clockid_t): Likewise.
26500 [XPG3 || XPG4] (timer_t): Likewise.
26501 [XPG3 || XPG4] (clock_getres): Likewise.
26502 [XPG3 || XPG4] (clock_gettime): Likewise.
26503 [XPG3 || XPG4] (clock_settime): Likewise.
26504 [XPG3 || XPG4] (nanosleep): Likewise.
26505 [XPG3 || XPG4] (timer_create): Likewise.
26506 [XPG3 || XPG4] (timer_delete): Likewise.
26507 [XPG3 || XPG4] (timer_gettime): Likewise.
26508 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26509 [XPG3 || XPG4] (timer_settime): Likewise.
26510 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26511 [XPG3 || XPG4] (getlogin_r): Likewise.
26512 [XPG3 || XPG4] (pread): Likewise.
26513 [XPG3 || XPG4] (pthread_atfork): Likewise.
26514 [XPG3 || XPG4] (pwrite): Likewise.
26517 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26520 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26522 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26523 finalizing MALLSTREAM.
26525 * sysdeps/mach/hurd/syncfs.c: New file.
26527 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26530 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26531 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26532 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26533 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26534 (_nss_dns_gethostbyname4_r): Likewise.
26535 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26536 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26538 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26541 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26543 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26545 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26546 * elf/cache.c (print_entry): Print ",AArch64" for
26549 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26550 * elf/cache.c (print_entry): Print ",hard-float" for
26553 2012-11-18 David S. Miller <davem@davemloft.net>
26555 With help from Joseph Myers.
26556 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26558 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26560 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26561 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26563 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26564 * math/libm-test.inc (y0_test): New tests.
26565 (y1_test): New tests.
26566 * sysdeps/i386/fpu/libm-test-ulps: Update.
26567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26570 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26572 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26574 * configure: Regenerated.
26576 2012-11-17 David S. Miller <davem@davemloft.net>
26579 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26580 nonzero exponents with absolute value below 0x1p-128 to +/-
26583 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26585 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26587 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26589 * posix/getconf-speclist.c: New file.
26590 * posix/posix-envs.def: Likewise.
26591 * posix/confstr.c (START_ENV_GROUP): New macro.
26592 (END_ENV_GROUP): Likewise.
26593 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26594 (KNOWN_PRESENT_ENV_STRING): Likewise.
26595 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26596 (UNKNOWN_ENVIRONMENT): Likewise.
26597 (confstr): Include posix-envs.def instead of handling
26598 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26599 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26600 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26601 (END_ENV_GROUP): Likewise.
26602 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26603 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26604 (UNKNOWN_ENVIRONMENT): Likewise.
26605 (__sysconf): Include posix-envs.def instead of handling associated
26606 cases directly here.
26607 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26608 preprocessing getconf-speclist.c rather than running getconf or
26609 generating empty file.
26611 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26613 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26615 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26618 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26620 2012-11-16 David S. Miller <davem@davemloft.net>
26622 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26623 smaller than LDBL_EPSILON/2.0L, just return xm1.
26625 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26627 * elf/tst-array1.c (init): Set constructor priority to 1000.
26628 (fini): Set destructor priority to 1000.
26629 * elf/tst-array2dep.c: Likewise.
26631 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26634 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26635 (_IO_new_file_xsputn): Also return EOF if none of the input
26636 data was written when overflow failed.
26637 * libio/iopadn.c (_IO_padn): Likewise.
26638 * libio/iowpadn.c (_IO_wpadn): Likewise.
26639 * stdio-common/tst-put-error.c: Add copyright notice.
26640 (do_test): Add case for printing padded string.
26641 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26642 _IO_padn returned error.
26643 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26644 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26647 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26649 * libio/libioP.h: Add comment note that the references to C++
26650 bits are now obsolete.
26652 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26654 * math/libm-test.inc (check_complex): Use asprintf.
26656 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26658 * debug/pcprofiledump.c (print_version): Update copyright year.
26659 * malloc/memusagestat.c (print_version): Likewise.
26661 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26664 * elf/Makefile (tests): Add tst-audit8.
26665 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26666 ($(objpfx)tst-audit8.out): New target.
26667 (tst-audit8-ENV): New variable.
26668 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26669 audit if l_reloc_result is NULL.
26670 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26671 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26672 * elf/tst-audit8.c: New file.
26674 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26676 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26677 * misc/Makefile (CFLAGS-select.c): Define.
26678 * posix/Makefile (CFLAGS-pause.c): Define.
26680 2012-11-13 David S. Miller <davem@davemloft.net>
26682 * crypt/Makefile: Move test targets after toplevel Rules
26683 inclusion. Grab any necessary sysdep routines when linking.
26684 * crypt/md5.c (md5_process_block): Remove define, we will always
26685 name it __md5_process_block.
26686 (md5_finish_ctx): Update md5_process_block call.
26687 (md5_stream): Likewise.
26688 (md5_process_bytes): Likewise.
26689 (md5_process_block): Rename to __md5_process_block and move to ...
26690 * crypt/md5-block.c: ... here.
26691 * crypt/sha256.c (sha256_process_block): Move to ...
26692 * crypt/sha256-block.c: ... here.
26693 * crypt/sha512.c (sha512_process_block): Move to ...
26694 * crypt/sha512-block.c: ... here.
26695 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26697 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26698 * sysdeps/sparc/sparc64/multiarch/Makefile
26699 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26701 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26702 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26704 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26705 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26706 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26707 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26708 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26709 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26710 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26711 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26714 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26715 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26717 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26719 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26721 * timezone/tzselect.ksh: Update from tzcode git revision
26722 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26723 * timezone/zdump.c: Likewise.
26724 * timezone/zic.c: Likewise.
26725 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26726 in TZVERSION setting, not $(PKGVERSION).
26727 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26728 REPORT_BUGS_TO settings.
26731 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26734 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26736 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26737 detection to immediately after _FP_ROUND().
26738 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26741 2012-11-11 David S. Miller <davem@davemloft.net>
26743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26745 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26746 __close rather than their public counterparts.
26748 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26750 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26752 [UNIX98] (sem_timedwait): Do not expect.
26753 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26754 [XPG4 || UNIX98] (sockatmark): Do not expect.
26755 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26756 (clock_getcpuclockid): Do not expect.
26757 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26758 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26760 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26761 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26762 [UNIX98] (vwscanf): Likewise.
26763 [UNIX98] (vswscanf): Likewise.
26765 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26767 * timezone/version.h: Remove file.
26768 * timezone/README: Do not refer to version.h.
26769 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26770 $(objpfx)version.h.
26771 ($(objpfx)zdump.o): Likewise.
26772 ($(objpfx)version.h): New target.
26774 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26776 * timezone/README: Don't mention modification to tzselect.ksh.
26777 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26778 work on unmodified tzselect.ksh. Substitute version numbers in
26781 * Makefile (format-me): Remove.
26782 (INSTALL): Adjust indentation. Use commands directly instead of
26783 using $(format-me).
26785 * aclocal.m4 (ACX_PKGVERSION): New macro.
26786 (ACX_BUGURL): Likewise.
26787 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26788 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26789 (REPORT_BUGS_TO): Likewise.
26790 * configure: Regenerated.
26791 * config.h.in (PKGVERSION): New macro.
26792 (REPORT_BUGS_TO): Likewise.
26793 * config.make.in (PKGVERSION): New variable.
26794 (PKGVERSION_TEXI): Likewise.
26795 (REPORT_BUGS_TO): Likewise.
26796 (REPORT_BUGS_TEXI): Likewise.
26797 * Makefile (format-me): Use -I$(common-objpfx)manual.
26798 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26799 ($(common-objpfx)manual/%): New target.
26800 (manual/%): Remove target.
26801 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26802 (print_version): Use PKGVERSION.
26803 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26804 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26805 and REPORT_BUGS_TO.
26806 ($(objpfx)xtrace): Likewise.
26807 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26808 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26809 (print_version): Use PKGVERSION.
26810 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26811 (do_version): Use PKGVERSION.
26812 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26814 (common-ldd-rewrite): Likewise.
26815 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26816 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26817 (print_version): Use PKGVERSION.
26818 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26819 * elf/pldd.c (argp_program_bug_address): Remove variable.
26820 (more_help): New function.
26821 (argp): Use more_help.
26822 (print_version): Use PKGVERSION.
26823 * elf/sln.c (main): Use PKGVERSION.
26824 (usage): Use REPORT_BUGS_TO.
26825 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26826 (top level): Use PKGVERSION.
26827 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26828 (print_version): Use PKGVERSION.
26829 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26830 (print_version): Use PKGVERSION.
26831 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26832 (print_version): Use PKGVERSION.
26833 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26834 (print_version): Use PKGVERSION.
26835 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26836 (print_version): Use PKGVERSION.
26837 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26838 (print_version): Use PKGVERSION.
26839 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26841 ($(objpfx)memusage): Likewise.
26842 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26843 (do_version): Use PKGVERSION.
26844 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26845 (print_version): Use PKGVERSION.
26846 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26847 ($PKGVERSION): New variable.
26848 ($REPORT_BUGS_TO): Likewise.
26849 (usage): Use $REPORT_BUGS_TO.
26850 (top level): Use $PKGVERSION.
26851 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26852 ($(objpfx)pkgvers.texi): New rule.
26853 ($(objpfx)stamp-pkgvers): Likewise.
26854 * manual/install.texi: Include pkgvers.texi.
26855 (--with-pkgversion): Document new configure option.
26856 (--with-bugurl): Likewise.
26857 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26858 than necessarily for this particular distribution. Use
26859 REPORT_BUGS_TO for where to report bugs.
26860 * INSTALL: Regenerated.
26861 * manual/libc.texinfo: Include pkgvers.texi.
26862 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26863 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26864 (print_version): Use PKGVERSION.
26865 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26866 (print_version): Use PKGVERSION.
26867 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26868 (print_version): Use PKGVERSION.
26869 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26870 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26872 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26873 (print_version): Use PKGVERSION.
26874 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26875 (print_version): Use PKGVERSION.
26876 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26879 * timezone/checktab.awk: Update from tzcode 2012i.
26880 * timezone/ialloc.c: Likewise.
26881 * timezone/private.h: Likewise.
26882 * timezone/scheck.c: Likewise.
26883 * timezone/tzfile.h: Likewise.
26884 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26885 (TZVERSION): Hardcode tzcode version number.
26886 * timezone/zdump.c: Update from tzcode 2012i.
26887 * timezone/zic.c: Likewise.
26888 * timezone/version.h: New file.
26889 * timezone/README: Describe version.h. Update upstream location.
26892 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26893 (mktemp): Enable declaration.
26894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26901 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26903 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26911 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26912 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26913 for copies of such integer values.
26914 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26915 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26917 2012-11-09 Andreas Jaeger <aj@suse.de>
26919 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26920 definitions and declarations that are provided by
26921 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26923 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26925 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26926 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26927 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26930 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26932 * elf/elf.h: Update comment before AArch64 relocations.
26934 2012-11-07 David S. Miller <davem@davemloft.net>
26936 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26937 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26938 (__start_context): Declare.
26939 (__makecontext_ret): Delete.
26940 (__makecontext): Hook up __start_context instead of
26942 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26943 (sysdep_routines): Add __start_context when in stdlib.
26945 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26947 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26948 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26949 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26951 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26952 (READELF): New variable. Use it instead of hardcoded "readelf".
26954 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26956 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26957 * sysdeps/x86/Makefile: Here.
26958 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26959 * sysdeps/x86/tst-xmmymm.sh: This.
26961 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26963 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26965 [UNIX98] (pthread_barrier_t): Do not expect.
26966 [UNIX98] (pthread_barrierattr_t): Likewise.
26967 [UNIX98] (pthread_spinlock_t): Likewise.
26968 [UNIX98] (pthread_barrier_destroy): Likewise.
26969 [UNIX98] (pthread_barrier_init): Likewise.
26970 [UNIX98] (pthread_barrier_wait): Likewise.
26971 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26972 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26973 [UNIX98] (pthread_barrierattr_init): Likewise.
26974 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26975 [UNIX98] (pthread_getcpuclockid): Likewise.
26976 [UNIX98] (pthread_mutex_timedlock): Likewise.
26977 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26978 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26979 [UNIX98] (pthread_sigmask): Likewise.
26980 [UNIX98] (pthread_spin_destroy): Likewise.
26981 [UNIX98] (pthread_spin_init): Likewise.
26982 [UNIX98] (pthread_spin_lock): Likewise.
26983 [UNIX98] (pthread_spin_trylock): Likewise.
26984 [UNIX98] (pthread_spin_unlock): Likewise.
26985 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26987 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26989 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26990 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26991 [XPG3 || XPG4] (pthread_key_t): Likewise.
26992 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26993 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26994 [XPG3 || XPG4] (pthread_once_t): Likewise.
26995 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26996 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26997 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26998 [XPG3 || XPG4] (pthread_t): Likewise.
27000 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27002 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27004 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27005 Change function return type to int.
27007 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27008 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27009 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27010 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27011 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27012 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27013 [!POSIX] (posix_madvise): Likewise.
27014 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27016 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27017 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27018 (mode_t): Likewise.
27019 (posix_mem_offset): Likewise.
27020 (posix_typed_mem_get_info): Likewise.
27021 (posix_typed_mem_open): Likewise.
27023 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27024 Change condition to [XOPEN2K8].
27026 * conform/conformtest.pl: Preprocess allow-header data with -x c
27027 instead of from stdin.
27028 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27029 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27030 [C99-based standards] (cerfc): Likewise.
27031 [C99-based standards] (cexp2): Likewise.
27032 [C99-based standards] (cexpm1): Likewise.
27033 [C99-based standards] (clog10): Likewise.
27034 [C99-based standards] (clog1p): Likewise.
27035 [C99-based standards] (clog2): Likewise.
27036 [C99-based standards] (clgamma): Likewise.
27037 [C99-based standards] (ctgamma): Likewise.
27038 [C99-based standards] (cerff): Likewise.
27039 [C99-based standards] (cerfcf): Likewise.
27040 [C99-based standards] (cexp2f): Likewise.
27041 [C99-based standards] (cexpm1f): Likewise.
27042 [C99-based standards] (clog10f): Likewise.
27043 [C99-based standards] (clog1pf): Likewise.
27044 [C99-based standards] (clog2f): Likewise.
27045 [C99-based standards] (clgammaf): Likewise.
27046 [C99-based standards] (ctgammaf): Likewise.
27047 [C99-based standards] (cerfl): Likewise.
27048 [C99-based standards] (cerfcl): Likewise.
27049 [C99-based standards] (cexp2l): Likewise.
27050 [C99-based standards] (cexpm1l): Likewise.
27051 [C99-based standards] (clog10l): Likewise.
27052 [C99-based standards] (clog1pl): Likewise.
27053 [C99-based standards] (clog2l): Likewise.
27054 [C99-based standards] (clgammal): Likewise.
27055 [C99-based standards] (ctgammal): Likewise.
27056 * conform/data/inttypes.h-data [C99-based standards]: Include
27057 stdint.h-data. Remove all expectations for stdint.h contents.
27058 [C99-based standards] (PRI*): Do not allow.
27059 [C99-based standards] (SCN*): Likewise.
27060 [C99-based standards] (*_t): Likewise.
27061 [C99-based-standards] (PRId8): Expect macro.
27062 [C99-based-standards] (PRIi8): Likewise.
27063 [C99-based-standards] (PRIo8): Likewise.
27064 [C99-based-standards] (PRIu8): Likewise.
27065 [C99-based-standards] (PRIx8): Likewise.
27066 [C99-based-standards] (PRIX8): Likewise.
27067 [C99-based-standards] (SCNd8): Likewise.
27068 [C99-based-standards] (SCNi8): Likewise.
27069 [C99-based-standards] (SCNo8): Likewise.
27070 [C99-based-standards] (SCNu8): Likewise.
27071 [C99-based-standards] (SCNx8): Likewise.
27072 [C99-based-standards] (PRIdLEAST8): Likewise.
27073 [C99-based-standards] (PRIiLEAST8): Likewise.
27074 [C99-based-standards] (PRIoLEAST8): Likewise.
27075 [C99-based-standards] (PRIuLEAST8): Likewise.
27076 [C99-based-standards] (PRIxLEAST8): Likewise.
27077 [C99-based-standards] (PRIXLEAST8): Likewise.
27078 [C99-based-standards] (SCNdLEAST8): Likewise.
27079 [C99-based-standards] (SCNiLEAST8): Likewise.
27080 [C99-based-standards] (SCNoLEAST8): Likewise.
27081 [C99-based-standards] (SCNuLEAST8): Likewise.
27082 [C99-based-standards] (SCNxLEAST8): Likewise.
27083 [C99-based-standards] (PRIdFAST8): Likewise.
27084 [C99-based-standards] (PRIiFAST8): Likewise.
27085 [C99-based-standards] (PRIoFAST8): Likewise.
27086 [C99-based-standards] (PRIuFAST8): Likewise.
27087 [C99-based-standards] (PRIxFAST8): Likewise.
27088 [C99-based-standards] (PRIXFAST8): Likewise.
27089 [C99-based-standards] (SCNdFAST8): Likewise.
27090 [C99-based-standards] (SCNiFAST8): Likewise.
27091 [C99-based-standards] (SCNoFAST8): Likewise.
27092 [C99-based-standards] (SCNuFAST8): Likewise.
27093 [C99-based-standards] (SCNxFAST8): Likewise.
27094 [C99-based-standards] (PRId16): Likewise.
27095 [C99-based-standards] (PRIi16): Likewise.
27096 [C99-based-standards] (PRIo16): Likewise.
27097 [C99-based-standards] (PRIu16): Likewise.
27098 [C99-based-standards] (PRIx16): Likewise.
27099 [C99-based-standards] (PRIX16): Likewise.
27100 [C99-based-standards] (SCNd16): Likewise.
27101 [C99-based-standards] (SCNi16): Likewise.
27102 [C99-based-standards] (SCNo16): Likewise.
27103 [C99-based-standards] (SCNu16): Likewise.
27104 [C99-based-standards] (SCNx16): Likewise.
27105 [C99-based-standards] (PRIdLEAST16): Likewise.
27106 [C99-based-standards] (PRIiLEAST16): Likewise.
27107 [C99-based-standards] (PRIoLEAST16): Likewise.
27108 [C99-based-standards] (PRIuLEAST16): Likewise.
27109 [C99-based-standards] (PRIxLEAST16): Likewise.
27110 [C99-based-standards] (PRIXLEAST16): Likewise.
27111 [C99-based-standards] (SCNdLEAST16): Likewise.
27112 [C99-based-standards] (SCNiLEAST16): Likewise.
27113 [C99-based-standards] (SCNoLEAST16): Likewise.
27114 [C99-based-standards] (SCNuLEAST16): Likewise.
27115 [C99-based-standards] (SCNxLEAST16): Likewise.
27116 [C99-based-standards] (PRIdFAST16): Likewise.
27117 [C99-based-standards] (PRIiFAST16): Likewise.
27118 [C99-based-standards] (PRIoFAST16): Likewise.
27119 [C99-based-standards] (PRIuFAST16): Likewise.
27120 [C99-based-standards] (PRIxFAST16): Likewise.
27121 [C99-based-standards] (PRIXFAST16): Likewise.
27122 [C99-based-standards] (SCNdFAST16): Likewise.
27123 [C99-based-standards] (SCNiFAST16): Likewise.
27124 [C99-based-standards] (SCNoFAST16): Likewise.
27125 [C99-based-standards] (SCNuFAST16): Likewise.
27126 [C99-based-standards] (SCNxFAST16): Likewise.
27127 [C99-based-standards] (PRId32): Likewise.
27128 [C99-based-standards] (PRIi32): Likewise.
27129 [C99-based-standards] (PRIo32): Likewise.
27130 [C99-based-standards] (PRIu32): Likewise.
27131 [C99-based-standards] (PRIx32): Likewise.
27132 [C99-based-standards] (PRIX32): Likewise.
27133 [C99-based-standards] (SCNd32): Likewise.
27134 [C99-based-standards] (SCNi32): Likewise.
27135 [C99-based-standards] (SCNo32): Likewise.
27136 [C99-based-standards] (SCNu32): Likewise.
27137 [C99-based-standards] (SCNx32): Likewise.
27138 [C99-based-standards] (PRIdLEAST32): Likewise.
27139 [C99-based-standards] (PRIiLEAST32): Likewise.
27140 [C99-based-standards] (PRIoLEAST32): Likewise.
27141 [C99-based-standards] (PRIuLEAST32): Likewise.
27142 [C99-based-standards] (PRIxLEAST32): Likewise.
27143 [C99-based-standards] (PRIXLEAST32): Likewise.
27144 [C99-based-standards] (SCNdLEAST32): Likewise.
27145 [C99-based-standards] (SCNiLEAST32): Likewise.
27146 [C99-based-standards] (SCNoLEAST32): Likewise.
27147 [C99-based-standards] (SCNuLEAST32): Likewise.
27148 [C99-based-standards] (SCNxLEAST32): Likewise.
27149 [C99-based-standards] (PRIdFAST32): Likewise.
27150 [C99-based-standards] (PRIiFAST32): Likewise.
27151 [C99-based-standards] (PRIoFAST32): Likewise.
27152 [C99-based-standards] (PRIuFAST32): Likewise.
27153 [C99-based-standards] (PRIxFAST32): Likewise.
27154 [C99-based-standards] (PRIXFAST32): Likewise.
27155 [C99-based-standards] (SCNdFAST32): Likewise.
27156 [C99-based-standards] (SCNiFAST32): Likewise.
27157 [C99-based-standards] (SCNoFAST32): Likewise.
27158 [C99-based-standards] (SCNuFAST32): Likewise.
27159 [C99-based-standards] (SCNxFAST32): Likewise.
27160 [C99-based-standards] (PRId64): Likewise.
27161 [C99-based-standards] (PRIi64): Likewise.
27162 [C99-based-standards] (PRIo64): Likewise.
27163 [C99-based-standards] (PRIu64): Likewise.
27164 [C99-based-standards] (PRIx64): Likewise.
27165 [C99-based-standards] (PRIX64): Likewise.
27166 [C99-based-standards] (SCNd64): Likewise.
27167 [C99-based-standards] (SCNi64): Likewise.
27168 [C99-based-standards] (SCNo64): Likewise.
27169 [C99-based-standards] (SCNu64): Likewise.
27170 [C99-based-standards] (SCNx64): Likewise.
27171 [C99-based-standards] (PRIdLEAST64): Likewise.
27172 [C99-based-standards] (PRIiLEAST64): Likewise.
27173 [C99-based-standards] (PRIoLEAST64): Likewise.
27174 [C99-based-standards] (PRIuLEAST64): Likewise.
27175 [C99-based-standards] (PRIxLEAST64): Likewise.
27176 [C99-based-standards] (PRIXLEAST64): Likewise.
27177 [C99-based-standards] (SCNdLEAST64): Likewise.
27178 [C99-based-standards] (SCNiLEAST64): Likewise.
27179 [C99-based-standards] (SCNoLEAST64): Likewise.
27180 [C99-based-standards] (SCNuLEAST64): Likewise.
27181 [C99-based-standards] (SCNxLEAST64): Likewise.
27182 [C99-based-standards] (PRIdFAST64): Likewise.
27183 [C99-based-standards] (PRIiFAST64): Likewise.
27184 [C99-based-standards] (PRIoFAST64): Likewise.
27185 [C99-based-standards] (PRIuFAST64): Likewise.
27186 [C99-based-standards] (PRIxFAST64): Likewise.
27187 [C99-based-standards] (PRIXFAST64): Likewise.
27188 [C99-based-standards] (SCNdFAST64): Likewise.
27189 [C99-based-standards] (SCNiFAST64): Likewise.
27190 [C99-based-standards] (SCNoFAST64): Likewise.
27191 [C99-based-standards] (SCNuFAST64): Likewise.
27192 [C99-based-standards] (SCNxFAST64): Likewise.
27193 [C99-based-standards] (PRIdMAX): Likewise.
27194 [C99-based-standards] (PRIiMAX): Likewise.
27195 [C99-based-standards] (PRIoMAX): Likewise.
27196 [C99-based-standards] (PRIuMAX): Likewise.
27197 [C99-based-standards] (PRIxMAX): Likewise.
27198 [C99-based-standards] (PRIXMAX): Likewise.
27199 [C99-based-standards] (SCNdMAX): Likewise.
27200 [C99-based-standards] (SCNiMAX): Likewise.
27201 [C99-based-standards] (SCNoMAX): Likewise.
27202 [C99-based-standards] (SCNuMAX): Likewise.
27203 [C99-based-standards] (SCNxMAX): Likewise.
27204 [C99-based-standards] (PRIdPTR): Likewise.
27205 [C99-based-standards] (PRIiPTR): Likewise.
27206 [C99-based-standards] (PRIoPTR): Likewise.
27207 [C99-based-standards] (PRIuPTR): Likewise.
27208 [C99-based-standards] (PRIxPTR): Likewise.
27209 [C99-based-standards] (PRIXPTR): Likewise.
27210 [C99-based-standards] (SCNdPTR): Likewise.
27211 [C99-based-standards] (SCNiPTR): Likewise.
27212 [C99-based-standards] (SCNoPTR): Likewise.
27213 [C99-based-standards] (SCNuPTR): Likewise.
27214 [C99-based-standards] (SCNxPTR): Likewise.
27215 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27217 * conform/data/stdint.h-data: Update comments to clarify
27219 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27221 [C99-based standards] (INT8_MAX): Likewise.
27222 [C99-based standards] (INT16_MIN): Likewise.
27223 [C99-based standards] (INT16_MAX): Likewise.
27224 [C99-based standards] (INT32_MIN): Likewise.
27225 [C99-based standards] (INT32_MAX): Likewise.
27226 [C99-based standards] (INT64_MIN): Likewise.
27227 [C99-based standards] (INT64_MAX): Likewise.
27228 [C99-based standards] (UINT8_MAX): Likewise.
27229 [C99-based standards] (UINT16_MAX): Likewise.
27230 [C99-based standards] (UINT32_MAX): Likewise.
27231 [C99-based standards] (UINT64_MAX): Likewise.
27232 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27233 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27234 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27235 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27236 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27237 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27238 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27239 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27240 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27241 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27242 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27243 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27244 [C99-based standards] (INT_FAST8_MIN): Likewise.
27245 [C99-based standards] (INT_FAST8_MAX): Likewise.
27246 [C99-based standards] (INT_FAST16_MIN): Likewise.
27247 [C99-based standards] (INT_FAST16_MAX): Likewise.
27248 [C99-based standards] (INT_FAST32_MIN): Likewise.
27249 [C99-based standards] (INT_FAST32_MAX): Likewise.
27250 [C99-based standards] (INT_FAST64_MIN): Likewise.
27251 [C99-based standards] (INT_FAST64_MAX): Likewise.
27252 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27253 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27254 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27255 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27256 [C99-based standards] (INTPTR_MIN): Likewise.
27257 [C99-based standards] (INTPTR_MAX): Likewise.
27258 [C99-based standards] (UINTPTR_MAX): Likewise.
27259 [C99-based standards] (INTMAX_MIN): Likewise.
27260 [C99-based standards] (INTMAX_MAX): Likewise.
27261 [C99-based standards] (UINTMAX_MAX): Likewise.
27262 [C99-based standards] (PTRDIFF_MIN): Likewise.
27263 [C99-based standards] (PTRDIFF_MAX): Likewise.
27264 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27265 [C99-based standards] (SIZE_MAX): Likewise.
27266 [C99-based standards] (WCHAR_MAX): Likewise.
27267 [C99-based standards] (WINT_MAX): Likewise.
27268 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27269 constraint on value.
27270 [C99-based standards] (WCHAR_MIN): Likewise.
27271 [C99-based standards] (WINT_MIN): Likewise.
27272 [C99-based standards] (*_t): Allow.
27273 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27274 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27275 Include math.h-data and complex.h-data. Remove all expectations
27276 of math.h and complex.h contents.
27277 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27279 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27280 (struct tm): Expect tag.
27281 [C99-based-standards] (wcstof): Expect function.
27282 [C99-based-standards] (wcstold): Likewise.
27283 [C99-based-standards] (wcstoll): Likewise.
27284 [C99-based-standards] (wcstoull): Likewise.
27285 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27286 macro-int-constant. Specify type.
27287 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27288 constraint on value.
27289 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27291 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27293 [ISO C standards]: Do not allow headers.
27294 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27295 wcs[abcdefghijklmnopqrstuvwxyz]*.
27296 [ISO C standards] (*_t): Do not allow.
27297 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27299 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27300 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27302 [ISO C standards]: Do not allow headers.
27303 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27304 is[abcdefghijklmnopqrstuvwxyz]*.
27305 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27306 to[abcdefghijklmnopqrstuvwxyz]*.
27307 [ISO C standards] (*_t): Do not allow.
27308 * conform/data/stdalign.h-data: New file.
27309 * conform/data/stdbool.h-data: Likewise.
27310 * conform/data/stdnoreturn.h-data: Likewise.
27312 2012-11-07 Roland McGrath <roland@hack.frob.com>
27315 * manual/filesys.texi (Directory Entries): Typo fix.
27316 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27318 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27320 * elf/elf.h (EM_AARCH64): New macro.
27321 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27322 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27323 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27324 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27325 (R_AARCH64_TLSDESC): Likewise.
27326 (NT_ARM_TLS): Likewise.
27327 (NT_ARM_HW_BREAK): Likewise.
27328 (NT_ARM_HW_WATCH): Likewise.
27330 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27333 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27334 (__ieee754_powl): Saturate nonzero exponents with absolute value
27335 below 0x1p-79 to +/- 0x1p-79.
27336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27337 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27338 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27339 nonzero exponents with absolute value below 0x1p-32 to +/-
27341 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27342 (__ieee754_powl): Saturate nonzero exponents with absolute value
27343 below 0x1p-79 to +/- 0x1p-79.
27344 * math/libm-test.inc (pow_test): Add more tests.
27346 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27348 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27349 _dl_s390_cap_flags with kernel. Increase string length.
27350 (_dl_s390_platforms): Add z196 and zEC12.
27352 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27354 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27355 Change XOPEN21K to XOPEN2K.
27357 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27359 * string/memmove.c: Use memcpy when possible.
27361 2012-11-06 Andreas Jaeger <aj@suse.de>
27363 * po/eo.po: Update from translation team.
27365 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27369 exponent and small x and y exponents, scale x or y up. Increase
27370 by 2 the exponent used in scaling up.
27371 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27372 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27373 * math/libm-test.inc (fma_test): Add more tests.
27374 (fma_test_towardzero): Likewise.
27375 (fma_test_downward): Likewise.
27376 (fma_test_upward): Likewise.
27378 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27381 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27385 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27386 namespace for names of struct fields.
27387 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27389 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27390 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27392 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27395 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27397 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27399 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27403 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27406 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27410 definitely overflow as x * y not x * y + z.
27411 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27413 * math/libm-test.inc (fma_test): Add more tests.
27414 (fma_test_towardzero): Likewise.
27415 (fma_test_downward): Likewise.
27416 (fma_test_upward): Likewise.
27418 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27422 * include/stub-tag.h: Remove file.
27423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27425 * manual/maint.texi (Porting): Don't reference it.
27426 * Makerules ($(objpfx)stubs): Likewise.
27427 * dirent/closedir.c: Don't include <stub-tag.h>.
27428 * dirent/dirfd.c: Likewise.
27429 * dirent/fdopendir.c: Likewise.
27430 * dirent/getdents.c: Likewise.
27431 * dirent/getdents64.c: Likewise.
27432 * dirent/opendir.c: Likewise.
27433 * dirent/readdir.c: Likewise.
27434 * dirent/readdir64.c: Likewise.
27435 * dirent/readdir64_r.c: Likewise.
27436 * dirent/readdir_r.c: Likewise.
27437 * dirent/rewinddir.c: Likewise.
27438 * dirent/seekdir.c: Likewise.
27439 * dirent/telldir.c: Likewise.
27440 * gmon/profil.c: Likewise.
27441 * grp/setgroups.c: Likewise.
27442 * inet/if_index.c: Likewise.
27443 * io/access.c: Likewise.
27444 * io/chdir.c: Likewise.
27445 * io/chmod.c: Likewise.
27446 * io/chown.c: Likewise.
27447 * io/close.c: Likewise.
27448 * io/dup.c: Likewise.
27449 * io/dup2.c: Likewise.
27450 * io/dup3.c: Likewise.
27451 * io/euidaccess.c: Likewise.
27452 * io/faccessat.c: Likewise.
27453 * io/fchdir.c: Likewise.
27454 * io/fchmod.c: Likewise.
27455 * io/fchmodat.c: Likewise.
27456 * io/fchown.c: Likewise.
27457 * io/fchownat.c: Likewise.
27458 * io/fcntl.c: Likewise.
27459 * io/flock.c: Likewise.
27460 * io/fstatfs.c: Likewise.
27461 * io/fstatfs64.c: Likewise.
27462 * io/fstatvfs.c: Likewise.
27463 * io/fstatvfs64.c: Likewise.
27464 * io/futimens.c: Likewise.
27465 * io/fxstat.c: Likewise.
27466 * io/fxstat64.c: Likewise.
27467 * io/fxstatat.c: Likewise.
27468 * io/fxstatat64.c: Likewise.
27469 * io/getcwd.c: Likewise.
27470 * io/isatty.c: Likewise.
27471 * io/lchmod.c: Likewise.
27472 * io/lchown.c: Likewise.
27473 * io/link.c: Likewise.
27474 * io/linkat.c: Likewise.
27475 * io/lseek.c: Likewise.
27476 * io/lseek64.c: Likewise.
27477 * io/lxstat64.c: Likewise.
27478 * io/mkdir.c: Likewise.
27479 * io/mkdirat.c: Likewise.
27480 * io/mkfifo.c: Likewise.
27481 * io/mkfifoat.c: Likewise.
27482 * io/open.c: Likewise.
27483 * io/open64.c: Likewise.
27484 * io/openat.c: Likewise.
27485 * io/openat64.c: Likewise.
27486 * io/pipe.c: Likewise.
27487 * io/pipe2.c: Likewise.
27488 * io/poll.c: Likewise.
27489 * io/posix_fadvise.c: Likewise.
27490 * io/posix_fadvise64.c: Likewise.
27491 * io/posix_fallocate.c: Likewise.
27492 * io/posix_fallocate64.c: Likewise.
27493 * io/read.c: Likewise.
27494 * io/readlink.c: Likewise.
27495 * io/readlinkat.c: Likewise.
27496 * io/rmdir.c: Likewise.
27497 * io/sendfile.c: Likewise.
27498 * io/sendfile64.c: Likewise.
27499 * io/statfs.c: Likewise.
27500 * io/statfs64.c: Likewise.
27501 * io/statvfs.c: Likewise.
27502 * io/statvfs64.c: Likewise.
27503 * io/symlink.c: Likewise.
27504 * io/symlinkat.c: Likewise.
27505 * io/ttyname.c: Likewise.
27506 * io/ttyname_r.c: Likewise.
27507 * io/umask.c: Likewise.
27508 * io/unlink.c: Likewise.
27509 * io/unlinkat.c: Likewise.
27510 * io/utime.c: Likewise.
27511 * io/utimensat.c: Likewise.
27512 * io/write.c: Likewise.
27513 * io/xmknod.c: Likewise.
27514 * io/xmknodat.c: Likewise.
27515 * io/xstat.c: Likewise.
27516 * io/xstat64.c: Likewise.
27517 * login/getpt.c: Likewise.
27518 * login/grantpt.c: Likewise.
27519 * login/unlockpt.c: Likewise.
27520 * math/e_acoshl.c: Likewise.
27521 * math/e_acosl.c: Likewise.
27522 * math/e_asinl.c: Likewise.
27523 * math/e_atan2l.c: Likewise.
27524 * math/e_atanhl.c: Likewise.
27525 * math/e_coshl.c: Likewise.
27526 * math/e_expl.c: Likewise.
27527 * math/e_fmodl.c: Likewise.
27528 * math/e_gammal_r.c: Likewise.
27529 * math/e_hypotl.c: Likewise.
27530 * math/e_j0l.c: Likewise.
27531 * math/e_j1l.c: Likewise.
27532 * math/e_jnl.c: Likewise.
27533 * math/e_lgammal_r.c: Likewise.
27534 * math/e_log10l.c: Likewise.
27535 * math/e_log2l.c: Likewise.
27536 * math/e_logl.c: Likewise.
27537 * math/e_powl.c: Likewise.
27538 * math/e_rem_pio2l.c: Likewise.
27539 * math/e_sinhl.c: Likewise.
27540 * math/e_sqrtl.c: Likewise.
27541 * math/fclrexcpt.c: Likewise.
27542 * math/fedisblxcpt.c: Likewise.
27543 * math/feenablxcpt.c: Likewise.
27544 * math/fegetenv.c: Likewise.
27545 * math/fegetexcept.c: Likewise.
27546 * math/fegetround.c: Likewise.
27547 * math/feholdexcpt.c: Likewise.
27548 * math/fesetenv.c: Likewise.
27549 * math/fesetround.c: Likewise.
27550 * math/feupdateenv.c: Likewise.
27551 * math/fgetexcptflg.c: Likewise.
27552 * math/fraiseexcpt.c: Likewise.
27553 * math/fsetexcptflg.c: Likewise.
27554 * math/ftestexcept.c: Likewise.
27555 * math/k_cosl.c: Likewise.
27556 * math/k_rem_pio2l.c: Likewise.
27557 * math/k_sinl.c: Likewise.
27558 * math/k_tanl.c: Likewise.
27559 * math/s_asinhl.c: Likewise.
27560 * math/s_atanl.c: Likewise.
27561 * math/s_cbrtl.c: Likewise.
27562 * math/s_erfl.c: Likewise.
27563 * math/s_expm1l.c: Likewise.
27564 * math/s_log1pl.c: Likewise.
27565 * math/s_tanhl.c: Likewise.
27566 * misc/acct.c: Likewise.
27567 * misc/brk.c: Likewise.
27568 * misc/chflags.c: Likewise.
27569 * misc/chroot.c: Likewise.
27570 * misc/fchflags.c: Likewise.
27571 * misc/fgetxattr.c: Likewise.
27572 * misc/flistxattr.c: Likewise.
27573 * misc/fremovexattr.c: Likewise.
27574 * misc/fsetxattr.c: Likewise.
27575 * misc/fsync.c: Likewise.
27576 * misc/ftruncate.c: Likewise.
27577 * misc/futimes.c: Likewise.
27578 * misc/futimesat.c: Likewise.
27579 * misc/getdomain.c: Likewise.
27580 * misc/getdtsz.c: Likewise.
27581 * misc/gethostid.c: Likewise.
27582 * misc/gethostname.c: Likewise.
27583 * misc/getloadavg.c: Likewise.
27584 * misc/getpagesize.c: Likewise.
27585 * misc/getsysstats.c: Likewise.
27586 * misc/getxattr.c: Likewise.
27587 * misc/gtty.c: Likewise.
27588 * misc/ioctl.c: Likewise.
27589 * misc/lgetxattr.c: Likewise.
27590 * misc/listxattr.c: Likewise.
27591 * misc/llistxattr.c: Likewise.
27592 * misc/lremovexattr.c: Likewise.
27593 * misc/lsetxattr.c: Likewise.
27594 * misc/lutimes.c: Likewise.
27595 * misc/madvise.c: Likewise.
27596 * misc/mincore.c: Likewise.
27597 * misc/mlock.c: Likewise.
27598 * misc/mlockall.c: Likewise.
27599 * misc/mmap.c: Likewise.
27600 * misc/mprotect.c: Likewise.
27601 * misc/msync.c: Likewise.
27602 * misc/munlock.c: Likewise.
27603 * misc/munlockall.c: Likewise.
27604 * misc/munmap.c: Likewise.
27605 * misc/preadv.c: Likewise.
27606 * misc/preadv64.c: Likewise.
27607 * misc/ptrace.c: Likewise.
27608 * misc/pwritev.c: Likewise.
27609 * misc/pwritev64.c: Likewise.
27610 * misc/readv.c: Likewise.
27611 * misc/reboot.c: Likewise.
27612 * misc/remap_file_pages.c: Likewise.
27613 * misc/removexattr.c: Likewise.
27614 * misc/revoke.c: Likewise.
27615 * misc/select.c: Likewise.
27616 * misc/setdomain.c: Likewise.
27617 * misc/setegid.c: Likewise.
27618 * misc/seteuid.c: Likewise.
27619 * misc/sethostid.c: Likewise.
27620 * misc/sethostname.c: Likewise.
27621 * misc/setregid.c: Likewise.
27622 * misc/setreuid.c: Likewise.
27623 * misc/setxattr.c: Likewise.
27624 * misc/sstk.c: Likewise.
27625 * misc/stty.c: Likewise.
27626 * misc/swapoff.c: Likewise.
27627 * misc/swapon.c: Likewise.
27628 * misc/sync.c: Likewise.
27629 * misc/syncfs.c: Likewise.
27630 * misc/syscall.c: Likewise.
27631 * misc/truncate.c: Likewise.
27632 * misc/ualarm.c: Likewise.
27633 * misc/usleep.c: Likewise.
27634 * misc/ustat.c: Likewise.
27635 * misc/utimes.c: Likewise.
27636 * misc/vhangup.c: Likewise.
27637 * misc/writev.c: Likewise.
27638 * posix/_exit.c: Likewise.
27639 * posix/alarm.c: Likewise.
27640 * posix/execve.c: Likewise.
27641 * posix/fexecve.c: Likewise.
27642 * posix/fork.c: Likewise.
27643 * posix/fpathconf.c: Likewise.
27644 * posix/getaddrinfo.c: Likewise.
27645 * posix/getegid.c: Likewise.
27646 * posix/geteuid.c: Likewise.
27647 * posix/getgid.c: Likewise.
27648 * posix/getgroups.c: Likewise.
27649 * posix/getlogin.c: Likewise.
27650 * posix/getlogin_r.c: Likewise.
27651 * posix/getpgid.c: Likewise.
27652 * posix/getpid.c: Likewise.
27653 * posix/getppid.c: Likewise.
27654 * posix/getresgid.c: Likewise.
27655 * posix/getresuid.c: Likewise.
27656 * posix/getsid.c: Likewise.
27657 * posix/getuid.c: Likewise.
27658 * posix/glob64.c: Likewise.
27659 * posix/nanosleep.c: Likewise.
27660 * posix/pathconf.c: Likewise.
27661 * posix/pause.c: Likewise.
27662 * posix/posix_madvise.c: Likewise.
27663 * posix/pread.c: Likewise.
27664 * posix/pread64.c: Likewise.
27665 * posix/pwrite.c: Likewise.
27666 * posix/pwrite64.c: Likewise.
27667 * posix/sched_getaffinity.c: Likewise.
27668 * posix/sched_getp.c: Likewise.
27669 * posix/sched_gets.c: Likewise.
27670 * posix/sched_primax.c: Likewise.
27671 * posix/sched_primin.c: Likewise.
27672 * posix/sched_rr_gi.c: Likewise.
27673 * posix/sched_setaffinity.c: Likewise.
27674 * posix/sched_setp.c: Likewise.
27675 * posix/sched_sets.c: Likewise.
27676 * posix/sched_yield.c: Likewise.
27677 * posix/setgid.c: Likewise.
27678 * posix/setlogin.c: Likewise.
27679 * posix/setpgid.c: Likewise.
27680 * posix/setresgid.c: Likewise.
27681 * posix/setresuid.c: Likewise.
27682 * posix/setsid.c: Likewise.
27683 * posix/setuid.c: Likewise.
27684 * posix/sleep.c: Likewise.
27685 * posix/spawni.c: Likewise.
27686 * posix/sysconf.c: Likewise.
27687 * posix/times.c: Likewise.
27688 * posix/wait.c: Likewise.
27689 * posix/wait3.c: Likewise.
27690 * posix/wait4.c: Likewise.
27691 * posix/waitpid.c: Likewise.
27692 * resolv/gai_sigqueue.c: Likewise.
27693 * resource/getpriority.c: Likewise.
27694 * resource/getrlimit.c: Likewise.
27695 * resource/getrusage.c: Likewise.
27696 * resource/nice.c: Likewise.
27697 * resource/setpriority.c: Likewise.
27698 * resource/setrlimit.c: Likewise.
27699 * resource/ulimit.c: Likewise.
27700 * rt/aio_cancel.c: Likewise.
27701 * rt/aio_fsync.c: Likewise.
27702 * rt/aio_read.c: Likewise.
27703 * rt/aio_sigqueue.c: Likewise.
27704 * rt/aio_suspend.c: Likewise.
27705 * rt/aio_write.c: Likewise.
27706 * rt/clock_getres.c: Likewise.
27707 * rt/clock_gettime.c: Likewise.
27708 * rt/clock_nanosleep.c: Likewise.
27709 * rt/clock_settime.c: Likewise.
27710 * rt/lio_listio.c: Likewise.
27711 * rt/mq_close.c: Likewise.
27712 * rt/mq_getattr.c: Likewise.
27713 * rt/mq_notify.c: Likewise.
27714 * rt/mq_open.c: Likewise.
27715 * rt/mq_receive.c: Likewise.
27716 * rt/mq_send.c: Likewise.
27717 * rt/mq_setattr.c: Likewise.
27718 * rt/mq_timedreceive.c: Likewise.
27719 * rt/mq_timedsend.c: Likewise.
27720 * rt/mq_unlink.c: Likewise.
27721 * rt/shm_open.c: Likewise.
27722 * rt/shm_unlink.c: Likewise.
27723 * rt/timer_create.c: Likewise.
27724 * rt/timer_delete.c: Likewise.
27725 * rt/timer_getoverr.c: Likewise.
27726 * rt/timer_gettime.c: Likewise.
27727 * rt/timer_settime.c: Likewise.
27728 * setjmp/__longjmp.c: Likewise.
27729 * setjmp/setjmp.c: Likewise.
27730 * signal/kill.c: Likewise.
27731 * signal/killpg.c: Likewise.
27732 * signal/raise.c: Likewise.
27733 * signal/sigaction.c: Likewise.
27734 * signal/sigaltstack.c: Likewise.
27735 * signal/sigblock.c: Likewise.
27736 * signal/sigignore.c: Likewise.
27737 * signal/sigintr.c: Likewise.
27738 * signal/signal.c: Likewise.
27739 * signal/sigpause.c: Likewise.
27740 * signal/sigpending.c: Likewise.
27741 * signal/sigqueue.c: Likewise.
27742 * signal/sigreturn.c: Likewise.
27743 * signal/sigset.c: Likewise.
27744 * signal/sigsetmask.c: Likewise.
27745 * signal/sigstack.c: Likewise.
27746 * signal/sigsuspend.c: Likewise.
27747 * signal/sigtimedwait.c: Likewise.
27748 * signal/sigvec.c: Likewise.
27749 * signal/sigwait.c: Likewise.
27750 * signal/sigwaitinfo.c: Likewise.
27751 * signal/sysv_signal.c: Likewise.
27752 * socket/accept.c: Likewise.
27753 * socket/accept4.c: Likewise.
27754 * socket/bind.c: Likewise.
27755 * socket/connect.c: Likewise.
27756 * socket/getpeername.c: Likewise.
27757 * socket/getsockname.c: Likewise.
27758 * socket/getsockopt.c: Likewise.
27759 * socket/isfdtype.c: Likewise.
27760 * socket/listen.c: Likewise.
27761 * socket/recv.c: Likewise.
27762 * socket/recvfrom.c: Likewise.
27763 * socket/recvmsg.c: Likewise.
27764 * socket/send.c: Likewise.
27765 * socket/sendmsg.c: Likewise.
27766 * socket/sendto.c: Likewise.
27767 * socket/setsockopt.c: Likewise.
27768 * socket/shutdown.c: Likewise.
27769 * socket/sockatmark.c: Likewise.
27770 * socket/socket.c: Likewise.
27771 * socket/socketpair.c: Likewise.
27772 * stdio-common/ctermid.c: Likewise.
27773 * stdio-common/cuserid.c: Likewise.
27774 * stdio-common/remove.c: Likewise.
27775 * stdio-common/rename.c: Likewise.
27776 * stdio-common/renameat.c: Likewise.
27777 * stdio-common/tempname.c: Likewise.
27778 * stdlib/getcontext.c: Likewise.
27779 * stdlib/makecontext.c: Likewise.
27780 * stdlib/setcontext.c: Likewise.
27781 * stdlib/swapcontext.c: Likewise.
27782 * stdlib/system.c: Likewise.
27783 * streams/fattach.c: Likewise.
27784 * streams/fdetach.c: Likewise.
27785 * streams/getmsg.c: Likewise.
27786 * streams/getpmsg.c: Likewise.
27787 * streams/putmsg.c: Likewise.
27788 * streams/putpmsg.c: Likewise.
27789 * sysdeps/unix/bsd/getpt.c: Likewise.
27790 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27791 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27792 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27795 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27796 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27797 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27798 * sysvipc/msgctl.c: Likewise.
27799 * sysvipc/msgget.c: Likewise.
27800 * sysvipc/msgrcv.c: Likewise.
27801 * sysvipc/msgsnd.c: Likewise.
27802 * sysvipc/semctl.c: Likewise.
27803 * sysvipc/semget.c: Likewise.
27804 * sysvipc/semop.c: Likewise.
27805 * sysvipc/semtimedop.c: Likewise.
27806 * sysvipc/shmat.c: Likewise.
27807 * sysvipc/shmctl.c: Likewise.
27808 * sysvipc/shmdt.c: Likewise.
27809 * sysvipc/shmget.c: Likewise.
27810 * termios/tcdrain.c: Likewise.
27811 * termios/tcflow.c: Likewise.
27812 * termios/tcflush.c: Likewise.
27813 * termios/tcgetattr.c: Likewise.
27814 * termios/tcgetpgrp.c: Likewise.
27815 * termios/tcsendbrk.c: Likewise.
27816 * termios/tcsetattr.c: Likewise.
27817 * termios/tcsetpgrp.c: Likewise.
27818 * time/adjtime.c: Likewise.
27819 * time/clock.c: Likewise.
27820 * time/getitimer.c: Likewise.
27821 * time/gettimeofday.c: Likewise.
27822 * time/setitimer.c: Likewise.
27823 * time/settimeofday.c: Likewise.
27824 * time/stime.c: Likewise.
27825 * time/time.c: Likewise.
27827 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27829 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27832 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27834 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27836 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27840 FE_TONEAREST before applying Dekker multiplication and Knuth
27841 addition. Clear inexact exceptions and check for exact zero
27842 results afterwards.
27843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27844 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27846 * math/libm-test.inc (fma_test): Add more tests.
27847 (fma_test_towardzero): Likewise.
27848 (fma_test_downward): Likewise.
27849 (fma_test_upward): Likewise.
27850 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27852 (libc_fesetround): New macro.
27853 (libc_fesetroundf): Likewise.
27854 (libc_fesetroundl): Likewise.
27855 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27857 (libc_fesetround_387): Likewise.
27858 (libc_fesetroundf): New macro.
27859 (libc_fesetround): Likewise.
27860 (libc_fesetroundl): Likewise.
27861 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27863 (libc_fesetroundf): New macro.
27864 (libc_fesetround): Likewise.
27865 (libc_fesetroundl): Likewise.
27866 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27867 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27868 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27870 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27871 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27873 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27874 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27876 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27880 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27881 integer constant usable in #if and use that to give value to enum
27883 (FE_DIVBYZERO): Likewise.
27884 (FE_UNDERFLOW): Likewise.
27885 (FE_OVERFLOW): Likewise.
27886 (FE_INVALID): Likewise.
27887 (FE_INVALID_SNAN): Likewise.
27888 (FE_INVALID_ISI): Likewise.
27889 (FE_INVALID_IDI): Likewise.
27890 (FE_INVALID_ZDZ): Likewise.
27891 (FE_INVALID_IMZ): Likewise.
27892 (FE_INVALID_COMPARE): Likewise.
27893 (FE_INVALID_SOFTWARE): Likewise.
27894 (FE_INVALID_SQRT): Likewise.
27895 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27896 (FE_TONEAREST): Likewise.
27897 (FE_TOWARDZERO): Likewise.
27898 (FE_UPWARD): Likewise.
27899 (FE_DOWNWARD): Likewise.
27900 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27901 (FE_DIVBYZERO): Likewise.
27902 (FE_OVERFLOW): Likewise.
27903 (FE_UNDERFLOW): Likewise.
27904 (FE_INEXACT): Likewise.
27905 (FE_TONEAREST): Likewise.
27906 (FE_DOWNWARD): Likewise.
27907 (FE_UPWARD): Likewise.
27908 (FE_TOWARDZERO): Likewise.
27909 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27910 (FE_UNDERFLOW): Likewise.
27911 (FE_OVERFLOW): Likewise.
27912 (FE_DIVBYZERO): Likewise.
27913 (FE_INVALID): Likewise.
27914 (FE_TONEAREST): Likewise.
27915 (FE_TOWARDZERO): Likewise.
27916 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27917 (FE_OVERFLOW): Likewise.
27918 (FE_UNDERFLOW): Likewise.
27919 (FE_DIVBYZERO): Likewise.
27920 (FE_INEXACT): Likewise.
27921 (FE_TONEAREST): Likewise.
27922 (FE_TOWARDZERO): Likewise.
27923 (FE_UPWARD): Likewise.
27924 (FE_DOWNWARD): Likewise.
27925 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27926 (FE_DIVBYZERO): Likewise.
27927 (FE_OVERFLOW): Likewise.
27928 (FE_UNDERFLOW): Likewise.
27929 (FE_INEXACT): Likewise.
27930 (FE_TONEAREST): Likewise.
27931 (FE_DOWNWARD): Likewise.
27932 (FE_UPWARD): Likewise.
27933 (FE_TOWARDZERO): Likewise.
27935 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27937 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27939 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27941 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27942 commands. Quote $PWD.
27943 (blacklist_exports): Don't use remove_newlines. Replace "declare
27945 (remove_newlines): Remove.
27947 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27949 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27950 * stdlib/stdlib.h (atof): Moved to ...
27951 * include/bits/stdlib-float.h: Here. New file.
27952 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27953 * stdlib/bits/stdlib-float.h: New file.
27954 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27956 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27959 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27961 * conform/conformtest.pl (@headers): Add fenv.h.
27962 * conform/data/fenv.h-data: New file.
27963 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27964 include of <math/fenv.h>.
27966 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27967 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27968 && !UNIX98]. Enables tests for XOPEN2K8.
27969 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27970 POSIX2008]: Likewise.
27972 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27973 (struct rusage): Do not expect type or its members.
27976 * math/math.h (FP_NAN): Define macro to integer constant usable in
27977 #if and use that to give value to enum constant.
27978 (FP_INFINITE): Likewise.
27979 (FP_ZERO): Likewise.
27980 (FP_SUBNORMAL): Likewise.
27981 (FP_NORMAL): Likewise.
27983 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27985 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27986 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27989 2012-11-02 Roland McGrath <roland@hack.frob.com>
27991 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27992 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27993 autoconf-time if not.
27994 * configure.in: Remove AC_PREREQ.
27996 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27998 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27999 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28000 of the internal implementation.
28002 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28004 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28005 except include of <misc/sys/syslog.h>.
28007 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28010 function returns with a NULL context exit with zero.
28012 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28014 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28016 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28018 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28019 (run_program_cmd): This.
28020 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28021 (tst_langinfo): New variable. Use it.
28023 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28025 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28026 floating point opcodes.
28028 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28030 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28033 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28035 * sysdeps/mach/hurd/powerpc: Remove directory.
28036 * sysdeps/mach/powerpc: Likewise.
28038 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28040 * scripts/check-local-headers.sh: Ignore c++ headers.
28042 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28044 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28045 __libc_cleanup_region_start argument.
28047 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28052 x * y using scaling, not as x * y + z.
28053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28055 * math/libm-test.inc (fma_test): Add more tests.
28056 (fma_test_towardzero): Likewise.
28057 (fma_test_downward): Likewise.
28058 (fma_test_upward): Likewise.
28060 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28062 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28064 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28066 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28069 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28071 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28073 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28080 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28083 Fix the order of the list for glibc 2.17.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28087 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28091 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28095 for low part of x being zero before using __atanl (y).
28096 * math/libm-test.inc (atan2_test): Add another test.
28098 * manual/install.texi (Configuring and compiling): Document
28099 general use of test-wrapper and test-wrapper-env.
28100 * INSTALL: Regenerated.
28102 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28103 (__fma): Do not extract and scale down low bits on after-rounding
28104 systems when result rounded to normal precision would have normal
28106 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28107 (__fmal): Do not extract and scale down low bits on after-rounding
28108 systems when result rounded to normal precision would have normal
28110 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28111 (__fmal): Do not extract and scale down low bits on after-rounding
28112 systems when result rounded to normal precision would have normal
28114 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28116 (fma_test): Add more tests.
28117 (fma_test_towardzero): Likewise.
28118 (fma_test_downward): Likewise.
28119 (fma_test_upward): Likewise.
28121 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28123 * sysdeps/i386/tininess.h: Renamed to ...
28124 * sysdeps/x86/tininess.h: This.
28125 * sysdeps/x86_64/tininess.h: Removed.
28127 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28129 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28130 input. Use $(build-program-cmd).
28131 ($(objpfx)tst-array1-static.out): Likewise.
28132 ($(objpfx)tst-array2.out): Likewise.
28133 ($(objpfx)tst-array3.out): Likewise.
28134 ($(objpfx)tst-array4.out): Likewise.
28135 ($(objpfx)tst-array5.out): Likewise.
28136 ($(objpfx)tst-array5-static.out): Likewise.
28138 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28140 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28143 * nss/nsswitch.h (nss_interface_function): Provide new
28144 macro for use with NSS functions.
28145 * grp/initgroups.c: Use new macro.
28146 * nss/getXXbyYY.c: Likewise.
28147 * nss/getXXbyYY_r.c: Likewise.
28148 * nss/getXXent.c: Likewise.
28149 * nss/getXXent_r.c: Likewise.
28150 * sysdeps/posix/getaddrinfo.c: Likewise.
28152 2012-10-30 Andreas Jaeger <aj@suse.de>
28154 * po/ru.po: Update Russion translation from translation project.
28156 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28161 result and shift together with sticky bit instead of replicating
28162 round-to-nearest rounding.
28163 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28164 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28165 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28166 missing underflow exceptions.
28167 (fma_test_towardzero): Add more tests.
28168 (fma_test_downward): Likewise.
28169 (fma_test_upward): Likewise.
28172 * sysdeps/generic/tininess.h: New file.
28173 * sysdeps/i386/tininess.h: Likewise.
28174 * sysdeps/sh/tininess.h: Likewise.
28175 * sysdeps/x86_64/tininess.h: Likewise.
28176 * stdlib/tst-strtod-underflow.c: Likewise.
28177 * stdlib/tst-tininess.c: Likewise.
28178 * stdlib/strtod_l.c: Include <tininess.h>.
28179 (round_and_return): Do not set errno for exact underflow cases.
28180 Force an underflow exception when setting errno for underflow.
28181 Determine underflow based on rounding to normal precision if
28182 TININESS_AFTER_ROUNDING.
28183 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28184 ERANGE for exact underflow cases.
28185 * stdlib/Makefile (tests): Add tst-tininess and
28186 tst-strtod-underflow.
28187 ($(objpfx)tst-tininess): Use $(link-libm).
28188 ($(objpfx)tst-strtod-underflow): Likewise.
28190 2012-10-30 Andreas Jaeger <aj@suse.de>
28193 * elf/Makefile (tests): Remove conditional for have-initfini-array
28194 since this is now always required and the variable does not exist
28196 (tests-static): Likewise.
28197 (modules-names): Likewise.
28199 * po/eo.po: Add Esperanto translation from translation project.
28201 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28202 merged with constructor/destructor.
28203 (init_array): Likewise.
28204 * elf/tst-array2dep.c (fini_array): Likewise.
28205 (init_array): Likewise.
28207 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28209 * manual/message.texi: Delete @cartouche tags.
28211 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28213 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28215 * sysdeps/mach/hurd/fsync.c: Likewise.
28217 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28218 [_POSIX_REALTIME_SIGNALS]: Change condition to
28219 [_POSIX_REALTIME_SIGNALS > 0].
28221 2012-10-27 Andreas Jaeger <aj@suse.de>
28223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28224 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28226 [__WORDSIZE != 64]: Likewise.
28228 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28230 * iconvdata/tst-table.sh: Remove ${SHELL}.
28231 * iconvdata/tst-tables.sh: Likewise.
28233 2012-10-25 David S. Miller <davem@davemloft.net>
28235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28236 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28239 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28241 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28242 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28243 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28246 2012-10-25 Roland McGrath <roland@hack.frob.com>
28248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28249 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28252 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28253 Jim Blandy <jimb@codesourcery.com>
28255 * scripts/cross-test-ssh.sh: New file.
28256 * manual/install.texi (Configuring and compiling): Document use of
28258 * INSTALL: Regenerated.
28260 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28262 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28265 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28267 * Makeconfig (run-program-prefix): Fix comment.
28269 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28270 Jim Blandy <jimb@codesourcery.com>
28272 * Makeconfig (test-wrapper): New variable,
28273 (test-wrapper-env): Likewise.
28274 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28275 (run-built-tests): Define to yes.
28276 (run-program-prefix): Use $(test-wrapper).
28277 (built-program-cmd): Likewise.
28278 * Rules (make-test-out): Use $(test-wrapper-env) and
28279 $(host-built-program-cmd).
28280 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28281 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28283 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28284 $(test-wrapper-env) to tst-rtld-load-self.sh.
28285 ($(objpfx)order2.out): Use $(test-wrapper).
28286 ($(objpfx)tst-initorder.out): Likewise.
28287 ($(objpfx)tst-initorder2.out): Likewise.
28288 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28289 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28290 (test_wrapper_env): New variable. Use it to run ld.so.
28291 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28292 Use it to run ld.so.
28293 (test_wrapper_env): Likewise.
28294 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28295 $(test-wrapper) to run-iconv-test.sh.
28296 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28297 (ICONV): Use $test_wrapper.
28298 * posix/Makefile ($(objpfx)globtest.out): Pass
28299 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28300 globtest.sh, not $(run-program-prefix).
28301 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28302 (test_wrapper): Likewise.
28303 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28304 set together with run_via_rtld_prefix.
28305 (run_program_prefix): Define in terms of test_wrapper and
28306 run_via_rtld_prefix.
28308 2012-10-24 Roland McGrath <roland@hack.frob.com>
28310 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28311 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28315 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28316 Declare __clock_getres, __clock_gettime, __clock_settime,
28317 __clock_nanosleep, and __clock_getcpuclockid.
28318 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28319 Remove librt_hidden_def (clock_gettime).
28320 * sysdeps/unix/clock_gettime.c: Likewise.
28321 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28323 * rt/clock_getres.c: Define __clock_getres as an alias.
28324 * sysdeps/posix/clock_getres.c: Likewise.
28325 * rt/clock_settime.c: Define __clock_settime as an alias.
28326 * sysdeps/unix/clock_settime.c: Likewise.
28327 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28328 * sysdeps/unix/clock_nanosleep.c: Likewise.
28329 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28330 * rt/clock-compat.c: New file.
28331 * rt/Makefile (librt-routines): Add clock-compat and move
28332 $(clock-routines) to ...
28333 (routines): ... here, new variable.
28334 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28335 Don't add get_clockfreq here.
28336 * rt/Versions (libc: GLIBC_2.17): New version set.
28337 Add clock_* symbols here.
28338 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28340 (GLIBC_2.17): Add clock_* symbols.
28341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28352 * NEWS: Mention the move.
28354 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28355 Use __open, __read, __close rather than their public counterparts.
28356 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28357 (__get_clockfreq_via_cpuinfo): Likewise.
28358 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28359 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28361 * config.h.in (HAVE_IFUNC): New #undef.
28362 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28364 * configure: Regenerated.
28366 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28368 * configure.in: Move READELF check to start of file.
28369 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28370 libc_cv_asm_gnu_indirect_function in the process.
28371 * configure: Regenerated.
28373 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28375 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28376 send the output to /dev/null.
28377 (libc_cv_cc_with_libunwind): Likewise.
28378 (libc_cv_as_noexecstack): Likewise.
28379 * configure: Regenerate.
28381 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28383 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28385 * posix/globtest.sh (TMPDIR): Do not set.
28386 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28387 (testout): Likewise.
28389 2012-10-24 Andreas Jaeger <aj@suse.de>
28391 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28392 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28393 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28394 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28395 posix_fadvise64, posix_fallocate64.
28397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28398 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28399 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28401 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28403 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28406 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28407 <bits/fcntl-linux.h>.
28408 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28410 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28411 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28412 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28413 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28414 [__WORDSIZE != 64]: Likewise.
28416 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28418 * Makeconfig (run-built-tests): New variable.
28419 * Rules [$(cross-compiling) = yes]: Change condition to
28420 [$(run-built-tests) = no].
28421 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28422 to [$(run-built-tests) = yes].
28423 * elf/Makefile [$(cross-compiling) = no]: Likewise
28424 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28425 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28426 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28427 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28428 * io/Makefile [$(cross-compiling) = no]: Likewise.
28429 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28430 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28431 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28432 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28433 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28434 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28435 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28436 * string/Makefile [$(cross-compiling) = no]: Likewise.
28438 * posix/Makefile ($(objpfx)globtest.out): Pass
28439 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28440 $(rtld-installed-name).
28441 * posix/globtest.sh (elf_objpfx): Remove variable.
28442 (rtld_installed_name): Likewise.
28443 (library_path): Likewise.
28444 (run_program_prefix): New variable. Use for running globtest
28447 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28448 Joseph Myers <joseph@codesourcery.com>
28450 * Makeconfig (host-built-program-cmd): New variable.
28451 * elf/Makefile (tst-stackguard1-ARGS): Use
28452 $(host-built-program-cmd).
28453 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28454 (tst-spawn-ARGS): Likewise.
28455 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28457 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28458 Jim Blandy <jimb@codesourcery.com>
28460 * Makeconfig (run-via-rtld-prefix): New variable.
28461 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28462 (built-program-cmd): Likewise.
28464 2012-10-22 Andreas Jaeger <aj@suse.de>
28466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28467 __O_RSYNC if it exists, otherwise to O_SYNC.
28469 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28470 Joseph Myers <joseph@codesourcery.com>
28472 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28474 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28476 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28479 2012-10-22 Andreas Jaeger <aj@suse.de>
28481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28486 bits/fcntl-linux.h.
28488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28489 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28496 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28497 Joseph Myers <joseph@codesourcery.com>
28499 * config.make.in (NM): New variable.
28501 2012-10-21 Andreas Jaeger <aj@suse.de>
28503 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28504 definitions and declarations that are provided by
28505 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28507 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28510 * elf/Makefile (tests-static): Add tst-leaks1-static.
28511 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28512 ($(objpfx)tst-leaks1-static): New rule.
28513 ($(objpfx)tst-leaks1-static-mem): Likewise.
28514 (tst-leaks1-static-ENV): New macro.
28515 * elf/dl-open.c (dl_open_worker): Check the main application
28516 only if SHARED is defined.
28517 * elf/tst-leaks1-static.c: New file.
28519 2012-10-20 Andreas Jaeger <aj@suse.de>
28521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28522 generic values for Linux.
28523 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28524 and declarations that are provided by <bits/fcntl-linux.h> and
28525 include <bits/fcntl-linux.h>.
28526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28529 2012-10-20 Roland McGrath <roland@hack.frob.com>
28531 * io/fcntl.h: Move include of <bits/types.h> to the top and
28532 include it unconditionally.
28534 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28536 * wcsmbs/Makefile (tests-ifunc): New variable.
28537 (tests): Add $(tests-ifunc).
28538 * wcsmbs/test-wcschr-ifunc.c: New file.
28539 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28540 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28541 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28542 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28543 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28545 * string/Makefile (tests-ifunc): New variable.
28546 (tests): Add $(tests-ifunc).
28547 * string/test-memccpy.c (TEST_NAME): New macro.
28548 * string/test-memchr.c (TEST_NAME): Likewise.
28549 * string/test-memcmp.c (TEST_NAME): Likewise.
28550 * string/test-memcpy.c (TEST_NAME): Likewise.
28551 * string/test-memmem.c (TEST_NAME): Likewise.
28552 * string/test-memmove.c (TEST_NAME): Likewise.
28553 * string/test-memset.c (TEST_NAME): Likewise.
28554 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28555 * string/test-stpcpy.c (TEST_NAME): Likewise.
28556 * string/test-stpncpy.c (TEST_NAME): Likewise.
28557 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28558 * string/test-strcasestr.c (TEST_NAME): Likewise.
28559 * string/test-strcat.c (TEST_NAME): Likewise.
28560 * string/test-strchr.c (TEST_NAME): Likewise.
28561 * string/test-strcmp.c(TEST_NAME): Likewise.
28562 * string/test-strcpy.c (TEST_NAME): Likewise.
28563 * string/test-strcspn.c (TEST_NAME): Likewise.
28564 * string/test-strlen.c (TEST_NAME): Likewise.
28565 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28566 * string/test-strncmp.c (TEST_NAME): Likewise.
28567 * string/test-strncpy.c (TEST_NAME): Likewise.
28568 * string/test-strnlen.c (TEST_NAME): Likewise.
28569 * string/test-strpbrk.c (TEST_NAME): Likewise.
28570 * string/test-strrchr.c (TEST_NAME): Likewise.
28571 * string/test-strspn.c (TEST_NAME): Likewise.
28572 * string/test-strstr.c (TEST_NAME): Likewise.
28573 * string/test-bcopy-ifunc.c: New file.
28574 * string/test-bzero-ifunc.c: Likewise.
28575 * string/test-memccpy-ifunc.c: Likewise.
28576 * string/test-memchr-ifunc.c: Likewise.
28577 * string/test-memcmp-ifunc.c: Likewise.
28578 * string/test-memcpy-ifunc.c: Likewise.
28579 * string/test-memmem-ifunc.c: Likewise.
28580 * string/test-memmove-ifunc.c: Likewise.
28581 * string/test-mempcpy-ifunc.c: Likewise.
28582 * string/test-memset-ifunc.c: Likewise.
28583 * string/test-rawmemchr-ifunc.c: Likewise.
28584 * string/test-stpcpy-ifunc.c: Likewise.
28585 * string/test-stpncpy-ifunc.c: Likewise.
28586 * string/test-strcasecmp-ifunc.c: Likewise.
28587 * string/test-strcasestr-ifunc.c: Likewise.
28588 * string/test-strcat-ifunc.c: Likewise.
28589 * string/test-strchr-ifunc.c: Likewise.
28590 * string/test-strchrnul-ifunc.c: Likewise.
28591 * string/test-strcmp-ifunc.c: Likewise.
28592 * string/test-strcpy-ifunc.c: Likewise.
28593 * string/test-strcspn-ifunc.c: Likewise.
28594 * string/test-strlen-ifunc.c: Likewise.
28595 * string/test-strncasecmp-ifunc.c: Likewise.
28596 * string/test-strncat-ifunc.c: Likewise.
28597 * string/test-strncmp-ifunc.c: Likewise.
28598 * string/test-strncpy-ifunc.c: Likewise.
28599 * string/test-strnlen-ifunc.c: Likewise.
28600 * string/test-strpbrk-ifunc.c: Likewise.
28601 * string/test-strrchr-ifunc.c: Likewise.
28602 * string/test-strspn-ifunc.c: Likewise.
28603 * string/test-strstr-ifunc.c: Likewise.
28605 * debug/Makefile (tests-ifunc): New variable.
28606 (tests): Add $(tests-ifunc).
28607 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28608 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28609 * debug/test-stpcpy_chk-ifunc.c: New file.
28610 * debug/test-strcpy_chk-ifunc.c: Likewise.
28612 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28615 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28616 header is not read in.
28618 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28620 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28621 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28622 directly. Pass built executable to script as
28623 $(built-program-cmd).
28624 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28625 $testprogram without using LD_LIBRARY_PATH and $ldso.
28627 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28628 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28629 $(rtld-installed-name).
28630 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28631 (rtld_installed_name): Likewise.
28632 (library_path): Likewise.
28633 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28634 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28635 $(run-program-prefix) to tst-tables.sh.
28636 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28637 it to run tst-table-from and tst-table-to.
28638 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28639 Pass it to tst-table.sh.
28640 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28641 $(run-program-prefix) to tst-gettext.sh.
28642 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28644 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28646 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28647 to run tst-gettext.
28648 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28649 to run tst-gettext2.
28650 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28651 to run tst-translit.
28652 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28653 $(run-program-prefix) to tst-mtrace.sh.
28654 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28656 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28657 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28658 $(rtld-installed-name).
28659 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28660 (rtld_installed_name): Likewise.
28661 (run_program_prefix): New variable. Use it to run wordexp-test.
28663 * Makeconfig (ARCH): Remove all definitions.
28664 (machine): Likewise.
28665 [ARCH]: Remove conditional code.
28666 [!objdir]: Give error.
28667 [!objdir] (objpfx): Remove.
28668 [!objdir] (common-objpfx): Likewise.
28669 [!objdir] (common-objdir): Likewise.
28670 * configure.in (config_makefile): Remove. Hardcode Makefile in
28671 AC_CONFIG_FILES call.
28672 * configure: Regenerated.
28675 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28677 (testout): Likewise.
28679 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28680 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28681 $(rtld-installed-name).
28682 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28683 (rtld_installed_name): Likwise.
28684 (runit): Remove function.
28685 (run_getconf): New variable, Use it for running getconf binary.
28687 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28690 * string/test-memmem.c (check_result): New function.
28691 (do_one_test): Use it.
28692 (check1): New function.
28693 (test_main): Use it.
28695 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28697 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28699 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28701 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28702 (_G_LSEEK64): Likewise.
28703 (_G_MMAP64): Likewise.
28704 (_G_FSTAT64): Likewise.
28705 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28706 (_G_LSEEK64): Likewise.
28707 (_G_MMAP64): Likewise.
28708 (_G_FSTAT64): Likewise.
28709 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28710 unconditional. Call __mmap64 directly.
28711 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28712 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28713 __lseek64 directly.
28714 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28715 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28717 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28718 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28719 __lseek64 directly.
28720 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28721 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28722 __lseek64 directly.
28723 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28724 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28725 __lseek64 directly.
28726 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28727 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28728 __fxstat64 directly.
28729 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28730 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28732 (freopen64) [!_G_OPEN64]: Remove conditional code.
28733 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28735 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28736 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28738 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28739 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28741 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28742 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28744 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28745 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28747 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28748 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28750 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28751 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28753 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28755 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28758 * manual/memory.texi (Malloc Tunable Parameters): Add note
28759 about free list pointers overwriting some perturb bytes.
28760 Wording suggested by Roland McGrath.
28762 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28764 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28765 (lgamma_test): Likewise.
28766 (tgamma_test): Likewise.
28768 2012-10-16 Florian Weimer <fweimer@redhat.com>
28771 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28772 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28774 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28776 * NEWS: Mention BZ #14716.
28777 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28778 when removing AVAILABLE1_USES_J macro.
28780 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28782 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28783 (__bswap_64): __uint64_t for unsigned 64-bit int.
28785 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28787 * include/string.h (memmem): Declare libc hidden alias.
28788 * string/memmem.c (memmem): Define libc hidden alias.
28789 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28790 __read, __close instead of open, read, close.
28792 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28795 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28797 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28798 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28799 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28801 (__rawmemchr_sse2): Likewise.
28802 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28803 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28804 (__strchr_sse2): Likewise.
28805 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28806 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28807 (__strcasecmp_sse2): Likewise.
28808 (__strncasecmp_sse2): Likewise.
28809 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28810 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28811 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28812 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28813 (__strrchr_sse2): Likewise.
28814 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28816 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28817 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28818 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28819 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28820 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28821 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28822 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28823 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28824 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28825 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28826 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28827 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28828 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28829 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28830 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28831 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28832 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28833 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28834 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28835 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28836 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28837 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28838 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28839 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28840 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28841 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28842 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28843 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28844 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28845 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28847 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28849 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28850 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28851 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28852 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28854 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28856 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28857 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28858 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28859 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28861 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28862 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28863 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28864 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28865 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28866 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28867 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28868 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28869 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28870 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28871 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28872 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28873 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28874 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28875 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28876 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28877 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28878 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28879 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28880 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28881 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28882 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28883 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28884 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28885 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28886 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28887 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28888 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28889 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28890 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28891 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28892 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28893 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28894 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28895 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28896 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28897 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28898 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28899 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28900 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28901 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28903 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28904 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28905 * include/ifunc-impl-list.h: New file.
28906 * misc/ifunc-impl-list.c: Likewise.
28907 * misc/Makefile (routines): Add ifunc-impl-list.
28908 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28909 * string/test-string.h: Include <ifunc-impl-list.h>.
28910 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28911 TEST_NAME]: New variables.
28912 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28914 (test_init): Call __libc_ifunc_impl_list to initialize
28915 func_list if TEST_IFUNC and TEST_NAME are defined.
28917 * string/Makefile (strop-tests): Add bcopy and bzero.
28918 * string/test-bcopy.c: New file.
28919 * string/test-bzero.c: Likewise.
28920 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28922 * string/test-memset.c: Support bzero test if TEST_BZERO is
28924 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28926 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28928 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28931 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28933 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28934 * configure: Regenerated.
28936 * Makeconfig (+link-static-before-libc): Don't include
28937 $(link-static-libc).
28939 * libio/libio.h (_IO_pos_t): Remove.
28941 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28943 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28946 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28948 * crypt/crypt-entry.c: Include fips-private.h.
28949 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28950 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28951 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28952 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28954 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28956 * crypt/crypt-private.h: Include stdbool.h.
28957 (_ufc_setup_salt_r): Return bool.
28958 * crypt/crypt-entry.c: Include errno.h.
28959 (__crypt_r): Return NULL with EINVAL for bad salt.
28960 * crypt/crypt_util.c (bad_for_salt): New.
28961 (_ufc_setup_salt_r): Check that salt is long enough and within
28962 the specified alphabet.
28963 * crypt/badsalttest.c: New file.
28964 * crypt/Makefile (tests): Add it.
28965 ($(objpfx)badsalttest): New.
28967 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28969 * NEWS: Add entry for BZ #14602.
28971 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28973 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28975 * math/libm-test.inc: Update comment listing what functions and
28977 (isgreater_test): New function.
28978 (isgreaterequal_test): Likewise.
28979 (isless_test): Likewise.
28980 (islessequal_test): Likewise.
28981 (islessgreater_test): Likewise.
28982 (isunordered_test): Likewise.
28983 (main): Call the new functions.
28985 2012-10-09 Roland McGrath <roland@hack.frob.com>
28987 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28988 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28989 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28990 * sysdeps/i386/configure: Regenerated.
28991 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28992 * sysdeps/mach/configure: Regenerated.
28993 * sysdeps/mach/hurd/configure: Regenerated.
28994 * sysdeps/powerpc/configure: Regenerated.
28995 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28996 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28997 * sysdeps/s390/s390-32/configure: Regenerated.
28998 * sysdeps/s390/s390-64/configure: Regenerated.
28999 * sysdeps/sh/configure: Regenerated.
29000 * sysdeps/sparc/configure: Regenerated.
29001 * sysdeps/unix/sysv/linux/configure: Regenerated.
29002 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29003 * sysdeps/x86_64/configure: Regenerated.
29005 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29006 defined. Don't check if MAP is NULL.
29008 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29010 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29011 (_G_stat64): Likewise.
29012 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29013 (_G_stat64): Likewise.
29014 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29015 instead of struct _G_stat64.
29016 * libio/fileops.c (mmap_remap_check): Likewise.
29017 (decide_maybe_mmap): Likewise.
29018 (_IO_new_file_seekoff): Likewise.
29019 (_IO_file_stat): Likewise.
29020 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29022 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29023 instead of struct _G_stat64.
29024 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29026 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29029 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29031 (CHECK_EOL): New macro.
29032 (two_way_short_needle): Check beginning of haystack for EOL. Use
29034 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29035 Replace with CHECK_EOL.
29036 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29037 Replace with CHECK_EOL.
29039 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29041 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29043 * math/libm-test.inc: Update comment listing what functions and
29045 (finite_test): New function.
29046 (isinf_test): Likewise.
29047 (isnan_test): Likewise.
29048 (fpclassify_test): Test subnormal input.
29049 (isfinite_test): Likewise.
29050 (isnormal_test): Likewise.
29051 (main): Call the new functions.
29053 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29056 * Makerules (%.dynsym): Force C locale when running
29057 $(OBJDUMP) --dynamic-syms.
29059 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29061 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29064 2012-10-06 David S. Miller <davem@davemloft.net>
29066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29067 upper 32-bits of the length value in %o2 since we use branch-on-register
29068 tests which consider the entire 64-bit register.
29070 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29072 * string/test-strstr.c (check2): Add a test for page boundary.
29074 2012-10-05 David S. Miller <davem@davemloft.net>
29076 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29077 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29079 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29081 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29082 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29083 and bzero when HWCAP_SPARC_CRYPTO is present.
29085 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29088 * string/test-strstr.c (check2): New function.
29089 (test_main): Call check2.
29091 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29093 * string/bug-strcasestr1.c (do_test): Moved to ...
29094 * string/test-strcasestr.c (check1): Here. New function.
29095 (do_one_test): Break out result checking code into ...
29096 (check_result): This. New function.
29097 (do_one_test): Call check_result.
29098 (test_main): Call check1.
29099 * string/bug-strchr1.c (do_test): Moved to ...
29100 * string/test-strchr.c (check1): Here. New function.
29101 (do_one_test): Break out result checking code into ...
29102 (check_result): This. New function.
29103 (do_one_test): Call check_result.
29104 (test_main): Call check1.
29105 * string/bug-strstr1.c (main): Moved to ...
29106 * string/test-strstr.c (check1): Here. New function.
29107 (do_one_test): Break out result checking code into ...
29108 (check_result): This. New function.
29109 (do_one_test): Call check_result.
29110 (test_main): Call check1.
29111 * string/bug-strcasestr1.c: Removed.
29112 * string/bug-strchr1.c: Likewise.
29113 * string/bug-strstr1.c: Likewise.
29115 * elf/Makefile (dl-routines): Add hwcaps.
29116 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29117 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29118 (_dl_important_hwcaps): Moved to ...
29119 * elf/dl-hwcaps.c: Here. New file.
29120 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29123 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29124 if IS_IN_rtld isn't defined.
29126 * elf/dl-support.c (_dl_sysinfo_map): New.
29127 Include "get-dynamic-info.h" and "setup-vdso.h".
29128 (_dl_non_dynamic_init): Call setup_vdso.
29129 * elf/dynamic-link.h: Don't include <assert.h>.
29130 (elf_get_dynamic_info): Moved to ...
29131 * elf/get-dynamic-info.h: Here. New file.
29132 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29133 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29134 * elf/setup-vdso.h: Here. New file.
29135 * elf/rtld.c: Include "setup-vdso.h".
29136 (dl_main): Call setup_vdso.
29138 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29140 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29141 creal in comment listing functions tested. List finite, isinf,
29142 isnan, isless, islessequal, isgreater, isgreaterequal,
29143 islessgreater, isunordered, lgamma_r and pow10 as functions and
29144 macros not tested. Mention which functions not tested are aliases
29145 for other functions. Fix typo. Note that signs of NaNs are not
29148 * scripts/config.guess: Update from config.git.
29149 * scripts/config.sub: Likewise.
29151 2012-10-04 Roland McGrath <roland@hack.frob.com>
29153 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29154 * misc/madvise.c (madvise): Renamed to __madvise.
29155 Make madvise a weak alias.
29156 * include/sys/mman.h: Declare __madvise.
29157 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29158 * sysdeps/unix/syscalls.list
29159 (madvise): Make __madvise the strong name, and madvise a weak alias.
29160 * sysdeps/unix/sysv/linux/syscalls.list
29161 (madvise, mmap): Remove redundant entries.
29162 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29163 * malloc/malloc.c (mtrim): Likewise.
29164 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29166 2012-10-03 Roland McGrath <roland@hack.frob.com>
29168 * sysdeps/mach/hurd/dl-cache.c: File removed.
29169 * config.h.in (USE_LDCONFIG): New #undef.
29170 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29171 * configure: Regenerated.
29172 * elf/Makefile (dl-routines): Add dl-cache only under
29173 [$(use-ldconfig) = yes].
29174 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29175 cache on [USE_LDCONFIG].
29176 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29178 * elf/rtld.c (dl_main): Likewise.
29180 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29182 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29183 _SC_LEVEL4_CACHE_LINESIZE.
29185 2012-10-03 Roland McGrath <roland@hack.frob.com>
29187 * sysdeps/unix/bsd/confstr.h: File removed.
29189 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29191 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29194 2012-10-02 Roland McGrath <roland@hack.frob.com>
29196 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29197 Make 'mapoff' field ElfW(Off) rather than off_t.
29199 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29201 * nscd/Makefile: Remove nscd-cflags and all its users.
29202 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29203 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29206 * malloc.c (malloc_printerr): Clarify error message.
29208 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29212 Set bit_FMA_Usable if FMA is supported.
29213 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29215 (bit_FMA4_Usable): Updated.
29216 (index_FMA_Usable): New macro.
29217 (CPUID_FMA): Likewise
29218 (HAS_FMA): Defined with bit_FMA_Usable.
29220 2012-10-01 Roland McGrath <roland@hack.frob.com>
29222 * bits/types.h (__swblk_t): Type removed.
29223 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29224 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29226 (__SWBLK_T_TYPE): Likewise.
29227 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29228 (__SWBLK_T_TYPE): Likewise.
29229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29230 (__SWBLK_T_TYPE): Likewise.
29231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29232 (__SWBLK_T_TYPE): Likewise.
29234 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29235 Honza Horak <hhorak@redhat.com>
29237 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29238 (xdr_mapname): Use YPMAXMAP as maxsize.
29239 (xdr_peername): Use YPMAXPEER as maxsize.
29240 (xdr_keydat): Use YPAXRECORD as maxsize.
29241 (xdr_valdat): Use YPMAXRECORD as maxsize.
29243 2012-10-01 Roland McGrath <roland@hack.frob.com>
29245 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29247 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29248 * csu/init-first.c: ... here.
29249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29250 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29251 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29252 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29253 * sysdeps/i386/init-first.c: File removed.
29254 * sysdeps/sh/init-first.c: File removed.
29256 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29260 if x * y might underflow to zero and z is zero.
29261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29263 * math/libm-test.inc (min_subnorm_value): New variable.
29264 (fma_test): Add more tests.
29265 (fma_test_towardzero): Likewise.
29266 (fma_test_downward): Likewise
29267 (fma_test_upward): Likewise.
29268 (initialize): Set min_subnorm_value.
29270 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29275 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29276 mode for addition resulting in exact zero.
29277 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29280 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29281 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29282 * math/libm-test.inc (fma_test): Add more tests.
29283 (fma_test_towardzero): New function.
29284 (fma_test_downward): Likewise.
29285 (fma_test_upward): Likewise.
29286 (main): Call the new functions.
29288 2012-09-28 David S. Miller <davem@davemloft.net>
29290 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29292 2012-09-28 Roland McGrath <roland@hack.frob.com>
29294 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29295 instead of SIGALRM.
29297 * sysdeps/gnu/_G_config.h: Moved to ...
29298 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29299 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29300 * sysdeps/generic/_G_config.h: ... here.
29302 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29304 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29306 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29307 Conditionalize target on [libnss_test1.so-version].
29309 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29311 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29312 (elfobjdir): Move out of conditionals.
29314 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29315 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29316 (__nss_lookup_function): Conditionalize label remove_from_tree on
29317 [!DO_STATIC_NSS || SHARED], matching its only use.
29319 2012-09-28 David S. Miller <davem@davemloft.net>
29321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29322 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29324 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29326 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29328 when HWCAP_SPARC_CRYPTO is present.
29330 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29332 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29334 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29337 * stdio-common/vfprintf.c (process_string_arg): Revert
29340 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29342 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29344 * stdio-common/tst-sprintf.c: Include <locale.h>
29345 (main): Test sprintf's handling of incomplete multibyte
29348 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29350 * elf/dl-runtime.c (VERSYMIDX): Removed.
29351 * elf/dl-version.c (VERSYMIDX): Likewise.
29352 * elf/do-rel.h (VERSYMIDX): Likewise.
29353 (VALIDX): Likewise.
29354 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29355 * elf/rtld.c (VALIDX): Likewise.
29356 (ADDRIDX): Likewise.
29357 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29358 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29359 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29360 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29361 (VALIDX): Likewise.
29362 (ADDRIDX): Likewise.
29364 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29366 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29368 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29371 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29373 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29374 addresses are in the same scope as 192.0.2/24.
29375 * posix/gai.conf: Document new scope table defaults.
29377 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29380 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29381 for ftell. Compute offsets from write pointers instead.
29382 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29384 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29387 * libio/Makefile (tests): New test case tst-fseek.
29388 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29389 combination works in wide mode.
29390 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29391 state when the external buffer state changes.
29393 2012-09-27 David S. Miller <davem@davemloft.net>
29396 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29397 pass reloc->r_addend in as the 'high' argument to
29398 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29402 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29404 * rt/tst-aio2.c: Include <pthread.h>.
29405 * rt/tst-aio3.c: Likewise.
29407 2012-09-27 Steve Ellcey <sellcey@mips.com>
29409 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29411 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29413 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29414 contents on [SHARED].
29416 2012-09-26 Marek Polacek <polacek@redhat.com>
29420 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29421 for C++ and GCC <4.3 as well as for non GCC compilers.
29423 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29427 2012-09-25 Roland McGrath <roland@hack.frob.com>
29429 * Makefile.in (all, install): Declare with .PHONY.
29430 Reported by Michael Hope <michael.hope@linaro.org>.
29432 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29434 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29435 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29437 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29439 (sydep_routines): Add the new and the internal functions.
29440 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29441 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29443 (GLIBC_2.17): Add the new function.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29445 (GLIBC_2.17): Likewise.
29446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29447 (GLIBC_2.17): Likewise.
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29449 (GLIBC_2.17): Likewise.
29450 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29452 2012-09-25 Alan Modra <amodra@gmail.com>
29454 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29455 Add release barrier before setting once_control to say
29456 initialisation is done. Add hints on lwarx. Use macro in
29458 (clear_once_control): Add release barrier.
29460 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29463 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29465 * math/s_clog10.c (__clog10): Likewise.
29466 * math/s_clog10f.c (__clog10f): Likewise.
29467 * math/s_clog10l.c (__clog10l): Likewise.
29468 * math/s_clogf.c (__clogf): Likewise.
29469 * math/s_clogl.c (__clogl): Likewise.
29470 * math/Makefile (libm-calls): Add x2y2m1.
29471 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29472 (__x2y2m1): Likewise.
29473 (__x2y2m1l): Likewise.
29474 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29475 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29478 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29479 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29480 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29481 * sysdeps/i386/fpu/libm-test-ulps: Update.
29482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29485 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29486 int as type of variable DEPTH.
29487 (glob): Use size_t instead of int as type of variables NEWCOUNT
29490 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29492 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29493 Add s_sincosf-sse2.
29494 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29495 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29496 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29497 macros for using routine as __sincosf_ia32.
29498 Use macro for function declaration and weak_alias.
29499 * sysdeps/i386/fpu/libm-test-ulps: Update.
29501 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29504 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29505 subnormal argument.
29506 * math/s_cexpf.c (__cexpf): Likewise.
29507 * math/s_csinf.c (__csinf): Likewise.
29508 * math/s_csinhf.c (__csinhf): Likewise.
29509 * math/s_ctanf.c (__ctanf): Likewise.
29510 * math/s_ctanhf.c (__ctanhf): Likewise.
29511 * math/s_ccosh.c (__ccoshf): Likewise.
29512 * math/s_cexp.c (__cexpl): Likewise.
29513 * math/s_csin.c (__csin): Likewise.
29514 * math/s_csinh.c (__csinh): Likewise.
29515 * math/s_ctan.c (__ctan): Likewise.
29516 * math/s_ctanh.c (ctanh): Likewise.
29517 * math/s_ccoshl.c (__ccoshl): Likewise.
29518 * math/s_cexpl.c (__cexpl): Likewise.
29519 * math/s_csinl.c (__csinl): Likewise.
29520 * math/s_csinhl.c (__csinhl): Likewise.
29521 * math/s_ctanl.c (__ctanl): Likewise.
29522 * math/s_ctanhl.c (__ctanhl): Likewise.
29524 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29526 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29527 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29528 (_IO_off_t): Define to __off_t, not _G_off_t.
29529 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29530 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29531 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29532 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29533 type of __dummy and __dummy2 fields.
29534 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29535 (_G_ssize_t): Likewise.
29536 (_G_off_t): Likewise.
29537 (_G_pid_t): Likewise.
29538 (_G_uid_t): Likewise.
29539 (_G_wchar_t): Likewise.
29540 (_G_wint_t): Likewise.
29541 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29542 (_G_ssize_t): Likewise.
29543 (_G_off_t): Likewise.
29544 (_G_pid_t): Likewise.
29545 (_G_uid_t): Likewise.
29546 (_G_wchar_t): Likewise.
29547 (_G_wint_t): Likewise.
29548 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29549 (_G_ssize_t): Likewise.
29550 (_G_off_t): Likewise.
29551 (_G_pid_t): Likewise.
29552 (_G_uid_t): Likewise.
29553 (_G_wchar_t): Likewise.
29554 (_G_wint_t): Likewise.
29556 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29558 * malloc/arena.c: Include malloc-sysdep.h.
29559 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29560 is sufficient to shrink the heap or an unmap is needed.
29561 * sysdeps/generic/malloc-sysdep.h: New file. Define
29562 new function check_may_shrink_heap.
29563 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29564 new function check_may_shrink_heap.
29566 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29568 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29571 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29573 * catgets/test-gencat.sh: Add "set -e".
29574 * elf/tst-pathopt.sh: Likewise.
29575 * grp/tst_fgetgrent.sh: Likewise.
29576 * iconvdata/run-iconv-test.sh: Likewise.
29577 * intl/tst-gettext.sh: Likewise.
29578 * intl/tst-gettext2.sh: Likewise.
29579 * intl/tst-gettext4.sh: Likewise.
29580 * intl/tst-gettext6.sh: Likewise.
29581 * intl/tst-translit.sh: Likewise.
29582 * io/ftwtest-sh: Likewise.
29583 * libio/test-freopen.sh: Likewise.
29584 * malloc/tst-mtrace.sh: Likewise.
29585 * posix/globtest.sh: Likewise.
29586 * posix/tst-getconf.sh: Likewise.
29587 * posix/wordexp-tst.sh: Likewise.
29588 * stdio-common/tst-printf.sh: Likewise.
29589 * stdio-common/tst-unbputc.sh: Likewise.
29590 * stdlib/tst-fmtmsg.sh: Likewise.
29591 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29592 * catgets/Makefile: Do not specify -e option when running
29593 testsuite shell scripts.
29594 * elf/Makefile: Likewise.
29595 * grp/Makefile: Likewise.
29596 * iconvdata/Makefile: Likewise.
29597 * intl/Makefile: Likewise.
29598 * io/Makefile: Likewise.
29599 * libio/Makefile: Likewise.
29600 * malloc/Makefile: Likewise.
29601 * posix/Makefile: Likewise.
29602 * stdio-common/Makefile: Likewise.
29603 * stdlib/Makefile: Likewise.
29604 * sysdeps/x86_64/Makefile: Likewise.
29606 * io/ftwtest-sh: Add copyright header.
29607 * posix/globtest.sh: Likewise.
29608 * posix/tst-getconf.sh: Likewise.
29609 * posix/wordexp-tst.sh: Likewise.
29610 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29612 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29615 * Makeconfig (+link): Defined as $(+link-static) if
29616 $(build-shared) isn't yes.
29617 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29619 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29621 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29624 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29625 new chunk size with MALLOC_ALIGN_MASK.
29627 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29630 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29632 (__printf_fphex): Determine rounding using get_rounding_mode and
29634 * stdio-common/tst-printf-round.c (struct hex_test): New
29636 (hex_tests): New variable.
29637 (test_hex_in_one_mode): New function.
29638 (do_test): Also run tests for hex float output.
29640 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29642 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29643 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29644 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29645 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29646 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29647 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29648 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29649 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29651 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29653 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29654 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29655 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29656 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29658 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29661 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29663 * elf/tst-rtld-load-self.sh: New test.
29664 * elf/Makefile: Run it.
29666 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29668 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29669 (tst-writev-ENV): Remove.
29670 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29672 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29674 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29676 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29678 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29680 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29682 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29683 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29684 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29687 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29690 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29691 * config.make.in (have-cpp-asm-debuginfo): Removed.
29692 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29693 * configure: Regenerated.
29695 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29698 * stdio-common/printf_fp.c: Include <stdbool.h> and
29700 (___printf_fp): Determine rounding using get_rounding_mode and
29702 * stdio-common/tst-printf-round.c: New file.
29703 * stdio-common/Makefile (tests): Add tst-printf-round.
29704 (link-libm): New variable.
29705 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29707 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29710 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29711 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29713 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29716 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29718 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29719 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29720 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29721 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29723 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29726 * include/rounding-mode.h: New file.
29727 * sysdeps/generic/get-rounding-mode.h: Likewise.
29728 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29729 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29730 (MAX_VALUE): New macro.
29731 (MIN_VALUE): Likewise.
29732 (overflow_value): New function.
29733 (underflow_value): Likewise.
29734 (round_and_return): Use overflow_value and underflow_value to
29735 determine return values in overflow and underflow cases. Use
29736 round_away to determine rounding depending on rounding mode.
29737 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29738 determine return values in overflow and underflow cases.
29739 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29740 (struct test_results): New structure.
29741 (struct test): Use struct test_results to store expected results
29742 for all rounding modes.
29743 (TEST): Include expected results for all rounding modes.
29744 (test_in_one_mode): New function.
29745 (do_test): Use test_in_one_mode to compute and check results.
29746 Check results for all rounding modes.
29747 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29750 2012-12-09 Allan McRae <allan@archlinux.org>
29752 * sysdeps/i386/fpu/libm-test-ulps: Update
29754 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29756 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29757 (_G_int32_t): Likewise.
29758 (_G_uint16_t): Likewise.
29759 (_G_uint32_t): Likewise.
29760 (_G_HAVE_BOOL): Likewise.
29761 (_G_HAVE_ATEXIT): Likewise.
29762 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29763 (_G_HAVE_IO_FILE_OPEN): Likewise.
29764 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29765 (_G_int32_t): Likewise.
29766 (_G_uint16_t): Likewise.
29767 (_G_uint32_t): Likewise.
29768 (_G_HAVE_BOOL): Likewise.
29769 (_G_HAVE_ATEXIT): Likewise.
29770 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29771 (_G_HAVE_IO_FILE_OPEN): Likewise.
29772 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29773 (_G_int32_t): Likewise.
29774 (_G_uint16_t): Likewise.
29775 (_G_uint32_t): Likewise.
29776 (_G_HAVE_BOOL): Likewise.
29777 (_G_HAVE_ATEXIT): Likewise.
29778 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29779 (_G_HAVE_IO_FILE_OPEN): Likewise.
29781 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29783 * csu/libc-tls.c: Update copyright years.
29785 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29787 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29788 [!_G_USING_THUNKS]: Remove conditional code.
29789 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29790 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29792 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29793 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29794 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29795 (_G_VTABLE_LABEL_PREFIX): Likewise.
29796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29797 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29798 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29799 (_G_VTABLE_LABEL_PREFIX): Likewise.
29800 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29801 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29802 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29803 (_G_VTABLE_LABEL_PREFIX): Likewise.
29804 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29806 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29808 * libio/Makefile: Include ../Makeconfig before tests.
29809 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29810 only if $(build-shared) is yes.
29812 * iconv/gconv_db.c: Update copyright years.
29814 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29816 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29817 unwind info if defined PIC. Fix special cases description.
29818 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29820 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29822 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29824 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29826 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29828 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29831 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29832 (LDLIBS-tst-chk4): This.
29833 (LDFLAGS-tst-chk5): Renamed to ...
29834 (LDLIBS-tst-chk5): This.
29835 (LDFLAGS-tst-chk6): Renamed to ...
29836 (LDLIBS-tst-chk6): This.
29837 (LDFLAGS-tst-lfschk4): Renamed to ...
29838 (LDLIBS-tst-lfschk4): This.
29839 (LDFLAGS-tst-lfschk5): Renamed to ...
29840 (LDLIBS-tst-lfschk5): This.
29841 (LDFLAGS-tst-lfschk6): Renamed to ...
29842 (LDLIBS-tst-lfschk6): This.
29844 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29845 on $(common-objpfx)soversions.mk.
29847 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29850 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29853 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29855 * malloc/arena.c (arena_get_retry): New function that gets
29856 another arena for the caller to try its request on.
29857 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29858 current arena cannot fulfill the request.
29859 (__libc_memalign): Likewise.
29860 (__libc_memalign): Likewise.
29861 (__libc_pvalloc): Likewise.
29862 (__libc_calloc): Likewise.
29864 2012-09-05 John Tobey <john.tobey@gmail.com>
29867 * manual/arith.texi (Operations on Complex): Fix description
29868 of carg branch cut.
29870 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29873 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29877 * manual/memory.texi (Memory): Make order of menu items match
29880 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29882 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29883 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29884 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29886 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29888 * csu/libc-tls.c (static_dtv): Renamed to ...
29889 (_dl_static_dtv): This. Make it global.
29890 (_dl_initial_dtv): Removed.
29891 (__libc_setup_tls): Updated.
29892 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29893 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29896 2012-09-06 Petr Machata <pmachata@redhat.com>
29898 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29899 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29900 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29901 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29903 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29906 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29907 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29910 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29913 * Makeconfig (link-static-before-libc): Replace $(+prector)
29915 (link-static-after-libc): Replace $(+postctor) with
29917 (link-bounded): Replace $(+prector)/$(+postctor) with
29918 $(+prectorT)/$(+postctorT).
29919 (+prectorT): New macro.
29920 (+postctorT): Likewise.
29922 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29924 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29925 (round_str): Handle values above the maximum for IBM long double
29927 * stdlib/tst-strtod-round.c (tests): Regenerated.
29929 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29931 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29933 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29934 zarch_nohighgprs around the zarch optimized routines.
29935 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29936 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29937 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29940 2012-09-05 David S. Miller <davem@davemloft.net>
29942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29944 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29945 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29946 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29947 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29950 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29952 * malloc/arena.c: Fold copyright years.
29953 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29955 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29957 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29959 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29961 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29963 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29965 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29966 change internal state upon failure.
29968 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29970 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29971 * malloc/memusage.c (mmap): Likewise.
29972 (mmap64, mremap): Likewise. Adjust name in comment.
29974 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29976 * libio/fileops.c: Fix typos in comments.
29977 * libio/oldfileops.c: Likewise.
29978 * libio/wfileops.c: Likewise.
29980 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29983 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29984 (tst-malloc-usable-ENV): Set environment for test case.
29985 * malloc/hooks.c (malloc_check_get_size): New function to get
29987 * malloc/malloc.c (musable): Use malloc_check_get_size.
29988 * malloc/tst-malloc-usable.c: New test case.
29990 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29992 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29994 2012-09-05 Allan McRae <allan@archlinux.org>
29997 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29998 determine header location.
29999 * configure: Regenerated.
30001 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30003 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30005 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30006 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30008 (test): Regenerate.
30010 2012-09-04 David S. Miller <davem@davemloft.net>
30012 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30013 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30014 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30016 2012-09-04 Florian Weimer <fweimer@redhat.com>
30018 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30021 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30023 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30026 * libio/iogetdelim.c: Include <limits.h>.
30027 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30028 + len + 1 would overflow.
30030 2012-09-03 Andreas Jaeger <aj@suse.de>
30032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30033 * sysdeps/i386/fpu/libm-test-ulps: Update.
30035 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30037 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30038 Add s_sinf-sse2, s_conf-sse2.
30040 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30041 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30042 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30043 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30045 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30046 for using routine as __sinf_ia32.
30047 Use macro for function declaration and weak_alias.
30048 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30049 for using routine as __cosf_ia32.
30050 Use macro for function declaration and weak_alias.
30052 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30053 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30055 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30056 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30059 * math/libm-test.inc (cos_test): Add more test cases.
30060 (sin_test): Likewise.
30061 (sincos_test): Likewise.
30063 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30065 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30066 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30070 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30073 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30074 first element of the GOT.
30075 (elf_machine_load_address): Return the difference between
30076 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30078 2012-09-01 Allan McRae <allan@archlinux.org>
30081 * configure.in (AWK): Require gawk version 3.0 or later.
30082 * configure: Regenerated.
30084 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30086 * sysdeps/unix/sysv/linux/kernel-features.h
30087 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30088 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30089 [__NR_clock_getres]: Make code unconditional.
30090 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30091 (clock_getcpuclockid): Remove code left unreachable by removal of
30093 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30094 code unconditional.
30095 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30096 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30097 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30098 Make code unconditional.
30099 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30100 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30101 * sysdeps/unix/sysv/linux/clock_settime.c
30102 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30104 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30105 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30107 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30110 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30111 scripts/test-installation.pl.
30113 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30114 and $ld_so_version if it is set.
30116 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30119 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30120 failure if reading from procfs failed.
30121 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30123 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30125 * sysdeps/unix/sysv/linux/kernel-features.h
30126 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30127 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30128 Remove conditional code.
30129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30130 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30131 Remove conditional code.
30132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30133 * sysdeps/unix/sysv/linux/i386/fxstat.c
30134 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30136 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30139 * sysdeps/unix/sysv/linux/i386/lxstat.c
30140 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30142 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30143 Remove conditional code.
30144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30145 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30146 Remove conditional code.
30147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30148 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30149 <kernel-features.h>.
30150 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30152 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30153 Remove conditional code.
30154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30155 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30156 Remove conditional.
30158 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30161 * NEWS: Add fixed bug number.
30163 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30166 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30167 underflowing exponent in case of negative sign.
30168 * stdlib/tst-strtod-round-data: Add more tests.
30169 * stdlib/tst-strtod-round.c (tests): Regenerated.
30172 * stdlib/strtod_l.c (NDIG): Remove.
30173 (HEXNDIG): Likewise.
30174 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30175 smallest representable value.
30176 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30177 lie within an exact representation of 1/2 ulp of the result.
30178 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30180 (TENS_P9_IDX): Define unconditionally.
30181 (TENS_P9_SIZE): Likewise.
30182 (TENS_P10_IDX): Likewise.
30183 (TENS_P10_SIZE): Likewise.
30184 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30185 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30186 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30187 entries for 10^2^13 and 10^2^14.
30188 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30189 (TENS_P13_IDX): Define.
30190 (TENS_P13_SIZE): Likewise.
30191 (TENS_P14_IDX): Likewise.
30192 (TENS_P14_SIZE): Likewise.
30193 (_fpioconst_pow10): Change array size to
30194 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30196 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30197 1024]: Add entries for 10^2^13 and 10^2^14.
30198 [LAST_POW10 > _LAST_POW10]: Remove #error.
30199 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30200 (_fpioconst_pow10): Change array size to
30201 FPIOCONST_POW10_ARRAY_SIZE.
30202 * stdlib/gen-fpioconst.c: New file.
30203 * stdlib/gen-tst-strtod-round.c: Likewise.
30204 * stdlib/tst-strtod-round-data: Likewise.
30205 * stdlib/tst-strtod-round.c: Likewise.
30206 * stdlib/Makefile (tests): Add tst-strtod-round.
30209 * stdlib/strtod_l.c: Include <stdint.h>.
30210 (NDEBUG): Do not define.
30211 (round_and_return): Change EXPONENT parameter to type intmax_t.
30212 Rearrange calculations to avoid internal overflow possibilities.
30213 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30214 Rearrange calculations to avoid internal overflow possibilities.
30215 Assert that number fits inside MPNSIZE limbs.
30216 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30217 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30218 calculations and add assertions to avoid internal overflow
30219 possibilities. Add casts to avoid signed/unsigned operations.
30220 * stdlib/tst-strtod-overflow.c: New file.
30221 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30223 2012-08-25 Marek Polacek <polacek@redhat.com>
30225 * time/time.h: Fix some typos in comments.
30227 2012-08-23 Roland McGrath <roland@hack.frob.com>
30229 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30230 * posix/tst-rfc3484-2.c: Likewise.
30231 * posix/tst-rfc3484-3.c: Likewise.
30233 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30235 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30236 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30238 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30240 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30241 #include of fxstatat64.c.
30243 2012-08-22 Roland McGrath <roland@hack.frob.com>
30245 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30246 * shadow/getspent_r.c: Likewise.
30247 * shadow/getspnam.c: Likewise.
30248 * shadow/getspnam_r.c: Likewise.
30249 * gshadow/getsgent.c: Likewise.
30250 * gshadow/getsgent_r.c: Likewise.
30251 * gshadow/getsgnam.c: Likewise.
30252 * gshadow/getsgnam_r.c: Likewise.
30253 * inet/getnetbyad.c: Likewise.
30254 * inet/getnetbyad_r.c: Likewise.
30255 * inet/getnetbynm.c: Likewise.
30256 * inet/getnetbynm_r.c: Likewise.
30257 * inet/getnetent.c: Likewise.
30258 * inet/getnetent_r.c: Likewise.
30259 * inet/getproto.c: Likewise.
30260 * inet/getproto_r.c: Likewise.
30261 * inet/getprtent.c: Likewise.
30262 * inet/getprtent_r.c: Likewise.
30263 * inet/getprtname.c: Likewise.
30264 * inet/getprtname_r.c: Likewise.
30265 * inet/getrpcbyname.c: Likewise.
30266 * inet/getrpcbyname_r.c: Likewise.
30267 * inet/getrpcbynumber.c: Likewise.
30268 * inet/getrpcbynumber_r.c: Likewise.
30269 * inet/getrpcent.c: Likewise.
30270 * inet/getrpcent_r.c: Likewise.
30271 * inet/getaliasent.c: Likewise.
30272 * inet/getaliasent_r.c: Likewise.
30273 * inet/getaliasname.c: Likewise.
30274 * inet/getaliasname_r.c: Likewise.
30275 * nscd/getgrgid_r.c: Likewise.
30276 * nscd/getgrnam_r.c: Likewise.
30277 * nscd/gethstbyad_r.c: Likewise.
30278 * nscd/gethstbynm3_r.c: Likewise.
30279 * nscd/getpwnam_r.c: Likewise.
30280 * nscd/getpwuid_r.c: Likewise.
30281 * nscd/getsrvbynm_r.c: Likewise.
30282 * nscd/getsrvbypt_r.c: Likewise.
30283 * nscd/gai.c: Likewise.
30285 * configure.in (build_nscd): New substituted variable, set
30286 by --disable-build-nscd and defaults to $use_nscd.
30287 * configure: Regenerated.
30288 * config.make.in (build-nscd): New substituted variable.
30289 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30290 Change conditional to require [$(build-nscd) = yes] as well.
30291 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30294 * configure.in (use_nscd): New substituted variable, set by
30295 --disable-nscd. If enabled, define USE_NSCD.
30296 * configure: Regenerated.
30297 * config.h.in: Add USE_NSCD.
30298 * config.make.in (use-nscd): New substituted variable.
30299 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30300 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30301 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30302 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30303 (CFLAGS-getgrnam_r.c): Likewise.
30304 (CFLAGS-initgroups.c): Likewise.
30305 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30306 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30308 * inet/getnetgrent_r.c
30309 (nscd_setnetgrent): New function, broken out of ...
30310 (setnetgrent): ... here. Call it.
30311 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30312 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30313 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30314 * nscd/Makefile (routines, aux): Move definitions after include of
30315 Makeconfig. Conditionalize on [$(use-nscd) != no].
30316 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30317 Conditionalize on [USE_NSCD].
30318 (is_nscd, nscd_init_cb): Likewise.
30319 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30320 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30321 * nss/nss_db/db-init.c: Likewise.
30322 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30324 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30325 (make_request): Use it.
30326 (cache_valid_p): New function.
30327 (__check_pf): Use it.
30328 * NEWS: Add item for --disable-nscd.
30330 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30332 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30333 to support sed >= 4.2.1-20-ga9bf076.
30334 * configure: Regenerated.
30336 2012-08-22 Roland McGrath <roland@hack.frob.com>
30338 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30339 Conditionalize whole body on [IREL].
30341 2012-08-22 Jeff Law <law@redhat.com>
30344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30345 if the family is PF_UNSPEC.
30347 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30349 * Makerules (lib-version): Rename from V.
30350 (install-lib-nosubdir): Change V to lib-version.
30352 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30355 * powerpc32/power6/wcschr.c: New file.
30356 * powerpc32/power6/wcscpy.c: New file.
30357 * powerpc32/power6/wcsrchr.c: New file.
30358 * powerpc64/power6/wcschr.c: New file.
30359 * powerpc64/power6/wcscpy.c: New file.
30360 * powerpc64/power6/wcsrchr.c: New file.
30362 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30364 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30365 (two_way_short_needle): Use it.
30366 * string/strstr.c (AVAILABLE1_USES_J): Define.
30367 * string/strcasestr.c: Likewise.
30369 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30371 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30374 * NEWS: Add an entry.
30375 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30376 define their defaults.
30377 (two_way_short_needle): Detect end-of-string on-the-fly.
30378 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30379 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30380 * string/bug-strcasestr1.c: New test.
30381 * string/Makefile: Run it.
30383 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30386 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30387 the first character.
30389 2012-08-21 Roland McGrath <roland@hack.frob.com>
30391 * csu/elf-init.c (__libc_csu_irel): Function removed.
30392 * csu/libc-start.c (apply_irel): New function.
30393 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30395 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30397 * sysdeps/unix/sysv/linux/kernel-features.h
30398 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30399 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30400 <kernel-features.h>.
30401 [__NR_fadvise64_64]: Make code unconditional.
30402 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30403 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30404 !__NR_fadvise64_64)]: Likewise.
30405 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30406 !__NR_fadvise64_64))]: Likewise.
30407 [__NR_fadvise64]: Make code unconditional.
30408 [!__NR_fadvise64]: Remove conditional code.
30409 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30410 <kernel-features.h>.
30411 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30413 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30416 not include <kernel-features.h>.
30417 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30419 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30421 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30422 include <kernel-features.h>.
30423 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30425 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30428 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30430 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30431 slight instruction rearrangements per scrollpipe analysis.
30432 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30434 2012-08-20 Roland McGrath <roland@hack.frob.com>
30436 * manual/syslog.texi (syslog; vsyslog, closelog):
30437 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30438 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30440 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30441 DSOCAPS to match condition on defining it.
30443 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30445 * sysdeps/unix/sysv/linux/kernel-features.h
30446 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30448 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30449 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30454 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30455 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30457 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30458 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30460 * sysdeps/unix/sysv/linux/kernel-features.h
30461 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30462 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30464 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30465 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30466 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30467 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30468 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30469 Make code unconditional.
30470 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30471 (__mmap64) [!__NR_mmap2]: Likewise.
30472 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30473 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30474 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30475 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30476 [__NR_mmap2]: Make code unconditional.
30477 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30478 (__mmap64) [!__NR_mmap2]: Likewise.
30480 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30482 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30484 2012-08-18 Andreas Jaeger <aj@suse.de>
30486 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30488 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30490 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30491 * include/unistd.h (__have_sock_cloexec): Likewise.
30492 (__have_pipe2): Likewise.
30493 (__have_dup3): Likewise.
30495 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30498 * include/unistd.h (__have_pipe2): Change define into an extern int.
30499 (__have_dup3): Likewise.
30500 * socket/have_sock_cloexec.c: Include fcntl.h.
30501 (__have_pipe2): New variable.
30502 (__have_dup3): Likewise.
30504 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30506 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30508 2012-08-17 Marek Polacek <polacek@redhat.com>
30510 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30511 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30513 2012-08-17 Roland McGrath <roland@hack.frob.com>
30515 * configure.in: Add AC_SUBST for sysheaders.
30516 * configure: Regenerated.
30517 * config.make.in (sysheaders): New substituted variable.
30519 * sysdeps/unix/mkfifo.c: Moved ...
30520 * sysdeps/posix/mkfifo.c: ... here.
30521 * sysdeps/unix/mkfifoat.c: Moved ...
30522 * sysdeps/posix/mkfifoat.c: ... here.
30524 * sysdeps/unix/utime.c: Moved ...
30525 * sysdeps/posix/utime.c: ... here.
30527 * sysdeps/unix/time.c: Moved ...
30528 * sysdeps/posix/time.c: ... here.
30529 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30530 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30532 * sysdeps/unix/nice.c: Moved ...
30533 * sysdeps/posix/nice.c: ... here.
30535 * sysdeps/unix/alarm.c: Moved ...
30536 * sysdeps/posix/alarm.c: ... here.
30538 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30540 2012-08-17 Jeff Law <law@redhat.com>
30542 * intl/Makefile (codeset_mo): New variable.
30543 ($(codeset_mo)): New target.
30544 (tst-codeset.out): Depend on that. Remove explicit rule.
30545 (tst-gettext3.out, tst-gettext5.out): Likewise.
30546 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30547 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30548 * intl/tst-codeset.sh: Remove.
30549 * intl/tst-gettext3.sh: Likewise.
30550 * intl/tst-gettext5.sh: Likewise.
30552 2012-08-17 Roland McGrath <roland@hack.frob.com>
30554 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30555 * sysdeps/unix/syscalls.list: ... here.
30557 * sysdeps/posix/getaddrinfo.c
30558 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30559 (gaiconf_init, gaiconf_reload): Use them.
30560 [!_STATBUF_ST_NSEC]
30561 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30562 Define using time_t rather than struct timespec.
30564 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30565 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30567 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30569 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30570 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30573 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30574 __libc_cleanup_push argument.
30576 * bits/param.h: New file.
30577 * misc/sys/param.h: New file.
30578 * include/sys/param.h: New file.
30579 * misc/Makefile (headers): Add bits/param.h.
30580 * sysdeps/generic/sys/param.h: File removed.
30581 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30582 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30583 * sysdeps/mach/hurd/bits/param.h: New file.
30584 * sysdeps/mach/hurd/sys/param.h: File removed.
30586 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30589 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30591 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30592 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30595 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30596 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30597 rather than -D_IO_MTSAFE_IO conditionally.
30598 * stdio-common/Makefile (CPPFLAGS): Likewise.
30599 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30600 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30601 Use $(libio-mtsafe).
30602 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30603 of -D_IO_MTSAFE_IO.
30604 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30605 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30606 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30607 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30608 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30609 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30610 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30611 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30612 (CFLAGS-fread_u_chk.c): Likewise.
30613 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30614 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30615 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30616 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30617 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30618 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30619 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30620 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30621 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30623 * libio/Makefile: Test [$(libc-reentrant) = yes]
30624 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30627 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30628 * sysdeps/pthread/configure: File removed.
30629 * sysdeps/pthread/Makeconfig: New file.
30630 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30631 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30633 2012-08-16 Gary Benson <gbenson@redhat.com>
30635 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30636 unmapping the first object in a namespace.
30638 2012-08-16 Roland McGrath <roland@hack.frob.com>
30640 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30641 (__internal_setnetgrent): ... this. Add internal_function to
30642 definition. Add libc_hidden_def.
30643 (setnetgrent): Update caller.
30644 (internal_endnetgrent): Renamed to ...
30645 (__internal_endnetgrent): ... this. Add internal_function to
30646 definition. Add libc_hidden_def.
30647 (endnetgrent): Update caller.
30648 (internal_getnetgrent_r): Renamed to ...
30649 (__internal_getnetgrent_r): ... this. Add internal_function to
30650 definition. Add libc_hidden_def.
30651 (__getnetgrent_r): Update caller.
30652 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30654 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30656 * stdlib/longlong.h: Update from GCC.
30658 2012-08-16 Roland McGrath <roland@hack.frob.com>
30660 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30661 on _QL, which is set by umul_ppmm but never used.
30662 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30663 variables, which are set by GMP macros but never used.
30664 * stdio-common/_itowa.c (_itowa): Likewise.
30665 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30666 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30668 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30670 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30671 struct La_sh_regs is not constant.
30672 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30673 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30674 and struct La_sparc64_regs are not constant.
30676 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30678 * sysdeps/unix/sysv/linux/kernel-features.h
30679 (__ASSUME_POSIX_TIMERS): Remove.
30680 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30682 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30683 Make code unconditional.
30684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30685 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30686 Make code unconditional.
30687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30688 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30689 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30691 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30692 Make code unconditional.
30693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30694 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30695 (__libc_missing_posix_timers): Remove.
30697 2012-08-15 Roland McGrath <roland@hack.frob.com>
30699 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30700 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30702 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30704 * elf/dl-sym.c: Include <stdlib.h>.
30706 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30707 constants, which avoids warnings in 32-bit builds.
30709 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30710 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30712 * misc/lseek.c: File moved to ...
30713 * io/lseek.c: ... here.
30715 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30717 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30718 shifting LEN more than 31 bits at once.
30720 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30723 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30724 segmentation fault for a case of two empty input strings.
30725 * string/test-strncasecmp.c (check1): Renamed to...
30726 (bz12205): ...this.
30727 (bz14195): Add new testcase for two empty input strings and N > 0.
30728 (test_main): Call new testcase, adapt for renamed function.
30730 2012-08-15 Andreas Jaeger <aj@suse.de>
30733 * crypt/md5test2.c: New test, based on test supplied by Serge
30734 Belyshev <belyshev@depni.sinp.msu.ru>.
30735 * crypt/Makefile (xtests): Add md5test-giant..
30736 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30738 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30741 * crypt/md5.c (md5_process_block): Don't assume the buffer
30742 length is less than 2**32.
30743 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30744 length is less than 2**64.
30746 2012-08-15 Roland McGrath <roland@hack.frob.com>
30748 * string/str-two-way.h: Include <sys/param.h>.
30749 (MAX): Macro removed.
30751 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30752 Move #define and #undef of memmove to just before and after
30753 including <string.h>.
30755 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30756 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30757 and after including <string.h>. Move declarations of
30758 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30759 to before #include "string/memmove.c".
30761 * include/dirent.h: Declare __getdirentries.
30763 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30764 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30766 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30768 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30769 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30770 * sysdeps/i386/configure: Regenerated.
30771 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30772 STABS_CURRENT_FILE, and STABS_FUN.
30773 (END): Remove call to STABS_FUN_END.
30774 (STABS_CURRENT_FILE1): Delete.
30775 (STABS_CURRENT_FILE): Likewise.
30776 (STABS_FUN): Likewise.
30777 (STABS_FUN_END): Likewise.
30778 (STABS_FUN2): Likewise.
30779 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30780 * sysdeps/x86_64/configure: Regenerated.
30782 2012-08-14 Roland McGrath <roland@hack.frob.com>
30784 * elf/dl-open.c: Include <atomic.h>.
30785 * elf/dl-lookup.c: Likewise.
30787 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30789 * sysdeps/unix/sysv/linux/kernel-features.h
30790 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30791 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30793 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30795 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30796 condition on __ASSUME_CLONE_THREAD_FLAGS.
30798 2012-08-14 Andreas Jaeger <aj@suse.de>
30800 * sysdeps/i386/fpu/libm-test-ulps: Update.
30802 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30804 * include/atomic.h (atomic_exchange_and_add): Split into ...
30805 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30808 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30812 2012-08-13 Jeff Law <law@redhat.com>
30814 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30815 null byte in the output string.
30817 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30819 * sysdeps/unix/sysv/linux/kernel-features.h
30820 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30821 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30822 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30823 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30824 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30825 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30826 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30828 2012-08-09 Jeff Law <law@redhat.com>
30831 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30832 When avoid_arena is set, don't retry in the that arena. Pick the
30833 next one, whatever it might be.
30834 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30835 (arena_lock): Pass in new parameter to arena_get2.
30836 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30838 (__libc_malloc): Unify retrying after main arena failure with
30839 __libc_memalign version.
30840 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30842 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30845 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30846 to __redirect_strstr.
30847 (__strstr_sse42): Use typeof __redirect_strstr.
30848 (__strstr_ia32): Likewise.
30849 (__libc_strstr): New prototype.
30850 (strstr): Renamed to ...
30851 (__libc_strstr): This.
30852 (strstr): New strong alias of __libc_strstr.
30853 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30854 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30857 (__libc_time): New prototype.
30858 (time_ifunc): Replace time with __libc_time.
30859 (time): New strong alias and hidden definition of __libc_time.
30860 (__GI_time): Remove strong alias.
30861 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30862 Include <stddef.h>.
30863 (memmove): Redefined to __redirect_memmove.
30864 (__memmove_sse2): Use typeof __redirect_memmove.
30865 (__memmove_ssse3): Likewise.
30866 (__memmove_ssse3_back): Likewise.
30867 (__libc_memmove): New prototype.
30868 (memmove): Renamed to ...
30869 (__libc_memmove): This.
30870 (memmove): New strong alias of __libc_memmove.
30872 2012-08-08 Mark Salter <msalter@redhat.com>
30875 (R_MN10300_TLS_GD): Define.
30876 (R_MN10300_TLS_LD): Likewise.
30877 (R_MN10300_TLS_LDO): Likewise.
30878 (R_MN10300_TLS_GOTIE): Likewise.
30879 (R_MN10300_TLS_IE): Likewise.
30880 (R_MN10300_TLS_LE): Likewise.
30881 (R_MN10300_TLS_DTPMOD): Likewise.
30882 (R_MN10300_TLS_DTPOFF): Likewise.
30883 (R_MN10300_TLS_TPOFF): Likewise.
30884 (R_MN10300_SYM_DIFF): Likewise.
30885 (R_MN10300_ALIGN): Likewise.
30886 (R_MN10300_NUM): Update.
30888 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30893 2012-08-08 Roland McGrath <roland@hack.frob.com>
30895 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30897 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30898 sysdeps/unix -> sysdeps/posix move.
30899 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30901 2012-08-07 Allan McRae <allan@archlinux.org>
30904 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30905 (SUNOS_CPP): Likewise.
30906 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30908 (open_input): Call CPP using execvp.
30910 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30912 * sysdeps/unix/sysv/linux/kernel-features.h
30913 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30914 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30915 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30916 (__ASSUME_WAITID_SYSCALL): Likewise.
30917 * sysdeps/unix/sysv/linux/dl-execstack.c
30918 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30919 code unconditional.
30920 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30923 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30924 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30926 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30928 [__ASSUME_WAITID_SYSCALL]: Likewise.
30929 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30931 2012-08-07 Roland McGrath <roland@hack.frob.com>
30933 * sysdeps/unix/closedir.c: Renamed to ...
30934 * sysdeps/posix/closedir.c: ... here.
30935 * sysdeps/unix/dirfd.c: Renamed to ...
30936 * sysdeps/posix/dirfd.c: ... here.
30937 * sysdeps/unix/dirstream.h: Renamed to ...
30938 * sysdeps/posix/dirstream.h: ... here.
30939 * sysdeps/unix/fdopendir.c: Renamed to ...
30940 * sysdeps/posix/fdopendir.c: ... here.
30941 * sysdeps/unix/opendir.c: Renamed to ...
30942 * sysdeps/posix/opendir.c: ... here.
30943 * sysdeps/unix/readdir.c: Renamed to ...
30944 * sysdeps/posix/readdir.c: ... here.
30945 * sysdeps/unix/readdir_r.c: Renamed to ...
30946 * sysdeps/posix/readdir_r.c: ... here.
30947 * sysdeps/unix/rewinddir.c: Renamed to ...
30948 * sysdeps/posix/rewinddir.c: ... here.
30949 * sysdeps/unix/seekdir.c: Renamed to ...
30950 * sysdeps/posix/seekdir.c: ... here.
30951 * sysdeps/unix/telldir.c: Renamed to ...
30952 * sysdeps/posix/telldir.c: ... here.
30953 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30954 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30955 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30956 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30958 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30959 * bits/fcntl.h: ... here.
30961 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30963 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30964 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30965 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30966 (struct flock): Move l_start, l_len to the beginning.
30967 Use __pid_t for l_pid.
30968 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30969 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30970 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30971 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30972 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30973 [__USE_LARGEFILE64] (struct flock64): New type.
30974 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30976 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30977 * bits/dirent.h: ... here.
30979 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30980 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30982 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30985 Change from 2.6.0 to 2.6.16.
30986 * sysdeps/unix/sysv/linux/configure: Regenerated.
30987 * sysdeps/unix/sysv/linux/kernel-features.h
30988 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30989 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30991 (__ASSUME_UTIMES): Likewise.
30992 (__ASSUME_CLONE_STOPPED): Remove.
30993 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30994 architectures, not kernel version.
30995 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30996 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30997 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30998 (__ASSUME_WAITID_SYSCALL): Likewise.
30999 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31000 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31001 * README: State 2.6.16 as minimum Linux kernel version. Do not
31002 refer to older versions.
31004 2012-08-06 Roland McGrath <roland@hack.frob.com>
31006 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31007 Define alphasort64 as an alias.
31008 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31009 Define versionsort64 as an alias.
31010 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31011 Define scandir64 as an alias.
31012 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31013 Define scandirat64 as an alias.
31014 * dirent/alphasort64.c (alphasort64):
31015 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31016 * dirent/versionsort64.c: Likewise.
31017 * dirent/scandir64.c: Likewise.
31018 * dirent/scandirat64.c: Likewise.
31019 * sysdeps/wordsize-64/alphasort.c: File removed.
31020 * sysdeps/wordsize-64/alphasort64.c: File removed.
31021 * sysdeps/wordsize-64/scandir.c: File removed.
31022 * sysdeps/wordsize-64/scandir64.c: File removed.
31023 * sysdeps/wordsize-64/scandirat.c: File removed.
31024 * sysdeps/wordsize-64/scandirat64.c: File removed.
31025 * sysdeps/wordsize-64/versionsort.c: File removed.
31026 * sysdeps/wordsize-64/versionsort64.c: File removed.
31027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31028 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31029 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31030 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31031 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31032 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31033 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31034 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31036 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31038 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31040 [defined __arch64__ || defined __sparcv9]
31041 (__INO_T_MATCHES_INO64_T): New macro.
31042 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31043 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31044 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31045 * sysdeps/unix/sysv/linux/bits/dirent.h
31046 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31047 (_DIRENT_MATCHES_DIRENT64): New macro.
31049 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31050 Define lockf64 as an alias.
31051 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31052 Define fseeko64 as an alias.
31053 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31054 Define ftello64 as an alias.
31055 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31056 Define _IO_fgetpos64 and fgetpos64 as aliases.
31057 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31058 Define _IO_fsetpos64 and fsetpos64 as aliases.
31059 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31060 Conditionalize body on this.
31061 * libio/fseeko64.c: Likewise.
31062 * libio/ftello64.c: Likewise.
31063 * libio/iofgetpos64.c: Likewise.
31064 * libio/iofsetpos64.c: Likewise.
31065 * sysdeps/wordsize-64/lockf.c: File removed.
31066 * sysdeps/wordsize-64/lockf64.c: File removed.
31067 * sysdeps/wordsize-64/fseeko.c: File removed.
31068 * sysdeps/wordsize-64/fseeko64.c: File removed.
31069 * sysdeps/wordsize-64/ftello.c: File removed.
31070 * sysdeps/wordsize-64/ftello64.c: File removed.
31071 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31072 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31073 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31074 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31076 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31077 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31078 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31079 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31080 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31081 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31082 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31083 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31084 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31086 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31088 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31089 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31090 [defined __arch64__ || defined __sparcv9]
31091 (__OFF_T_MATCHES_OFF64_T): New macro.
31092 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31093 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31095 (__OFF_T_MATCHES_OFF64_T): New macro.
31097 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31099 * stdlib/secure-getenv.c (__secure_getenv): Replace
31100 GLIBC_2_16 with GLIBC_2_17.
31102 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31104 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31105 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31107 2012-08-03 David S. Miller <davem@davemloft.net>
31109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31111 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31113 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31115 (__ASSUME_CORRECT_SI_PID): Likewise.
31116 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31117 (__ASSUME_TMPFS_NAME): Likewise.
31118 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31119 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31120 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31121 (HAVE_AUX_SECURE): Make definition unconditional.
31122 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31123 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31125 2012-08-03 Roland McGrath <roland@hack.frob.com>
31127 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31128 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31129 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31130 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31131 __eloop_threshold instead of SYMLOOP_MAX.
31133 * sysdeps/generic/eloop-threshold.h: New file.
31134 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31136 * elf/chroot_canon.c (chroot_canon): Likewise.
31138 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31141 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31142 Change to 2.6.0 everywhere.
31143 * sysdeps/unix/sysv/linux/configure: Regenerated.
31144 * sysdeps/unix/sysv/linux/kernel-features.h
31145 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31146 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31148 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31149 (__ASSUME_FUTEX_REQUEUE): Remove.
31150 (__ASSUME_STATFS64): Define unconditionally.
31151 (__ASSUME_AT_SECURE): Likewise.
31152 (__ASSUME_CORRECT_SI_PID): Likewise.
31153 (__ASSUME_TGKILL): Define without depending on kernel version for
31155 (__ASSUME_UTIMES): Likewise.
31156 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31158 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31159 (__ASSUME_TMPFS_NAME): Likewise.
31160 * README: Update reference to Linux kernel versions.
31162 2012-08-02 Marek Polacek <polacek@redhat.com>
31165 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31166 libc_cv_asm_type_prefix with %.
31167 * configure: Regenerated.
31168 * include/libc-symbols.h: Remove comment about
31169 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31170 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31171 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31172 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31173 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31174 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31175 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31176 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31177 * elf/tst-unique2mod1.c: Likewise.
31178 * elf/tst-unique1mod2.c: Likewise.
31179 * elf/tst-unique1mod1.c: Likewise.
31180 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31181 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31182 Replace ASM_TYPE_DIRECTIVE with .type.
31183 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31184 * sysdeps/i386/sysdep.h: Likewise.
31185 * sysdeps/x86_64/sysdep.h: Likewise.
31186 * sysdeps/sh/sysdep.h: Likewise.
31187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31188 Do not define ASM_TYPE_DIRECTIVE.
31189 * sysdeps/powerpc/sysdep.h: Likewise.
31190 * sysdeps/powerpc/powerpc32/sysdep.h:
31191 Replace ASM_TYPE_DIRECTIVE with .type.
31192 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31193 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31194 * sysdeps/i386/fpu/e_powf.S: Likewise.
31195 * sysdeps/i386/fpu/e_expl.S: Likewise.
31196 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31197 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31198 * sysdeps/i386/fpu/e_pow.S: Likewise.
31199 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31200 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31201 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31202 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31203 * sysdeps/i386/fpu/e_log2.S: Likewise.
31204 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31205 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31206 * sysdeps/i386/fpu/e_powl.S: Likewise.
31207 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31208 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31209 * sysdeps/i386/fpu/e_logl.S: Likewise.
31210 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31211 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31212 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31213 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31214 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31215 * sysdeps/i386/fpu/e_log.S: Likewise.
31216 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31217 * sysdeps/i386/fpu/e_logf.S: Likewise.
31218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31219 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31220 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31221 * sysdeps/i386/fpu/e_log10.S: Likewise.
31222 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31223 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31224 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31225 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31226 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31227 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31228 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31229 * sysdeps/i386/i686/strtok.S: Likewise.
31230 * sysdeps/i386/i386-mcount.S: Likewise.
31231 * sysdeps/i386/strtok.S: Likewise.
31232 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31233 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31235 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31236 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31238 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31239 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31240 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31241 * sysdeps/x86_64/_mcount.S: Likewise.
31242 * sysdeps/x86_64/strtok.S: Likewise.
31243 * sysdeps/sh/_mcount.S: Likewise.
31245 2012-08-01 Roland McGrath <roland@hack.frob.com>
31247 * libio/iofopen.c: Include <fcntl.h>.
31248 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31249 (_IO_fopen64, fopen64): Define as aliases.
31250 * libio/iofopen64.c: Include <fcntl.h>.
31251 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31252 Conditionalize body on this.
31253 * sysdeps/wordsize-64/iofopen.c: File removed.
31254 * sysdeps/wordsize-64/iofopen64.c: File removed.
31256 2012-08-01 Marek Polacek <polacek@redhat.com>
31258 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31259 Use dlfcn directly instead of a variable.
31260 (binfmt-subdir): Do not define.
31263 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31265 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31266 Remove all definitions.
31267 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31268 <kernel-features.h>.
31269 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31270 (miss_F_GETOWN_EX): Remove all definitions.
31271 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31273 [!__ASSUME_FCNTL64]: Remove conditional code.
31274 [__ASSUME_FCNTL64]: Make code unconditional.
31275 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31276 <kernel-features.h>.
31277 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31278 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31279 (lockf64) [__NR_fcntl64]: Make code unconditional.
31280 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31282 * sysdeps/unix/sysv/linux/kernel-features.h
31283 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31284 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31285 Make code unconditional.
31286 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31287 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31289 [__NR_vfork]: Make code unconditional.
31290 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31291 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31293 [__NR_vfork]: Make code unconditional.
31294 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31295 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31297 2012-08-01 Roland McGrath <roland@hack.frob.com>
31299 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31300 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31302 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31303 Define mkstemp64 as an alias.
31304 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31305 Define mkstemps64 as an alias.
31306 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31307 Define mkostemp64 as an alias.
31308 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31309 Define mkostemps64 as an alias.
31310 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31311 Conditionalize body on this.
31312 * misc/mkostemp64.c: Likewise.
31313 * misc/mkostemps64.c: Likewise.
31314 * misc/mkstemps64.c: Likewise.
31315 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31316 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31317 * sysdeps/wordsize-64/mkostemp.c: File removed.
31318 * sysdeps/wordsize-64/mkstemp.c: File removed.
31319 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31320 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31321 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31325 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31326 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31327 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31328 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31330 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31331 compat_symbol macros from <shlib-compat.h> rather than the underlying
31332 default_symbol_version and symbol_version macros, so that DEFAULT
31333 lines in shlib-versions are respected.
31334 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31336 2012-08-01 Florian Weimer <fweimer@redhat.com>
31338 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31339 Declare with warn_unused_result.
31340 (setgid, setregid, setegid, setresgid): Likewise.
31341 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31343 * WUR-REPORT: Remove set*id functions.
31345 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31347 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31349 2012-07-31 Roland McGrath <roland@hack.frob.com>
31352 * include/sys/socket.h (__libc_accept, __libc_accept4):
31353 Add attribute_hidden.
31354 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31356 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31358 * inet/getnetgrent_r.c (setup): Likewise.
31360 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31362 2012-07-31 David S. Miller <davem@davemloft.net>
31364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31366 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31369 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31370 value between 1.0 and 2.0 and smaller part has absolute value less
31372 * math/s_clog10.c (__clog10): Likewise.
31373 * math/s_clog10f.c (__clog10f): Likewise.
31374 * math/s_clog10l.c (__clog10l): Likewise.
31375 * math/s_clogf.c (__clogf): Likewise.
31376 * math/s_clogl.c (__clogl): Likewise.
31377 * math/libm-test.inc (clog_test): Add more tests.
31378 (clog10_test): Likewise.
31379 * sysdeps/i386/fpu/libm-test-ulps: Update.
31380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31382 2012-07-31 Florian Weimer <fweimer@redhat.com>
31384 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31385 Exit with zero in case no suitable GID is found, and write a
31386 message to standard error.
31388 2012-07-30 Roland McGrath <roland@hack.frob.com>
31390 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31392 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31393 (MAXPATHLEN): Removed.
31394 (NOGROUP, NODEV): New macros.
31395 (setbit, clrbit, isset, isclr): New macros.
31396 (howmany, roundup, powerof2): New macros.
31397 (DEV_BSIZE): New macro.
31399 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31400 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31402 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31403 definition on [!__NO_LONG_DOUBLE_MATH].
31405 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31406 PTR_MANGLE and PTR_DEMANGLE.
31408 * socket/accept4.c (accept4): Rename to __libc_accept4.
31409 Define accept4 as a weak alias.
31411 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31412 on [_DIRENT_HAVE_D_TYPE].
31413 * io/ftw.c (ftw_dir): Likewise.
31415 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31417 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31419 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31420 Use the BSD numbers rather than the arbitrary ones we had.
31421 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31422 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31423 (SIGXCPU, SIGXFSZ): New macros.
31426 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31427 initializer on [_LIBC_REENTRANT].
31429 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31430 definitions inside [_POSIX_MAPPED_FILES].
31432 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31434 * dirent/opendir.c: Include <fcntl.h>.
31436 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31437 (__libc_getspecific): Likewise.
31438 (__libc_key_create): Likewise.
31440 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31441 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31442 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31443 (tmpfile64): Define as alias.
31444 * sysdeps/wordsize-64/tmpfile.c: File removed.
31445 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31446 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31447 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31449 * stdio-common/vfscanf.c: Include <stdbool.h>.
31450 * nss/makedb.c: Likewise.
31451 * stdio-common/_i18n_number.h: Likewise.
31452 * argp/argp-help.c: Likewise.
31453 * posix/wordexp.c: Likewise.
31454 * sysdeps/posix/spawni.c: Likewise.
31455 * nss/nss_files/files-initgroups.c: Likewise.
31456 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31457 * nss/nss_files/files-initgroups.c: Likewise.
31458 * nss/nss_db/db-netgrp.c: Likewise.
31459 * nss/nss_db/db-initgroups.c: Likewise.
31460 * io/fchmodat.c: Include <sys/stat.h>.
31462 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31463 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31465 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31468 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31469 Add multiple inclusion protection.
31471 2012-07-27 David S. Miller <davem@davemloft.net>
31473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31475 2012-07-27 Gary Benson <gbenson@redhat.com>
31478 * elf/rtld.c: Include <stap-probe.h>.
31479 (dl_main): Added static probes "init_start" and "init_complete".
31480 * elf/dl-load.c: Include <stap-probe.h>.
31481 (lose): Take new parameter "nsid".
31482 Added static probe "map_failed".
31483 (_dl_map_object_from_fd): Pass namespace id to lose.
31484 Added static probe "map_start".
31485 (open_verify): Pass namespace id to lose.
31486 * elf/dl-open.c: Include <stap-probe.h>.
31487 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31488 and "reloc_complete".
31489 * elf/dl-close.c: Include <stap-probe.h>.
31490 (_dl_close_worker): Added static probes "unmap_start" and
31492 * elf/rtld-debugger-interface.txt: New file documenting the above.
31494 2012-07-26 Roland McGrath <roland@hack.frob.com>
31496 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31497 rather than a string variable.
31498 * sunrpc/rpc_main.c (h_output): Likewise.
31499 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31501 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31503 * inet/check_native.c: New file.
31505 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31508 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31509 if larger part has absolute value 1.0.
31510 * math/s_clog10.c (__clog10): Likewise.
31511 * math/s_clog10f.c (__clog10f): Likewise.
31512 * math/s_clog10l.c (__clog10l): Likewise.
31513 * math/s_clogf.c (__clogf): Likewise.
31514 * math/s_clogl.c (__clogl): Likewise.
31515 * math/libm-test.inc (clog_test): Add more tests.
31516 (clog10_test): Likewise.
31517 * sysdeps/i386/fpu/libm-test-ulps: Update.
31518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31520 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31521 (pltexit): Likewise.
31522 (La_regs): Likewise.
31523 (La_retval): Likewise.
31524 (int_retval): Likewise.
31525 Update #error for removed macros to refer only to definitions in
31527 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31529 (pltexit): Likewise.
31530 (La_regs): Likewise.
31531 (La_retval): Likewise.
31532 (int_retval): Likewise.
31533 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31535 (pltexit): Likewise.
31536 (La_regs): Likewise.
31537 (La_retval): Likewise.
31538 (int_retval): Likewise.
31539 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31541 (pltexit): Likewise.
31542 (La_regs): Likewise.
31543 (La_retval): Likewise.
31544 (int_retval): Likewise.
31545 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31547 (pltexit): Likewise.
31548 (La_regs): Likewise.
31549 (La_retval): Likewise.
31550 (int_retval): Likewise.
31551 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31553 (pltexit): Likewise.
31554 (La_regs): Likewise.
31555 (La_retval): Likewise.
31556 (int_retval): Likewise.
31557 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31559 (pltexit): Likewise.
31560 (La_regs): Likewise.
31561 (La_retval): Likewise.
31562 (int_retval): Likewise.
31563 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31564 macro definitions in tst-audit.h.
31565 * sysdeps/i386/tst-audit.h: New file.
31566 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31567 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31568 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31569 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31570 * sysdeps/sh/tst-audit.h: Likewise.
31571 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31572 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31573 * sysdeps/x86_64/tst-audit.h: Likewise.
31575 2012-07-26 Andreas Jaeger <aj@suse.de>
31577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31580 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31581 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31582 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31584 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31585 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31586 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31588 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31591 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31593 (si_call_addr, si_syscall, si_arch): Define new macro.
31594 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31596 (si_call_addr, si_syscall, si_arch): Define new marcro.
31597 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31599 (si_call_addr, si_syscall, si_arch): Define new macro.
31600 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31602 (si_call_addr, si_syscall, si_arch): Define new macro.
31604 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31607 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31608 Change to 2.4.21 where previously 2.4.1.
31609 * sysdeps/unix/sysv/linux/configure: Regenerated.
31610 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31611 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31612 Linux kernel version.
31613 (__ASSUME_STD_AUXV): Remove.
31614 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31616 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31617 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31618 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31619 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31620 (__ASSUME_NETLINK_SUPPORT): Likewise.
31621 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31622 (__no_netlink_support): Remove conditional definition.
31623 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31625 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31626 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31627 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31628 (if_nameindex_ioctl): Remove.
31629 (if_nameindex_netlink): Do not handle __no_netlink_support.
31630 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31632 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31633 Remove conditional code.
31634 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31636 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31638 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31639 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31640 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31642 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31643 [!__ASSUME_STD_AUXV]: Remove conditional code.
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31645 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31646 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31648 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31649 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31651 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31653 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31654 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31656 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31658 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31661 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31664 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31665 code unconditional.
31666 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31668 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31670 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31673 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31675 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31678 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31679 code unconditional.
31680 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31682 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31684 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31687 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31688 code unconditional.
31689 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31691 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31693 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31696 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31698 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31699 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31700 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31701 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31702 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31703 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31704 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31705 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31706 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31707 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31708 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31709 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31710 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31711 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31712 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31713 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31714 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31715 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31716 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31718 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31719 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31720 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31722 2012-07-25 Florian Weimer <fweimer@redhat.com>
31724 * Versions.def: Add GLIBC_2.17.
31725 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31726 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31727 Introduce __libc_secure_getenv.
31728 * stdlib/Versions (2.17): Add secure_getenv
31729 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31730 * stdlib/secure-getenv.c: Rename __secure_getenv to
31731 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31732 symbol __secure_getenv for GLIBC_2.0.
31733 * stdlib/tst-secure-getenv.c: New.
31734 * stdlib/Makefile (tests): Add testcase.
31735 * manual/startup.texi (Environment Access): Document
31737 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31738 __libc_secure_getenv.
31739 * inet/ruserpass.c (ruserpass): Likewise.
31740 * malloc/mtrace.c (mtrace): Likewise.
31741 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31742 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31743 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31744 * sysdeps/posix/tempname.c: Likewise. Evaluate
31745 HAVE_SECURE_GETENV.
31746 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31747 __secure_getenv to __libc_secure_getenv.
31748 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31755 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31761 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31763 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31764 (struct La_i86_retval): Likewise.
31765 (struct La_x86_64_regs): Likewise.
31766 (struct La_x86_64_retval): Likewise.
31767 (struct La_x32_regs): Likewise.
31768 (struct La_x32_retval): Likewise.
31769 (struct La_ppc32_regs): Likewise.
31770 (struct La_ppc32_retval): Likewise.
31771 (struct La_ppc64_regs): Likewise.
31772 (struct La_ppc64_retval): Likewise.
31773 (struct La_sh_regs): Likewise.
31774 (struct La_sh_retval): Likewise.
31775 (struct La_s390_32_regs): Likewise.
31776 (struct La_s390_32_retval): Likewise.
31777 (struct La_s390_64_regs): Likewise.
31778 (struct La_s390_64_retval): Likewise.
31779 (struct La_sparc32_regs): Likewise.
31780 (struct La_sparc32_retval): Likewise.
31781 (struct La_sparc64_regs): Likewise.
31782 (struct La_sparc64_retval): Likewise.
31783 (struct audit_ifaces): Remove architecture-specific pltenter and
31785 * sysdeps/i386/ldsodefs.h: New file.
31786 * sysdeps/powerpc/ldsodefs.h: Likewise.
31787 * sysdeps/s390/ldsodefs.h: Likewise.
31788 * sysdeps/sh/ldsodefs.h: Likewise.
31789 * sysdeps/sparc/ldsodefs.h: Likewise.
31790 * sysdeps/x86_64/ldsodefs.h: Likewise.
31792 2012-07-25 Marek Polacek <polacek@redhat.com>
31795 * math/libm-test.inc (yn_test): Add another test.
31796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31797 to ERANGE when the result is +-Inf.
31798 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31799 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31800 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31801 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31803 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31805 * conform/data/time.h-data (NULL): Use macro-constant. Require
31807 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31809 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31811 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31813 * configure.in <sysdeps resolving>: Correct printing
31815 * configure: Regenerate.
31817 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31819 * math/w_ilogb.c: Include <limits.h>.
31820 * math/w_ilogbl.c: Likewise.
31822 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31824 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31825 va_copy. Document allowing for unavailable va_copy only as
31826 pre-C99 compatibility.
31827 * manual/string.texi (Copying and Concatenation): Use va_copy
31828 instead of __va_copy in concat example.
31830 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31832 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31833 (__sendto): Use create_address_port. Initialize APORT and deallocate
31836 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31837 with O_NOLINK passed to __file_name_lookup.
31839 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31840 with O_NOLINK passed to __file_name_lookup.
31842 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31843 negative N or less than NGIDS.
31845 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31846 type to string_t. Set ERANGE as errno and return it if NAME is not big
31847 enough. Use memcpy instead of strncpy.
31849 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31851 * elf/Makefile (check-data): Remove.
31852 (localplt.data): New vpath directive.
31853 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31854 instead of $(check-data).
31855 * scripts/data/localplt-generic.data: Move to ...
31856 * sysdeps/generic/localplt.data: ... here.
31857 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31858 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31859 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31862 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31865 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31868 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31871 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31874 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31878 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31880 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31881 PPC32 and PPC64 files.
31882 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31883 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31885 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31887 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31888 __makecontext_ret to ...
31889 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31890 ... here and call exit if uc_link is NULL. New file.
31891 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31892 __makecontext_ret.S.
31893 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31894 __makecontext_ret to ...
31895 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31896 ... here and call exit if uc_link is NULL. New file.
31897 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31898 __makecontext_ret.S.
31900 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31902 * elf/elf.h (R_390_IRELATIVE): New definition.
31903 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31904 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31905 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31906 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31907 (elf_machine_lazy_rel): Likewise.
31908 * sysdeps/s390/dl-irel.h: New file.
31909 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31910 * sysdeps/s390/s390-64/memset.S: New asm code.
31911 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31912 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31913 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31914 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31915 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31916 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31917 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31918 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31919 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31920 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31921 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31922 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31923 * sysdeps/s390/s390-32/memset.S: New asm code.
31924 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31926 2012-07-17 Marek Polacek <polacek@redhat.com>
31929 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31930 * sysdeps/s390/s390-64/configure.in: Likewise.
31931 * sysdeps/sparc/configure.in: Likewise.
31932 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31933 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31934 * sysdeps/i386/configure.in: Likewise.
31935 * sysdeps/x86_64/configure.in: Likewise.
31936 * sysdeps/sh/configure.in: Likewise.
31937 * sysdeps/s390/s390-32/configure: Regenerated.
31938 * sysdeps/s390/s390-64/configure: Likewise.
31939 * sysdeps/x86_64/configure: Likewise.
31940 * sysdeps/sh/configure: Likewise.
31941 * sysdeps/powerpc/powerpc64/configure: Likewise.
31942 * sysdeps/powerpc/powerpc32/configure: Likewise.
31943 * sysdeps/sparc/configure: Likwise.
31944 * sysdeps/i386/configure: Likewise.
31946 * elf/dl-open.c: Comment fixes.
31948 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31950 * Makefile [CXX] (check-data): Remove.
31951 [CXX] (c++-types.data): New vpath directive.
31952 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31953 vpath. Do not allow for C++ type data being missing.
31954 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31955 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31956 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31957 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31958 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31959 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31960 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31963 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31966 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31969 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31972 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31975 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31978 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31981 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31984 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31985 definitions to architecture-specific files.
31986 (TLS_IE): Likewise.
31987 (TLS_LD): Likewise.
31988 (TLS_GD): Likewise.
31989 * sysdeps/i386/tls-macros.h: New file.
31990 * sysdeps/powerpc/tls-macros.h: Likewise.
31991 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31992 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31993 * sysdeps/sh/tls-macros.h: Likewise.
31994 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31995 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31996 * sysdeps/x86_64/tls-macros.h: Likewise.
31998 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32001 zero value for regular exit case.
32003 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32004 (__start_context): Preserve zero value for regular exit case.
32006 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32007 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32009 * manual/setjmp.texi (setcontext): Clarify normal process
32010 termination when uc_link is the null pointer.
32011 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32014 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32016 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32017 preprocessor. Test for each exception mask separately.
32019 2012-07-16 Andreas Jaeger <aj@suse.de>
32021 * po/ru.po: Update from translation team.
32023 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32025 * conform/data/string.h-data (NULL): Use macro-constant. Require
32027 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32028 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32029 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32030 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32033 2012-07-13 Andreas Jaeger <aj@suse.de>
32035 * po/fr.po: Update from translation team.
32037 2012-07-12 Marek Polacek <polacek@redhat.com>
32040 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32041 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32044 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32047 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32048 Change to 2.4.1 where previously 2.4.0.
32049 * sysdeps/unix/sysv/linux/configure: Regenerated.
32050 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32051 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32053 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32054 (__ASSUME_AT_CLKTCK): Remove.
32055 (__ASSUME_AT_PAGESIZE): Likewise.
32056 (__ASSUME_AT_XID): Likewise.
32057 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32058 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32059 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32061 (HAVE_AUX_PAGESIZE): Likewise.
32062 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32063 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32064 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32066 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32070 the temporary buffer used to invoke __gethostbyname2_r,
32071 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32072 host_data / struct gaih_addrtuple.
32073 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32074 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32075 header file nss/nsswitch.h.
32076 * nss/nsswitch.h (global scope): Add definition of implementation
32077 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32078 resolv/nss_dns/dns-host.c).
32080 2012-07-11 Andreas Jaeger <aj@suse.de>
32082 * po/fr.po: Update from translation team.
32084 * po/sv.po: Update from translation team
32085 * po/fr.po: Another update from translation team.
32087 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32089 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32090 for subnormals or multiply small sinh result by itself.
32091 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32094 2012-07-11 David S. Miller <davem@davemloft.net>
32096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32098 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32101 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32102 (INTERNAL_MARK): Shift it here.
32104 2012-07-10 Marek Polacek <polacek@redhat.com>
32107 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32108 libc_cv_asm_global_directive with .globl.
32109 * configure: Regenerated.
32110 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32112 * sysdeps/i386/configure: Regenerated.
32113 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32115 * sysdeps/x86_64/configure: Regenerated.
32116 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32117 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32118 * elf/tst-unique2mod2.c: Likewise.
32119 * elf/tst-unique2mod1.c: Likewise.
32120 * elf/tst-unique1mod2.c: Likewise.
32121 * elf/tst-unique1mod1.c: Likewise.
32122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32123 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32124 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32125 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32126 * sysdeps/mach/sysdep.h: Likewise.
32127 * sysdeps/i386/sysdep.h: Likewise.
32128 * sysdeps/i386/i386-mcount.S: Likewise.
32129 * sysdeps/x86_64/_mcount.S: Likewise.
32130 * sysdeps/x86_64/sysdep.h: Likewise.
32131 * sysdeps/sh/_mcount.S: Likewise.
32132 * sysdeps/sh/sysdep.h: Likewise.
32133 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32134 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32135 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32136 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32137 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32138 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32139 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32140 * locale/localeinfo.h: Likewise.
32141 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32142 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32144 2012-07-09 Roland McGrath <roland@hack.frob.com>
32147 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32149 * manual/message.texi (The Uniforum approach): Likewise.
32150 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32151 (glibc iconv Implementation): Likewise.
32153 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32156 * math/s_clog.c (__clog): Avoid scaling a value down where that
32157 could result in underflow.
32158 * math/s_clog10.c (__clog10): Likewise.
32159 * math/s_clog10f.c (__clog10f): Likewise.
32160 * math/s_clog10l.c (__clog10l): Likewise.
32161 * math/s_clogf.c (__clogf): Likewise.
32162 * math/s_clogl.c (__clogl): Likewise.
32163 * math/libm-test.inc (clog_test): Add more tests.
32164 (clog10_test): Likewise.
32165 * sysdeps/i386/fpu/libm-test-ulps: Update.
32166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32168 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32171 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32172 by 7 not 8 to examine high bit of fractional part.
32175 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32176 for call to __mcount_internal.
32177 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32178 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32179 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32181 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32184 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32185 approximation for values within 0x1p-13f of an odd multiple of
32187 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32188 exception. Add more tests.
32189 * sysdeps/i386/fpu/libm-test-ulps: Update.
32192 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32193 inputs and return -1 for them. Do not check for +Inf in case not
32194 reachable for +Inf.
32195 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32196 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32197 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32198 and return -1 for them. Do not check for +Inf in case not
32199 reachable for +Inf.
32200 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32202 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32203 and return -1 for them. Do not check for +Inf in case not
32204 reachable for +Inf.
32205 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32206 spurious underflow.
32207 * sysdeps/i386/fpu/libm-test-ulps: Update.
32208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32210 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32212 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32214 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32218 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32219 could result in spurious underflow. Scale down values above
32220 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32221 * math/s_csqrtf.c (__csqrtf): Likewise.
32222 * math/s_csqrtl.c (__csqrtl): Likewise.
32223 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32224 spurious underflow.
32225 * sysdeps/i386/fpu/libm-test-ulps: Update.
32226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32228 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32230 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32232 * catgets/xopen-msg.awk: New file.
32233 * catgets/xopen-msg.sed: Removed.
32235 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32237 * intl/po2test.awk: New file.
32238 * intl/po2test.sed: Removed.
32240 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32243 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32244 or multiply small sinh result by itself.
32245 * math/s_ctanf.c (__ctanf): Likewise.
32246 * math/s_ctanh.c (__ctanh): Likewise.
32247 * math/s_ctanhf.c (__ctanhf): Likewise.
32248 * math/s_ctanhl.c (__ctanhl): Likewise.
32249 * math/s_ctanl.c (__ctanl): Likewise.
32250 * math/libm-test.inc (ctan_test_tonearest): New function.
32251 (ctan_test_towardzero): Likewise.
32252 (ctan_test_downward): Likewise.
32253 (ctan_test_upward): Likewise.
32254 (ctanh_test_tonearest): Likewise.
32255 (ctanh_test_towardzero): Likewise.
32256 (ctanh_test_downward): Likewise.
32257 (ctanh_test_upward): Likewise.
32258 (main): Call these new functions.
32259 * sysdeps/i386/fpu/libm-test-ulps: Update.
32260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32262 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32264 * .gitignore: Delete /ports entry.
32266 2012-07-03 Andreas Jaeger <aj@suse.de>
32268 * po/bg.po: Update from translation team.
32269 * po/cs.po: Likewise.
32270 * po/de.po: Likewise.
32271 * po/hr.po: Likewise.
32272 * po/nl.pl: Likewise.
32273 * po/pl.po: Likewise.
32274 * po/vi.po: Likewise.
32276 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32278 * Makeconfig [!+link] (+link-before-libc): New variable.
32279 [!+link] (+link-after-libc): Likewise.
32280 [!+link] (+link-tests): Likewise.
32281 [!+link] (+link): Define in terms of $(+link-before-libc) and
32282 $(+link-after-libc).
32283 [!+link-static] (+link-static-before-libc): New variable.
32284 [!+link-static] (+link-static-after-libc): Likewise.
32285 [!+link-static] (+link-static-tests): Likewise.
32286 [!+link-static] (+link-static): Define in terms of
32287 $(+link-static-before-libc) and $(+link-static-after-libc).
32288 [build-shared] (link-libc-before-gnulib): New variable.
32289 [build-shared] (link-libc-tests): Likewise.
32290 [build-shared] (link-libc): Define in terms of
32291 $(link-libc-before-gnulib).
32292 [!build-shared] (link-libc-tests): New variable.
32293 (link-libc-static-tests): New variable.
32294 [!gnulib] (gnulib-arch): New variable.
32295 [!gnulib] (gnulib-tests): Likewise.
32296 [!gnulib] (static-gnulib-arch): Likewise.
32297 [!gnulib] (static-gnulib-tests): Likewise.
32298 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32299 Define with "=" instead of ":=".
32300 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32301 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32302 * Rules (binaries-all-notests): New variable.
32303 (binaries-all-tests): Likewise.
32304 (binaries-static-notests): Likewise.
32305 (binaries-static-tests): Likewise.
32306 (binaries-all): Define using $(binaries-all-notests) and
32307 $(binaries-all-tests).
32308 (binaries-static): Define using $(binaries-static-notests) and
32309 $(binaries-static-tests).
32310 (binaries-shared-tests): New variable.
32311 (binaries-shared-notests): Likewise.
32312 (binaries-shared): Remove variable.
32313 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32314 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32315 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32316 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32317 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32318 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32319 * elf/Makefile (sln-modules): New variable.
32320 (extra-objs): Add $(sln-modules:=.o).
32321 (ldconfig-modules): Add static-stubs.
32322 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32323 * elf/static-stubs.c: New file.
32326 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32327 by 7 not 8 to examine high bit of fractional part. Use volatile
32328 variables when splitting into final array of floats if
32329 __FLT_EVAL_METHOD__ != 0.
32330 * math/libm-test.inc (cos_test): Add another test.
32331 (sin_test): Likewise.
32332 * sysdeps/i386/fpu/libm-test-ulps: Update.
32335 * math/libm-test.inc (cosh_test): Add more tests.
32337 * version.h (RELEASE): Set to "development".
32338 (VERSION): Set to "2.16.90".
32340 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32342 * NEWS: Update copyright. Remove last-updated date.
32343 Mention math library bug fixes and timezone data changes.
32344 * README: Mention GNU/Hurd, x32, and HPPA support status.
32346 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32348 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32350 2012-06-27 Andreas Jaeger <aj@suse.de>
32352 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32354 2012-06-25 Andreas Jaeger <aj@suse.de>
32356 * sysdeps/s390/fpu/libm-test-ulps: Update.
32358 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32359 Thomas Schwinge <thomas@codesourcery.com>
32361 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32362 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32363 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32366 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32368 * sysdeps/mach/start.c: Remove file.
32369 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32370 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32371 * sysdeps/sh/init-first.c: Likewise.
32373 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32374 registers for frame unwinding purposes, add CFI directives.
32375 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32376 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32377 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32380 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32381 __fortify_fail returning.
32382 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32384 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32385 sysdeps/sh/____longjmp_chk.S.
32386 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32387 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32388 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32389 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32391 * sysdeps/sh/abort-instr.h: New file.
32392 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32393 process in case exit returns.
32395 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32396 initialize the GOT register before use.
32398 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32399 calculation of ARGC > 4.
32401 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32402 meaningful names to some local labels.
32404 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32405 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32407 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32408 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32409 (__arch_compare_and_exchange_val_16_acq): Likewise.
32410 (__arch_compare_and_exchange_val_32_acq): Likewise.
32411 (atomic_exchange_and_add): Fix gUSA sequence.
32412 (atomic_add): Likewise.
32413 (atomic_add_negative): Likewise.
32414 (atomic_add_zero): Likewise.
32415 (atomic_bit_test_set): Likewise.
32417 2012-06-22 Andreas Schwab <schwab@redhat.com>
32420 * include/link.h (struct link_map): Add l_free_initfini.
32421 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32423 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32424 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32425 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32428 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32430 * configure.in: Use AC_LANG_SOURCE.
32431 * configure: Regenerate.
32433 2012-06-22 Roland McGrath <roland@hack.frob.com>
32435 * configure.in (libc_cv_localstatedir): New substituted variable.
32436 * configure: Regenerated.
32437 * config.make.in (localstatedir): New variable, substituted from
32438 libc_cv_localstatedir.
32439 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32440 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32441 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32442 * sysdeps/gnu/configure: Regenerated.
32444 2012-06-21 Jeff Law <law@redhat.com>
32447 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32448 free. Simplify list management for _LIBC case.
32450 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32453 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32454 Clear sign bit of 64-bit integer value before comparing against
32457 * sysdeps/mach/configure: Regenerated.
32459 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32462 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32464 2012-06-21 Jeff Law <law@redhat.com>
32467 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32468 uint16_t for elements in the "seen" array to avoid char overflows.
32469 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32470 * elf/dl-open.c (dl_open_worker): Likewise.
32472 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32474 * scripts/list-sources.sh: Scan PORTS for translations.
32475 * po/libc.pot: Regenerated.
32477 2012-06-21 Andreas Jaeger <aj@suse.de>
32480 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32482 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32483 * bits/byteswap-16.h (__bswap_16): Likewise.
32484 * bits/byteswap.h (__bswap_constant_16): Likewise.
32486 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32489 * sysdeps/i386/fpu_control.h: Removed.
32490 * sysdeps/x86_64/fpu_control.h: Moved to ...
32491 * sysdeps/x86/fpu_control.h: Here.
32493 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32494 (_FPU_SETCW): Likewise.
32496 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32499 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32500 * sysdeps/x86/fpu/bits/mathinline.h: This.
32501 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32505 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32506 functions if __x86_64__ is defined.
32508 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32510 * string/endian.h: Add !__ASSEMBLER__ condition for including
32511 conversion interfaces.
32513 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32516 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32517 of ABS(x) in calculating zero to negative powers other than odd
32519 * math/libm-test.inc (pow_test): Add more tests.
32521 2012-06-15 Andreas Jaeger <aj@suse.de>
32523 * manual/contrib.texi (Contributors): Update entry of Liubov
32524 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32527 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32529 * string/string.h: Add __wur to GNU version of strerror_r.
32531 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32534 * string/Makefile (tests): Add tst-strtok_r.
32535 * string/tst-strtok_r.c: New file.
32536 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32537 RAX_LP/RDX_LP on SAVE_PTR.
32539 2012-06-14 Roland McGrath <roland@hack.frob.com>
32541 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32543 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32545 * libm_test.inc (csqrt_test): Allow more spurious underflow
32547 (j0_test): Likewise.
32548 (j1_test): Likewise.
32549 (y0_test): Likewise.
32550 (y1_test): Likewise.
32552 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32554 * po/Makefile (libc.pot): Use UTF-8 charset.
32556 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32559 Suppress sign-conversion warning from FD_SET.
32560 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32561 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32562 not unsigned long int.
32563 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32565 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32569 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32570 __extern_always_inline instead of __extern_inline.
32571 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32572 (__signbit): Likewise.
32573 (__signbitl): Support C++ namespace.
32574 (lrintf): New inline function.
32576 (llrintf): Likewise.
32577 (llrint): Likewise.
32587 (floorf): Likewise.
32588 (nearbyint): Likewise.
32589 (nearbyintf): Likewise.
32591 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32593 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32594 non-default versions.
32596 2012-06-11 Roland McGrath <roland@hack.frob.com>
32599 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32601 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32603 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32604 (FE_UPWARD, FE_DOWNWARD): Don't define.
32605 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32606 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32608 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32610 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32611 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32613 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32615 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32616 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32617 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32618 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32620 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32623 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32624 * sysdeps/i386/fpu/Implies: New file.
32625 * sysdeps/x86_64/fpu/Implies: Likewise.
32626 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32627 * sysdeps/x86/fpu/bits/fenv.h: This.
32629 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32632 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32635 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32636 character 0xffff that matches the last element of the
32639 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32641 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32644 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32647 values higher than 25.6283.
32649 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32651 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32652 subnormal exponent extraction and add some __builtin_expect.
32653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32654 Fix for subnormal mantissa calculation.
32656 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32658 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32659 cpu2 is -1 and errno is not ENOSYS.
32661 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32664 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32665 * sysdeps/x86/bits/string.h: This.
32666 * sysdeps/x86_64/bits/string.h: Removed.
32668 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32669 if not compiling for x86-64, but compiling for >= i486.
32671 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32672 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32674 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32675 New macro from Linux kernel 3.4.0.
32676 (FP_XSTATE_MAGIC2): Likewise.
32677 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32678 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32679 (struct _fpx_sw_bytes): New struct.
32680 (struct _xsave_hdr): Likewise.
32681 (struct _ymmh_state): Likewise.
32682 (struct _xstate): Likewise.
32684 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32685 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32686 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32687 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32688 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32689 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32691 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32692 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32693 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32694 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32695 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32696 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32698 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32701 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32702 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32703 (sysdep_headers): Include sys/platform/ppc.h.
32704 * sysdeps/powerpc/test-gettimebase.c: Test for
32705 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32706 * manual/Makefile (appendices): Include platform.texi.
32707 * manual/contrib.texi (Contributors): Update @node pointers.
32708 * manual/maint.texi (Maintenance): Likewise.
32709 (Platform): New node.
32710 * manual/platform.texi: New file. Document the new features.
32712 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32713 Jakub Jelinek <jakub@redhat.com>
32716 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32717 where __builtin_expect is unavailable.
32719 2012-06-03 David S. Miller <davem@davemloft.net>
32721 * stdlib/longlong.h: Updated from GCC.
32723 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32726 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32727 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32730 (GLIBC_2.16): Likewise.
32732 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32734 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32736 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32739 (default-abi): New variable.
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32741 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32743 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32745 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32747 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32750 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32751 definition. Document in comment.
32753 2012-06-01 David S. Miller <davem@davemloft.net>
32755 * stdlib/longlong.h: Updated from GCC.
32757 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32760 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32761 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32762 sys/debugreg.h sys/io.h here.
32763 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32764 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32766 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32767 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32768 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32769 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32770 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32771 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32773 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32774 Define only if __x86_64__ is defined.
32776 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32779 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32780 Use int64_t for variable i.
32781 * math/libm-test.inc (fmod_test): Add more tests.
32783 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32784 z computation is not scheduled after fetestexcept.
32785 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32786 Use math_force_eval instead of asm to ensure calculation scheduled
32787 before exception test.
32788 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32789 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32791 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32793 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32794 computation is not scheduled after fetestexcept.
32796 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32799 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32800 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32802 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32804 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32805 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32807 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32810 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32812 (__WCHAR_MIN): Support __WORDSIZE == 64.
32813 (__WCHAR_MAX): Likewise.
32815 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32816 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32820 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32823 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32824 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32826 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32827 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32829 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32830 Defined to 1 if __x86_64__ isn't defined.
32831 (_STAT_VER_LINUX_OLD): New.
32832 (st_atime): Remove duplicate.
32833 (st_mtime): Likewise.
32834 (st_ctime): Likewise.
32836 2012-05-31 David S. Miller <davem@davemloft.net>
32838 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32841 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32843 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32847 * elf/dl-reloc.c: Include <_itoa.h>.
32848 (_dl_reloc_bad_type): Remove use of INTUSE.
32849 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32850 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32851 * stdio-common/psiginfo.c (psiginfo): Likewise.
32852 * stdio-common/psignal.c (psignal): Likewise.
32853 * string/strsignal.c (strsignal): Likewise.
32854 * include/signal.h (_sys_siglist): Declare hidden proto.
32855 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32856 INTVARDEF with libc_hidden_data_def.
32857 * stdio-common/itoa-udigits.c: Likewise.
32858 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32859 (_itoa_lower_digits_internal): Remove declaration.
32860 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32861 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32862 (_sys_sigabbrev_internal): Remove aliases.
32863 (_sys_siglist): Define hidden alias.
32865 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32870 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32873 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32874 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32876 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32877 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32878 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32879 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32881 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32883 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32884 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32885 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32887 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32895 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32896 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32897 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32899 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32900 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32901 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32902 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32903 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32904 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32906 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32907 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32909 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32910 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32914 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32916 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32917 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32919 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32921 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32922 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32923 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32925 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32927 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32929 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32931 * math/math.h (M_El): Use two more decimal places.
32932 (M_LOG2El): Likewise.
32933 (M_LOG10El): Likewise.
32934 (M_LN2l): Likewise.
32935 (M_LN10l): Likewise.
32937 (M_PI_2l): Likewise.
32938 (M_PI_4l): Likewise.
32939 (M_1_PIl): Likewise.
32940 (M_2_PIl): Likewise.
32941 (M_2_SQRTPIl): Likewise.
32942 (M_SQRT2l): Likewise.
32943 (M_SQRT1_2l): Likewise.
32945 2012-05-31 David S. Miller <davem@davemloft.net>
32947 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32948 values between float registers.
32949 * sysdeps/sparc/sparc64/memset.S: Likewise.
32950 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32952 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32954 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32955 -D_FORTIFY_SOURCE=1.
32956 (CPPFLAGS-tst-longjmp_chk.c): Define.
32957 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32958 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32959 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32960 CFLAGS-tst-wchar-h.c.
32962 2012-05-31 Marek Polacek <polacek@redhat.com>
32965 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32966 __endmntent_internal): Remove declaration.
32967 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32968 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32969 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32971 2012-05-30 David S. Miller <davem@davemloft.net>
32973 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32974 (___Q_simulate_exceptions): Use real FP ops rather than writing
32976 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32979 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32982 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32983 * sysdeps/x86/bits/xtitypes.h: This.
32985 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32986 * sysdeps/x86/bits/wordsize.h: This.
32988 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32989 * sysdeps/x86/bits/huge_vall.h: This.
32991 * sysdeps/i386/bits/select.h: Removed.
32992 * sysdeps/x86_64/bits/select.h: Renamed to ...
32993 * sysdeps/x86/bits/select.h: This.
32995 * sysdeps/i386/bits/setjmp.h: Removed.
32996 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32997 * sysdeps/x86/bits/setjmp.h: This.
32999 * sysdeps/i386/bits/mathdef.h: Removed.
33000 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33001 * sysdeps/x86/bits/mathdef.h: This.
33003 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33006 * include/sys/socket.h (__connect_internal)
33007 (__libc_sa_len_internal): Remove declaration.
33008 (__connect, __libc_sa_len): Declare hidden_proto.
33009 (SA_LEN): Remove use of INTUSE.
33010 * socket/connect.c: Add libc_hidden_def.
33011 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33012 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33013 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33015 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33016 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33017 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33018 of adding _internal alias.
33020 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33023 * sysdeps/i386/bits/link.h: Removed.
33024 * sysdeps/i386/bits/linkmap.h: Likewise.
33025 * sysdeps/x86_64/bits/link.h: Renamed to ...
33026 * sysdeps/x86/bits/link.h: This.
33027 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33028 * sysdeps/x86/bits/linkmap.h: This.
33030 * sysdeps/i386/bits/endian.h: Removed.
33031 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33032 * sysdeps/x86/bits/endian.h: This.
33034 * sysdeps/i386/bits/byteswap.h: Removed.
33035 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33036 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33037 * sysdeps/x86/bits/byteswap.h: This.
33038 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33039 * sysdeps/x86/bits/byteswap-16.h: This.
33040 * sysdeps/i386/Implies: Add x86.
33041 * sysdeps/x86_64/Implies: Likewise.
33043 2012-05-30 David S. Miller <davem@davemloft.net>
33045 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33046 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33047 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33048 (FP_TRAPPING_EXCEPTIONS): Define.
33049 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33050 (FP_TRAPPING_EXCEPTIONS): Define.
33051 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33052 subnormals only when inexact has been signalled or underflow
33053 exceptions are enabled.
33054 (_FP_PACK_CANONICAL): Likewise.
33056 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33059 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33060 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33062 2012-05-30 Richard Henderson <rth@twiddle.net>
33064 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33065 with #ifndef NOT_IN_libc.
33067 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33068 marked to avoid plt entry.
33070 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33073 * Makeconfig (default-abi): New macro.
33074 (abi-includes): Likewise.
33075 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33076 $(abi-$(default-abi)-lib-soname) for soname if defined.
33077 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33079 * Makefile (installed-stubs): Likewise.
33080 * include/stubs-biarch.h: Removed.
33081 * scripts/lib-names.awk: Only handle one library at a time.
33082 * scripts/soversions.awk: Remove WORDSIZE support.
33083 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33085 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33087 (syscall-list-default-condition): Likewise.
33088 (syscall-list-default-condition): Likewise.
33089 (syscall-list-includes): Likewise.
33090 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33091 syscall-list-* with abi-*. Handle undefined abi-variants.
33092 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33093 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33094 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33095 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33096 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33097 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33099 (syscall-list-32-options): Likewise.
33100 (syscall-list-32-condition): Likewise.
33101 (syscall-list-64-options): Likewise.
33102 (syscall-list-64-condition): Likewise.
33103 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33105 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33108 (abi-64-ld-soname): New macro.
33109 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33110 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33113 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33114 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33116 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33118 * sysdeps/unix/sysv/linux/kernel-features.h
33119 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33120 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33121 include <kernel-features.h>.
33122 [!__NR_ftruncate64]: Remove conditional code.
33123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33124 [__NR_ftruncate64]: Make code unconditional.
33125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33126 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33127 include <kernel-features.h>.
33128 [!__NR_ftruncate64]: Remove conditional code.
33129 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33130 [__NR_ftruncate64]: Make code unconditional.
33131 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33133 include <kernel-features.h>.
33134 [!__NR_ftruncate64]: Remove conditional code.
33135 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33136 [__NR_ftruncate64]: Make code unconditional.
33137 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33139 include <kernel-features.h>.
33140 [!__NR_ftruncate64]: Remove conditional code.
33141 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33142 [__NR_ftruncate64]: Make code unconditional.
33143 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33145 * configure.in (libc_cv_fpie): Weaken to a compile test using
33146 LIBC_TRY_CC_OPTION.
33147 * configure: Regenerated.
33149 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33164 2012-05-27 David S. Miller <davem@davemloft.net>
33166 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33168 (__Q_simulate_exceptions): Return void. Change to simulate
33169 exceptions by writing into the %fsr.
33170 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33171 (__Qp_handle_exceptions): Likewise.
33173 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33174 __Qp_handle_exceptions.
33175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33176 __Qp_handle_exceptions.
33177 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33178 as unused and give dummy FP_RND_NEAREST initializer.
33179 (FP_INHIBIT_RESULTS): Define.
33180 (___Q_simulate_exceptions): Update declaration.
33181 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33183 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33184 as unused and give dummy FP_RND_NEAREST initializer.
33185 (__Qp_handle_exceptions): Update declaration.
33186 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33189 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33191 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33192 the temporary FPU control word.
33193 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33194 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33195 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33196 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33197 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33198 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33199 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33200 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33201 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33202 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33205 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33207 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33210 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33212 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33213 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33214 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33215 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33217 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33218 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33221 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33223 * po/h.po: Update from translation team.
33225 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33227 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33229 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33230 handling of denormals.
33231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33232 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33234 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33235 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33237 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33240 2012-05-26 Marek Polacek <polacek@redhat.com>
33243 * math/libm-test.inc (fma_test): Don't always expect underflow
33246 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33249 * elf/tst-execstack.c: Include stackinfo.h.
33250 (do_test): Adjust test case to ensure that pthread_getattr_np
33251 behaviour remains the same after marking stack executable.
33253 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33255 * sysdeps/unix/sysv/linux/kernel-features.h
33256 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33257 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33259 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33260 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33261 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33263 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33264 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33266 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33268 * configure.in: Define the default includes to being none.
33269 * configure: Regenerated.
33271 2012-05-25 Roland McGrath <roland@hack.frob.com>
33273 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33274 * sysdeps/x86_64/setjmp.S: Likewise.
33275 * sysdeps/i386/bsd-setjmp.S: Likewise.
33276 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33277 * sysdeps/i386/setjmp.S: Likewise.
33278 * sysdeps/i386/__longjmp.S: Likewise.
33279 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33280 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33282 * include/stap-probe.h: New file.
33283 * configure.in: Handle --enable-systemtap.
33284 * configure: Regenerated.
33285 * config.h.in (USE_STAP_PROBE): New #undef.
33286 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33287 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33288 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33290 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33294 to 2.4.0 where earlier.
33295 * sysdeps/unix/sysv/linux/configure: Regenerated.
33296 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33297 <kernel-features.h>.
33298 [__ASSUME_32BITUIDS]: Make code unconditional.
33299 [!__ASSUME_32BITUIDS]: Remove conditional code.
33300 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33301 <kernel-features.h>.
33302 [__ASSUME_32BITUIDS]: Make code unconditional.
33303 [!__ASSUME_32BITUIDS]: Remove conditional code.
33304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33305 [__ASSUME_32BITUIDS]: Make code unconditional.
33306 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33307 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33308 <kernel-features.h>.
33309 [__ASSUME_32BITUIDS]: Make code unconditional.
33310 [!__ASSUME_32BITUIDS]: Remove conditional code.
33311 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33312 <kernel-features.h>.
33313 [__ASSUME_32BITUIDS]: Make code unconditional.
33314 [!__ASSUME_32BITUIDS]: Remove conditional code.
33315 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33316 <kernel-features.h>.
33317 [__ASSUME_32BITUIDS]: Make code unconditional.
33318 [!__ASSUME_32BITUIDS]: Remove conditional code.
33319 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33320 <kernel-features.h>.
33321 [__ASSUME_32BITUIDS]: Make code unconditional.
33322 [!__ASSUME_32BITUIDS]: Remove conditional code.
33323 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33324 <kernel-features.h>.
33325 [__ASSUME_32BITUIDS]: Make code unconditional.
33326 [!__ASSUME_32BITUIDS]: Remove conditional code.
33327 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33328 <kernel-features.h>.
33329 [__ASSUME_32BITUIDS]: Make code unconditional.
33330 [!__ASSUME_32BITUIDS]: Remove conditional code.
33331 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33332 <kernel-features.h>.
33333 [__ASSUME_32BITUIDS]: Make code unconditional.
33334 [!__ASSUME_32BITUIDS]: Remove conditional code.
33335 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33336 <kernel-features.h>.
33337 [__ASSUME_32BITUIDS]: Make code unconditional.
33338 [!__ASSUME_32BITUIDS]: Remove conditional code.
33339 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33340 <kernel-features.h>.
33341 [__ASSUME_32BITUIDS]: Make code unconditional.
33342 [!__ASSUME_32BITUIDS]: Remove conditional code.
33343 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33344 <kernel-features.h>.
33345 [__ASSUME_32BITUIDS]: Make code unconditional.
33346 [!__ASSUME_32BITUIDS]: Remove conditional code.
33347 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33348 <kernel-features.h>.
33349 [__NR_setresgid] (__setresgid): Do not declare.
33350 [__ASSUME_32BITUIDS]: Make code unconditional.
33351 [!__ASSUME_32BITUIDS]: Remove conditional code.
33352 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33353 <kernel-features.h>.
33354 [__NR_setresuid] (__setresuid): Do not declare.
33355 [__ASSUME_32BITUIDS]: Make code unconditional.
33356 [!__ASSUME_32BITUIDS]: Remove conditional code.
33357 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33358 <kernel-features.h>.
33359 [__ASSUME_32BITUIDS]: Make code unconditional.
33360 [!__ASSUME_32BITUIDS]: Remove conditional code.
33361 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33362 <kernel-features.h>.
33363 [__ASSUME_32BITUIDS]: Make code unconditional.
33364 [!__ASSUME_32BITUIDS]: Remove conditional code.
33365 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33366 <kernel-features.h>.
33367 [__ASSUME_32BITUIDS]: Make code unconditional.
33368 [!__ASSUME_32BITUIDS]: Remove conditional code.
33369 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33370 <kernel-features.h>.
33371 [__ASSUME_32BITUIDS]: Make code unconditional.
33372 [!__ASSUME_32BITUIDS]: Remove conditional code.
33373 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33374 <kernel-features.h>.
33375 [__ASSUME_32BITUIDS]: Make code unconditional.
33376 [!__ASSUME_32BITUIDS]: Remove conditional code.
33377 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33378 <kernel-features.h>.
33379 [__ASSUME_32BITUIDS]: Make code unconditional.
33380 [!__ASSUME_32BITUIDS]: Remove conditional code.
33381 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33382 <kernel-features.h>.
33383 [__ASSUME_32BITUIDS]: Make code unconditional.
33384 [!__ASSUME_32BITUIDS]: Remove conditional code.
33385 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33386 <kernel-features.h>.
33387 [__ASSUME_32BITUIDS]: Make code unconditional.
33388 [!__ASSUME_32BITUIDS]: Remove conditional code.
33389 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33390 <kernel-features.h>.
33391 [__ASSUME_32BITUIDS]: Make code unconditional.
33392 [!__ASSUME_32BITUIDS]: Remove conditional code.
33393 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33394 <kernel-features.h>.
33395 [__ASSUME_32BITUIDS]: Make code unconditional.
33396 [!__ASSUME_32BITUIDS]: Remove conditional code.
33397 * sysdeps/unix/sysv/linux/kernel-features.h
33398 (__ASSUME_SETRESUID_SYSCALL): Remove.
33399 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33400 (__ASSUME_32BITUIDS): Likewise.
33401 (__ASSUME_LDT_WORKS): Likewise.
33402 (__ASSUME_O_DIRECTORY): Likewise.
33403 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33404 architecture but not kernel version.
33405 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33406 (__ASSUME_MMAP2_SYSCALL): Likewise.
33407 (__ASSUME_STAT64_SYSCALL): Likewise.
33408 (__ASSUME_IPC64): Likewise.
33409 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33410 <kernel-features.h>.
33411 [__ASSUME_32BITUIDS]: Make code unconditional.
33412 [!__ASSUME_32BITUIDS]: Remove conditional code.
33413 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33414 <kernel-features.h>.
33415 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33416 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33417 132096]: Remove conditional code.
33418 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33419 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33420 <kernel-features.h>.
33421 [__ASSUME_32BITUIDS]: Make code unconditional.
33422 [!__ASSUME_32BITUIDS]: Remove conditional code.
33423 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33424 <kernel-features.h>.
33425 [__ASSUME_32BITUIDS]: Make code unconditional.
33426 [!__ASSUME_32BITUIDS]: Remove conditional code.
33427 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33428 <kernel-features.h>.
33429 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33431 (__setresgid): Do not declare.
33432 [__ASSUME_32BITUIDS]: Make code unconditional.
33433 [!__ASSUME_32BITUIDS]: Remove conditional code.
33434 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33435 <kernel-features.h>.
33436 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33438 (__setresuid): Do not declare.
33439 [__ASSUME_32BITUIDS]: Make code unconditional.
33440 [!__ASSUME_32BITUIDS]: Remove conditional code.
33441 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33442 <kernel-features.h>.
33443 [__ASSUME_32BITUIDS]: Make code unconditional.
33444 [!__ASSUME_32BITUIDS]: Remove conditional code.
33445 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33446 <kernel-features.h>.
33447 [__ASSUME_32BITUIDS]: Make code unconditional.
33448 [!__ASSUME_32BITUIDS]: Remove conditional code.
33450 2012-05-25 Richard Henderson <rth@twiddle.net>
33452 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33453 dl_hwcap to ifunc resolver.
33454 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33456 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33457 dl_hwcap to ifunc resolver.
33458 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33460 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33463 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33464 for |x| <= 2**-26, not 2**-57.
33465 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33468 2012-05-24 Jeff Law <law@redhat.com>
33470 * stdio-common/Makefile (tests): Add bug25.
33471 * stdio-common/bug25.c: New test.
33473 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33476 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33477 multiple of MALLOC_ALIGNMENT in size.
33478 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33480 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33482 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33484 (FILENAME_MAX): Use macro-int-constant.
33485 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33486 (_IOFBF): Use macro-int-constant.
33487 (_IOLBF): Likewise.
33488 (_IONBF): Likewise.
33489 (SEEK_CUR): Likewise.
33490 (SEEK_END): Likewise.
33491 (SEEK_SET): Likewise.
33492 (TMP_MAX): Likewise.
33493 (EOF): Use macro-int-constant. Require < 0.
33494 (NULL): Use macro-constant. Require == 0.
33495 (stdin): Require type to be FILE *.
33496 (stdout): Likewise.
33497 (stderr): Likewise.
33498 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33499 macro-int-constant.
33500 (EXIT_SUCCESS): Likewise.
33501 (NULL): Use macro-constant. Require == 0.
33502 (RAND_MAX): Use macro-int-constant.
33503 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33504 [C99-based standards] (strtof): Require function.
33505 [C99-based standards] (strtold): Likewise.
33506 [C99-based standards] (strtoll): Likewise.
33507 [C99-based standards] (strtoull): Likewise.
33508 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33509 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33510 [ISO || ISO99 || ISO11] (math.h): Likewise.
33511 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33512 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33515 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33518 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33519 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33520 * intl/dgettext.c (DCGETTEXT): Likewise.
33521 * intl/gettext.c (DCGETTEXT): Likewise.
33522 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33523 * posix/regex_internal.h (gettext): Likewise.
33524 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33525 Remove declaration.
33526 * include/argz.h (__argz_count_internal)
33527 (__argz_stringify_internal): Remove declaration.
33528 (__argz_count, __argz_stringify): Declare hidden proto.
33529 * intl/dcgettext.c: Remove use of INTDEF.
33530 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33531 * string/argz-stringify.c: Likewise.
33532 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33533 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33534 Declare hidden proto.
33535 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33536 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33537 Declare hidden proto.
33538 * include/stdio.h (__asprintf_internal): Don't declare.
33539 (__asprintf): Don't define as macro. Declare hidden proto.
33540 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33541 (__fsetlocking): Declare hidden proto.
33542 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33543 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33545 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33546 (_IO_setlinebuf): Remove use of INTUSE.
33547 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33548 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33549 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33550 Remove declaration.
33551 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33552 (_IO_do_flush): Remove use of INTUSE.
33553 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33554 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33555 (_IO_adjust_column, _IO_least_wmarker)
33556 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33557 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33558 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33559 (_IO_default_doallocate, _IO_wdefault_doallocate)
33560 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33561 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33562 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33563 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33564 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33565 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33566 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33567 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33568 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33569 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33570 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33571 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33572 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33574 (_IO_flush_all_internal, _IO_adjust_column_internal)
33575 (_IO_default_uflow_internal, _IO_default_finish_internal)
33576 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33577 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33578 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33579 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33580 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33581 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33582 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33583 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33584 (_IO_file_close_internal, _IO_file_close_it_internal)
33585 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33586 (_IO_file_init_internal, _IO_file_attach_internal)
33587 (_IO_file_fopen_internal, _IO_file_read_internal)
33588 (_IO_file_sync_internal, _IO_file_seek_internal)
33589 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33590 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33591 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33592 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33593 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33594 (_IO_list_all_internal, _IO_link_in_internal)
33595 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33596 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33597 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33598 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33599 (_IO_do_write_internal, _IO_padn_internal)
33600 (_IO_getline_info_internal, _IO_getline_internal)
33601 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33602 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33603 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33604 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33605 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33606 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33607 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33608 with libc_hidden_ver, remove use of INTUSE.
33609 * libio/genops.c: Likewise.
33610 * libio/freopen.c: Likewise.
33611 * libio/freopen64.c: Likewise.
33612 * libio/iofclose.c: Likewise.
33613 * libio/iofdopen.c: Likewise.
33614 * libio/iofflush.c: Likewise.
33615 * libio/iofflush_u.c: Likewise.
33616 * libio/iofgets.c: Likewise.
33617 * libio/iofgets_u.c: Likewise.
33618 * libio/iofopen.c: Likewise.
33619 * libio/iofopncook.c: Likewise.
33620 * libio/iofread.c: Likewise.
33621 * libio/iofread_u.c: Likewise.
33622 * libio/ioftell.c: Likewise.
33623 * libio/iofwrite.c: Likewise.
33624 * libio/iogetline.c: Likewise.
33625 * libio/iogets.c: Likewise.
33626 * libio/iogetwline.c: Likewise.
33627 * libio/iopadn.c: Likewise.
33628 * libio/iopopen.c: Likewise.
33629 * libio/ioseekoff.c: Likewise.
33630 * libio/ioseekpos.c: Likewise.
33631 * libio/iosetbuffer.c: Likewise.
33632 * libio/iosetvbuf.c: Likewise.
33633 * libio/ioungetc.c: Likewise.
33634 * libio/ioungetwc.c: Likewise.
33635 * libio/iovdprintf.c: Likewise.
33636 * libio/iovsprintf.c: Likewise.
33637 * libio/iovsscanf.c: Likewise.
33638 * libio/memstream.c: Likewise.
33639 * libio/obprintf.c: Likewise.
33640 * libio/oldfileops.c: Likewise.
33641 * libio/oldiofclose.c: Likewise.
33642 * libio/oldiofdopen.c: Likewise.
33643 * libio/oldiofopen.c: Likewise.
33644 * libio/oldiopopen.c: Likewise.
33645 * libio/oldstdfiles.c: Likewise.
33646 * libio/putc.c: Likewise.
33647 * libio/setbuf.c: Likewise.
33648 * libio/setlinebuf.c: Likewise.
33649 * libio/stdfiles.c: Likewise.
33650 * libio/strops.c: Likewise.
33651 * libio/vasprintf.c: Likewise.
33652 * libio/vscanf.c: Likewise.
33653 * libio/vsnprintf.c: Likewise.
33654 * libio/vswprintf.c: Likewise.
33655 * libio/wfiledoalloc.c: Likewise.
33656 * libio/wfileops.c: Likewise.
33657 * libio/wgenops.c: Likewise.
33658 * libio/wmemstream.c: Likewise.
33659 * libio/wstrops.c: Likewise.
33660 * libio/__fpurge.c: Likewise.
33661 * libio/__fsetlocking.c: Likewise.
33662 * assert/assert.c: Likewise.
33663 * debug/fgets_chk.c: Likewise.
33664 * debug/fgets_u_chk.c: Likewise.
33665 * debug/fread_chk.c: Likewise.
33666 * debug/fread_u_chk.c: Likewise.
33667 * debug/gets_chk.c: Likewise.
33668 * debug/obprintf_chk.c: Likewise.
33669 * debug/vasprintf_chk.c: Likewise.
33670 * debug/vdprintf_chk.c: Likewise.
33671 * debug/vsnprintf_chk.c: Likewise.
33672 * debug/vsprintf_chk.c: Likewise.
33673 * malloc/mtrace.c: Likewise.
33674 * misc/error.c: Likewise.
33675 * misc/syslog.c: Likewise.
33676 * stdio-common/asprintf.c: Likewise.
33677 * stdio-common/fxprintf.c: Likewise.
33678 * stdio-common/getw.c: Likewise.
33679 * stdio-common/isoc99_fscanf.c: Likewise.
33680 * stdio-common/isoc99_scanf.c: Likewise.
33681 * stdio-common/isoc99_vfscanf.c: Likewise.
33682 * stdio-common/isoc99_vscanf.c: Likewise.
33683 * stdio-common/isoc99_vsscanf.c: Likewise.
33684 * stdio-common/printf-prs.c: Likewise.
33685 * stdio-common/printf_fp.c: Likewise.
33686 * stdio-common/printf_fphex.c: Likewise.
33687 * stdio-common/printf_size.c: Likewise.
33688 * stdio-common/putw.c: Likewise.
33689 * stdio-common/scanf.c: Likewise.
33690 * stdio-common/sprintf.c: Likewise.
33691 * stdio-common/tmpfile.c: Likewise.
33692 * stdio-common/vfprintf.c: Likewise.
33693 * stdio-common/vfscanf.c: Likewise.
33694 * stdlib/strfmon_l.c: Likewise.
33695 * sunrpc/openchild.c: Likewise.
33696 * sunrpc/xdr_stdio.c: Likewise.
33697 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33698 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33700 2012-05-24 Roland McGrath <roland@hack.frob.com>
33702 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33704 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33705 in the third column, to generate for the shared library an IFUNC
33706 that uses _dl_vdso_vsym.
33707 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33708 * Makeconfig (object-suffixes-noshared): New variable.
33710 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33711 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33712 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33713 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33716 * include/sys/time.h (__gettimeofday): Remove macro.
33717 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33718 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33720 (__gettimeofday): Add libc_hidden_def.
33721 (gettimeofday): Add libc_hidden_weak.
33722 * sysdeps/mach/gettimeofday.c: Likewise.
33723 * sysdeps/posix/gettimeofday.c: Likewise.
33724 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33725 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33726 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33727 (__gettimeofday_internal): Remove strong_alias.
33728 (__gettimeofday): Add libc_hidden_def.
33729 (gettimeofday): Add libc_hidden_weak.
33730 * sysdeps/unix/syscalls.list (gettimeofday):
33731 Remove __gettimeofday_internal alias.
33733 2012-05-24 Daniel Jacobowitz <drow@false.org>
33734 H.J. Lu <hongjiu.lu@intel.com>
33737 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33738 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33739 (largebin_index_32_big): New.
33740 (largebin_index): Use it for 16-byte alignment.
33741 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33742 correction with front_misalign.
33744 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33772 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33773 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33775 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33779 * math/libm-test.inc (exp_test): Add test from bug 14036.
33780 (pow_test): Add test from bug 10846.
33782 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33784 (special_function): Do not include flags in test name.
33785 (parse_args): Likewise.
33786 * sysdeps/i386/fpu/libm-test-ulps: Update.
33787 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33788 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33789 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33792 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33794 * math/libm-test.inc ("Philosophy"): Update comment about
33796 (UNDERFLOW_EXCEPTION): New macro.
33797 (UNDERFLOW_EXCEPTION_OK): Likewise.
33798 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33799 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33800 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33801 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33802 (INVALID_EXCEPTION_OK): Update value.
33803 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33804 (OVERFLOW_EXCEPTION_OK): Likewise.
33805 (IGNORE_ZERO_INF_SIGN): Likewise.
33806 (test_exceptions): Handle underflow exceptions.
33807 (acos_test): Update for underflow exception expectations.
33808 (cexp_test): Likewise.
33809 (clog_test): Likewise.
33810 (clog10_test): Likewise.
33811 (csqrt_test): Likewise.
33812 (ctan_test): Likewise.
33813 (ctanh_test): Likewise.
33814 (exp_test): Likewise.
33815 (exp10_test): Likewise.
33816 (exp2_test): Likewise.
33817 (expm1_test): Likewise.
33818 (fma_test): Likewise.
33819 (j0_test): Likewise.
33820 (jn_test): Likewise.
33821 (nexttoward_test): Likewise.
33822 (pow_test): Likewise.
33823 (scalbn_test): Likewise.
33824 (scalbln_test): Likewise.
33825 (tan_test): Likewise.
33826 (y1_test): Likewise.
33827 * sysdeps/i386/fpu/libm-test-ulps: Update.
33828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33830 2012-05-23 David S. Miller <davem@davemloft.net>
33832 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33833 (__libc_sigaction): Remove unused local variables.
33835 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33837 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33839 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33841 mktime: avoid signed integer overflow
33842 * time/mktime.c (__mktime_internal): Do not mishandle the case
33843 where diff == INT_MIN.
33845 mktime: simplify computation of average
33846 * time/mktime.c (ranged_convert): Use new time_t_avg function
33847 instead of rolling our own (probably-slower) code.
33849 mktime: do not assume signed right shift propagates sign bit
33850 * time/mktime.c (isdst_differ): New static function.
33851 (__mktime_internal): No need to normalize tm_isdst now.
33852 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33855 mktime: merge another wrapv change from gnulib
33856 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33857 from some compilers.
33859 mktime: remove incorrect attempt at unusual arithmetics
33860 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33861 The code didn't really work on such machines anyway.
33862 (TYPE_MINIMUM): Assume two's complement.
33863 (twos_complement_arithmetic): Verify that long_int and time_t
33864 are two's complement (or unsigned, in the latter case).
33866 mktime: check signed shifts on long_int and time_t, too
33867 * time/mktime.c (SHR): Check that shifts work as desired
33868 on the types long_int and time_t too, as SHR is used on
33871 mktime: do not assume 'long' is wide enough
33872 * time/mktime.c (verify): Move decl up.
33873 (long_int): New type.
33874 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33875 to remove assumption in the code that 'long' is wide enough to
33876 store year values. This assumption is not true on x32 and on
33877 some non-glibc platforms.
33879 mktime: merge wrapv change from gnulib
33880 * time/mktime.c (WRAPV): New macro.
33881 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33882 (guess_time_tm, __mktime_internal): Do not assume that signed
33883 integer overflow wraps around; modern compilers generate code
33884 where this assumption is no longer valid.
33886 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33888 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33889 Replace "jmp L(pseudo_end)" with "ret".
33890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33893 2012-05-23 Andreas Jaeger <aj@suse.de>
33895 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33896 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33898 2012-05-23 Andreas Jaeger <aj@suse.de>
33899 Maximilian Attems <max@stro.at>
33901 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33904 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33906 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33907 code so that pseudo_end is just ret and the stack pointer is
33908 correct also for static library in error case.
33910 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33912 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33913 move to syscalls.list.
33914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33919 * manual/install.texi (Running make install): Do not mention Linux
33920 kernel version for which pt_chown is not needed.
33921 (Linux): Do not mention problems with nscd with 2.0 kernels.
33922 * INSTALL: Regenerated.
33924 2012-05-23 Andreas Jaeger <aj@suse.de>
33926 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33927 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33929 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33931 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33933 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33935 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33936 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33938 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33939 * sysdeps/unix/sysv/linux/bits/in.h
33940 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33942 2012-05-22 Roland McGrath <roland@hack.frob.com>
33944 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33945 (PREPARE_VERSION): Just use assert instead, it will be elided
33946 under [NDEBUG] anyway.
33948 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33950 * sysdeps/unix/sysv/linux/Makefile: Include
33951 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33952 (sysdep_routines): Remove sysctl.
33953 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33954 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33955 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33956 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33957 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33959 2012-05-22 Andreas Jaeger <aj@suse.de>
33961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33962 that pseudo_end is just ret and the stack pointer is correct also
33963 for static library in error case.
33965 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33968 * nss/nsswitch.c (defconfig_entries): New variable.
33969 (__nss_database_lookup): Don't leak defconfig entries.
33970 (nss_parse_service_list): Don't leak on error paths.
33971 (free_database_entries): New function.
33972 (free_defconfig): New function.
33973 (free_mem): Move common code to free_database_entries.
33975 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33977 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33979 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33981 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33982 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33985 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33986 (INTERNAL_SYSCALL_TYPES): Likewise.
33987 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33988 (LOAD_REGS_TYPES_[1-6]): Likewise.
33989 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33990 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33992 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33994 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33995 copysignl for GLIBC_2_0.
33996 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33997 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33999 logbl for GLIBC_2_0.
34000 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34001 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34003 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34005 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34006 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34008 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34011 * time/mktime.c: Update copyright years.
34013 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34015 mktime: merge comment-quoting-style change from gnulib
34016 * time/mktime.c: Quote 'like this' in comments.
34017 The GNU coding standards suggest that we no longer quote `like this',
34018 as "`" and "'" are typically rendered asymmetrically nowadays.
34019 The typical gnulib style is to quote 'like this' when quoting
34020 code, and "like this" when quoting English.
34022 * time/mktime.c (compile-command): Add "-I.".
34024 mktime: merge mktime-internal.h change from gnulib
34025 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34027 mktime: merge time_r change from gnulib
34028 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34030 mktime: merge DEBUG change from gnulib
34031 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34032 case system <time.h> has a #define.
34034 mktime: merge <sys/types.h> change from gnulib
34035 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34036 since <time.t> is now guaranteed to define time_t.
34038 mktime: merge HAVE_CONFIG_H change from gnulib
34039 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34041 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34046 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34048 (struct rusage): Use anonymous union to pad each field to
34051 2012-05-21 David S. Miller <davem@davemloft.net>
34053 * Makefules (o-iterator): Remove .s cases.
34054 (compile-command.s): Delete.
34055 (COMPILE.s): Delete.
34056 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34058 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34060 * configure.in (libc_cv_predef_stack_protector): Only consider
34061 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34062 * configure: Regenerated.
34064 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34067 New macro. Use R*LP on int and pointer.
34068 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34069 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34070 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34071 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34073 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34074 [__WORDSIZE_TIME64_COMPAT32] instead of
34075 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34076 (struct utmp): Likewise.
34077 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34078 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34080 (__WORDSIZE_TIME64_COMPAT32): This.
34081 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34082 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34083 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34084 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34085 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34086 (__WORDSIZE_TIME64_COMPAT32): New macro.
34088 2012-05-21 Andreas Jaeger <aj@suse.de>
34090 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34091 only if [SHARED]. Add prototype for __wcschr_ia32.
34093 2012-05-21 Roland McGrath <roland@hack.frob.com>
34095 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34096 of %rbp unmolested in the jmp_buf while mangling the low bits.
34097 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34098 unmolested high bits of %rbp while demangling the low bits.
34099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34101 2012-05-21 Andreas Jaeger <aj@suse.de>
34103 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34104 * sunrpc/svc_simple.c: Use it for registerrpc.
34105 * sunrpc/xcrypt.c: Use it for passwd2des.
34107 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34109 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34111 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34112 Don't define if [__SYSCALL_WORDSIZE != 32].
34113 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34116 2012-05-21 Bruno Haible <bruno@clisp.org>
34117 Andreas Jaeger <aj@suse.de>
34119 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34120 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34121 inptr and inend for must_buffer_ch.
34122 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34123 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34124 * stdio-common/Makefile (tests): Remove bug15.
34125 (bug15-ENV): Remove macro.
34126 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34129 2012-05-19 Andreas Jaeger <aj@suse.de>
34130 Roland McGrath <roland@hack.frob.com>
34132 * manual/contrib.texi: Completely rewritten. It contains now an
34133 alphabetical list of contributors and their contributions.
34135 2012-05-21 Richard Henderson <rth@twiddle.net>
34137 * misc/getauxval.c (__getauxval): Use unsigned long int.
34138 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34139 (getauxval): Use unsigned long int.
34141 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34143 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34145 2012-05-21 Roland McGrath <roland@hack.frob.com>
34147 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34148 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34149 __alignof__ (long double).
34151 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34155 2012-05-20 Richard Henderson <rth@twiddle.net>
34157 * misc/getauxval.c: New file.
34158 * misc/sys/auxv.h: New file.
34159 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34160 (routines): Add getauxval.
34161 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34162 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34163 * elf/dl-sysdep.c (_dl_auxv): Remove.
34164 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34165 * elf/dl-support.c (_dl_auxv): New variable.
34166 (_dl_aux_init): Initialize it.
34167 * manual/startup.texi (Auxiliary Vector): New node.
34168 * sysdeps/generic/bits/hwcap.h: New file.
34169 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34170 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34171 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34172 * sysdeps/sparc/sysdep.h: ... here. Include it.
34173 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34174 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34186 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34190 2012-05-19 David S. Miller <davem@davemloft.net>
34192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34194 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34197 * math/s_ccosh.c: Include <float.h>
34198 (__ccosh): Avoid internal overflow calculating sinh and cosh
34199 values before multiplying by sin and cos values.
34200 * math/s_ccoshf.c: Likewise.
34201 * math/s_ccoshl.c: Likewise.
34202 * math/s_csin.c: Likewise.
34203 * math/s_csinf.c: Likewise.
34204 * math/s_csinl.c: Likewise.
34205 * math/s_csinh.c: Likewise.
34206 * math/s_csinhf.c: Likewise.
34207 * math/s_csinhl.c: Likewise.
34208 * math/libm-test.inc (ccos_test): Add more tests.
34209 (ccosh_test): Likewise.
34210 (csin_test): Likewise.
34211 (csinh_test): Likewise.
34212 * sysdeps/i386/fpu/libm-test-ulps: Update.
34213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34215 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34217 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34218 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34220 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34222 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34224 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34225 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34226 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34227 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34228 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34229 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34230 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34231 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34232 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34233 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34234 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34235 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34236 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34237 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34238 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34239 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34240 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34241 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34242 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34243 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34244 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34245 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34246 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34247 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34248 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34249 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34250 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34251 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34252 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34253 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34254 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34256 2012-05-18 Andreas Jaeger <aj@suse.de>
34258 * csu/.gitignore: Delete.
34260 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34262 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34263 (timex): Use __syscall_slong_t.
34265 2012-05-18 Andreas Jaeger <aj@suse.de>
34266 Carlos O'Donell <carlos_odonell@mentor.com>
34268 * manual/install.texi (Configuring and compiling): Update
34269 description about files modified in the source directory.
34270 * INSTALL: Regenerated.
34272 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34274 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34275 value. Use "or" to set return value to -1.
34276 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34277 negate return value.
34279 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34281 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34282 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34283 failure if the compiler has Graphite support disabled.
34284 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34286 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34287 (CFLAGS-memmove.c): Likewise.
34288 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34291 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34293 * sysdeps/x86_64/x32/_itoa.h: New file.
34295 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34296 getdents system call only if kernel and user dirents have the
34297 same d_ino and d_off.
34299 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34300 LLONG_MAX != LONG_MAX.
34301 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34302 (_fitoa_word): Likewise.
34304 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34306 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34307 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34308 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34310 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34311 include <bits/wordsize.h>. Check __x86_64__ instead of
34313 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34314 if __x86_64__ is defined. Use anonymous union on fpstate.
34316 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34319 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34321 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34322 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34323 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34324 Refer to _rtld_local_ro instead of _rtld_global_ro.
34325 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34327 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34329 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34331 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34332 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34333 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34335 * sysdeps/powerpc/powerpc32/dl-machine.c
34336 (__elf_machine_runtime_setup) [PROF]: Don't reference
34339 2012-05-18 Andreas Jaeger <aj@suse.de>
34341 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34342 function only available for GCCs before 3.4 since GCC 3.4
34343 introduced a builtin.
34345 (llrintf): Likewise.
34346 (llrint): Likewise.
34353 (nearbyint): Likewise.
34354 (nearbyintf): Likewise.
34358 (floorf): Likewise.
34360 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34362 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34363 on both fields and cast pointer to __syscall_ulong_t.
34365 * bits/types.h (__fsword_t): New type.
34366 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34367 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34369 (__FSWORD_T_TYPE): Likewise.
34370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34371 (__FSWORD_T_TYPE): Likewise.
34372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34373 (__FSWORD_T_TYPE): Likewise.
34374 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34375 (__FSWORD_T_TYPE): Likewise.
34376 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34377 __SWORD_TYPE with __fsword_t.
34378 (statfs64): Likewise.
34380 2012-05-17 David S. Miller <davem@davemloft.net>
34382 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34384 2012-05-17 Andreas Jaeger <aj@suse.de>
34386 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34389 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34391 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34393 2012-05-17 Andreas Jaeger <aj@suse.de>
34395 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34398 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34400 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34402 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34404 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34405 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34407 2012-05-17 Andreas Jaeger <aj@suse.de>
34408 Carlos O'Donell <carlos_odonell@mentor.com>
34411 * sysdeps/x86_64/multiarch/init-arch.h
34412 (bit_YMM_Usable): Rename to...
34413 (bit_AVX_Usable): ... this.
34414 (bit_FMA4_Usable): New macro.
34415 (bit_XMM_state): New macro.
34416 (bit_YMM_state): New macro.
34417 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34418 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34419 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34420 (CPUID_OSXSAVE): New macro.
34421 (CPUID_AVX): New macro.
34422 (CPUID_FMA4): New macro.
34423 (index_YMM_Usable): Rename to...
34424 (index_AVX_Usable): ... this.
34425 (HAS_AVX): Use HAS_ARCH_FEATURE.
34426 (HAS_FMA4): Likewise.
34427 (HAS_YMM_USABLE): Remove.
34428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34429 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34431 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34432 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34433 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34434 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34435 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34437 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34439 * math/libm-test.c: Support platforms without multiple rounding modes.
34440 * math/bug-nextafter.c: Support platforms without FP exceptions.
34441 * math/bug-nexttoward.c: Likewise.
34442 * math/test-fenv.c: Likewise.
34443 * math/test-misc.c: Likewise.
34444 * stdlib/bug-getcontext.c: Likewise.
34446 2012-05-17 Andreas Jaeger <aj@suse.de>
34448 * manual/examples/search.c (critter_cmp): Change signature to
34450 * manual/string.texi (Collation Functions): Likewise.
34452 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34454 * bits/types.h: Fold copyright years.
34455 * bits/typesizes.h: Likewise.
34456 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34458 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34460 * time/time.h: Likewise.
34462 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34465 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34466 in instead of returning them. Return void.
34467 (__libc_mallinfo): Accumulate over all arenas.
34468 (__malloc_stats): Adjust for change in int_mallinfo interface.
34470 2012-05-16 Roland McGrath <roland@hack.frob.com>
34473 * configure.in (NM): Add AC_CHECK_TOOL for it.
34474 (libc_extra_cflags): New substituted variable.
34475 Check for -fstack-protector being used implicitly.
34476 * configure: Regenerated.
34477 * config.make.in (config-extra-cflags): New variable,
34478 gets @libc_extra_cflags@.
34479 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34482 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34483 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34484 * configure: Regenerated.
34485 * config.make.in (CPPUNDEFS): New substituted variable.
34486 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34487 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34488 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34490 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34492 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34493 (mq_attr): Use __syscall_slong_t.
34495 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34497 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34498 Check __x86_64__ instead of __WORDSIZE.
34499 (_STAT_VER_LINUX): Likewise.
34500 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34501 __syscall_ulong_t and __syscall_slong_t.
34502 (stat64): Likewise.
34504 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34506 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34508 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34510 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34512 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34514 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34517 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34518 include <bits/wordsize.h>. Check __x86_64__ instead of
34520 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34522 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34524 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34525 include <bits/wordsize.h>. Check __x86_64__ instead of
34527 (user_regs_struct): Use "__extension__ unsigned long long"
34528 instead of "unsigned long" if __x86_64__ is defined.
34529 (user): Likewise. Pad after pointer field if __ILP32__ is
34532 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34534 * configure.in (makeinfo): Require version 4.5 or later. Allow
34536 * configure: Regenerated.
34537 * manual/install.texi (texinfo): Increase version requirement to
34539 * INSTALL: Regenerated.
34541 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34543 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34545 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34547 * sysdeps/x86_64/x32/ffs.c: New file.
34549 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34551 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34552 defined. Use __syscall_ulong_t.
34553 (shminfo): Use __syscall_ulong_t.
34554 (shm_info): Likewise.
34556 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34559 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34561 (msgqnum_t): Use __syscall_ulong_t.
34562 (msglen_t): Likewise.
34563 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34566 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34567 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34569 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34571 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34572 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34574 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34577 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34578 include <bits/wordsize.h>. Check __x86_64__ instead of
34581 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34582 "unsigned long long int" if __x86_64__ is defined.
34583 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34585 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34586 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34587 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34589 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34591 (GET_PC): Cast to uintptr_t first.
34592 (GET_FRAME): Likewise.
34593 (GET_STACK): Likewise.
34595 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34596 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34598 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34600 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34601 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34602 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34603 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34604 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34605 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34606 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34607 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34608 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34609 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34610 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34611 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34612 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34613 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34614 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34615 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34616 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34617 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34618 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34619 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34621 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34622 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34623 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34625 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34627 * Makerules (+depfiles): Also collect depfiles from .oS in
34629 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34630 .oS, $(libnldbl-routines)).
34632 * Makerules (native-compile-mkdep-flags): Define.
34633 * sunrpc/Makefile (extra-objs): Add $(addprefix
34634 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34635 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34636 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34637 calling $(make-target-directory).
34639 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34641 * bits/types.h (__snseconds_t): Removed.
34642 * time/time.h (struct timespec): Replace __snseconds_t with
34644 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34645 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34648 (__SNSECONDS_T_TYPE): Likewise.
34649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34650 (__SNSECONDS_T_TYPE): Likewise.
34651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34652 (__SNSECONDS_T_TYPE): Likewise.
34654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34656 * sysdeps/mach/hurd/bits/typesizes.h
34657 (__SYSCALL_SLONG_TYPE): New macro.
34658 (__SYSCALL_ULONG_TYPE): Likewise.
34660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34662 * bits/types.h (__syscall_slong_t): New type.
34663 (__syscall_ulong_t): Likewise.
34665 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34666 (__SYSCALL_ULONG_TYPE): Likewise.
34667 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34668 (__SYSCALL_SLONG_TYPE): Likewise.
34669 (__SYSCALL_ULONG_TYPE): Likewise.
34670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34671 (__SYSCALL_SLONG_TYPE): Likewise.
34672 (__SYSCALL_ULONG_TYPE): Likewise.
34673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34674 (__SYSCALL_SLONG_TYPE): Likewise.
34675 (__SYSCALL_ULONG_TYPE): Likewise.
34677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34679 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34680 Add sigaltstack-offsets.sym.
34681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34682 <sigaltstack-offsets.h>.
34683 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34684 longjmp_msg pointer.
34685 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34686 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34688 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34690 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34692 * elf/stackguard-macros.h: Remove file.
34693 * sysdeps/generic/stackguard-macros.h: New file.
34694 * sysdeps/i386/stackguard-macros.h: Likewise.
34695 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34696 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34697 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34698 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34699 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34700 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34701 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34702 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34703 <elf/stackguard-macros.h>.
34706 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34707 __aligned__ in attribute.
34708 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34709 (gregset_t): Likewise.
34711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34713 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34714 * sysdeps/x86_64/64/Implies-after: Here. New file.
34715 * sysdeps/x86_64/x32/Implies-after: New file.
34717 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34719 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34720 and access return value for _dl_profile_fixup. Use R10_LP to
34723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34725 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34729 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34730 * sysdeps/x86_64/x32/sysdep.h: New file.
34732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34734 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34735 * sysdeps/x86_64/setjmp.S: Likewise.
34737 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34739 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34740 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34741 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34742 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34743 remove unused global constant.
34745 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34747 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34748 include of <not-cancel.h>.
34750 2012-05-15 Roland McGrath <roland@hack.frob.com>
34752 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34754 2012-05-15 Jeff Law <law@redhat.com>
34755 Andreas Jaeger <aj@suse.de>
34758 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34760 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34761 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34762 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34763 code changing __hst_map_handle.map.
34765 2012-05-15 Roland McGrath <roland@hack.frob.com>
34767 * configure.in (sysnames): Look for Implies-before and Implies-after
34769 * configure: Regenerated.
34771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34773 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34774 8-byte data alignment with LP_SIZE alignment.
34776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34778 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34783 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34787 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34788 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34789 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34791 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34795 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34796 (stackinfo_sub_sp): Likewise.
34798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34800 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34810 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34815 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34819 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34820 into R11_LP and load __x86_64_shared_cache_size_half into
34823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34825 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34828 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34837 powerpc32/power7/fpu/s_logb.c via #include.
34838 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34839 powerpc32/power7/fpu/s_logbf.c via #include.
34840 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34841 powerpc32/power7/fpu/s_logbl.c via #include.
34843 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34845 * README.libm: Remove file.
34847 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34849 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34850 count for x32. Use R*_LP and omit operand-size suffix.
34852 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34854 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34855 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34856 * sysdeps/x86_64/x32/shlib-versions: New file.
34858 2012-05-14 Roland McGrath <roland@hack.frob.com>
34860 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34861 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34862 Use _dl_fatal_printf instead.
34864 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34866 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34867 set if not set by the user. Do not allow for being unset.
34868 * sysdeps/unix/sysv/linux/configure: Regenerated.
34870 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34872 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34873 the `q' suffix from lea and replace .quad with ASM_ADDR.
34875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34878 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34880 (PTR_DEMANGLE): Likewise.
34882 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34884 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34886 (ASM_ADDR): Likewise.
34887 (RAX_LP): Likewise.
34888 (RBP_LP): Likewise.
34889 (RBX_LP): Likewise.
34890 (RCX_LP): Likewise.
34891 (RDI_LP): Likewise.
34892 (RSI_LP): Likewise.
34893 (RSP_LP): Likewise.
34896 (R10_LP): Likewise.
34897 (R10_LP): Likewise.
34898 (R11_LP): Likewise.
34899 (R12_LP): Likewise.
34900 (R13_LP): Likewise.
34901 (R14_LP): Likewise.
34902 (R15_LP): Likewise.
34904 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34906 * sysdeps/x86_64/x32/dl-machine.h: New file.
34908 2012-05-14 Andreas Jaeger <aj@suse.de>
34910 * manual/Makefile (subdir): Remove export of subdir.
34911 (all): Remove target.
34912 (.PHONY): Remove all from list.
34913 (mkinstalldirs): Remove.
34914 (.PHONY): Remove installdirs from list.
34915 ($(inst_infodir)/libc.info): Use make-target-directory.
34916 (installdirs): Remove.
34917 (subdir_%): Remove.
34918 (glibc-targets): Remove.
34921 ($(objpfx)stubs ../po/manual.pot): Remove.
34922 ($(objpfx)stamp%): Remove.
34923 (make-target-directory): Remove.
34924 (subdir_install): Remove.
34925 (routines): Remove.
34932 * manual/.gitignore: Remove, it's not needed anymore.
34933 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34935 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34937 (texis): Renamed to $(objpfx)texis.
34938 (texis-path): New, contains path to generated files.
34939 (chapters.%): Use texis-path for complete path, add extra argument
34941 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34942 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34943 (summary,texi, stamp-summary): Use complete path of
34944 files. Generate files in build dir.
34945 (dir-add.texi): Build in build dir.
34946 (libm-err.texi,stamp-libm-err): Likewise.
34947 (version.texi, stamp-version): Likewise.
34948 (.%c.texi): Likewise.
34949 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34950 (mostlyclean): Remove target.
34951 (realclean): Remove target.
34952 (generated): Add new variable with contents from mostlyclean and
34953 realclean, remove entries duplicated in common-mostlyclean, add
34954 stamp-libm-err and stamp-version.
34955 (generated-dirs): Add libc directory.
34956 ($(inst_infodir)/libc.info): Install files from build dir.
34958 * manual/install.texi (Configuring and compiling): Adjust since
34959 the info files are not part of the tar ball anymore.
34961 2012-05-14 Andreas Jaeger <aj@suse.de>
34963 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34966 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34969 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34970 to 2.2.0 where earlier.
34971 * sysdeps/unix/sysv/linux/configure: Regenerated.
34972 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34973 Remove conditional code.
34974 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34975 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34976 Remove conditional code.
34977 [!__NR_lchown]: Likewise.
34978 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34979 [__NR_lchown]: Likewise.
34980 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34981 comment referencing __ASSUME_LCHOWN_SYSCALL.
34982 * sysdeps/unix/sysv/linux/i386/sigaction.c
34983 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34984 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34985 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34986 Remove conditional code.
34987 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34988 (__protocol_available): Remove #if 0 code.
34989 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34991 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34992 * sysdeps/unix/sysv/linux/kernel-features.h
34993 (__ASSUME_GETCWD_SYSCALL): Don't define.
34994 (__ASSUME_REALTIME_SIGNALS): Likewise.
34995 (__ASSUME_PREAD_SYSCALL): Likewise.
34996 (__ASSUME_PWRITE_SYSCALL): Likewise.
34997 (__ASSUME_POLL_SYSCALL): Likewise.
34998 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34999 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35001 (__ASSUME_SIOCGIFNAME): Don't define.
35002 (__ASSUME_MSG_NOSIGNAL): Likewise.
35003 (__ASSUME_SENDFILE): Define unconditionally.
35004 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35005 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35007 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35008 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35009 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35010 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35011 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35012 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35013 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35015 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35018 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35024 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35027 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35030 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35038 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35039 Remove conditional code.
35040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35041 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35042 Remove conditional code.
35043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35044 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35045 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35046 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35047 Remove conditional code.
35048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35049 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35050 Remove conditional code.
35051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35052 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35053 Remove conditional code.
35054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35055 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35056 Remove conditional code.
35057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35058 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35059 Remove conditional code.
35060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35061 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35064 * sysdeps/unix/sysv/linux/sigaction.c
35065 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35066 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35067 * sysdeps/unix/sysv/linux/sigpending.c
35068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35070 * sysdeps/unix/sysv/linux/sigprocmask.c
35071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35073 * sysdeps/unix/sysv/linux/sigsuspend.c
35074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35076 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35077 (__libc_missing_rt_sigs): Remove.
35078 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35079 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35080 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35081 Remove conditional code.
35082 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35083 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35085 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35086 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35087 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35088 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35090 2012-05-14 Andreas Jaeger <aj@suse.de>
35092 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35093 it's not used in glibc.
35094 (__coshm1): Likewise.
35095 (__acosh1p): Likewise.
35098 * manual/string.texi (Copying and Concatenation): Add missing
35099 variable in concat example.
35100 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35106 __builtin_clzl with __builtin_clzll.
35108 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35111 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35114 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35116 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35117 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35118 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35119 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35121 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35123 * NEWS: Update ia64 info.
35125 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35127 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35130 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35132 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35133 * sysdeps/unix/syscalls.list (dup3): Likewise.
35134 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35135 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35137 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35139 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35140 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35142 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35144 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35146 (TLS_IE): Use mov/add instead of movq/addq to load thread
35148 (TLS_GD_PREFIX): New.
35151 2012-05-11 David S. Miller <davem@davemloft.net>
35153 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35154 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35155 (_FPU_SETCW): Likewise.
35157 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35159 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35160 is 32-byte aligned.
35162 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35165 * iconvdata/gb18030.c: Update tables.
35166 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35167 characters specially.
35168 (BODY for TO_LOOP): Add encoding of missing ranges.
35170 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35173 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35174 * sysdeps/mach/hurd/dup3.c: Likewise.
35175 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35176 * sysdeps/powerpc/memmove.c:: Likewise.
35178 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35181 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35183 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35185 * elf/elf.h (R_X86_64_RELATIVE64): New.
35186 (R_X86_64_NUM): Updated.
35187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35188 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35189 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35190 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35191 tst-quad1pie tst-quad2pie
35192 (modules-names): Add tst-quadmod1 tst-quadmod2.
35193 ($(objpfx)tst-quad1): New dependency.
35194 ($(objpfx)tst-quad2): Likewise.
35195 ($(objpfx)tst-quad1pie): Likewise.
35196 ($(objpfx)tst-quad2pie): Likewise.
35197 * sysdeps/x86_64/tst-quad1.c: New file.
35198 * sysdeps/x86_64/tst-quad1pie.c: New file.
35199 * sysdeps/x86_64/tst-quad2.c: Likewise.
35200 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35201 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35202 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35203 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35204 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35206 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35208 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35209 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35210 * streams/stropts.h (t_scalar_t): Define type.
35212 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35213 (_PATH_PRESERVE): Set to "/var/lib".
35214 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35216 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35219 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35220 if __dir_mkfile succeeded.
35222 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35223 checking for _hurd_dtablesize. Unlock it right after having
35224 finished _hurd_dtable allocation.
35226 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35228 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35229 * sysdeps/mach/hurd/configure: Regenerated.
35230 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35231 special-casing to...
35232 * sysdeps/gnu/configure.in: ... this new file.
35233 * sysdeps/unix/sysv/linux/configure: Regenerated.
35234 * sysdeps/gnu/configure: New generated file.
35236 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35237 for Linux: use nsec instead of usec, as well as:
35238 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35239 members of type struct timespec.
35240 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35242 (struct stat64): Likewise.
35243 (_STATBUF_ST_NSEC): New macro.
35244 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35246 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35247 __strtoul_internal rather than strtoul.
35249 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35251 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35254 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35256 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35257 which preserves existing values.
35258 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35260 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35262 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35263 TIMEOUT values. Return EINVAL for NFDS values either negative or
35264 greater than FD_SETSIZE.
35266 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35268 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35269 allocated, call __vm_protect to finish enabling the existing space, and
35270 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35271 allocate the remainder.
35273 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35275 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35276 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35278 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35280 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35281 sysdeps/mach/hurd/readlink.c.
35283 * posix/tst-sysconf.c (posix_options): Only use
35284 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35285 _POSIX_SYNCHRONIZED_IO when they are defined
35286 * sysdeps/mach/hurd/bits/posix_opt.h:
35287 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35288 (_XOPEN_REALTIME): Undefine macro.
35289 (_XOPEN_REALTIME_THREADS): Undefine macro.
35290 (_XOPEN_SHM): Undefine macro.
35291 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35293 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35295 (_POSIX_ASYNC_IO): Undefine macro.
35296 (_POSIX_PRIORITIZED_IO): Undefine macro.
35297 (_POSIX_SPIN_LOCKS): Define macro to -1.
35299 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35300 SA_NODEFER, SA_RESETHAND.
35301 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35302 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35305 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35307 * elf/Makefile (pldd-modules): Define unconditionally.
35309 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35311 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35313 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35315 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35316 Return ENOENT when name is empty.
35317 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35321 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35323 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35327 Fix mlock in all cases except non-readable pages.
35328 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35329 instead of VM_PROT_ALL as parameter to __vm_wire function.
35331 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35332 (__mkdir): When path is `/', just fail with EEXIST.
35333 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35335 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35337 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35338 <sys/uio.h> (for writev).
35339 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35340 and <sys/param.h> (for MIN).
35342 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35344 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35345 REQUESTED_TIME. Properly set the remaining time and return EINTR
35348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35350 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35351 Depend on against $(link-rpcuserlibs).
35353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35355 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35356 (__libc_stack_end): Do not use attribute_relro.
35357 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35358 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35359 to libthread-provided value.
35360 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35366 * bits/libc-lock.h (__libc_once_get): New macro.
35367 * sysdeps/mach/bits/libc-lock.h: Likewise.
35368 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35369 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35370 instead of using implementation details.
35372 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35373 * libio/freopen.c: Likewise.
35374 * libio/freopen64.c: Likewise.
35375 * misc/syslog.c: Likewise.
35376 * nscd/connections.c: Likewise.
35377 * nscd/netgroupcache.c: Likewise.
35378 * sysdeps/posix/getcwd.c: Likewise.
35380 2012-05-10 Roland McGrath <roland@hack.frob.com>
35382 * math/w_ilogbf.c: Add #include <limits.h>.
35384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35386 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35387 path instead of returning without unlocking.
35389 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35390 immediate-write ioctls.
35391 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35393 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35395 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35396 __builtin_frame_address instead of making assumptions about the
35397 location of the return address relative to DATA. Force early load of
35398 the return address.
35399 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35400 __builtin_frame_address.
35403 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35404 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35405 implement dup3 and do some further code clean-ups.
35406 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35407 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35411 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35413 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35414 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35415 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35416 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35417 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35420 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35421 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35422 when handler == SIG_ERR, not when handler != SIG_ERR.
35424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35426 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35427 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35430 accept4 for GNU Hurd.
35431 * include/sys/socket.h (__libc_accept4): New prototype.
35432 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35433 to implement __libc_accept4.
35434 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35436 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35438 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35439 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35440 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35441 signal-defines.sym.
35443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35445 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35447 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35449 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35450 assertion on O_CLOEXEC flag.
35451 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35452 * hurd/intern-fd.c: Likewise.
35453 * hurd/port2fd.c: Likewise.
35455 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35458 * bits/in.h (IPV6_PKTINFO): Define new macro.
35459 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35461 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35466 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35467 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35468 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35469 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35471 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35472 * math/libm-test.inc (logb_test) : Additional logb tests.
35474 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35475 Andreas Jaeger <aj@suse.de>
35477 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35478 * configure: Regenerated.
35479 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35480 * config.make.in (link-obsolete-rpc): New substituted variable.
35481 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35482 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35483 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35484 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35485 so that libc.a contains the symbols.
35486 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35487 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35488 * sunrpc/auth_none.c: Likewise.
35489 * sunrpc/auth_unix.c: Likewise.
35490 * sunrpc/authdes_prot.c: Likewise.
35491 * sunrpc/authuxprot.c: Likewise.
35492 * sunrpc/clnt_gen.c: Likewise.
35493 * sunrpc/clnt_perr.c: Likewise.
35494 * sunrpc/clnt_raw.c: Likewise.
35495 * sunrpc/clnt_simp.c: Likewise.
35496 * sunrpc/clnt_tcp.c: Likewise.
35497 * sunrpc/clnt_udp.c: Likewise.
35498 * sunrpc/clnt_unix.c: Likewise.
35499 * sunrpc/des_crypt.c: Likewise.
35500 * sunrpc/des_soft.c: Likewise.
35501 * sunrpc/get_myaddr.c: Likewise.
35502 * sunrpc/key_call.c: Likewise.
35503 * sunrpc/key_prot.c: Likewise.
35504 * sunrpc/netname.c: Likewise.
35505 * sunrpc/pm_getmaps.c: Likewise.
35506 * sunrpc/pm_getport.c: Likewise.
35507 * sunrpc/pmap_clnt.c: Likewise.
35508 * sunrpc/pmap_prot.c: Likewise.
35509 * sunrpc/pmap_prot2.c: Likewise.
35510 * sunrpc/pmap_rmt.c: Likewise.
35511 * sunrpc/publickey.c: Likewise.
35512 * sunrpc/rpc_cmsg.c: Likewise.
35513 * sunrpc/rpc_common.c: Likewise.
35514 * sunrpc/rpc_dtable.c: Likewise.
35515 * sunrpc/rpc_prot.c: Likewise.
35516 * sunrpc/rpc_thread.c: Likewise.
35517 * sunrpc/rtime.c: Likewise.
35518 * sunrpc/svc.c: Likewise.
35519 * sunrpc/svc_auth.c: Likewise.
35520 * sunrpc/svc_raw.c: Likewise.
35521 * sunrpc/svc_run.c: Likewise.
35522 * sunrpc/svc_tcp.c: Likewise.
35523 * sunrpc/svc_udp.c: Likewise.
35524 * sunrpc/svc_unix.c: Likewise.
35525 * sunrpc/svcauth_des.c: Likewise.
35526 * sunrpc/xcrypt.c: Likewise.
35527 * sunrpc/xdr.c: Likewise.
35528 * sunrpc/xdr_array.c: Likewise.
35529 * sunrpc/xdr_float.c: Likewise.
35530 * sunrpc/xdr_intXX_t.c: Likewise.
35531 * sunrpc/xdr_mem.c: Likewise.
35532 * sunrpc/xdr_rec.c: Likewise.
35533 * sunrpc/xdr_ref.c: Likewise.
35534 * sunrpc/xdr_sizeof.c: Likewise.
35535 * sunrpc/xdr_stdio.c: Likewise.
35537 2012-05-10 Roland McGrath <roland@hack.frob.com>
35539 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35540 change. Update copyright years.
35542 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35544 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35546 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35547 Joseph Myers <joseph@codesourcery.com>
35548 Paul Pluzhnikov <ppluzhnikov@google.com>
35551 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35553 [cross-compiling] (extra-libs): Likewise.
35554 [cross-compiling] (extra-libs-others): Likewise.
35555 [cross-compiling] (librpcsvc-routines): Likewise.
35556 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35557 [cross-compiling] (omit-deps): Likewise.
35558 (sunrpc-CPPFLAGS): New variable.
35559 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35560 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35561 (cross-rpcgen-objs): New variable.
35562 (extra-objs): Append $(cross-rpcgen-objs).
35563 ($(cross-rpcgen-objs)): New rule.
35564 ($(objpfx)cross-rpcgen): Likewise.
35565 (rpcgen-cmd): Define to use $(built-program-file). Expand
35567 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35568 ($(objpfx)x%.stmp): Likewise.
35569 * sunrpc/proto.h [IS_IN_build] (_): Define.
35570 [IS_IN_build] (_libc_intl_domainname): Likewise.
35572 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35574 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35575 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35576 and R_X86_64_TPOFF64.
35578 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35580 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35581 sysdeps/unix/sysv/syscalls.list.
35584 * sysdeps/unix/sysv/syscalls.list: Remove file.
35586 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35589 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35590 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35591 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35592 (__LC_IDENTIFICATION): Make these macros useful in #if
35593 expressions, as required by C99.
35595 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35597 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35598 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35601 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35603 * stdlib/longlong.h: Updated from GCC.
35605 2012-05-09 Andreas Jaeger <aj@suse.de>
35607 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35608 default is first entry.
35609 (run_mode): Set type.
35610 (main): Remove informal message about syslog.
35611 (options): Fix typo.
35614 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35617 (llrintf): Likewise.
35618 (llrint): Likewise.
35621 (nearbyint): Likewise.
35622 (nearbyintf): Likewise.
35624 2012-05-09 Andreas Jaeger <aj@suse.de>
35625 Pedro Alves <palves@redhat.com>
35627 * nscd/nscd.c (run_mode): Use enum.
35628 (main): Cleanup coding style issue.
35630 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35631 Andreas Jaeger <aj@suse.de>
35633 * nscd/nscd.c (go_background): Replaced with...
35634 (run_mode): ... this.
35635 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35636 (options): Add -F --foreground.
35637 (main): Implement it.
35638 (parse_opt): Parse it.
35640 2012-05-09 Andreas Jaeger <aj@suse.de>
35643 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35644 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35645 -Wconversion warning.
35646 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35649 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35651 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35653 (LC_ALL): Use macro-int-constant.
35654 (LC_COLLATE): Likewise.
35655 (LC_CTYPE): Likewise.
35656 (LC_MESSAGES): Likewise.
35657 (LC_MONETARY): Likewise.
35658 (LC_NUMERIC): Likewise.
35659 (LC_TIME): Likewise.
35660 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35661 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35663 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35665 [C99-based standards] (float_t): Expect type.
35666 [C99-based standards] (double_t): Expect type.
35667 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35669 [C99-based standards] (HUGE_VALL): Likewise.
35670 [C99-based standards] (INFINITY): Likewise.
35671 [C99-based standards] (NAN): Likewise.
35672 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35673 [C99-based standards] (FP_NAN): Likewise.
35674 [C99-based standards] (FP_NORMAL): Likewise.
35675 [C99-based standards] (FP_SUBNORMAL): Likewise.
35676 [C99-based standards] (FP_ZERO): Likewise.
35677 [C99-based standards] (FP_FAST_FMA): Use
35678 optional-macro-int-constant. Specify type. Require == 1.
35679 [C99-based standards] (FP_FAST_FMAF): Likewise.
35680 [C99-based standards] (FP_FAST_FMAL): Likewise.
35681 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35682 [C99-based standards] (FP_ILOGBNAN): Likewise.
35683 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35685 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35686 [C99-based standards] (math_errhandling): Specify type.
35687 [ISO99 || ISO11] (signgam): Do not allow.
35688 [non-C99-based standards] (copysignf): Do not allow.
35689 [non-C99-based standards] (exp2f): Likewise.
35690 [non-C99-based standards] (log2f): Likewise.
35691 [non-C99-based standards] (modff): Allow.
35692 [non-C99-based standards] (erff): Do not allow.
35693 [non-C99-based standards] (erfcf): Likewise.
35694 [non-C99-based standards] (gammaf): Likewise.
35695 [non-C99-based standards] (hypotf): Likewise.
35696 [non-C99-based standards] (j0f): Likewise.
35697 [non-C99-based standards] (j1f): Likewise.
35698 [non-C99-based standards] (jnf): Likewise.
35699 [non-C99-based standards] (lgammaf): Likewise.
35700 [non-C99-based standards] (tgammaf): Likewise.
35701 [non-C99-based standards] (y0f): Likewise.
35702 [non-C99-based standards] (y1f): Likewise.
35703 [non-C99-based standards] (ynf): Likewise.
35704 [non-C99-based standards] (isnanf): Likewise.
35705 [non-C99-based standards] (acoshf): Likewise.
35706 [non-C99-based standards] (asinhf): Likewise.
35707 [non-C99-based standards] (atanhf): Likewise.
35708 [non-C99-based standards] (cbrtf): Likewise.
35709 [non-C99-based standards] (expm1f): Likewise.
35710 [non-C99-based standards] (ilogbf): Likewise.
35711 [non-C99-based standards] (log1pf): Likewise.
35712 [non-C99-based standards] (logbf): Likewise.
35713 [non-C99-based standards] (nextafterf): Likewise.
35714 [non-C99-based standards] (remainderf): Likewise.
35715 [non-C99-based standards] (rintf): Likewise.
35716 [non-C99-based standards] (scalbf): Likewise.
35717 [non-C99-based standards] (copysignl): Likewise.
35718 [non-C99-based standards] (exp2l): Likewise.
35719 [non-C99-based standards] (log2l): Likewise.
35720 [non-C99-based standards] (modfl): Allow.
35721 [non-C99-based standards] (erfl): Do not allow.
35722 [non-C99-based standards] (erfcl): Likewise.
35723 [non-C99-based standards] (gammal): Likewise.
35724 [non-C99-based standards] (hypotl): Likewise.
35725 [non-C99-based standards] (j0l): Likewise.
35726 [non-C99-based standards] (j1l): Likewise.
35727 [non-C99-based standards] (jnl): Likewise.
35728 [non-C99-based standards] (lgammal): Likewise.
35729 [non-C99-based standards] (tgammal): Likewise.
35730 [non-C99-based standards] (y0l): Likewise.
35731 [non-C99-based standards] (y1l): Likewise.
35732 [non-C99-based standards] (ynl): Likewise.
35733 [non-C99-based standards] (isnanl): Likewise.
35734 [non-C99-based standards] (acoshl): Likewise.
35735 [non-C99-based standards] (asinhl): Likewise.
35736 [non-C99-based standards] (atanhl): Likewise.
35737 [non-C99-based standards] (cbrtl): Likewise.
35738 [non-C99-based standards] (expm1l): Likewise.
35739 [non-C99-based standards] (ilogbl): Likewise.
35740 [non-C99-based standards] (log1pl): Likewise.
35741 [non-C99-based standards] (logbl): Likewise.
35742 [non-C99-based standards] (nextafterl): Likewise.
35743 [non-C99-based standards] (remainderl): Likewise.
35744 [non-C99-based standards] (rintl): Likewise.
35745 [non-C99-based standards] (scalbl): Likewise.
35746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35747 [non-C99-based standards] (FP_*): Do not allow.
35748 [C99-based standards] (FP_*): Change to
35749 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35750 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35752 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35753 (SIG_ERR): Likewise.
35754 [X/Open-based standards] (SIG_HOLD): Likewise.
35755 (SIG_IGN): Likewise.
35756 (SIGABRT): Use macro-int-constant. Specify type. Require
35758 (SIGFPE): Likewise.
35759 (SIGILL): Likewise.
35760 (SIGINT): Likewise.
35761 (SIGSEGV): Likewise.
35762 (SIGTER): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35765 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35766 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35767 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35768 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35769 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35770 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35771 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35772 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35773 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35774 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35775 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35776 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35777 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35778 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35779 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35780 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35781 [X/Open-based standards] (SIGTRAP): Likewise.
35782 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35783 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35784 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35785 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35786 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35789 2012-05-08 Ian Wienand <ianw@vmware.com>
35792 * time/tzset.c (__tzset_parse_tz): Update default rules for
35793 daylight time changes in the Energy Policy Act of 2005.
35795 2012-05-09 Andreas Jaeger <aj@suse.de>
35798 * elf/ldconfig.c (parse_conf): Change string to make clear that
35799 ldconfig only issued a warning if ld.so.conf does not exist.
35801 2012-05-08 David S. Miller <davem@davemloft.net>
35803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35804 movxtod instead of popping the value on the stack.
35806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35808 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35810 * config.h.in: Add HAVE_ARM_PCS_VFP.
35812 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35815 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35816 checking but the checks are disabled for any reason.
35818 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35820 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35821 and ELF64_R_TYPE with ELFW(R_TYPE).
35823 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35825 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35826 (ulimit): Likewise.
35828 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35829 (settimeofday): Likewise.
35831 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35833 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35834 a struct th_u2 inside the union, and move tu_block/tu_code into
35835 a new th_u3 union of tu_block/tu_code inside of that. Move
35836 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35837 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35838 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35839 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35840 (th_stuff): Change to th_u1.tu_stuff.
35842 (th_msg): Change to th_u1.th_u2.tu_data.
35844 2012-05-07 David S. Miller <davem@davemloft.net>
35846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35849 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35850 (SETUP_PIC_REG): Use it.
35851 (SETUP_PIC_REG_LEAF): Use it.
35853 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35857 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35859 (EXPL_FINITE): Likewise.
35860 (FLDLOG): Likewise.
35861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35862 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35864 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35866 (EXPL_FINITE): Likewise.
35867 (FLDLOG): Likewise.
35868 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35869 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35871 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35872 test of -max_value argument for long double.
35873 * sysdeps/i386/fpu/libm-test-ulps: Update.
35874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35876 2012-05-06 David S. Miller <davem@davemloft.net>
35878 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35879 quad soft-float symbols whose references which are compiler
35881 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35883 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35887 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35889 (EXPL_FINITE): Likewise.
35890 (FLDLOG): Likewise.
35893 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35894 Adjust comments for base varying.
35895 (__expl_finite): Change alias to EXPL_FINITE.
35896 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35898 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35899 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35901 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35902 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35904 (EXPL_FINITE): Likewise.
35905 (FLDLOG): Likewise.
35908 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35909 Adjust comments for base varying.
35910 (__expl_finite): Change alias to EXPL_FINITE.
35911 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35916 * math/libm-test.inc (check_float_internal): Correct ulp
35917 calculation for subnormal expected results.
35919 2012-05-06 Andreas Jaeger <aj@suse.de>
35921 * Makeconfig (+math-flags): New, set to -frounding-math.
35922 (+cflags): Add +math-flags so that all of glibc gets compiled with
35925 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35927 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35929 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35935 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35936 (__ieee754_expl): Allow for and saturate large arguments.
35937 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35938 (u_threshold): Likewise.
35939 (__exp): Call __ieee754_exp before checking for overflow and
35941 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35942 (u_threshold): Likewise.
35943 (__expf): Call __ieee754_expf before checking for overflow and
35945 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35946 (u_threshold): Likewise.
35947 (__expl): Call __ieee754_expl before checking for overflow and
35949 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35950 (__ieee754_expl): Allow for and saturate large arguments.
35951 * math/libm-test.inc (exp_test): Add another test. Do not allow
35952 missing overflow exception on overflow.
35953 (expm1_test): Do not allow missing overflow exception on overflow.
35955 * sysdeps/i386/fpu/e_expl.c: Move to ...
35956 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35957 rather than using inline asm.
35958 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35959 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35960 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35962 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35965 (signal): Likewise.
35969 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35971 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35972 sysdeps/unix/common/syscalls.list.
35973 (fchmod): Likewise.
35974 (fchown): Likewise.
35975 (ftruncate): Likewise.
35976 (getrusage): Likewise.
35977 (gettimeofday): Likewise.
35978 (setpgid): Likewise.
35979 (setregid): Likewise.
35980 (setreuid): Likewise.
35981 (sigaction): Likewise.
35982 (truncate): Likewise.
35983 (vhangup): Likewise.
35984 * sysdeps/unix/common/syscalls.list: Remove file.
35985 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35986 * sysdeps/unix/sysv/linux/Implies: Likewise.
35988 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35990 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35992 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35996 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35999 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36002 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36005 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36008 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36011 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36014 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36018 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36022 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36025 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36029 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36033 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36035 * sysdeps/unix/common/bits/dirent.h: Remove file.
36036 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36038 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36039 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36040 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36041 * sysdeps/unix/bsd/isatty.c: Likewise.
36042 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36043 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36044 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36046 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36050 long double comparison inaccuracies.
36051 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36054 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36056 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36057 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36059 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36062 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36063 nonzero digits before rounding a hex value.
36064 * stdlib/tst-strtod.c (tests): Add another test.
36066 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36068 * sysdeps/s390/fpu/libm-test-ulps: Update.
36070 2012-05-03 Andreas Jaeger <aj@suse.de>
36072 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36073 does not get optimized out.
36074 (malloc_opt_barrier): New.
36076 2012-05-03 Andreas Jaeger <aj@suse.de>
36077 Roland McGrath <roland@hack.frob.com>
36079 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36080 intermediate file deletion.
36081 (generated): Add .symlist files.
36083 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36086 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36087 Redirect under this condition.
36088 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36089 [__USE_GNU] (__dprintf_chk): Not under this condition.
36090 [__USE_GNU] (__vdprintf_chk): Likewise.
36091 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36092 under this condition.
36093 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36094 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36095 [__USE_XOPEN2K8] (vdprintf): Likewise.
36096 [__USE_GNU] (__dprintf_chk): Not under this condition.
36097 [__USE_GNU] (__vdprintf_chk): Likewise.
36098 [__USE_GNU] (dprintf): Likewise.
36099 [__USE_GNU] (vdprintf): Likewise.
36101 2012-05-03 Roland McGrath <roland@hack.frob.com>
36103 * elf/Makefile (common-generated): Set this instead of generated for
36104 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36105 $(all-built-dso)-derived lists.
36107 2012-05-03 Andreas Jaeger <aj@suse.de>
36109 * sysdeps/i386/fpu/libm-test-ulps: Update.
36112 * FAQ.in: Likewise.
36113 * scripts/gen-FAQ.pl: Likewise.
36114 * manual/install.texi (Installation): Point to online location of
36116 * Makefile (files-for-dist): Remove FAQ.
36119 2012-05-02 Allan McRae <allan@archlinux.org>
36121 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36122 (LDFLAGS-reldepmod5.so): Likewise.
36123 (LDFLAGS-reldep6mod1.so): Likewise.
36124 (LDFLAGS-reldep6mod4.so): Likewise.
36125 (LDFLAGS-reldep8mod3.so): Likewise.
36126 (LDFLAGS-unload4mod1.so): Likewise.
36127 (LDFLAGS-unload4mod2.so): Likewise.
36128 (LDFLAGS-tst-initorder): Likewise.
36129 (LDFLAGS-tst-initordera2.so): Likewise.
36130 (LDFLAGS-tst-initordera3.so): Likewise.
36131 (LDFLAGS-tst-initordera4.so): Likewise.
36132 (LDFLAGS-tst-initorderb2.so): Likewise.
36133 (LDFLAGS-noload): Likewise.
36134 (LDFLAGS-next): Likewise.
36135 (LDFLAGS-order2mod1.so): Likewise.
36136 (LDFLAGS-order2mod2.so): Likewise.
36137 (LDFLAGS-tst-initorder2): Likewise.
36138 (LDFLAGS-tst-initorder2a.so): Likewise.
36139 (LDFLAGS-tst-initorder2b.so): Likewise.
36140 (LDFLAGS-tst-initorder2c.so): Likewise.
36141 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36143 2012-05-02 David S. Miller <davem@davemloft.net>
36145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36147 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36150 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36152 2012-05-02 Andreas Jaeger <aj@suse.de>
36154 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36155 since we manipulate rounding mode.
36156 (CPPFLAGS-test-idouble.c): Likewise.
36157 (CPPFLAGS-test-ifloat.c): Likewise.
36158 (CFLAGS-test-ldouble.c): Likewise.
36159 (CFLAGS-test-double.c): Likewise.
36160 (CFLAGS-test-float.c): Likewise.
36161 (CFLAGS-test-misc.c): Likewise.
36162 (CFLAGS-test-test-fenv.c): Likewise.
36164 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36169 comparisons to determine direction to adjust input.
36171 2012-05-01 Roland McGrath <roland@hack.frob.com>
36173 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36174 output to the target.
36176 * scripts/localplt.awk: New file.
36177 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36178 (check-localplt-CFLAGS): Variable removed.
36179 ($(all-built-dso:=.jmprel)): New static pattern rule.
36180 (generated): Add those targets.
36181 (localplt-built-dso): New variable.
36182 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36184 * elf/check-localplt.c: File removed.
36186 * scripts/check-execstack.awk: New file.
36187 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36188 (check-execstack-CFLAGS): Variable removed.
36189 ($(objpfx)check-execstack.h): Target removed.
36190 ($(objpfx)execstack-default): New target.
36191 (generated): Add that instead of check-execstack.h.
36192 ($(all-built-dso:=.phdr)): New static pattern rule.
36193 (generated): Add those targets.
36194 * elf/check-execstack.c: File removed.
36196 * scripts/check-textrel.awk: New file.
36197 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36198 (check-textrel-CFLAGS): Variable removed.
36199 (all-built-dso): Use := to define.o
36200 ($(all-built-dso:=.dyn)): New static pattern rule.
36201 (generated): Add those targets.
36202 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36203 * config.make.in (READELF): New substituted variable.
36204 * elf/check-textrel.c: File removed.
36206 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36208 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36210 * conform/data/ctype.h-data [C99-based standards] (isblank):
36212 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36213 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36214 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36215 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36216 Specify type. Require positive value.
36217 (EILSEQ): Likewise.
36218 (ERANGE): Likewise.
36219 [ISO || POSIX] (EILSEQ): Do not expect.
36220 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36221 Specify type. Require positive value.
36222 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36223 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36224 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36225 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36226 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36227 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36228 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36229 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36230 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36231 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36232 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36233 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36234 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36235 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36236 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36237 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36238 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36239 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36240 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36241 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36242 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36243 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36244 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36245 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36246 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36247 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36248 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36249 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36250 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36251 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36252 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36253 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36254 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36255 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36256 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36257 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36258 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36259 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36260 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36261 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36262 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36263 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36264 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36265 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36266 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36267 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36268 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36269 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36270 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36271 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36272 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36273 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36274 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36275 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36276 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36277 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36278 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36279 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36280 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36281 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36282 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36283 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36284 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36285 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36286 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36287 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36288 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36289 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36290 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36291 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36292 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36293 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36294 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36295 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36296 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36297 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36298 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36300 (FLT_ROUNDS): Expect as macro, not constant.
36301 (FLT_MANT_DIG): Use macro-int-constant.
36302 (DBL_MANT_DIG): Likewise.
36303 (LDBL_MANT_DIG): Likewise.
36304 (FLT_DIG): Likewise.
36305 (DBL_DIG): Likewise.
36306 (LDBL_DIG): Likewise.
36307 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36308 (DBL_MIN_EXP): Likewise.
36309 (LDBL_MIN_EXP): Likewise.
36310 (FLT_MAX_EXP): Use macro-int-constant.
36311 (DBL_MAX_EXP): Likewise.
36312 (LDBL_MAX_EXP): Likewise.
36313 (FLT_MAX_10_EXP): Likewise.
36314 (DBL_MAX_10_EXP): Likewise.
36315 (LDBL_MAX_10_EXP): Likewise.
36316 (FLT_MAX): Use macro-constant.
36317 (DBL_MAX): Likewise.
36318 (LDBL_MAX): Likewise.
36319 (FLT_EPSILON): Use macro-constant. Give upper bound.
36320 (DBL_EPSILON): Likewise.
36321 (LDBL_EPSILON): Likewise.
36322 (FLT_MIN): Likewise.
36323 (DBL_MIN): Likewise.
36324 (LDBL_MIN): Likewise.
36325 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36326 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36327 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36328 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36329 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36330 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36331 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36332 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36333 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36334 [ISO11] (FLT_TRUE_MIN): Likewise.
36335 [ISO11] (LDBL_TRUE_MIN): Likewise.
36336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36337 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36338 (SCHAR_MIN): Use macro-int-constant. Specify type.
36339 (SCHAR_MAX): Likewise.
36340 (UCHAR_MAX): Likewise.
36341 (CHAR_MIN): Likewise.
36342 (CHAR_MAX): Likewise.
36343 (MB_LEN_MAX): Use macro-int-constant.
36344 (SHRT_MIN): Use macro-int-constant. Specify type.
36345 (SHRT_MAX): Likewise.
36346 (USHRT_MAX): Likewise.
36347 (INT_MAX): Likewise.
36348 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36350 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36352 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36354 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36355 bound negative. Suffix upper bound with "L".
36356 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36358 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36360 [C99-based standards] (LLONG_MAX): Likewise.
36361 [C99-based standards] (ULLONG_MAX): Likewise.
36362 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36364 [ISO11] (max_align_t): Require type.
36365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36367 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36368 from $CFLAGS, without defining away __attribute__ calls.
36369 (checknamespace): Use $CFLAGS_namespace.
36371 * conform/conformtest.pl (@keywords): Only include C99 keywords
36372 for standards based on C99 or C11.
36374 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36376 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36379 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36380 usability of symbols in #if.
36382 * conform/conformtest.pl: If macro or constant types start
36383 "promoted:", expect the symbol to be of the following type
36384 promoted by the integer promotions.
36386 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36387 in one place. Also handle "macro-constant".
36389 * conform/conformtest.pl: Only accept expected macro values with
36390 "==". Parse all "macro" lines in one place.
36391 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36393 * conform/conformtest.pl: Handle braced types on "constant" lines
36394 instead of handling "typed-constant".
36395 * conform/data/signal.h-data: Use "constant" instead of
36398 * conform/conformtest.pl: Handle "optional-" at start of lines in
36399 one place rather than duplicating several cases. Handle each
36400 format of "macro" line with initial "optional-".
36402 * conform/conformtest.pl: Only accept expected constant or
36403 optional-constant values with "==". Parse all "constant" lines in
36404 one place. Parse all "optional-constant" lines in one place.
36405 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36406 * conform/data/fmtmsg.h-data: Likewise.
36407 * conform/data/netinet/in.h-data: Likewise.
36408 * conform/data/tar.h-data: Likewise.
36409 * conform/data/limits.h-data: Use "==" form on "constant" and
36410 "optional-constant" lines.
36412 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36413 Use -std=c99 for XOPEN2K.
36414 (@knownproblems): Remove.
36415 (newtoken): Don't check %isknown.
36417 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36418 Do not expect macro.
36419 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36420 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36421 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36422 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36423 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36424 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36425 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36426 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36427 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36428 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36429 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36430 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36431 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36432 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36433 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36434 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36435 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36436 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36437 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36438 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36439 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36440 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36441 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36442 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36443 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36444 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36445 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36446 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36447 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36448 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36449 [XPG3] (acosh): Likewise.
36450 [XPG3] (asinh): Likewise.
36451 [XPG3] (atanh): Likewise.
36452 [XPG3] (cbrt): Likewise.
36453 [XPG3] (expm1): Likewise.
36454 [XPG3] (ilogb): Likewise.
36455 [XPG3] (log1p): Likewise.
36456 [XPG3] (logb): Likewise.
36457 [XPG3] (nextafter): Likewise.
36458 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36459 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36460 [XPG3] (remainder): Likewise.
36461 [XPG3] (rint): Likewise.
36462 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36463 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36464 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36466 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36467 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36468 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36469 [UNIX98 || XOPEN2K] (scalb): Expect.
36470 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36471 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36472 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36473 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36475 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36476 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36477 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36478 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36479 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36480 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36481 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36482 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36483 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36484 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36485 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36486 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36487 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36488 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36489 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36490 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36491 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36492 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36493 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36494 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36495 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36496 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36497 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36498 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36499 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36500 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36501 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36502 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36503 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36504 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36505 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36506 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36507 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36508 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36509 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36510 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36511 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36512 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36513 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36514 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36515 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36516 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36517 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36518 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36519 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36520 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36522 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36523 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36524 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36525 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36526 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36527 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36528 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36529 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36531 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36532 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36533 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36534 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36535 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36536 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36537 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36538 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36539 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36540 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36541 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36542 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36543 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36544 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36545 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36546 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36547 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36548 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36549 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36550 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36551 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36552 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36553 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36554 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36555 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36556 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36557 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36558 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36559 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36560 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36561 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36562 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36563 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36564 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36565 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36566 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36567 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36568 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36569 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36570 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36571 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36572 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36573 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36574 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36575 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36576 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36577 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36578 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36579 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36580 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36581 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36582 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36583 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36584 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36585 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36586 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36587 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36588 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36589 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36590 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36591 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36592 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36593 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36594 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36595 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36596 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36597 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36598 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36599 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36600 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36601 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36602 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36603 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36604 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36605 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36606 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36608 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36609 _XOPEN_SOURCE_EXTENDED for XPG4.
36611 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36613 * Makeconfig (localtime): Remove variable.
36614 (inst_localtime-file): Likewise.
36616 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36637 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36641 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36642 comparisons to determine direction to adjust input.
36643 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36644 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36645 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36647 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36649 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36651 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36652 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36654 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36656 * math/libm-test.inc (nexttoward_test): Add more tests.
36658 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36661 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36662 in version GLIBC_2.1, not GLIBC_2.0.
36663 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36666 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36669 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36671 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36672 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36673 * math/libm-test.inc (acos_test): Add more tests.
36674 (asin_test): Likewise.
36675 * sysdeps/i386/fpu/libm-test-ulps: Update.
36676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36679 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36681 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36682 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36683 * math/libm-test.inc (acos_test_tonearest): New function.
36684 (acos_test_towardzero): Likewise.
36685 (acos_test_downward): Likewise.
36686 (acos_test_upward): Likewise.
36687 (asin_test_tonearest): Likewise.
36688 (asin_test_towardzero): Likewise.
36689 (asin_test_downward): Likewise.
36690 (asin_test_upward): Likewise.
36691 (main): Call the new functions.
36692 * sysdeps/i386/fpu/libm-test-ulps: Update.
36693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36697 * math/e_exp10.c: Include <float.h>.
36698 (__ieee754_exp10): Handle underflow here rather than multiplying
36699 large negative argument by M_LN10.
36700 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36702 * math/e_exp10l.c: Include <float.h>.
36703 (__ieee754_exp10l): Handle underflow here rather than multiplying
36704 large negative argument by M_LN10l.
36705 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36706 spurious overflow exception on underflow.
36708 2012-04-29 Marek Polacek <polacek@redhat.com>
36710 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36711 (__fortify_function): New macro.
36712 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36713 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36714 __extern_always_inline.
36715 * libio/bits/stdio2.h: Likewise.
36716 * libio/bits/stdio.h: Likewise.
36717 * string/string.h: Likewise.
36718 * string/bits/string3.h: Likewise.
36719 * include/stdio.h: Likewise.
36720 * stdlib/bits/stdlib.h: Likewise.
36721 * stdlib/stdlib.h: Likewise.
36722 * rt/bits/mqueue2.h: Likewise.
36723 * rt/mqueue.h: Likewise.
36724 * posix/bits/unistd.h: Likewise.
36725 * posix/unistd.h: Likewise.
36726 * io/bits/poll2.h: Likewise.
36727 * io/bits/fcntl2.h: Likewise.
36728 * io/fcntl.h: Likewise.
36729 * io/sys/poll.h: Likewise.
36730 * misc/bits/syslog.h: Likewise.
36731 * misc/bits/syslog-ldbl.h: Likewise.
36732 * misc/sys/syslog.h: Likewise.
36733 * socket/bits/socket2.h: Likewise.
36734 * socket/sys/socket.h: Likewise.
36735 * debug/tst-chk1.c: Likewise.
36736 * wcsmbs/bits/wchar2.h: Likewise.
36737 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36738 * wcsmbs/wchar.h: Likewise.
36740 2012-04-29 Andreas Jaeger <aj@suse.de>
36742 * Makerules (tests): Remove enable-check-abi protection.
36743 (check-abi-warn): Remove.
36744 (check-abi-%): Remove check-abi-warn usage.
36746 * configure.in: Remove check-abi configure option.
36747 * configure: Regenerated.
36748 * config.make.in (enable-check-abi): Remove.
36750 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36753 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36754 double functions to double *_finite functions.
36757 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36758 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36760 * stdio-common/Makefile (tests): Add tst-sprintf3.
36761 * stdio-common/tst-sprintf3.c: New file.
36763 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36764 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36766 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36768 * conform/conformtest.pl: Remove duplicate typed-constant
36771 2012-04-28 David S. Miller <davem@davemloft.net>
36773 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36774 (check-abi-%): Remove AWK script prerequisite and explicit
36776 (check-abi): Rewrite to just diff the symlist with the abilist.
36777 (config-tls, config-abi-config): Delete, no longer used.
36778 (update-abi-%): Remove AWK script and explicit abilist directory.
36779 (update-abi): Rewrite to simply compare and conditionally copy the
36780 symlist and the sysdep abilist file. Remove update-abi-config
36782 * abilist/ld.abilist: Remove.
36783 * abilist/libBrokenLocale.abilist: Remove.
36784 * abilist/libanl.abilist: Remove.
36785 * abilist/libcrypt.abilist: Remove.
36786 * abilist/libdl.abilist: Remove.
36787 * abilist/librt.abilist: Remove.
36788 * abilist/libthread_db.abilist: Remove.
36789 * abilist/libutil.abilist: Remove.
36790 * scripts/extract-abilist.awk: Remove.
36791 * scripts/merge-abilist.awk: Remove.
36792 * sysdeps/generic/libcidn.abilist: New file.
36793 * sysdeps/generic/libnss_compat.abilist: New file.
36794 * sysdeps/generic/libnss_db.abilist: New file.
36795 * sysdeps/generic/libnss_dns.abilist: New file.
36796 * sysdeps/generic/libnss_files.abilist: New file.
36797 * sysdeps/generic/libnss_hesiod.abilist: New file.
36798 * sysdeps/generic/libnss_nis.abilist: New file.
36799 * sysdeps/generic/libnss_nisplus.abilist: New file.
36800 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36801 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36802 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36804 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36805 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36806 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36807 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36808 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36809 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36810 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36811 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36812 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36814 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36815 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36816 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36817 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36819 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36820 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36821 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36822 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36823 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36824 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36826 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36827 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36828 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36830 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36933 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36934 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36935 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36937 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36938 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36939 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36940 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36941 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36942 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36943 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36944 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36945 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36946 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36998 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37000 * conform/conformtest.pl: Fix typo in handling typed-constant from
37003 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37005 * README: Cut down references to pre-2.6 Linux kernels and
37006 Linuxthreads. Update lists of configurations in libc and ports
37007 and sort alphabetically. Say "or newer" with Linux kernel version
37010 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37012 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37015 * math/libm-test.inc (logb_test_downward): New test to expose
37016 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37019 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37022 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37024 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37025 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37027 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37029 * sysdeps/unix/i386/brk.S: Remove file.
37030 * sysdeps/unix/i386/dl-brk.S: Likewise.
37031 * sysdeps/unix/i386/pipe.S: Likewise.
37032 * sysdeps/unix/i386/sigreturn.S: Likewise.
37033 * sysdeps/unix/i386/syscall.S: Likewise.
37034 * sysdeps/unix/i386/vfork.S: Likewise.
37035 * sysdeps/unix/i386/wait.S: Likewise.
37037 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37038 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37040 * configure.in (arm*-none*): Do not allow without
37041 --enable-hacker-mode.
37042 (netbsd*): Remove case setting base_os.
37043 (386bsd*): Likewise.
37044 (freebsd*): Likewise.
37047 (sunos*): Likewise.
37048 (ultrix*): Likewise.
37049 (newsos*): Likewise.
37050 (dynix*): Likewise.
37056 (minix*): Likewise.
37057 (irix4*): Likewise.
37058 (irix6*): Likewise.
37059 (solaris[2-9]*): Likewise.
37061 * configure: Regenerated.
37063 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37066 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37067 overflow or cancellation in calculating denominator.
37068 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37070 down expression to avoid unexpected rounding in newer GCCs.
37071 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37073 2012-04-26 David S. Miller <davem@davemloft.net>
37075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37076 long-double compat symbols.
37077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37091 2012-04-25 David S. Miller <davem@davemloft.net>
37093 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37094 HWCAP_* values only after the memory barriers have been defined.
37095 (atomic_full_barrier): Define.
37096 (atomic_read_barrier): Define.
37097 (atomic_write_barrier): Define.
37099 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37101 * shlib-versions: Add libgcc_s version information.
37102 * sysdeps/generic/libgcc_s.h: Remove.
37103 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37105 * sysdeps/gnu/unwind-resume.c: Likewise.
37106 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37108 2012-04-25 David S. Miller <davem@davemloft.net>
37110 * sysdeps/unix/sparc/brk.S: Delete.
37111 * sysdeps/unix/sparc/dl-brk.S: Delete.
37112 * sysdeps/unix/sparc/pipe.S: Delete.
37113 * sysdeps/unix/sparc/sysdep.S: Delete.
37114 * sysdeps/unix/sparc/sysdep.h: Delete.
37115 * sysdeps/unix/sparc/vfork.S: Delete.
37116 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37117 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37119 (ret_ERRVAL, r0, r1, MOVE): Define.
37120 (JUMPTARGET): Remove.
37121 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37122 sysdeps/unix/sparc/sysdep.h
37123 (ENTRY, END): Remove.
37124 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37126 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37128 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37129 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37132 * timezone/README: Update upstream location and email address for
37134 * timezone/zdump.c: Update from tzcode 2012b.
37135 * timezone/zic.c: Likewise.
37137 * configure.in (libc_cv_as_needed): Remove test.
37138 * configure: Regenerated.
37139 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37140 conditional definition.
37141 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37142 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37143 * config.make.in (have-as-needed): Remove variable.
37145 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37146 Paul Pluzhnikov <ppluzhnikov@google.com>
37148 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37151 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37153 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37154 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37155 * sysdeps/sh/strlen.S: Likewise.
37157 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37159 * sysdeps/unix/fork.S: Remove file.
37160 * sysdeps/unix/i386/fork.S: Likewise.
37161 * sysdeps/unix/sparc/fork.S: Likewise.
37163 * sysdeps/unix/system.c: Remove file.
37164 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37166 * sysdeps/unix/getegid.S: Remove file.
37167 * sysdeps/unix/geteuid.S: Likewise.
37169 2012-04-24 Roland McGrath <roland@hack.frob.com>
37171 * scripts/check-localplt.awk: New file.
37172 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37174 * scripts/data/localplt-generic.data: Add a comment.
37176 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37177 NODE when __dir_mkfile failed.
37178 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37179 Reported by Ludovic Courtès <ludo@gnu.org>.
37181 2012-04-24 Andreas Jaeger <aj@suse.de>
37183 * Makerules (common-clean): Also remove gen-as-const-headers
37186 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37188 * Makerules (native-compile): Do not change working directory for
37189 build. Use $(OUTPUT_OPTION) in command.
37190 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37192 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37195 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37196 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37197 * math/libm-test.inc (floor_test): Add more tests.
37198 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37200 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37202 * sysdeps/unix/getdents.c: Remove file.
37203 * sysdeps/unix/sysv/getdents.c: Likewise.
37204 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37206 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37207 sysdeps/unix/mman/syscalls.list.
37209 (mprotect): Likewise.
37211 (munmap): Likewise.
37212 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37213 * sysdeps/unix/mman/syscalls.list: Remove.
37214 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37216 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37217 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37218 * configure: Regenerated.
37219 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37220 $(libgcc_s_suffix).
37221 * config.make.in (libgcc_s_suffix): Remove variable.
37223 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37225 * sysdeps/unix/sysv/gethostname.c: Move to ...
37226 * sysdeps/posix/gethostname.c: ... here.
37228 * sysdeps/unix/execve.S: Remove file.
37230 * sysdeps/unix/_exit.S: Remove file.
37232 2012-04-23 Andreas Jaeger <aj@suse.de>
37235 * manual/Makefile: Remove make dist support, there's no
37236 need for a stand-alone documentation tar ball.
37237 (TEXI2DVI): Define always, it's not in Makeconfig.
37240 (edition): Removed.
37241 (glibc-doc-$(edition).tar): Removed
37245 (ETAGS): Remove, it's in Makeconfig.
37246 (move-if-change): Remove, it's in Makeconfig.
37248 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37251 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37252 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37253 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37254 (strtod_l, strtof_l, strtold_l): Remove __wur.
37255 It is not necessarily an error to ignore strtol's return value.
37256 One can reliably look at the stored endptr to decide whether
37257 the number had valid syntax.
37259 2012-04-21 Andreas Jaeger <aj@suse.de>
37262 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37264 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37266 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37267 * sysdeps/unix/sysv/Versions: Remove file.
37269 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37274 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37278 version from __vm86.
37280 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37282 * sysdeps/unix/common/lxstat.c: Remove file.
37283 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37285 * sysdeps/unix/sysv/Makefile: Remove file.
37287 * sysdeps/unix/sysv/direct.h: Remove file.
37289 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37290 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37291 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37292 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37293 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37294 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37295 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37297 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37299 * sysdeps/unix/xmknod.c: Remove file.
37300 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37302 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37304 * sysdeps/unix/sysv/i386/time.S: Remove file.
37306 * sysdeps/unix/fxstat.c: Remove file.
37307 * sysdeps/unix/xstat.c: Likewise.
37308 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37310 * sysdeps/unix/sysv/sigaction.c: Remove file.
37312 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37313 (sysdep_headers): Remove variable.
37314 [termio.h not in sysdep_headers] (generated): Likewise.
37315 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37316 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37317 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37318 * sysdeps/unix/sysv/tcflow.c: Likewise.
37319 * sysdeps/unix/sysv/tcflush.c: Likewise.
37320 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37321 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37322 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37323 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37324 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37326 * sysdeps/unix/siglist.c: Remove file.
37328 * sysdeps/unix/getppid.S: Remove file.
37330 * sysdeps/unix/mkdir.c: Remove file.
37331 * sysdeps/unix/rmdir.c: Likewise.
37333 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37335 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37337 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37338 errlist-compat value.
37340 2012-04-18 David S. Miller <davem@davemloft.net>
37342 * sysdeps/generic/memcopy.h (reg_char): Delete.
37343 * debug/strcat_chk.c: Use char, not reg_char.
37344 * debug/strcpy_chk.c: Likewise.
37345 * debug/strncat_chk.c: Likewise.
37346 * debug/strncpy_chk.c: Likewise.
37347 * string/memchr.c: Likewise.
37348 * string/memrchr.c: Likewise.
37349 * string/rawmemchr.c: Likewise.
37350 * string/strcat.c: Likewise.
37351 * string/strchr.c: Likewise.
37352 * string/strchrnul.c: Likewise.
37353 * string/strcmp.c: Likewise.
37354 * string/strcpy.c: Likewise.
37355 * string/strncat.c: Likewise.
37356 * string/strncmp.c: Likewise.
37357 * string/strncpy.c: Likewise.
37359 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37361 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37362 __builtin_memcopy is called when src and dest ranges are known to not
37365 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37367 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37368 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37369 fwd_align_merge macro call.
37370 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37371 bwd_align_merge macro call.
37372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37374 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37376 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37377 bwd_align_merge macros.
37378 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37379 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37380 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37382 2012-04-18 David S. Miller <davem@davemloft.net>
37384 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37386 2012-04-18 Andreas Jaeger <aj@suse.de>
37389 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37390 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37391 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37393 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37394 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37395 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37397 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37398 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37399 Adjust for changed ldbl-128 files.
37401 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37402 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37403 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37405 2012-04-17 David S. Miller <davem@davemloft.net>
37407 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37409 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37411 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37412 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37413 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37414 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37415 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37416 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37418 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37421 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37422 * math/libm-test.inc: Add ilogb errno and exception tests.
37423 * math/w_ilogb.c: New file: ilogb wrapper.
37424 * math/w_ilogbf.c: New file: ilogbf wrapper.
37425 * math/w_ilogbl.c: New file: ilogbl wrapper.
37426 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37427 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37428 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37429 exception being thrown with 0.0 as argument.
37430 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37431 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37432 exception being thrown with 0.0 as argument.
37433 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37434 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37435 exception being thrown with 0.0 as argument.
37436 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37437 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37438 exception being thrown with 0.0 as argument.
37439 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37440 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37441 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37442 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37443 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37444 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37445 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37446 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37447 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37449 2012-04-17 Petr Baudis <pasky@ucw.cz>
37451 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37454 2012-04-16 Marek Polacek <polacek@redhat.com>
37456 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37458 2012-04-16 Marek Polacek <polacek@redhat.com>
37460 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37461 operands of fdivp instruction.
37463 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37465 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37466 * elf/tst-auditmod3b.c: Likewise.
37467 * elf/tst-auditmod4b.c: Likewise.
37468 * elf/tst-auditmod5b.c: Likewise.
37469 * elf/tst-auditmod6b.c: Likewise.
37470 * elf/tst-auditmod6c.c: Likewise.
37471 * elf/tst-auditmod7b.c: Likewise.
37472 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37473 * sysdeps/x86_64/preconfigure.in: Likewise.
37474 * sysdeps/x86_64/preconfigure: Regenerated.
37476 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37478 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37481 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37483 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37484 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37486 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37489 * locale/iso-639.def: Fix gl language name. Spotted by
37492 2012-04-12 Roland McGrath <roland@hack.frob.com>
37495 * libio/libio.h (__io_write_fn): Update comment.
37497 2012-04-12 Petr Baudis <pasky@ucw.cz>
37500 * stdio.texi (Hook Functions): The user provided writer function
37501 is not allowed to return -1.
37503 2012-04-11 David S. Miller <davem@davemloft.net>
37505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37507 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37509 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37510 Add a leading slash to rtkaio.
37512 2012-04-11 Jim Meyering <meyering@redhat.com>
37515 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37516 It is not necessarily an error to ignore fwrite's return
37517 value. One can reliably use ferror to test for errors after
37520 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37522 * bits/types.h (__snseconds_t): New type.
37523 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37525 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37527 (__SNSECONDS_T_TYPE): Likewise.
37528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37529 (__SNSECONDS_T_TYPE): Likewise.
37530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37531 (__SNSECONDS_T_TYPE): Likewise.
37533 2012-04-10 Andreas Jaeger <aj@suse.de>
37536 * manual/time.texi (Processor Time): Return type of times is
37537 elapsed real time since an arbitrary point in the past.
37538 (CPU Time): Move CLK_TCK from here...
37539 (Processor Time): ...to here. Correct description.
37540 * manual/conf.texi (Constants for Sysconf): Correct description of
37543 2012-04-10 David S. Miller <davem@davemloft.net>
37546 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37547 where the is a gap between DT_REL(A) and DT_JMPREL.
37549 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37551 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37552 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37553 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37555 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37557 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37558 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37559 (dl_main): Handle --inhibit-cache.
37560 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37562 * elf/dl-load.c (_dl_map_object): Use it.
37563 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37565 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37568 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37569 (__ieee754_powl): Saturate large exponents rather than testing for
37570 overflow of y*log2(x).
37571 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37572 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37576 * math/s_ctan.c: Include <float.h>.
37577 (__ctan): Avoid internal overflow or cancellation in calculating
37579 * math/s_ctanf.c: Likewise.
37580 * math/s_ctanl.c: Likewise.
37581 * math/s_ctanh.c: Likewise.
37582 * math/s_ctanhf.c: Likewise.
37583 * math/s_ctanhl.c: Likewise.
37584 * math/libm-test.inc (ctan_test): Add more tests.
37585 (ctanh_test): Likewise.
37586 * sysdeps/i386/fpu/libm-test-ulps: Update.
37587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37589 2012-04-09 Andreas Jaeger <aj@suse.de>
37592 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37593 is an optional BSD extension.
37596 * manual/stdio.texi (Opening Streams): Document additional fopen
37599 2012-04-09 Roland McGrath <roland@hack.frob.com>
37601 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37602 %eax without telling the compiler.
37604 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37607 * manual/install.texi: Use sourceware.org.
37609 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37612 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37613 (__ieee754_pow): Generate overflow and underflow using huge*huge
37614 and tiny*tiny rather than just returning constant infinity or zero
37615 for large exponents.
37616 * math/libm-test.inc (pow_test): Require overflow exceptions for
37617 applicable cases of large exponents.
37620 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37621 (__ieee754_pow): Use iterative multiplication algorithm only for
37622 integer exponents with absolute value below 1024. Check for odd
37623 integer exponents when using algorithm for real exponents.
37624 * math/libm-test.inc (pow_test): Add more tests.
37625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37627 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37630 * math/libm-test.inc (exp_test): Do not allow overflow exception
37633 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37636 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37637 instead of __kernel_standard_f.
37639 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37641 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37642 * sysdeps/x86_64/memset_chk.S: Likewise.
37644 2012-04-08 Andreas Jaeger <aj@suse.de>
37647 * manual/startup.texi (Environment Access): Describe return value
37648 for putenv and setenv.
37651 * manual/filesys.texi (Directory Entries): Add description for
37655 * manual/filesys.texi (Directory Entries): Clarify that it's file
37656 system not operating system in the description of DT_UNKNOWN.
37659 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37661 2012-04-08 Stephen Compall <s11@member.fsf.org>
37664 * manual/llio.texi (Opening and Closing Files): Add cross
37665 reference to explain mode argument.
37667 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37669 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37670 * sysdeps/x86_64/memset_chk.S: Likewise.
37672 2012-04-07 David S. Miller <davem@davemloft.net>
37674 * elf/elf.h (R_SPARC_WDISP10): Define.
37675 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37677 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37678 R_SPARC_SIZE64 and R_SPARC_H34.
37680 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37682 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37683 conditions and remove no longer applicable assertion.
37685 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37687 * bits/byteswap.h: Include <features.h>.
37688 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37689 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37691 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37693 * bits/byteswap.h (__bswap_16): Removed.
37694 Include <bits/byteswap-16.h> to get __bswap_16.
37695 * sysdeps/i386/bits/byteswap.h: Likewise.
37696 * sysdeps/s390/bits/byteswap.h: Likewise.
37697 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37698 * bits/byteswap-16.h: New file.
37699 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37700 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37701 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37702 * string/Makefile (headers): Add bits/byteswap-16.h.
37704 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37707 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37709 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37710 * nss/tst-nss-static.c: New.
37712 2012-04-06 Robert Millan <rmh@gnu.org>
37715 * manual/llio.texi (File Position Primitive): lseek
37716 refers to WHENCE when it really means OFFSET.
37718 2012-04-06 Andreas Jaeger <aj@suse.de>
37720 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37721 strncmp declarations.
37723 * abilist/libc.abilist: Add __poll and __ppoll.
37725 2012-04-05 David S. Miller <davem@davemloft.net>
37727 * scripts/check-local-headers.sh: Accept a host triplet in the
37728 path matched by the exclude regexp.
37730 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37732 * sysdeps/powerpc/powerpc32/dl-machine.h
37733 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37734 * sysdeps/s390/s390-32/dl-machine.h
37735 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37736 * sysdeps/sparc/sparc32/dl-machine.h
37737 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37738 * sysdeps/sparc/sparc64/dl-machine.h
37739 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37741 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37743 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37744 undefined symbol errors.
37746 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37749 2012-04-05 Michael Matz <matz@suse.de>
37752 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37754 2012-04-05 Andreas Jaeger <aj@suse.de>
37757 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37760 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37762 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37763 which ROUND is no valid rounding mode.
37765 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37767 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37769 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37771 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37773 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37774 an exception using FPU order intentionally.
37776 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37778 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37779 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37780 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37781 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37783 2012-04-05 Simon Josefsson <simon@josefsson.org>
37786 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37787 EINVAL when BUFLEN is too smal.
37789 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37792 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37793 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37795 2012-04-03 Andreas Jaeger <aj@suse.de>
37798 * manual/setjmp.texi (System V contexts): Fix sentence.
37801 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37802 New macro for this case.
37803 [!__GNUC__] (__bswap_64): New inline function for this case.
37804 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37805 * bits/byteswap.h: Likewise.
37806 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37807 ull, guard with __GLIBC_HAVE_LONG_LONG.
37809 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37810 __GLIBC_HAVE_LONG_LONG.
37812 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37813 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37815 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37818 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37819 inptr and inend, rather than using last_ch.
37821 2012-04-02 David S. Miller <davem@davemloft.net>
37823 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37824 * stdio-common/printf-parse.h (read_int): Change return type to
37825 'int', return -1 on INT_MAX overflow.
37826 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37827 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37828 overflows INT_MAX. Check for overflow of in-format-string precision
37829 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37830 SIZE_MAX not INT_MAX for integer overflow test.
37831 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37832 skip the construct in the format string but do not record anything.
37833 * stdio-common/bug22.c: Adjust to test both width/prevision
37834 INT_MAX overflow as well as total length INT_MAX overflow. Check
37835 explicitly for proper errno values.
37837 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37839 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37841 * string/test-strcmp.c [! WIDE]: Likewise.
37842 * time/tst-mktime2.c: Likewise for INT_MAX.
37843 * string/test-string.h: #include <sys/param.h> for MIN.
37845 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37846 * sysdeps/i386/init-first.c (init): Likewise.
37847 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37848 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37849 * sysdeps/sh/init-first.c (init): Likewise.
37851 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37853 * po/ru.po: Update from translation team.
37854 * po/vi.po: Likewise.
37856 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37858 * resolv/nss_dns/dns-host.c: Merge copyright years.
37860 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37863 Optimize memcpy with prefetch if
37864 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37865 src, dst pointers have unequal 16 byte alignments.
37867 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37870 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37871 from a CNAME entry and return the minimum ttl for the query.
37872 (gaih_getanswer_slice): Likewise.
37874 2012-03-30 Jeff Law <law@redhat.com>
37876 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37878 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37879 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37881 * resolv/nss_dns/dns-host.c: Update copyright year.
37883 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37885 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37886 requests to save a system call. Fix check that all bytes are sent.
37888 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37889 comments for sendmmsg.
37891 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37894 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37895 with only 1 character between 0x0041 and 0x01b0.
37896 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37897 * wcsmbs/tst-mbsnrtowcs.c: New file.
37899 2012-03-29 David S. Miller <davem@davemloft.net>
37901 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37902 small copies by hand.
37904 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37907 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37908 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37911 2012-03-28 David S. Miller <davem@davemloft.net>
37913 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37914 that branches into memcpy.
37915 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37916 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37917 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37918 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37921 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37922 implementation too.
37923 * sysdeps/sparc/mempcpy.S: New file.
37925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37926 the IFUNC routine in the libc case.
37927 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37929 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37930 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37931 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37932 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37933 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37934 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37935 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37936 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37938 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37939 loop to 256 bytes instead of 64 bytes and fix test signedness.
37941 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37942 * sysdeps/sparc/sparc32/Makefile: rather than here...
37943 * sysdeps/sparc/sparc64/Makefile: and here.
37945 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37947 * malloc/mallocbug.c: Avoid warnings about unused variables.
37949 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37952 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37953 in the right place. Discard and retry query if response is
37954 larger than input buffer size.
37956 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37961 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37962 x for large integer exponent.
37963 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37964 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37965 sign of result as needed afterwards.
37966 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37967 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37968 result for underflowing pow the same as for overflow.
37969 (__kernel_standard_l): Handle powl overflow and underflow here
37970 rather than calling __kernel_standard.
37971 * math/libm-test.inc (pow_test): Add more tests.
37986 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37987 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37988 (__kernel_standard_l): New function.
37989 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37991 * math/w_acosl.c (__acosl): Likewise.
37992 * math/w_asinl.c (__asinl): Likewise.
37993 * math/w_atan2l.c (__atan2l): Likewise.
37994 * math/w_atanhl.c (__atanhl): Likewise.
37995 * math/w_coshl.c (__coshl): Likewise.
37996 * math/w_exp10l.c (__exp10l): Likewise.
37997 * math/w_exp2l.c (__exp2l): Likewise.
37998 * math/w_fmodl.c (__fmodl): Likewise.
37999 * math/w_hypotl.c (__hypotl): Likewise.
38000 * math/w_j0l.c (__j0l, __y0l): Likewise.
38001 * math/w_j1l.c (__j1l, __y1l): Likewise.
38002 * math/w_jnl.c (__jnl, __ynl): Likewise.
38003 * math/w_lgammal.c (__lgammal): Likewise.
38004 * math/w_log10l.c (__log10l): Likewise.
38005 * math/w_log2l.c (__log2l): Likewise.
38006 * math/w_logl.c (__logl): Likewise.
38007 * math/w_powl.c (__powl): Likewise.
38008 * math/w_remainderl.c (__remainderl): Likewise.
38009 * math/w_scalbl.c (sysv_scalbl): Likewise.
38010 * math/w_sinhl.c (__sinhl): Likewise.
38011 * math/w_sqrtl.c (__sqrtl): Likewise.
38012 * math/w_tgammal.c (__tgammal): Likewise.
38013 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38014 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38015 * math/libm-test.inc (acos_test): Add more tests.
38016 (acosh_test): Likewise.
38017 (asin_test): Likewise.
38018 (atanh_test): Likewise.
38019 (exp_test): Likewise.
38020 (exp10_test): Likewise.
38021 (exp2_test): Likewise.
38022 (expm1_test): Likewise.
38023 (lgamma_test): Likewise.
38024 (log_test): Likewise.
38025 (log10_test): Likewise.
38026 (log1p_test): Likewise.
38027 (log2_test): Likewise.
38028 (pow_test): Do not allow some spurious overflow exceptions.
38029 (sqrt_test): Add more tests.
38030 (tgamma_test): Likewise.
38031 (y0_test): Likewise.
38032 (y1_test): Likewise.
38033 (yn_test): Likewise.
38035 2012-03-27 Anton Blanchard <anton@samba.org>
38037 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38039 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38040 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38041 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38043 2012-03-27 David S. Miller <davem@davemloft.net>
38045 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38047 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38048 have-as-vis3 check.
38050 2012-03-27 Andreas Jaeger <aj@suse.de>
38052 * sysdeps/x86_64/elf/configure.in: Moved to ...
38053 * sysdeps/x86_64/configure.in: ... here.
38054 * sysdeps/x86_64/elf/start.S: Moved to ...
38055 * sysdeps/x86_64/start.S: ... here.
38056 * sysdeps/x86_64/elf/configure: Delete.
38058 * sysdeps/x86_64/configure.in: Merge contents from
38059 sysdeps/i386/configure.in (without i686 check).
38061 * sysdeps/i386/elf/Versions: Merge into ...
38062 * sysdeps/i386/Versions: ... this.
38063 * sysdeps/i386/elf/Versions: Delete file.
38064 * sysdeps/i386/elf/start.S: Moved to ...
38065 * sysdeps/i386/start.S: ...here.
38066 * sysdeps/i386/elf/configure.in: Merge into...
38067 * sysdeps/i386/configure.in: ...here.
38068 * sysdeps/i386/elf/configure.in: Delete file.
38069 * sysdeps/i386/elf/configure: Delete file.
38071 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38072 * debug/backtracesyms.c: ... here.
38073 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38074 * debug/backtracesymsfd.c: ... here.
38075 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38076 * sysdeps/generic/ifunc-sel.h: ... here.
38078 * sysdeps/unix/i386/start.c: Delete file.
38079 * sysdeps/unix/sparc/start.c: Delete file.
38080 * sysdeps/unix/start.c: Delete file.
38082 * sysdeps/sh/elf/configure.in: Moved to ...
38083 * sysdeps/sh/configure.in: ... here.
38084 * sysdeps/sh/elf/start.S: Moved to ...
38085 * sysdeps/sh/start.S: ... here.
38086 * sysdeps/sh/elf/configure: Delete file.
38088 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38089 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38090 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38091 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38092 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38093 * sysdeps/powerpc/powerpc64/start.S: here.
38094 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38095 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38096 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38097 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38098 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38100 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38101 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38102 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38103 * sysdeps/powerpc/powerpc32/start.S: ... here.
38104 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38105 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38106 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38108 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38109 * sysdeps/powerpc/ifunc-sel.h: ... here.
38110 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38111 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38113 * sysdeps/sparc/elf/configure.in: Moved to ...
38114 * sysdeps/sparc/configure.in: ... here.
38115 * sysdeps/sparc/elf/configure: Delete file.
38116 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38117 * sysdeps/sparc/sparc32/start.S: ... here.
38118 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38119 * sysdeps/sparc/sparc64/start.S: ... here.
38120 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38121 * sysdeps/sparc/sparc32/Makefile: ... this.
38122 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38123 * sysdeps/sparc/sparc64/Makefile: ... this.
38125 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38126 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38127 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38128 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38129 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38130 * sysdeps/s390/s390-32/setjmp.S: ... here.
38131 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38132 * sysdeps/s390/s390-32/configure.in: ... here.
38133 * sysdeps/s390/s390-32/elf/configure: Delete file.
38134 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38135 * sysdeps/s390/s390-32/start.S: ... here.
38137 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38138 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38139 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38140 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38141 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38142 * sysdeps/s390/s390-64/setjmp.S: ... here.
38143 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38144 * sysdeps/s390/s390-64/configure.in: ... here
38145 * sysdeps/s390/s390-64/elf/configure: Delete file.
38146 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38147 * sysdeps/s390/s390-64/start.S: ... here.
38148 * sysdeps/s390/s390-64/elf/configure: Delete.
38150 * configure.in: Remove support for elf directories in sysdeps.
38152 * configure: Regenerated.
38153 * sysdeps/i386/configure: Regenerated.
38154 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38155 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38156 * sysdeps/s390/s390-32/configure: Regenerated.
38157 * sysdeps/s390/s390-64/configure: Regenerated.
38158 * sysdeps/sh/configure: Regenerated.
38159 * sysdeps/sparc/configure: Regenerated.
38160 * sysdeps/x86_64/configure: Regenerated.
38162 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38167 denormal result into account.
38169 2012-03-25 Roland McGrath <roland@hack.frob.com>
38171 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38172 Reported by Allan McRae <allan@archlinux.org>.
38174 2012-03-23 Jeff Law <law@redhat.com>
38176 * nss/getnssent.c (__nss_getent): Fix typo.
38178 2012-03-23 David S. Miller <davem@davemloft.net>
38180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38182 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38184 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38185 to pad to uint64_t for each field.
38186 (dl_tls_index): Replace unsigned long with uint64_t.
38188 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38189 Paul Pluzhnikov <ppluzhnikov@google.com>
38192 * grp/Makefile (otherlibs): Don't set it.
38193 * inet/Makefile (otherlibs): Likewise.
38194 * login/Makefile (otherlibs): Likewise.
38195 * nscd/Makefile (otherlibs): Likewise.
38196 * posix/Makefile (otherlibs): Likewise.
38197 * pwd/Makefile (otherlibs): Likewise.
38198 * rt/Makefile (otherlibs): Likewise.
38199 * sunrpc/Makefile (otherlibs): Likewise.
38200 * nss/Makefile (otherlibs): Likewise.
38201 Add libnss_files to routines and static-only-routines.
38202 ($(objpfx)getent): Remove rule.
38203 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38204 static-only-routines.
38206 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38209 * math/s_cexp.c: Include <float.h>.
38210 (__cexp): Handle exp result overflowing not necessarily
38211 overflowing both real and imaginary parts of result.
38212 * math/s_cexpf.c: Likewise.
38213 * math/s_cexpl.c: Likewise.
38214 * math/libm-test.inc (cexp_test): Add more tests.
38215 * sysdeps/i386/fpu/libm-test-ulps: Update.
38216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38218 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38220 * include/link.h (ELFW): New macro.
38221 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38222 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38224 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38226 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38229 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38231 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38233 (struct La_x32_retval): Likewise.
38235 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38237 * sysdeps/x86_64/preconfigure.in: New file.
38238 * sysdeps/x86_64/preconfigure: New generated file.
38240 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38243 * math/e_exp2l.c: Include <float.h>.
38244 (__ieee754_exp2l): Handle overflow and underflow cases
38245 separately. Only pass fractional part of argument to
38247 * math/libm-test.inc (exp2_test): Add more tests.
38249 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38250 negating x to take absolute value.
38251 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38253 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38254 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38256 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38257 computing low part if x was negated.
38258 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38260 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38262 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38263 la_x32_gnu_pltexit.
38264 (pltexit): Cast int_retval to ptrdiff_t.
38265 * elf/tst-auditmod3b.c: Likewise.
38266 * elf/tst-auditmod4b.c: Likewise.
38267 * elf/tst-auditmod5b.c: Likewise.
38268 * elf/tst-auditmod6b.c: Likewise.
38269 * elf/tst-auditmod6c.c: Likewise.
38270 * elf/tst-auditmod7b.c: Likewise.
38272 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38273 and x32_gnu_pltexit.
38275 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38276 __ELF_NATIVE_CLASS.
38277 (La_x32_regs): New macro.
38278 (La_x32_retval): Likewise.
38279 (la_x32_gnu_pltenter): New function prototype.
38280 (la_x32_gnu_pltexit): Likewise.
38282 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38289 * configure.in (libc_cv_cc_nofma): Check for option to disable
38290 generation of FMA instructions.
38291 * configure: Regenerate.
38292 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38293 * sysdeps/ieee754/dbl-64/Makefile: New file.
38294 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38295 Remove brandred-fma4.
38296 (CFLAGS-brandred-fma4.c): Remove.
38297 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38298 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38300 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38303 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38305 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38306 LLONG_MAX != LONG_MAX.
38307 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38308 (_fitoa_word): Likewise.
38309 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38310 LLONG_MAX != LONG_MAX.
38311 * stdio-common/_itowa.h: Include <_itoa.h>.
38312 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38313 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38314 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38315 only if not defined.
38316 (_ITOA_WORD_TYPE): Likewise.
38317 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38318 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38320 2012-03-21 David S. Miller <davem@davemloft.net>
38322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38324 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38326 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38327 of x86_64 when setting libc_cv_slibdir, libdir and
38329 * sysdeps/unix/sysv/linux/configure: Regenerated.
38331 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38333 * manual/lang.texi (Old Varargs): Remove section.
38334 (How Variadic): Update menu.
38335 (va_start): Do not mention varargs.h.
38337 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38338 Joseph Myers <joseph@codesourcery.com>
38340 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38342 * configure: Regenerated.
38344 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38346 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38347 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38350 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38353 * Makefile (files-for-dist): Remove NOTES.
38354 (NOTES): Remove rule.
38355 * README: Don't refer to NOTES.
38356 * manual/creature.texi: Don't include macros.texi.
38357 * manual/intro.texi (creature.texi): Remove comment referring to
38360 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38361 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38362 * configure: Regenerated.
38363 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38364 LIBC_TRY_CC_OPTION.
38365 (libc_cv_as_i686): Likewise.
38366 (libc_cv_cc_avx): Likewise.
38367 (libc_cv_cc_sse2avx): Likewise.
38368 (libc_cv_cc_fma4): Likewise.
38369 (libc_cv_cc_novzeroupper): Likewise.
38370 * sysdeps/i386/configure: Regenerated.
38373 * sysdeps/i386/fpu/s_cexp.S: Remove.
38374 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38375 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38376 * math/libm-test.inc (cexp_test): Add more tests.
38377 * sysdeps/i386/fpu/libm-test-ulps: Update.
38378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38380 2012-03-21 Allan McRae <allan@archlinux.org>
38382 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38384 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38387 * math/w_exp2.c: Do not include <float.h>.
38388 (o_threshold, u_threshold): Remove.
38389 (__exp2): Calculate result before checking finiteness and calling
38391 * math/w_exp2f.c: Likewise.
38392 * math/w_exp2l.c: Likewise.
38393 * math/libm-test.inc (exp2_test): Require overflow exception for
38397 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38398 range of signed 64-bit integers before using fistpll. Remove
38399 checks for whether integers fit in mantissa bits.
38400 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38401 the range of signed 32-bit integers before using fistpl. Remove
38402 checks for whether integers fit in mantissa bits.
38403 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38404 (__ieee754_powl): Test for y outside the range of signed 64-bit
38405 integers before using fistpll. Reduce 64-bit values to 63-bit
38407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38408 divide-by-zero is raised for zero to large negative powers.
38409 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38410 (__ieee754_powl): Test for y outside the range of signed 64-bit
38411 integers before using fistpll. Reduce 64-bit values to 63-bit
38413 * math/libm-test.inc (pow_test): Add more tests.
38415 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38417 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38418 <stdio-common/_itoa.h>.
38419 * debug/segfault.c: Likewise.
38420 * elf/dl-cache.c: Likewise.
38421 * elf/dl-minimal.c: Likewise.
38422 * elf/dl-misc.c: Likewise.
38423 * elf/dl-sysdep.c: Likewise.
38424 * elf/dl-version.c: Likewise.
38425 * elf/rtld.c: Likewise.
38426 * hurd/hurdsock.c: Likewise.
38427 * hurd/lookup-retry.c: Likewise.
38428 * malloc/malloc.c: Likewise.
38429 * malloc/mtrace.c: Likewise.
38430 * nscd/nscd_getgr_r.c: Likewise.
38431 * nscd/nscd_getpw_r.c: Likewise.
38432 * nscd/nscd_getserv_r.c: Likewise.
38433 * posix/getopt_init.c: Likewise.
38434 * posix/wordexp.c: Likewise.
38435 * stdio-common/_itoa.c: Likewise.
38436 * stdio-common/printf_fphex.c: Likewise.
38437 * stdio-common/vfprintf.c: Likewise.
38438 * string/_strerror.c: Likewise.
38439 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38440 * sysdeps/i386/i686/hp-timing.h: Likewise.
38441 * sysdeps/mach/_strerror.c: Likewise.
38442 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38443 * sysdeps/mach/hurd/sethostid.c: Likewise.
38444 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38445 * sysdeps/mach/xpg-strerror.c: Likewise.
38446 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38447 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38448 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38449 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38450 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38451 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38452 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38453 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38454 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38455 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38456 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38457 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38458 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38459 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38460 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38461 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38462 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38463 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38464 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38465 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38466 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38468 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38470 * stdio-common/_itoa.h: Moved to ...
38471 * sysdeps/generic/_itoa.h: Here.
38473 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38475 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38476 instead of "_itoa.h" and "_itowa.h".
38477 * stdio-common/vfprintf.: Likewise.
38479 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38481 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38483 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38484 (__signbit): Likwise.
38485 (llrintf): Likwise.
38488 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38490 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38493 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38495 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38496 OVERFLOW_EXCEPTION_OK.
38497 * math/libm-test.inc ("Philosophy"): Update comment about
38499 (OVERFLOW_EXCEPTION): Define.
38500 (OVERFLOW_EXCEPTION_OK): Likewise.
38501 (INVALID_EXCEPTION_OK): Renumber.
38502 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38503 (IGNORE_ZERO_INF_SIGN): Likewise.
38504 (test_exceptions): Handle FE_OVERFLOW.
38505 (exp10_test): Expect overflow exceptions.
38506 (exp2_test): Likewise.
38507 (expm1_test): Likewise.
38508 (nextafter_test): Likewise.
38509 (pow_test): Likewise.
38510 (scalbn_test): Likewise.
38511 (scalbln_test): Likewise.
38513 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38515 * sysdeps/x86_64/bits/atomic.h
38516 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38518 (atomic_exchange_acq): Likewise.
38519 (__arch_exchange_and_add_body): Likewise.
38520 (__arch_add_body): Likewise.
38521 (atomic_add_negative): Likewise.
38522 (atomic_add_zero): Likewise.
38524 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38526 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38527 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38529 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38531 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38532 Check __x86_64__ instead of __WORDSIZE.
38534 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38536 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38538 2012-03-19 David S. Miller <davem@davemloft.net>
38540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38542 * sysdeps/sparc/fpu/fenv_private.h: New file.
38543 * sysdeps/sparc/fpu/math_private.h: Use it.
38544 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38546 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38547 (libc_feholdexcept_setroundl): Remove.
38548 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38550 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38551 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38553 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38555 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38556 int64_t instead of long int.
38557 (INSERT_WORDS64): Likwise.
38559 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38561 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38562 _Unwind_GetCFA return to _Unwind_Ptr first.
38564 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38567 * math/s_clog.c: Include <float.h>.
38568 (__clog): Scale large or subnormal inputs.
38569 * math/s_clogf.c: Likewise.
38570 * math/s_clogl.c: Likewise.
38571 * math/s_clog10.c: Include <float.h>.
38572 (M_LOG10_2): Define.
38573 (__clog10): Scale large or subnormal inputs.
38574 * math/s_clog10f.c: Likewise.
38575 * math/s_clog10l.c: Likewise.
38576 * math/libm-test.inc (clog_test): Add more tests.
38577 (clog10_test): Likewise.
38578 * sysdeps/i386/fpu/libm-test-ulps: Update.
38579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38582 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38584 * math/libm-test.inc (atan2_test): Add another test.
38586 * Makerules (common-objdir-compile): Remove.
38587 * sysdeps/unix/Makefile (config-generated): Do not add
38588 $(unix-generated) to variable.
38589 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38590 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38592 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38594 [generic bits/local_lim.h] (before-compile): Do not append to
38596 [generic bits/local_lim.h] (common-generated): Likewise.
38597 [generic sys/param.h] (before-compile): Do not append to variable.
38598 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38599 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38600 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38601 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38603 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38604 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38605 [generic sys/param.h] ($(addprefix
38606 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38607 [generic sys/param.h] (common-generated): Do not append to
38609 [generic sys/param.h] (sysdep_headers): Likewise.
38610 [generic bits/errno.h] (before-compile): Do not append to
38612 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38614 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38615 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38616 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38617 [generic bits/errno.h] (common-generated): Do not append to
38619 [generic bits/ioctls.h] (before-compile): Do not append to
38621 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38623 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38624 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38625 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38627 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38628 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38629 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38630 [generic bits/ioctls.h] (common-generated): Do not append to
38632 [generic sys/syscall.h] (syscall.h): Remove variable.
38633 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38635 [generic sys/syscall.h] (before-compile): Do not append to
38637 [generic sys/syscall.h] (common-generated): Likewise.
38638 * sysdeps/unix/errnos-tmpl.c: Remove file.
38639 * sysdeps/unix/errnos.awk: Likewise.
38640 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38641 * sysdeps/unix/ioctls.awk: Likewise.
38642 * sysdeps/unix/mk-local_lim.c: Likewise.
38643 * sysdeps/unix/snarf-ioctls: Likewise.
38645 2012-03-19 Richard Henderson <rth@twiddle.net>
38647 * sysdeps/i386/fpu/fenv_private.h: New file.
38648 * sysdeps/i386/fpu/math_private.h: Use it.
38649 (math_opt_barrier, math_force_eval): Remove.
38650 (libc_feholdexcept_setround_53bit): Remove.
38651 (libc_feupdateenv_53bit): Remove.
38652 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38653 (math_opt_barrier, math_force_eval): Remove.
38654 (libc_feholdexcept): Remove.
38655 (libc_feholdexcept_setround): Remove.
38656 (libc_fetestexcept, libc_fesetenv): Remove.
38657 (libc_feupdateenv_test): Remove.
38658 (libc_feupdateenv, libc_feholdsetround): Remove.
38659 (libc_feresetround): Remove.
38661 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38662 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38664 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38665 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38666 (libc_feupdateenv_testl): New.
38667 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38668 (libc_feupdateenv_testf): New.
38669 (libc_feupdateenv): Use libc_feupdateenv_test.
38670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38671 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38673 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38674 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38675 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38676 (libc_feresetround_noex): New.
38677 (libc_feresetround_noexf): New.
38678 (libc_feresetround_noexl): New.
38679 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38680 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38681 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38682 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38687 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38688 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38689 SET_RESTORE_ROUND_NOEX.
38690 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38691 SET_RESTORE_ROUND_NOEXF.
38692 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38693 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38694 (libc_feholdsetroundf): New.
38695 (libc_feresetround, libc_feresetroundf): New.
38697 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38698 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38699 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38701 * sysdeps/generic/math_private.h: Include <fenv.h>.
38702 (default_libc_feholdexcept): New.
38703 (default_libc_feholdexcept_setround): New.
38704 (default_libc_fesetenv, default_libc_feupdateenv): New.
38705 (libc_feholdexcept): Only define if undefined.
38706 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38707 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38708 (libc_feholdexcept_setroundl): Likewise.
38709 (libc_feholdexcept_setround_53bit): Likewise.
38710 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38711 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38712 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38713 (libc_feupdateenv_53bit): Likewise.
38714 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38715 (libc_feholdexcept): Convert from macro to inline function.
38716 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38717 (libc_fesetenv, libc_feupdateenv): Likewise.
38719 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38720 not previously defined.
38721 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38722 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38723 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38724 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38725 * sysdeps/ieee754/flt-32/math_private.h: New file.
38726 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38727 math_private.h below SET_FLOAT_WORD.
38728 (__isnan, __isinf_ns, __finite): Remove.
38729 (__isnanf, __isinf_nsf, __finitef): Remove.
38731 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38735 2012-03-17 David S. Miller <davem@davemloft.net>
38738 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38741 2012-03-16 David S. Miller <davem@davemloft.net>
38743 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38747 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38749 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38750 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38751 sysdep_routines when subdir is sysvipc.
38752 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38753 __getshmlba helper.
38755 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38757 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38759 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38762 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38764 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38765 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38766 (__lround): Renamed to ...
38767 (__llround): This. Replace long int with long long int.
38768 Define lround functions as aliases of llround functions.
38769 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38771 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38773 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38774 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38775 adresses to uintptr_t. Replace "long int" and "unsigned long
38776 int" with "greg_t" on va_arg.
38778 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38780 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38781 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38783 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38784 Move e_machine check before EI_CLASS check. Handle x32
38785 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38786 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38787 SKIP_EM_IA_64 and include
38788 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38790 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38791 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38792 (add_system_dir): New macro.
38794 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38795 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38797 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38808 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38810 * math/w_j0f.c (j0f): Likewise.
38812 * math/w_j0l.c (__j0l): Likewise.
38814 * math/w_j1.c (j1): Likewise.
38816 * math/w_j1f.c (j1f): Likewise.
38818 * math/w_j1l.c (__j1l): Likewise.
38820 * math/w_jn.c (jn): Likewise.
38822 * math/w_jnf.c (jnf): Likewise.
38824 * math/w_jnl.c (__jnl): Likewise.
38826 * math/libm-test.inc (j0_test): Add more tests.
38827 (j1_test): Likewise.
38828 (jn_test): Likewise. Add trailing semicolon to existing test.
38829 (y0_test): Likewise.
38830 (y1_test): Likewise.
38831 * sysdeps/i386/fpu/libm-test-ulps: Update.
38832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38836 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38837 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38838 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38839 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38840 (__tanl): Set errno for infinite argument.
38841 * sysdeps/i386/fpu/mptan.c: Remove.
38842 * sysdeps/i386/fpu/s_tan.S: Likewise.
38843 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38844 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38845 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38846 * math/libm-test.inc (tan_test): Add more tests and enable more
38847 tests for double and long double.
38848 * sysdeps/i386/fpu/libm-test-ulps: Update.
38849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38851 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38853 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38854 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38856 2012-03-16 Roland McGrath <roland@hack.frob.com>
38858 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38859 * configure.in: Use it for both main tree and add-ons.
38860 * configure: Regenerated.
38862 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38864 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38866 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38868 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38872 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38873 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38878 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38879 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38880 != 0 for prec == 2.
38881 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38882 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38883 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38884 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38885 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38886 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38887 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38888 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38889 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38890 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38891 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38892 * math/libm-test.inc (cos_test): Add more tests and enable more
38893 tests for long double.
38894 (sin_test): Likewise.
38895 (sincos_test): Likewise.
38896 * sysdeps/i386/fpu/libm-test-ulps: Update.
38897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38899 2012-03-16 David S. Miller <davem@davemloft.net>
38901 * sysdeps/sparc/fpu/math_private.h: New file.
38903 2012-03-15 David S. Miller <davem@davemloft.net>
38905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38915 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38919 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38920 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38922 * sysdeps/sparc/sparc-ifunc.h: New file.
38923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38949 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38950 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38968 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38970 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38974 2012-03-15 Andreas Jaeger <aj@suse.de>
38977 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38978 ieee754/flt-32 implementation for sin, cos and sincos.
38979 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38980 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38981 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38982 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38983 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38984 ieee754/flt-32 implementation for tan.
38986 * math/libm-test.inc (cos_test): Enable some large input tests for
38988 (sin_test): Likewise.
38989 (sincos_test): Likewise.
38990 (tan_test): Add tests for large input.
38992 * sysdeps/i386/fpu/libm-test-ulps: Update.
38994 2012-03-15 Andreas Jaeger <aj@suse.de>
38997 * math/libm-test.inc (cos_test): Add more test cases.
38998 (sin_test): Likewise.
38999 (sincos_test): Likewise.
39001 2012-03-15 Andreas Jaeger <aj@suse.de>
39004 * math/libm-test.inc (cos_test): Add a test case for large input
39006 (sin_test): Likewise.
39007 (sincos_test): Likewise.
39009 2012-03-15 Andreas Jaeger <aj@suse.de>
39010 Joseph Myers <joseph@codesourcery.com>
39013 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39014 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39015 * sysdeps/i386/fpu/branred.c: Likewise.
39016 * sysdeps/i386/fpu/dosincos.c: Likewise.
39017 * sysdeps/i386/fpu/mpa.c: Likewise.
39018 * sysdeps/i386/fpu/s_cos.S: Likewise.
39019 * sysdeps/i386/fpu/s_sin.S: Likewise.
39020 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39021 * sysdeps/i386/fpu/sincos32.c: Likewise.
39023 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39025 (libc_feupdateenv_53bit): Define.
39026 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39028 (libc_feupdateenv_53bit): Define.
39030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39031 53 bit (without extend i386 double precision).
39033 * math/libm-test.inc (sincos_test): Add tests for large input.
39037 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39039 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39043 2012-03-15 David S. Miller <davem@davemloft.net>
39045 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39046 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39047 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39048 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39073 fmin/fmax sysdep routines.
39074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39076 2012-03-14 David S. Miller <davem@davemloft.net>
39078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39080 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39083 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39084 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39100 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39104 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39106 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39150 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39155 * sysdeps/sparc/configure.in: New file.
39156 * sysdeps/sparc/configure: Generate.
39157 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39158 * configure: Regenerate.
39159 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39160 * config.make.in (have-as-vis3): New.
39161 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39162 available use -Av9d instead of -Av9a.
39163 * sysdeps/sparc/sparc64/Makefile: Likewise.
39164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39176 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39179 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39180 fzeros/fnegs to load 0x80000000 into a float register instead of
39182 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39184 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39186 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39188 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39189 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39190 ($(inst_includedir)/bits/syscall.h): Remove rule.
39191 ($(objpfx)bits/syscall.d): Include instead of
39192 $(objpfx)syscall-list.d.
39193 (generated): Change syscall-list.h and syscall-list.d to
39194 bits/syscall.h and bits/syscall.d.
39196 2012-03-14 Roland McGrath <roland@hack.frob.com>
39199 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39201 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39204 * math/s_csqrt.c: Include <float.h>.
39205 (__csqrt): Scale large or subnormal inputs.
39206 * math/s_csqrtf.c: Likewise.
39207 * math/s_csqrtl.c: Likewise.
39208 * math/libm-test.inc (csqrt_test): Add more tests.
39209 * sysdeps/i386/fpu/libm-test-ulps: Update.
39210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39213 * math/libm-test.inc (hypot_test): Add more tests.
39215 2012-03-13 David S. Miller <davem@davemloft.net>
39218 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39219 double-precision for the calculation instead of scaling.
39221 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39223 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39224 manipulate bits before adding and subtracting TWO52[sx].
39225 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39226 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39228 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39230 2012-03-13 David S. Miller <davem@davemloft.net>
39232 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39233 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39234 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39235 rtld-global-offsets.h
39236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39238 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39241 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39243 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39244 'err' in the ifdef scope in which it is actually used.
39246 * nss/nss_db/db-init.c: Include string.h
39248 2012-03-12 David S. Miller <davem@davemloft.net>
39250 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39251 masking out of the most significant byte of random value used.
39252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39253 Fix coding style in previous change.
39255 * sysdeps/unix/sysv/linux/kernel-features.h
39256 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39257 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39259 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39262 2012-03-11 David S. Miller <davem@davemloft.net>
39264 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39265 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39267 for 'resultvar' otherwise things get truncated on 64-bit.
39269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39270 Fix masking out of the most significant byte of random value used.
39272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39274 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39276 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39278 2012-03-09 David S. Miller <davem@davemloft.net>
39280 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39281 variables with appropriate CPP guards.
39282 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39283 from the frame pointer, not the stack pointer. Correct layout
39284 comments. Fix test on resulting framesize and the management of
39285 the outregs buffer for pltexit. Preserve floating point return
39286 values across _dl_call_pltexit call.
39287 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39288 framesize and the management of the outregs buffer for pltexit.
39289 Preserve floating point return values across _dl_call_pltexit
39291 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39292 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39293 (la_sparc64_gnu_pltexit): New functions.
39294 (print_exit): Fix format string for return register value.
39296 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39298 * sunrpc/Makefile (others): Add rpcgen.
39299 ($(objpfx)rpcgen): Remove special build rule and dependency on
39301 * sunrpc/rpcgen.c: New file.
39303 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39306 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39307 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39308 * sysdeps/i386/crti.S: Likewise.
39309 * sysdeps/i386/crtn.S: Likewise.
39310 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39311 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39312 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39313 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39314 * sysdeps/sh/crti.S: Likewise.
39315 * sysdeps/sh/crtn.S: Likewise.
39316 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39319 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39321 * locale/programs/locfile-kw.gperf: Likewise.
39322 * locale/programs/charmap-kw.h: Regenerated.
39323 * locale/programs/locfile-kw.h: Likewise.
39326 * intl/plural.y: Replace FSF snail mail address with URL.
39327 * intl/plural.c: Regenerated.
39329 2012-03-09 Richard Henderson <rth@twiddle.net>
39331 * include/math_private.h: Remove file.
39332 * math/math_private.h: Move file ...
39333 * sysdeps/generic/math_private.h: ... here.
39335 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39336 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39337 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39339 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39340 and <math_private.h>.
39341 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39342 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39343 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39344 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39345 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39346 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39347 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39349 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39350 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39352 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39353 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39355 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39356 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39357 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39358 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39359 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39360 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39362 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39363 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39365 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39366 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39368 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39370 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39371 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39373 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39374 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39375 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39376 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39377 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39378 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39379 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39380 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39381 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39382 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39383 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39384 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39385 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39386 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39387 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39388 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39389 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39390 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39391 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39392 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39393 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39394 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39396 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39397 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39399 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39400 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39401 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39402 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39404 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39405 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39406 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39407 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39410 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39411 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39412 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39413 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39415 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39429 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39430 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39431 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39432 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39433 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39434 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39435 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39436 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39438 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39439 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39440 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39441 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39442 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39443 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39444 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39445 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39446 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39447 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39448 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39449 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39451 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39452 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39453 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39454 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39455 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39456 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39457 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39458 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39459 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39460 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39461 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39462 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39463 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39464 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39465 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39466 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39467 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39468 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39469 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39470 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39471 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39472 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39473 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39474 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39475 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39476 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39477 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39478 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39479 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39480 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39481 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39482 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39483 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39484 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39485 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39486 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39487 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39488 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39489 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39490 * sysdeps/ieee754/k_standard.c: Likewise.
39491 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39495 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39497 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39498 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39501 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39502 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39503 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39504 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39505 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39508 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39509 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39510 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39511 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39512 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39513 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39514 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39515 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39516 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39517 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39518 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39519 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39520 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39521 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39522 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39523 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39524 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39525 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39526 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39527 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39528 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39529 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39530 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39531 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39532 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39533 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39534 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39536 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39537 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39539 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39540 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39541 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39542 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39543 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39544 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39547 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39548 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39549 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39552 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39553 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39554 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39557 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39558 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39560 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39561 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39563 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39564 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39565 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39567 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39568 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39570 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39571 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39572 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39576 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39578 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39580 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39581 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39582 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39583 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39584 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39585 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39586 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39587 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39588 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39589 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39590 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39591 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39592 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39593 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39594 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39595 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39597 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39603 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39604 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39605 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39607 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39608 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39609 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39610 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39612 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39613 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39614 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39615 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39616 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39617 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39618 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39619 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39620 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39621 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39622 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39623 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39624 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39627 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39628 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39629 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39630 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39631 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39632 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39633 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39634 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39635 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39636 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39637 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39638 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39639 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39640 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39641 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39642 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39643 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39644 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39645 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39646 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39647 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39648 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39649 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39650 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39651 * sysdeps/ieee754/s_lib_version.c: Likewise.
39652 * sysdeps/ieee754/s_matherr.c: Likewise.
39653 * sysdeps/ieee754/s_signgam.c: Likewise.
39654 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39655 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39656 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39657 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39658 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39659 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39660 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39661 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39662 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39663 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39664 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39665 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39666 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39667 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39668 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39669 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39670 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39671 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39672 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39673 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39676 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39678 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39679 * sunrpc/rpc_main.c: Likewise.
39680 * sunrpc/rpc_svcout.c: Likewise.
39682 2012-03-09 David S. Miller <davem@davemloft.net>
39684 * include/math_private.h: New file.
39686 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39688 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39689 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39690 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39691 from <bits/socket_type.h>.
39692 (enum __socket_type): Don't define here.
39693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39695 bits/socket_type.h.
39698 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39699 checking __USE_GNU.
39701 * Makerules ($(inst_includedir)/%.h): New rule.
39702 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39703 (install-others): Remove variable setting.
39704 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39706 2012-03-08 Richard Henderson <rth@twiddle.net>
39708 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39709 from macro to inline function; merge with the
39710 !__LIBC_INTERNAL_MATH_INLINES version.
39711 (__ieee754_sqrtf): Likewise.
39713 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39714 to inline function.
39715 (__rintf, __floor, __floorf): Likewise.
39717 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39718 macro to inline function.
39719 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39721 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39722 not <math/math_private.h>.
39724 2012-03-08 David S. Miller <davem@davemloft.net>
39726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39728 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39730 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39732 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39734 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39735 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39737 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39739 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39740 be defined individually, they must be defined as a block. Define
39741 S for printing a string instead of hidint the different by using a
39742 macro for adding the 'l'.
39743 * stdio-common/tst-fphex-wide.c: Adjust.
39745 2012-03-07 Marek Polacek <polacek@redhat.com>
39747 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39749 2012-03-08 Marek Polacek <polacek@redhat.com>
39752 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39753 * stdio-common/tst-fphex.c: Define a few macros to make the
39754 test reusable. Use them.
39755 * stdio-common/tst-fphex-wide.c: New file.
39757 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39760 * manual/macros.texi (gnusystems): New macro.
39761 (nongnusystems): Likewise.
39762 (gnulinuxhurdsystems): Likewise.
39763 (gnuhurdsystems): Likewise..
39764 (gnulinuxsystems): Likewise.
39765 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39766 variants of the GNU system, not "GNU system".
39767 * manual/conf.texi: Likewise.
39768 * manual/errno.texi: Likewise. Update example of errno macro
39770 * manual/filesys.texi: Likewise.
39771 (getumask): Document as specific to GNU/Hurd.
39772 * manual/install.texi: Likewise. Reword some references to
39774 * manual/intro.texi: Likewise.
39775 * manual/io.texi: Likewise.
39776 (File Name Portability): Detail which constraints are inapplicable
39777 to all GNU systems and which are only inapplicable to GNU/Hurd.
39778 * manual/job.texi: Likewise.
39779 * manual/llio.texi: Likewise.
39780 (O_NOCTTY): Document as present on GNU/Linux.
39781 * manual/maint.texi: Likewise.
39782 * manual/memory.texi: Likewise.
39783 * manual/pattern.texi: Likewise.
39784 * manual/pipe.texi: Likewise.
39785 * manual/process.texi: Likewise.
39786 * manual/resource.texi: Likewise.
39787 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39789 * manual/setjmp.texi: Likewise.
39790 * manual/signal.texi: Likewise.
39791 * manual/startup.texi: Likewise.
39792 * manual/stdio.texi: Likewise.
39793 * manual/terminal.texi: Likewise.
39794 (ONLCR): Document as POSIX.
39795 (OXTABS): Document availability on GNU/Linux as XTABS.
39796 (ONOEOT): Document availability separately from other bits.
39797 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39798 * manual/time.texi: Likewise.
39799 * manual/users.texi: Likewise.
39800 * INSTALL: Regenerated.
39801 * sysdeps/gnu/errlist.c: Regenerated.
39803 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39804 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39805 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39807 * configure: Regenerated.
39809 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39811 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39812 default includes instead of AC_HEADER_CHECK.
39813 * sysdeps/i386/configure: Regenerated.
39816 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39817 * math/s_cacoshf.c (__cacoshf): Likewise.
39818 * math/s_cacoshl.c (__cacoshl): Likewise.
39819 * math/s_casinh.c (__casinh): Set signs of result from argument.
39820 * math/s_casinhf.c (__casinhf): Likewise.
39821 * math/s_casinhl.c (__casinhl): Likewise.
39822 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39823 (casinh_test): Add more tests.
39824 * sysdeps/i386/fpu/libm-test-ulps: Update.
39825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39827 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39829 * po/zh_TW.po: Update from translation team.
39831 * login/Makefile (distribute): Remove variable.
39832 * catgets/Makefile: Likewise.
39833 * mach/Makefile: Likewise.
39834 * malloc/Makefile: Likewise.
39835 * misc/Makefile: Likewise.
39836 * iconv/Makefile: Likewise.
39837 * nscd/Makefile: Likewise.
39838 * hurd/Makefile: Likewise.
39839 * manual/Makefile: Likewise.
39840 * locale/Makefile: Likewise.
39841 * intl/Makefile: Likewise.
39842 * conform/Makefile: Likewise.
39843 * nss/Makefile: Likewise.
39844 * time/Makefile: Likewise.
39845 * soft-fp/Makefile: Likewise.
39846 * dirent/Makefile: Likewise.
39847 * gmon/Makefile: Likewise.
39848 * po/Makefile: Likewise.
39849 * rt/Makefile: Likewise.
39850 * socket/Makefile: Likewise.
39851 * math/Makefile: Likewise.
39852 * signal/Makefile: Likewise.
39853 * debug/Makefile: Likewise.
39854 * elf/Makefile: Likewise.
39855 * timezone/Makefile: Likewise.
39856 * stdlib/Makefile: Likewise.
39857 * iconvdata/Makefile: Likewise.
39858 * sunrpc/Makefile: Likewise.
39859 * io/Makefile: Likewise.
39860 * argp/Makefile: Likewise.
39861 * inet/Makefile: Likewise.
39862 * hesiod/Makefile: Likewise.
39863 * grp/Makefile: Likewise.
39864 * csu/Makefile: Likewise.
39865 * wctype/Makefile: Likewise.
39866 * crypt/Makefile: Likewise.
39867 * libio/Makefile: Likewise.
39868 * string/Makefile: Likewise.
39869 * nis/Makefile: Likewise.
39870 * resolv/Makefile: Likewise.
39871 * stdio-common/Makefile: Likewise.
39872 * wcsmbs/Makefile: Likewise.
39873 * dlfcn/Makefile: Likewise.
39874 * posix/Makefile: Likewise.
39877 * timezone/Makefile: Don't install timezone files, just the programs
39880 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39882 * nss/databases.def: Add missing gshadow entry.
39884 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39886 2012-03-06 Marek Polacek <polacek@redhat.com>
39889 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39890 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39891 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39892 * stdio-common/tst-long-dbl-fphex.c: New file.
39894 2012-03-06 David S. Miller <davem@davemloft.net>
39896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39897 (set_obp_int): New function.
39898 (get_obp_int): New function.
39899 (__get_clockfreq_via_dev_openprom): Likewise.
39900 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39901 Avoid unused variable warnings on 'val' and use builtin_expect.
39902 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39904 (INLINE_CLONE_SYSCALL): Likewise.
39906 2012-03-05 David S. Miller <davem@davemloft.net>
39908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39910 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39914 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39915 only for |x| >= 40.
39916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39918 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39921 Replace gettimeofday with __vdso_gettimeofday.
39923 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39924 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39925 __vdso_clock_gettime and __vdso_getcpu.
39927 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39928 time with __vdso_time.
39930 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39932 * manual/lang.texi (size_t): Note types to which size_t may be
39933 equivalent with the GNU C Library, but do not describe when
39934 differences between them are significant.
39936 2012-03-05 Andreas Jaeger <aj@suse.de>
39938 * sysdeps/i386/fpu/libm-test-ulps: Update.
39940 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39943 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39944 (__ieee754_pow): Save and restore rounding mode and use
39945 round-to-nearest for main computations.
39946 * math/libm-test.inc (pow_test_tonearest): New function.
39947 (pow_test_towardzero): Likewise.
39948 (pow_test_downward): Likewise.
39949 (pow_test_upward): Likewise.
39950 (main): Call the new functions.
39951 * sysdeps/i386/fpu/libm-test-ulps: Update.
39952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39955 * math/libm-test.inc (cosh_test_tonearest): New function.
39956 (cosh_test_towardzero): Likewise.
39957 (cosh_test_downward): Likewise.
39958 (cosh_test_upward): Likewise.
39959 (sinh_test_tonearest): Likewise.
39960 (sinh_test_towardzero): Likewise.
39961 (sinh_test_downward): Likewise.
39962 (sinh_test_upward): Likewise.
39963 (main): Call the new functions.
39964 * sysdeps/i386/fpu/libm-test-ulps: Update.
39965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39967 2012-03-05 Tom de Vries <tom@codesourcery.com>
39969 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39970 default stack guard is set in last bytes.
39971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39973 2012-03-05 Kees Cook <keescook@chromium.org>
39975 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39978 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39979 possibly allocate from heap instead of stack.
39980 * stdio-common/bug-vfprintf-nargs.c: New file.
39981 * stdio-common/Makefile (tests): Add nargs overflow test.
39983 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39987 2012-03-03 Marek Polacek <polacek@redhat.com>
39989 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39990 * math/math_private.h: Likewise.
39991 * stdlib/tst-strtod.c: Likewise.
39992 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39993 * sysdeps/x86_64/bits/atomic.h: Likewise.
39995 2012-03-02 David S. Miller <davem@davemloft.net>
39997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40001 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40002 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40003 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40004 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40006 2012-03-02 Roland McGrath <roland@hack.frob.com>
40009 * manual/examples/README: New file, says the example source files
40010 can be used under GPL>=2.
40011 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40012 line containing just "*/".
40013 * manual/examples/add.c: Add copyright header (GPL>=2).
40014 * manual/examples/argp-ex1.c: Likewise.
40015 * manual/examples/argp-ex2.c: Likewise.
40016 * manual/examples/argp-ex3.c: Likewise.
40017 * manual/examples/argp-ex4.c: Likewise.
40018 * manual/examples/atexit.c: Likewise.
40019 * manual/examples/db.c: Likewise.
40020 * manual/examples/dir.c: Likewise.
40021 * manual/examples/dir2.c: Likewise.
40022 * manual/examples/execinfo.c: Likewise.
40023 * manual/examples/filecli.c: Likewise.
40024 * manual/examples/filesrv.c: Likewise.
40025 * manual/examples/fmtmsgexpl.c: Likewise.
40026 * manual/examples/genpass.c: Likewise.
40027 * manual/examples/inetcli.c: Likewise.
40028 * manual/examples/inetsrv.c: Likewise.
40029 * manual/examples/isockad.c: Likewise.
40030 * manual/examples/longopt.c: Likewise.
40031 * manual/examples/memopen.c: Likewise.
40032 * manual/examples/memstrm.c: Likewise.
40033 * manual/examples/mkfsock.c: Likewise.
40034 * manual/examples/mkisock.c: Likewise.
40035 * manual/examples/mygetpass.c: Likewise.
40036 * manual/examples/pipe.c: Likewise.
40037 * manual/examples/popen.c: Likewise.
40038 * manual/examples/rprintf.c: Likewise.
40039 * manual/examples/search.c: Likewise.
40040 * manual/examples/select.c: Likewise.
40041 * manual/examples/setjmp.c: Likewise.
40042 * manual/examples/sigh1.c: Likewise.
40043 * manual/examples/sigusr.c: Likewise.
40044 * manual/examples/stpcpy.c: Likewise.
40045 * manual/examples/strdupa.c: Likewise.
40046 * manual/examples/strftim.c: Likewise.
40047 * manual/examples/strncat.c: Likewise.
40048 * manual/examples/subopt.c: Likewise.
40049 * manual/examples/swapcontext.c: Likewise.
40050 * manual/examples/termios.c: Likewise.
40051 * manual/examples/testopt.c: Likewise.
40052 * manual/examples/testpass.c: Likewise.
40053 * manual/examples/timeval_subtract.c: Likewise.
40056 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40058 * manual/timeval_subtract.c.texi: ... here, new file.
40060 2012-03-02 David S. Miller <davem@davemloft.net>
40062 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40064 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40067 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40068 (__sin): Save and restore rounding mode and use round-to-nearest
40069 for all computations.
40070 (__cos): Save and restore rounding mode and use round-to-nearest
40071 for all computations.
40072 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40074 (tan): Save and restore rounding mode and use round-to-nearest for
40076 * math/libm-test.inc (cos_test_tonearest): New function.
40077 (cos_test_towardzero): Likewise.
40078 (cos_test_downward): Likewise.
40079 (cos_test_upward): Likewise.
40080 (sin_test_tonearest): Likewise.
40081 (sin_test_towardzero): Likewise.
40082 (sin_test_downward): Likewise.
40083 (sin_test_upward): Likewise.
40084 (tan_test_tonearest): Likewise.
40085 (tan_test_towardzero): Likewise.
40086 (tan_test_downward): Likewise.
40087 (tan_test_upward): Likewise.
40088 (main): Call the new functions.
40089 * sysdeps/i386/fpu/libm-test-ulps: Update.
40090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40093 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40094 small n, then large n, before computing and testing k+n.
40095 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40100 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40101 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40102 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40103 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40104 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40105 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40106 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40107 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40108 * math/libm-test.inc (scalbn_test): Add more tests.
40109 (scalbln_test): Likewise.
40111 * manual/filesys.texi (mode_t): Describe constraints on size and
40112 signedness, not exact equivalence to a particular type.
40114 (ino64_t): Likewise.
40116 (nlink_t): Likewise.
40117 (blkcnt_t): Likewise.
40118 (blkcnt64_t): Likewise.
40119 * manual/llio.texi (off_t): Likewise.
40122 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40123 (__ieee754_exp): Save and restore rounding mode and use
40124 round-to-nearest for all computations.
40125 * math/libm-test.inc (exp_test_tonearest): New function.
40126 (exp_test_towardzero): Likewise.
40127 (exp_test_downward): Likewise.
40128 (exp_test_upward): Likewise.
40129 (main): Call the new functions.
40130 * sysdeps/i386/fpu/libm-test-ulps: Update.
40131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40133 2012-03-01 Chris Demetriou <cgd@google.com>
40135 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40136 have predictable order.
40138 2012-03-01 David S. Miller <davem@davemloft.net>
40140 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40142 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40143 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40144 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40145 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40147 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40148 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40149 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40151 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40152 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40153 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40154 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40155 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40159 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40160 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40163 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40164 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40165 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40166 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40167 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40168 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40169 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40170 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40171 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40172 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40173 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40176 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40177 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40179 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40180 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40181 * sysdeps/sparc/elf/configure: Regenerated.
40183 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40185 * configure.in (AS, LD): Require binutils 2.20 or later.
40186 * configure: Regenerated.
40187 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40188 as required minimum version.
40189 * INSTALL: Regenerated.
40193 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40194 before squaring exponent.
40195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40196 bottom long double and 27 bits of top long double before squaring
40198 * math/libm-test.inc (erfc_test): Add more tests.
40199 * sysdeps/i386/fpu/libm-test-ulps: Update.
40200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40203 2012-03-01 Kai Tietz <ktietz@redhat.com>
40205 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40206 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40207 containing bit-fields.
40208 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40209 * soft-fp/single.h (_FP_UNION_S): Likewise.
40210 * soft-fp/double.h (_FP_UNION_D): Likewise.
40212 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40215 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40216 not include ../strcmp.S.
40217 [USE_AS_STRNCASECMP_L]: Likewise.
40218 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40219 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40220 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40221 (__strncasecmp_l_ia32): Define as alias to
40222 __strncasecmp_l_nonascii.
40225 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40226 * sysdeps/i386/fpu/libm-test-ulps: Update.
40227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40229 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40232 2012-02-29 Jeff Law <law@redhat.com>
40234 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40235 out of bounds read.
40237 2012-02-29 Marek Polacek <polacek@redhat.com>
40240 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40241 * elf/Makefile: Add rules to run tst-unused-dep.out.
40243 2012-02-28 David S. Miller <davem@davemloft.net>
40245 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40246 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40248 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40249 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40250 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40252 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40254 * math/libm-test.inc (llround_test): Move one test from
40255 lround_test. Use TEST_f_L in moved test.
40256 (lround_test): Move misplaced test to llround_test. Add testcase
40259 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40261 * sysdeps/x86_64/fpu/e_expf.S: New file.
40262 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40264 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40267 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40268 of remain_len that may cause incomplete multi-byte character and
40270 * posix/bug-regex33.c: New file.
40271 * posix/Makefile (tests): Add bug-regex33.
40273 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40275 * manual/macros.texi: New file.
40276 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40277 * manual/libc.texinfo: Include macros.texi.
40278 * manual/creatute.texi: Likewise.
40279 * manual/install.texi: Likewise.
40280 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40281 @glibcadj{} in references to the GNU C Library.
40282 * manual/charset.texi: Likewise.
40283 * manual/conf.texi: Likewise.
40284 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40285 when not using those macros.
40286 * manual/creature.texi: Likewise.
40287 * manual/crypt.texi: Likewise.
40288 * manual/errno.texi: Likewise.
40289 * manual/filesys.texi: Likewise.
40290 * manual/header.texi: Likewise.
40291 * manual/install.texi: Likewise.
40292 * manual/intro.texi: Likewise.
40293 * manual/io.texi: Likewise.
40294 * manual/job.texi: Likewise.
40295 * manual/lang.texi: Likewise.
40296 * manual/libc.texiinfo: Likewise.
40297 * manual/llio.texi: Likewise.
40298 * manual/locale.texi: Likewise.
40299 * manual/maint.texi: Likewise.
40300 * manual/math.texi: Likewise.
40301 * manual/memory.texi: Likewise.
40302 * manual/message.texi: Likewise.
40303 * manual/nss.texi: Likewise.
40304 * manual/pattern.texi: Likewise.
40305 * manual/process.texi: Likewise.
40306 * manual/resource.texi: Likewise.
40307 * manual/search.texi: Likewise.
40308 * manual/setjmp.texi: Likewise.
40309 * manual/signal.texi: Likewise.
40310 * manual/socket.texi: Likewise.
40311 * manual/startup.texi: Likewise.
40312 * manual/stdio.texi: Likewise.
40313 * manual/string.texi: Likewise.
40314 * manual/sysinfo.texi: Likewise.
40315 * manual/syslog.texi: Likewise.
40316 * manual/terminal.texi: Likewise.
40317 * manual/time.texi: Likewise.
40318 * manual/users.texi: Likewise.
40319 * INSTALL: Regenerated.
40320 * NOTES: Regenerated.
40321 * sysdeps/gnu/errlist.c: Regenerated.
40323 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40325 * include/dirent.h: Include <dirstream.h> before
40328 2012-02-28 David S. Miller <davem@davemloft.net>
40330 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40331 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40332 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40333 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40335 2012-02-27 David S. Miller <davem@davemloft.net>
40337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40339 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40340 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40343 frame pointer instead of stack pointer relative arg slot.
40344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40345 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40346 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40348 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40351 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40353 2012-02-27 David S. Miller <davem@davemloft.net>
40355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40359 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40360 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40361 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40362 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40364 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40366 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40367 later. Allow versions 5-9.
40368 * configure: Regenerated.
40369 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40370 required minimum version and 4.6 as recommended version. Do not
40371 mention bugs in GCC 2.7 and 2.8.
40372 * INSTALL: Regenerated.
40374 2012-02-27 David S. Miller <davem@davemloft.net>
40376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40380 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40381 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40382 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40383 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40385 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40386 manipulate bits before adding and subtracting TWO112[sx].
40387 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40389 2012-02-27 Roland McGrath <roland@hack.frob.com>
40392 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40393 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40394 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40395 being in POSIX, because they are in 1003.1-2008.
40397 * rt/tst-aio.c: Include <fcntl.h>.
40398 * rt/tst-aio7.c: Likewise.
40399 * rt/tst-aio64.c: Likewise.
40401 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40403 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40405 * manual/install.texi (--with-headers): Describe headers as
40406 interface headers, not private headers.
40407 (Specific advice for GNU/Linux systems): Describe use of headers
40408 from "make headers_install", not private headers from older
40410 * INSTALL: Regenerated.
40411 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40413 * sysdeps/unix/sysv/linux/configure: Regenerated.
40415 * manual/llio.texi (fclean): Remove documentation.
40417 * manual/Makefile (libc-texi-generated): New variable. Include
40419 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40420 $(libc-texi-generated), not duplicated list of files.
40421 (version.texi, stamp-version): New rules.
40422 (realclean): Remove $(libc-texi-generated), not individual files
40423 from that list. Do not remove dir-add.texinfo.
40424 * manual/libc.texinfo: Comment out uses of edition numbers and
40425 references to printed manual. Remove last-updated dates.
40426 (EDITION): Comment out.
40428 (VERSION, UPDATED): Remove.
40429 (version.texi): Include.
40431 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40433 * sysdeps/posix/spawni.c: Include <signal.h>.
40434 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40435 * sysdeps/pthread/aio_fsync.c: Likewise.
40437 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40439 * conform/Makefile (tests): Run only when not cross-compiling and
40440 when fast-check is not defined.
40442 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40443 * conform/data/limits.h-data: Fixes for POSIX2008.
40444 * conform/run-conformtest.sh: Run all tests.
40445 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40447 * include/bits/dlfcn.h: Likewise.
40448 * include/langinfo.h: Likewise.
40449 * include/monetary.h: Likewise.
40450 * include/sys/poll.h: Likewise.
40452 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40454 * posix/spawn.h: Define __need_sigset_t.
40455 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40456 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40457 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40458 to get sigevent_t only.
40459 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40460 only for __USE_GNU.
40461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40462 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40463 process_vm_writev only for __USE_GNU.
40464 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40466 * conform/Makefile: For now ignore errors from run-conformtest.
40467 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40468 POSIX to avoid namespace pollution. Don't prepend headers.
40469 * conform/data/aio.h-data: Fixes for POSIX testing.
40470 * conform/data/fcntl.h-data: Likewise.
40471 * conform/data/glob.h-data: Likewise.
40472 * conform/data/grp.h-data: Likewise.
40473 * conform/data/pthread.h-data: Likewise.
40474 * conform/data/pwd.h-data: Likewise.
40475 * conform/data/signal.h-data: Likewise.
40476 * conform/data/spawn.h-data: Likewise.
40477 * conform/data/stdio.h-data: Likewise.
40478 * conform/data/stdlib.h-data: Likewise.
40479 * conform/data/stropts.h-data: Likewise.
40480 * conform/data/sys/mman.h-data: Likewise.
40481 * conform/data/sys/stat.h-data: Likewise.
40482 * conform/data/sys/types.h-data: Likewise.
40483 * conform/data/sys/wait.h-data: Likewise.
40484 * conform/data/time.h-data: Likewise.
40485 * conform/data/unistd.h-data: Likewise.
40486 * conform/data/utime.h-data: Likewise.
40488 * io/sys/stat.h: fchmod was always in POSIX.
40489 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40490 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40491 * rt/aio.h: Define __need_timespec before including <time.h>.
40492 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40493 struct. Add forward declaration of pthread_attr_t and use it in
40495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40497 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40498 always remove CLK_TCK definition.
40500 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40502 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40504 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40506 * conform/run-conformtest.sh: New file.
40507 * conform/Makefile: Run run-conformtest for tests.
40508 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40511 * conform/data/uchar.h-data: New file.
40512 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40513 * conform/data/arpa/inet.h-data: Likewise.
40514 * conform/data/assert.h-data: Likewise.
40515 * conform/data/complex.h-data: Likewise.
40516 * conform/data/cpio.h-data: Likewise.
40517 * conform/data/ctype.h-data: Likewise.
40518 * conform/data/dirent.h-data: Likewise.
40519 * conform/data/dlfcn.h-data: Likewise.
40520 * conform/data/errno.h-data: Likewise.
40521 * conform/data/fcntl.h-data: Likewise.
40522 * conform/data/float.h-data: Likewise.
40523 * conform/data/fmtmsg.h-data: Likewise.
40524 * conform/data/fnmatch.h-data: Likewise.
40525 * conform/data/ftw.h-data: Likewise.
40526 * conform/data/glob.h-data: Likewise.
40527 * conform/data/grp.h-data: Likewise.
40528 * conform/data/iconv.h-data: Likewise.
40529 * conform/data/inttypes.h-data: Likewise.
40530 * conform/data/langinfo.h-data: Likewise.
40531 * conform/data/libgen.h-data: Likewise.
40532 * conform/data/limits.h-data: Likewise.
40533 * conform/data/locale.h-data: Likewise.
40534 * conform/data/math.h-data: Likewise.
40535 * conform/data/monetary.h-data: Likewise.
40536 * conform/data/mqueue.h-data: Likewise.
40537 * conform/data/ndbm.h-data: Likewise.
40538 * conform/data/net/if.h-data: Likewise.
40539 * conform/data/netdb.h-data: Likewise.
40540 * conform/data/netinet/in.h-data: Likewise.
40541 * conform/data/nl_types.h-data: Likewise.
40542 * conform/data/poll.h-data: Likewise.
40543 * conform/data/pthread.h-data: Likewise.
40544 * conform/data/pwd.h-data: Likewise.
40545 * conform/data/regex.h-data: Likewise.
40546 * conform/data/sched.h-data: Likewise.
40547 * conform/data/search.h-data: Likewise.
40548 * conform/data/semaphore.h-data: Likewise.
40549 * conform/data/setjmp.h-data: Likewise.
40550 * conform/data/signal.h-data: Likewise.
40551 * conform/data/spawn.h-data: Likewise.
40552 * conform/data/stdarg.h-data: Likewise.
40553 * conform/data/stdio.h-data: Likewise.
40554 * conform/data/stdlib.h-data: Likewise.
40555 * conform/data/string.h-data: Likewise.
40556 * conform/data/strings.h-data: Likewise.
40557 * conform/data/stropts.h-data: Likewise.
40558 * conform/data/sys/ipc.h-data: Likewise.
40559 * conform/data/sys/mman.h-data: Likewise.
40560 * conform/data/sys/msg.h-data: Likewise.
40561 * conform/data/sys/resource.h-data: Likewise.
40562 * conform/data/sys/select.h-data: Likewise.
40563 * conform/data/sys/sem.h-data: Likewise.
40564 * conform/data/sys/shm.h-data: Likewise.
40565 * conform/data/sys/socket.h-data: Likewise.
40566 * conform/data/sys/stat.h-data: Likewise.
40567 * conform/data/sys/statvfs.h-data: Likewise.
40568 * conform/data/sys/time.h-data: Likewise.
40569 * conform/data/sys/timeb.h-data: Likewise.
40570 * conform/data/sys/times.h-data: Likewise.
40571 * conform/data/sys/types.h-data: Likewise.
40572 * conform/data/sys/uio.h-data: Likewise.
40573 * conform/data/sys/un.h-data: Likewise.
40574 * conform/data/sys/utsname.h-data: Likewise.
40575 * conform/data/sys/wait.h-data: Likewise.
40576 * conform/data/syslog.h-data: Likewise.
40577 * conform/data/tar.h-data: Likewise.
40578 * conform/data/termios.h-data: Likewise.
40579 * conform/data/utime.h-data: Likewise.
40580 * conform/data/utmpx.h-data: Likewise.
40581 * conform/data/varargs.h-data: Likewise.
40582 * conform/data/wchar.h-data: Likewise.
40583 * conform/data/wctype.h-data: Likewise.
40584 * conform/data/wordexp.h-data: Likewise.
40586 * include/stropts.h: New file.
40587 * include/uchar.h: New file.
40588 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40589 * include/assert.h: Likewise.
40590 * include/ctype.h: Likewise.
40591 * include/dirent.h: Likewise.
40592 * include/dlfcn.h: Likewise.
40593 * include/fcntl.h: Likewise.
40594 * include/fnmatch.h: Likewise.
40595 * include/glob.h: Likewise.
40596 * include/grp.h: Likewise.
40597 * include/libio.h: Likewise.
40598 * include/locale.h: Likewise.
40599 * include/math.h: Likewise.
40600 * include/net/if.h: Likewise.
40601 * include/netdb.h: Likewise.
40602 * include/netinet/in.h: Likewise.
40603 * include/pthread.h: Likewise.
40604 * include/pwd.h: Likewise.
40605 * include/regex.h: Likewise.
40606 * include/sched.h: Likewise.
40607 * include/search.h: Likewise.
40608 * include/setjmp.h: Likewise.
40609 * include/signal.h: Likewise.
40610 * include/stdio.h: Likewise.
40611 * include/stdlib.h: Likewise.
40612 * include/string.h: Likewise.
40613 * include/sys/cdefs.h: Likewise.
40614 * include/sys/mman.h: Likewise.
40615 * include/sys/msg.h: Likewise.
40616 * include/sys/resource.h: Likewise.
40617 * include/sys/select.h: Likewise.
40618 * include/sys/socket.h: Likewise.
40619 * include/sys/stat.h: Likewise.
40620 * include/sys/statvfs.h: Likewise.
40621 * include/sys/time.h: Likewise.
40622 * include/sys/times.h: Likewise.
40623 * include/sys/uio.h: Likewise.
40624 * include/sys/utsname.h: Likewise.
40625 * include/sys/wait.h: Likewise.
40626 * include/termios.h: Likewise.
40627 * include/time.h: Likewise.
40628 * include/ulimit.h: Likewise.
40629 * include/unistd.h: Likewise.
40630 * include/utime.h: Likewise.
40631 * include/wchar.h: Likewise.
40632 * include/wctype.h: Likewise.
40633 * include/wordexp.h: Likewise.
40635 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40637 * time/time.h: TIME_UTC must be a macro.
40638 Make timespec_get available for ISO C11 only as well.
40640 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40642 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40643 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40645 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40647 * configure.in: Use -o not -a in test for unsupported multi-arch.
40649 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40651 * manual/texinfo.tex: Update to version 2012-01-19.16.
40653 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40655 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40657 2012-02-24 Roland McGrath <roland@hack.frob.com>
40660 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40661 * manual/fdl-1.3.texi: New file.
40662 * manual/fdl-1.1.texi: File removed.
40665 * manual/libc.texinfo (FDL_VERSION): New @set.
40666 Use it for mention of FDL in cover text.
40667 (Documentation License): Use it in @include file name.
40669 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40670 Roland McGrath <roland@hack.frob.com>
40673 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40674 (not LONG_LONG_MAX and LONG_LONG_MIN.
40675 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40676 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40678 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40680 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40684 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40685 manipulate bits before adding and subtracting TWO23[sx].
40686 * math/libm-test.inc (nearbyint_test): Add more tests.
40688 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40691 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40692 bits before adding and subtracting TWO23[sx].
40693 * math/libm-test.inc (rint_test): Add more tests.
40694 (rint_test_tonearest): Likewise.
40695 (rint_test_towardzero): Likewise.
40696 (rint_test_downward): Likewise.
40697 (rint_test_upward: Likewise.
40699 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40702 * include/stdc-predef.h: New file. Extracted from features.h.
40703 * include/features.h: Include stdc-predef.h.
40704 * Makefile (headers): Add stdc-predef.h.
40705 * CONFORMANCE (Compiler limitations): Update.
40707 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40709 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40711 2012-02-21 David S. Miller <davem@davemloft.net>
40713 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40714 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40716 2012-02-20 David S. Miller <davem@davemloft.net>
40718 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40719 using a normal save/restore sequence, rather than allocating a
40720 dummy stack frame just to store a frame pointer and restore.
40721 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40723 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40725 * manual/install.texi: Fix stray word in line-wrapped comment.
40727 2012-02-20 David S. Miller <davem@davemloft.net>
40729 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40730 both binutils and gcc support GOTDATA.
40732 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40733 "rd %pc" in the PIC register setup sequences.
40735 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40736 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40737 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40738 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40739 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40744 (SYSCALL_ERROR_HANDLER): Likewise.
40745 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40746 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40748 (SYSCALL_ERROR_HANDLER): Likewise.
40750 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40751 (HAVE_GCC_GOTDATA): New.
40752 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40753 relocation support in both binutils and gcc.
40754 * sysdeps/sparc/elf/configure: Regenerate.
40756 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40757 * sysdeps/sparc/sparc32/elf/configure: Delete.
40758 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40759 * sysdeps/sparc/sparc64/elf/configure: Delete.
40760 * sysdeps/sparc/elf/configure.in: New file.
40761 * sysdeps/sparc/elf/configure: Generate.
40763 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40764 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40765 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40766 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40767 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40769 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40771 * manual/install.texi: Do not mention specific glibc version
40773 * manual/libc.texinfo (VERSION, UPDATED): Update.
40774 (@copying): Use @copyright{} and range of years.
40776 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40779 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40780 [crti.S not in sysdirs] (generated): Do not append.
40781 [crti.S not in sysdirs] (omit-deps): Likewise.
40782 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40783 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40784 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40785 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40786 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40788 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40789 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40790 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40791 * csu/defs.awk: Remove file.
40792 * sysdeps/generic/initfini.c: Likewise.
40793 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40795 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40798 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40800 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40801 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40802 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40803 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40804 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40805 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40807 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40808 (__EPOLL_PACKED): Define to empty if not defined by
40810 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40814 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40816 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40817 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40818 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40819 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40821 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40825 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40827 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40830 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40834 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40836 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40837 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40839 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40841 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40842 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40844 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40846 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40849 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40851 * math/w_acos.c: Use non-signaling floating-point comparisons.
40852 * math/w_acosf.c: Likewise.
40853 * math/w_acosh.c: Likewise.
40854 * math/w_acoshf.c: Likewise.
40855 * math/w_acoshl.c: Likewise.
40856 * math/w_acosl.c: Likewise.
40857 * math/w_asin.c: Likewise.
40858 * math/w_asinf.c: Likewise.
40859 * math/w_asinl.c: Likewise.
40860 * math/w_atanh.c: Likewise.
40861 * math/w_atanhf.c: Likewise.
40862 * math/w_atanhl.c: Likewise.
40863 * math/w_exp2.c: Likewise.
40864 * math/w_exp2f.c: Likewise.
40865 * math/w_exp2l.c: Likewise.
40866 * math/w_j0.c: Likewise.
40867 * math/w_j0f.c: Likewise.
40868 * math/w_j0l.c: Likewise.
40869 * math/w_j1.c: Likewise.
40870 * math/w_j1f.c: Likewise.
40871 * math/w_j1l.c: Likewise.
40872 * math/w_jn.c: Likewise.
40873 * math/w_jnf.c: Likewise.
40874 * math/w_log.c: Likewise.
40875 * math/w_log10.c: Likewise.
40876 * math/w_log10f.c: Likewise.
40877 * math/w_log10l.c: Likewise.
40878 * math/w_log2.c: Likewise.
40879 * math/w_log2f.c: Likewise.
40880 * math/w_log2l.c: Likewise.
40881 * math/w_logf.c: Likewise.
40882 * math/w_logl.c: Likewise.
40883 * math/w_sqrt.c: Likewise.
40884 * math/w_sqrtf.c: Likewise.
40885 * math/w_sqrtl.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40887 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40888 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40889 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40890 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40892 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40895 * manual/string.texi (strnlen): Use correct parameter name in
40896 equivalent expression.
40898 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40901 * manual/users.texi (seteuid): Consistently use neweuid for
40904 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40907 * manual/nss.texi (Services in the NSS configuration): Correct
40908 list of services in example configuration file.
40910 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40913 * manual/arith.texi: Remove statements about negative zero
40914 behaving identically to zero.
40916 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40919 * manual/install.texi: Do not document upgrading from libc5.
40921 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40924 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40926 2012-02-18 David S. Miller <davem@davemloft.net>
40928 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40929 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40930 %o7 across the call.
40931 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40934 SETUP_PIC_REG_LEAF.
40935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40936 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40937 * sysdeps/sparc/crtn.S: Likewise.
40939 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40941 * aout/Makefile: Remove.
40943 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40946 * manual/examples/argp-ex1.c (main): Format definition in GNU
40948 * manual/examples/argp-ex2.c (main): Likewise.
40949 * manual/examples/argp-ex3.c (main): Likewise.
40950 * manual/examples/argp-ex4.c (main): Likewise.
40951 * manual/examples/longopt.c (main): Use new-style prototype
40953 * manual/examples/strncat.c (main): Specify return type and use
40954 (void) for arguments.
40955 * manual/examples/subopt.c (main): Use char **argv argument.
40957 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40960 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40963 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40966 * manual/string.texi (strchr): Change when strchrnul is
40969 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40972 * manual/locale.texi (setlocale): Document LOCPATH.
40974 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40977 * manual/process.texi (execle): Move @dots{} before last argument.
40979 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40982 * manual/charset.texi (Generic Charset Conversion): Fix typo
40983 (LC_TYPE -> LC_CTYPE).
40985 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40988 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40989 (scalbnf): Likewise.
40990 (scalbnl): Likewise.
40991 (scalbln): Likewise.
40992 (scalblnf): Likewise.
40993 (scalblnl): Likewise.
40994 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40995 (vwarnx): Likewise.
40998 * manual/filesys.texi (telldir): Use braces around return type.
40999 * manual/llio.texi (mmap): Add space after comma.
41000 (mmap64): Likewise.
41001 * manual/math.texi (jn): Use @var{} on parameter names.
41007 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41009 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41011 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41012 (sched_get_priority_max): Likewise.
41013 * manual/signal.texi (sigvec): Add space after comma.
41014 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41016 (if_indextoname): Likewise.
41017 (if_freenameindex): Likewise.
41018 (sendto): Use ',' instead of '.' in prototype.
41019 * manual/startup.texi (syscall): Use @dots{} instead of literal
41021 * manual/stdio.texi (__fpending): Separate initial words of
41022 paragraph from @deftypefun line.
41023 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41025 (vsyslog): Use @var{} on parameter names.
41026 * manual/terminal.texi (stty): Use @var{} on parameter names.
41027 * manual/users.texi (getutmp): Use @var{} on parameter names.
41028 (getutmpx): Likewise.
41030 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41033 * manual/stdio.texi (fopen): Fix typos in description of
41036 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41039 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41040 get clock_id definition.
41042 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41045 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41046 (madvise): Cast every argument to void on its own.
41048 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41051 * manual/startup.texi (Exit Status): Fix typo.
41053 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41056 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41057 * manual/examples/argp-ex2.c: Likewise.
41058 * manual/examples/argp-ex3.c: Likewise.
41060 2012-02-16 Richard Henderson <rth@redhat.com>
41062 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41063 * sysdeps/s390/s390-32/initfini.c: Remove.
41064 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41065 * sysdeps/s390/s390-64/initfini.c: Remove.
41067 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41069 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41070 compiler output for sysdeps/generic/initfini.c.
41071 * sysdeps/sh/elf/initfini.c: Remove file.
41073 2012-02-16 David S. Miller <davem@davemloft.net>
41076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41078 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41079 * sysdeps/sparc/crti.S: New file.
41080 * sysdeps/sparc/crtn.S: New file.
41081 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41082 * sysdeps/sparc/sparc64/Makefile: Likewise.
41084 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41087 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41089 2012-02-15 Roland McGrath <roland@hack.frob.com>
41092 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41094 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41095 (write, read, close): Likewise.
41096 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41098 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41100 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41101 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41102 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41103 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41105 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41109 2012-02-14 Marek Polacek <polacek@redhat.com>
41111 * sysdeps/x86_64/crti.S: New file.
41112 * sysdeps/x86_64/crtn.S: New file.
41113 * sysdeps/x86_64/elf/initfini.c: Remove file.
41115 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41117 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41118 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41119 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41120 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41122 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41126 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41128 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41129 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41130 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41131 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41133 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41137 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41139 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41140 __feraiseexcept instead of feraiseexcept.
41142 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41143 nanosleep invocations.
41144 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41145 strings, and add error checking for a nanosleep invocations.
41147 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41149 Replace FSF snail mail address with URLs, as per GNU coding standards.
41150 Most of the snail mail addresses were wrong anyway, and omitting
41151 them makes the source code easier to maintain. Almost all of the
41152 changes are to license notices and to locale LC_IDENTIFICATION
41153 addresses, except for this one:
41154 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41155 not its snail mail address.
41157 2012-02-09 Richard Henderson <rth@twiddle.net>
41159 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41160 of kernel-features.h.
41162 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41164 2012-02-08 Marek Polacek <polacek@redhat.com>
41166 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41167 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41168 * sysdeps/gnu/_G_config.h: Likewise.
41169 * sysdeps/generic/_G_config.h: Likewise.
41171 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41173 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41177 * sysdeps/powerpc/powerpc32/crti.S: New file.
41178 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41179 * sysdeps/powerpc/powerpc64/crti.S: New file.
41180 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41182 * Makeconfig (have-initfini): Don't set.
41183 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41184 * configure.in (nopic_initfini): Don't substitute.
41185 * config.h.in (HAVE_INITFINI): Don't #undef.
41186 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41187 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41189 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41191 Support crti.S and crtn.S provided directly by architectures.
41192 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41193 [crti.S in sysdirs] (omit-deps): Likewise.
41194 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41195 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41196 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41197 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41198 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41199 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41200 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41201 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41202 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41203 compiler output for sysdeps/generic/initfini.c.
41204 * sysdeps/i386/elf/Makefile: Remove file.
41205 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41207 2012-02-07 Marek Polacek <polacek@redhat.com>
41209 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41210 * sysdeps/gnu/_G_config.h: Likewise.
41211 * sysdeps/mach/hurd/_G_config.h: Likewise.
41213 2012-02-07 Marek Polacek <polacek@redhat.com>
41215 * math/Makefile (tests): Add tst-CMPLX2.
41216 * math/tst-CMPLX2.c: New file.
41218 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41220 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41222 * math/libm-test.inc (jn_test): Add missing L suffix.
41224 2012-02-06 Marek Polacek <polacek@redhat.com>
41226 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41227 * sysdeps/i386/fpu/e_powf.S: Likewise.
41228 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41229 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41230 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41231 * sysdeps/i386/fpu/e_pow.S: Likewise.
41232 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41233 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41234 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41235 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41236 * sysdeps/i386/fpu/e_log2.S: Likewise.
41237 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41238 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41239 * sysdeps/i386/fpu/e_powl.S: Likewise.
41240 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41241 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41242 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41243 * sysdeps/i386/fpu/e_logl.S: Likewise.
41244 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41245 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41246 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41247 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41248 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41249 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41250 * sysdeps/i386/fpu/e_log.S: Likewise.
41251 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41252 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41253 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41254 * sysdeps/i386/fpu/e_logf.S: Likewise.
41255 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41256 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41257 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41258 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41259 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41260 * sysdeps/i386/fpu/e_log10.S: Likewise.
41261 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41263 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41264 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41265 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41266 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41267 * sysdeps/i386/asm-syntax.h: Likewise.
41268 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41269 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41270 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41271 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41272 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41273 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41274 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41275 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41276 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41277 * sysdeps/powerpc/sysdep.h: Likewise.
41278 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41279 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41281 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41284 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41286 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41288 * sysdeps/i386/sysdep.h: Include <features.h>.
41289 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41292 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41294 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41296 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41299 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41301 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41302 (SETUP_PIC_REG): Use GET_PC_THUNK.
41303 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41306 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41308 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41309 for non-PIC compilation.
41310 (SETUP_PIC_REG): Add .p2align directive.
41311 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41312 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41313 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41314 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41315 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41316 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41317 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41318 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41319 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41320 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41321 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41322 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41323 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41324 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41325 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41326 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41327 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41328 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41329 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41330 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41332 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41333 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41334 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41335 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41337 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41338 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41339 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41340 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41341 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41342 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41343 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41344 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41345 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41346 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41347 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41348 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41349 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41350 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41351 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41353 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41355 * math/tst-CMPLX.c: Include <stdio.h>.
41357 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41359 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41361 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41362 * sysdeps/sparc/bits/mathdef.h: Likewise.
41364 2012-01-31 Marek Polacek <polacek@redhat.com>
41366 * libio/libio.h: Don't define _PARAMS.
41367 * locale/programs/config.h: Don't define PARAMS.
41368 * stdlib/strtol_l.c: Likewise.
41369 (__strtol_l): Remove PARAMS from the prototype.
41371 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41373 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41374 names. Just use the correct names. Remove unnecessary wrapper
41376 * malloc/arena.c: Likewise.
41377 * malloc/hooks.c: Likewise.
41379 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41380 ARENA_TEST says not to. Simplify test for creation of a new arena.
41381 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41383 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41385 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41387 (update_get_addr): New function.
41388 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41389 GET_ADDR_MODULE parameter.
41391 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41393 * crypt/cert.c: Remove __STDC__ conditionals.
41394 * crypt/crypt-entry.c: Likewise.
41395 * crypt/crypt_util.c: Likewise.
41396 * libio/filedoalloc.c: Likewise.
41397 * libio/fileops.c: Likewise.
41398 * libio/genops.c: Likewise.
41399 * libio/iofclose.c: Likewise.
41400 * libio/iofdopen.c: Likewise.
41401 * libio/iofopen.c: Likewise.
41402 * libio/iofopen64.c: Likewise.
41403 * libio/iogetdelim.c: Likewise.
41404 * libio/iopopen.c: Likewise.
41405 * libio/obprintf.c: Likewise.
41406 * libio/oldfileops.c: Likewise.
41407 * libio/oldiofclose.c: Likewise.
41408 * libio/oldiofdopen.c: Likewise.
41409 * libio/oldiofopen.c: Likewise.
41410 * libio/oldiopopen.c: Likewise.
41411 * libio/wfiledoalloc.c: Likewise.
41412 * libio/wgenops.c: Likewise.
41413 * locale/programs/xmalloc.c: Likewise.
41414 * misc/syslog.c: Likewise.
41415 * stdio-common/xbug.c: Likewise.
41416 * string/memchr.c: Likewise.
41417 * string/memcmp.c: Likewise.
41418 * string/memrchr.c: Likewise.
41419 * string/rawmemchr.c: Likewise.
41420 * sysdeps/posix/getcwd.c: Likewise.
41421 * time/strftime_l.c: Likewise.
41423 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41425 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41426 * config.make.in (config-cflags-sse2avx): Define.
41427 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41430 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41432 * scripts/config.guess: Update from upstream config git repository.
41433 * scripts/config.sub: Likewise.
41435 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41437 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41439 (R_TILEPRO_*, R_TILEGX_*): New macros.
41441 * scripts/firstversions.awk: Fix bug in version range handling.
41443 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41445 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41447 * include/sys/epoll.h: New file.
41448 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41451 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41453 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41454 Avoid unnecessary __WORDSIZE == 64 test.
41455 (fmaxf): Use VEX format if possible.
41460 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41461 * math/math_private.h: Remove libc_fegetround* and
41463 * sysdeps/i386/configure.in: Check for -msse2avx.
41464 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41465 also if SSE2AVX is defined.
41466 Remove libc_fegetround* and libc_fesetround*.
41467 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41468 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41469 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41471 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41472 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41473 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41474 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41475 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41477 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41479 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41481 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41483 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41485 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41488 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41490 * Makeconfig (libm): Define.
41491 * elf/Makefile: Add rules to build and run tst-relsort1.
41492 * elf/tst-relsort1.c: New file.
41493 * elf/tst-relsort1mod1.c: New file.
41494 * elf/tst-relsort1mod2.c: New file.
41496 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41498 * math/s_ldexp.c: Remove __STDC__ conditionals.
41499 * math/s_ldexpf.c: Likewise.
41500 * math/s_ldexpl.c: Likewise.
41501 * math/s_nextafter.c: Likewise.
41502 * math/s_nexttowardf.c: Likewise.
41503 * math/s_significand.c: Likewise.
41504 * math/s_significandf.c: Likewise.
41505 * math/s_significandl.c: Likewise.
41506 * math/w_jnl.c: Likewise.
41507 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41508 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41509 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41510 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41511 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41518 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41519 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41520 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41521 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41522 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41523 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41524 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41526 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41527 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41528 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41529 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41531 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41532 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41533 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41534 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41535 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41536 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41537 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41538 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41539 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41540 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41541 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41542 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41543 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41544 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41545 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41546 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41547 * sysdeps/ieee754/k_standard.c: Likewise.
41548 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41549 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41550 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41551 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41552 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41553 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41554 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41555 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41556 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41557 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41558 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41559 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41560 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41561 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41562 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41564 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41565 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41566 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41567 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41568 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41569 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41570 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41571 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41572 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41573 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41574 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41575 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41577 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41578 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41579 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41580 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41581 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41582 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41583 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41584 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41585 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41586 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41587 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41588 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41590 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41591 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41592 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41593 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41596 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41597 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41598 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41599 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41600 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41601 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41602 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41603 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41604 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41605 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41606 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41607 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41608 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41609 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41610 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41611 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41612 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41613 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41614 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41616 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41617 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41618 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41619 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41620 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41621 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41622 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41623 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41624 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41625 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41626 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41627 * sysdeps/ieee754/s_matherr.c: Likewise.
41628 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41629 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41633 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41635 * crypt/md5.h: Remove __STDC__ conditionals.
41636 * libio/libioP.h: Likewise.
41637 * locale/programs/config.h: Likewise.
41638 * sysdeps/generic/sysdep.h: Likewise.
41639 * sysdeps/i386/asm-syntax.h: Likewise.
41640 * sysdeps/s390/asm-syntax.h: Likewise.
41641 * sysdeps/unix/sysdep.h: Likewise.
41642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41645 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41647 * libio/libio.h: Remove __STDC__ conditionals.
41648 * malloc/obstack.h: Likewise.
41649 * math/complex.h: Likewise.
41650 * math/math.h: Likewise.
41651 * sysdeps/generic/_G_config.h: Likewise.
41652 * sysdeps/gnu/_G_config.h: Likewise.
41653 * sysdeps/mach/hurd/_G_config.h: Likewise.
41654 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41655 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41656 * sysdeps/sparc/bits/mathdef.h: Likewise.
41658 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41661 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41662 Clean up HAS_* macros.
41663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41664 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41666 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41668 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41669 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41672 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41674 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41676 * elf/tst-unique3.cc (gets): Remove declaration.
41677 * elf/tst-unique3lib.cc (gets): Likewise.
41678 * elf/tst-unique3lib2.cc (gets): Likewise.
41679 * elf/tst-unique4.cc (gets): Likewise.
41681 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41683 * include/stdio.h: Add C++ protection. Add gets declarations and
41685 * debug/tst-chk1.c: Don't declare gets here.
41686 * stdio-common/tst-gets.c: Likewise.
41688 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41690 * posix/glob: Remove directory.
41692 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41694 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41696 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41698 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41699 of the non-standard EPFNOSUPPORT.
41701 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41703 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41704 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41705 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41707 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41709 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41711 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41713 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41715 * nscd/grpcache.c (cache_addgr): Likewise.
41716 * nscd/hstcache.c (cache_addhst): Likewise.
41717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41718 * nscd/pwdcache.c (cache_addpw): Likewise.
41719 * nscd/servicescache.c (cache_addserv): Likewise.
41721 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41723 * malloc/malloc.c: Various cleanups.
41724 * malloc/hooks.c: Likewise.
41726 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41727 * stdlib/bug-fmtmsg1.c: New file.
41729 * stdlib/fmtmsg.c (init): Add missing unlock.
41730 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41732 2012-01-12 Marek Polacek <polacek@redhat.com>
41734 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41737 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41739 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41740 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41741 macro to ensure uniqueness of label name.
41742 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41743 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41745 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41747 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41749 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41750 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41751 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41752 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41754 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41756 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41758 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41759 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41762 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41764 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41765 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41769 * math/bits/math-finite.h: Add ldexp support.
41771 2012-01-10 Marek Polacek <polacek@redhat.com>
41773 * locale/programs/localedef.h (show_archive_content): Add noreturn
41776 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41778 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41780 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41782 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41784 * io/Makefile (headers): Add bits/poll2.h.
41786 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41789 typo #include statement.
41791 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41793 * include/sys/cdefs.h: Define __attribute_alloc_size.
41794 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41795 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41796 * elf/pldd.c: Likewise.
41797 * iconv/iconv_charmap.c: Likewise.
41798 * iconv/iconvconfig.c: Likewise.
41799 * iconv/strtab.c: Likewise.
41800 * locale/programs/locale.c: Likewise.
41801 * locale/programs/localedef.h: Likewise.
41802 * locale/programs/simple-hash.c: Likewise.
41803 * nscd/nscd.h: Likewise.
41804 * nss/makedb.c: Likewise.
41805 * sysdeps/generic/ldconfig.h: Likewise.
41806 * locale/programs/localedef.c: Remove xmalloc prototype.
41807 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41809 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41811 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41814 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41816 * math/Makefile (tests): Add tst-CMPLX.
41817 * math/tst-CMPLX.c: New file.
41819 * math/complex.h (CMPLXL): Fix typo.
41821 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41822 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41824 * debug/tst-chk1.c: Add poll and ppoll tests.
41825 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41826 * include/sys/poll.h: Add hidden proto for ppoll.
41827 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41828 * sysdeps/mach/hurd/ppoll.c: Likewise.
41829 * io/ppoll.c: Likewise.
41830 * debug/poll_chk.c: New file.
41831 * debug/ppoll_chk.c: New file.
41832 * include/bits/poll2.h: New file.
41833 * io/bits/poll2.h: New file.
41836 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41838 * configure.in: static is always set to yes. Remove.
41839 * config.make.in: Don't set build-static.
41840 * Makeconfig: Remove use of build-static.
41841 * dlfcn/Makefile: Likewise.
41842 * elf/Makefile: Likewise.
41843 * math/Makefile: Likewise.
41844 * misc/Makefile: Likewise.
41845 * nptl/Makefile: Likewise.
41846 * sysdeps/mach/hurd/Makefile: Likewise.
41848 * configure.in: PWD_P is not used anymore.
41849 * config.make.in: Remove PWD_P entry.
41851 * configure.in: Remove last remnants of RANLIB.
41852 No need to check for signed size_t anymore.
41853 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41855 Remove __builtin_expect test because we require at least gcc 3.4.
41856 * aclocal.m4: Likewise.
41858 * wcsmbs/mbrtoc16.c: Implement using towc function.
41859 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41860 * wcsmbs/wcsmbsload.c: Likewise.
41861 * iconv/gconv_simple.c: Likewise.
41862 * iconv/gconv_int.h: Likewise.
41863 * iconv/gconv_builtin.h: Likewise.
41864 * iconv/iconv_prog.c: Remove CHAR16 handling.
41866 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41868 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41870 * configure.in: Remove --with-elf and --enable-bounded options.
41871 Dont set base_machine for ia64. More non-ELF conditions removed.
41872 Remove testing and setting of leading underscore information.
41873 * config.make.in (build-bounded): Set to no.
41874 * config.h.in: Remove NO_UNDERSCORES entry.
41875 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41877 * csu/start.c: Remove !NO_UNDERSCORE code.
41878 * locale/localeinfo.h: Likewise.
41879 * sysdeps/generic/machine-gmon.h: Likewise.
41880 * sysdeps/generic/sysdep.h: Likewise.
41881 * sysdeps/i386/sysdep.h: Likewise.
41882 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41883 * sysdeps/mach/sysdep.h: Likewise.
41884 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41885 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41886 * sysdeps/sh/sysdep.h: Likewise.
41887 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41888 * sysdeps/unix/i386/sysdep.S: Likewise.
41889 * sysdeps/unix/sparc/start.c: Likewise.
41890 * sysdeps/unix/sparc/sysdep.S: Likewise.
41891 * sysdeps/unix/sparc/sysdep.h: Likewise.
41892 * sysdeps/unix/start.c: Likewise.
41893 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41894 * sysdeps/x86_64/sysdep.h: Likewise.
41896 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41899 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41901 * argp/argp-fmtstream.h: Use const instead __const.
41902 * argp/argp.h: Likewise.
41903 * assert/assert.h: Likewise.
41904 * bits/fenv.h: Likewise.
41905 * bits/sched.h: Likewise.
41906 * bits/sigset.h: Likewise.
41907 * bits/sigthread.h: Likewise.
41908 * catgets/nl_types.h: Likewise.
41909 * conform/data/pthread.h-data: Likewise.
41910 * crypt/crypt-private.h: Likewise.
41911 * crypt/crypt.h: Likewise.
41912 * crypt/crypt_util.c: Likewise.
41913 * ctype/ctype.h: Likewise.
41914 * debug/execinfo.h: Likewise.
41915 * debug/mbsnrtowcs_chk.c: Likewise.
41916 * debug/mbsrtowcs_chk.c: Likewise.
41917 * debug/wcsnrtombs_chk.c: Likewise.
41918 * debug/wcsrtombs_chk.c: Likewise.
41919 * debug/wcstombs_chk.c: Likewise.
41920 * dirent/dirent.h: Likewise.
41921 * dlfcn/dlfcn.h: Likewise.
41922 * elf/neededtest4.c: Likewise.
41923 * grp/grp.h: Likewise.
41924 * gshadow/gshadow.h: Likewise.
41925 * iconv/gconv.h: Likewise.
41926 * iconv/gconv_int.h: Likewise.
41927 * iconv/gconv_simple.c: Likewise.
41928 * iconv/iconv.h: Likewise.
41929 * iconv/loop.c: Likewise.
41930 * iconv/skeleton.c: Likewise.
41931 * include/aio.h: Likewise.
41932 * include/aliases.h: Likewise.
41933 * include/argz.h: Likewise.
41934 * include/arpa/inet.h: Likewise.
41935 * include/assert.h: Likewise.
41936 * include/dirent.h: Likewise.
41937 * include/dlfcn.h: Likewise.
41938 * include/execinfo.h: Likewise.
41939 * include/fcntl.h: Likewise.
41940 * include/fenv.h: Likewise.
41941 * include/glob.h: Likewise.
41942 * include/grp.h: Likewise.
41943 * include/libintl.h: Likewise.
41944 * include/mntent.h: Likewise.
41945 * include/netdb.h: Likewise.
41946 * include/pwd.h: Likewise.
41947 * include/rpc/netdb.h: Likewise.
41948 * include/sched.h: Likewise.
41949 * include/search.h: Likewise.
41950 * include/shadow.h: Likewise.
41951 * include/signal.h: Likewise.
41952 * include/stdio.h: Likewise.
41953 * include/stdlib.h: Likewise.
41954 * include/string.h: Likewise.
41955 * include/sys/socket.h: Likewise.
41956 * include/sys/stat.h: Likewise.
41957 * include/sys/statfs.h: Likewise.
41958 * include/sys/statvfs.h: Likewise.
41959 * include/sys/syslog.h: Likewise.
41960 * include/sys/time.h: Likewise.
41961 * include/sys/uio.h: Likewise.
41962 * include/time.h: Likewise.
41963 * include/unistd.h: Likewise.
41964 * include/utmp.h: Likewise.
41965 * include/wchar.h: Likewise.
41966 * include/wctype.h: Likewise.
41967 * inet/aliases.h: Likewise.
41968 * inet/arpa/inet.h: Likewise.
41969 * inet/netinet/ether.h: Likewise.
41970 * inet/netinet/in.h: Likewise.
41971 * intl/libintl.h: Likewise.
41972 * io/bits/fcntl2.h: Likewise.
41973 * io/fcntl.h: Likewise.
41974 * io/ftw.h: Likewise.
41975 * io/sys/poll.h: Likewise.
41976 * io/sys/stat.h: Likewise.
41977 * io/sys/statfs.h: Likewise.
41978 * io/sys/statvfs.h: Likewise.
41979 * io/utime.h: Likewise.
41980 * libio/bits/stdio.h: Likewise.
41981 * libio/bits/stdio2.h: Likewise.
41982 * libio/libio.h: Likewise.
41983 * libio/libioP.h: Likewise.
41984 * libio/stdio.h: Likewise.
41985 * locale/lc-ctype.c: Likewise.
41986 * locale/locale.h: Likewise.
41987 * login/utmp.h: Likewise.
41988 * malloc/arena.c: Likewise.
41989 * malloc/malloc.c: Likewise.
41990 * malloc/malloc.h: Likewise.
41991 * malloc/mcheck.c: Likewise.
41992 * malloc/mtrace.c: Likewise.
41993 * math/bits/mathcalls.h: Likewise.
41994 * math/fenv.h: Likewise.
41995 * math/math_private.h: Likewise.
41996 * misc/bits/error.h: Likewise.
41997 * misc/bits/syslog.h: Likewise.
41998 * misc/err.h: Likewise.
41999 * misc/error.h: Likewise.
42000 * misc/fstab.h: Likewise.
42001 * misc/mntent.h: Likewise.
42002 * misc/regexp.h: Likewise.
42003 * misc/search.h: Likewise.
42004 * misc/sgtty.h: Likewise.
42005 * misc/sys/mman.h: Likewise.
42006 * misc/sys/syslog.h: Likewise.
42007 * misc/sys/uio.h: Likewise.
42008 * misc/sys/xattr.h: Likewise.
42009 * misc/ttyent.h: Likewise.
42010 * nis/rpcsvc/ypclnt.h: Likewise.
42011 * nss/nss.h: Likewise.
42012 * posix/bits/unistd.h: Likewise.
42013 * posix/fnmatch.h: Likewise.
42014 * posix/glob.h: Likewise.
42015 * posix/sched.h: Likewise.
42016 * posix/spawn.h: Likewise.
42017 * posix/sys/wait.h: Likewise.
42018 * posix/unistd.h: Likewise.
42019 * posix/wordexp.h: Likewise.
42020 * pwd/pwd.h: Likewise.
42021 * resolv/netdb.h: Likewise.
42022 * resource/sys/resource.h: Likewise.
42023 * rt/aio.h: Likewise.
42024 * rt/bits/mqueue2.h: Likewise.
42025 * rt/mqueue.h: Likewise.
42026 * shadow/shadow.h: Likewise.
42027 * signal/signal.h: Likewise.
42028 * socket/send.c: Likewise.
42029 * socket/sendto.c: Likewise.
42030 * socket/sys/socket.h: Likewise.
42031 * stdio-common/printf.h: Likewise.
42032 * stdlib/bits/stdlib.h: Likewise.
42033 * stdlib/fmtmsg.h: Likewise.
42034 * stdlib/monetary.h: Likewise.
42035 * stdlib/stdlib.h: Likewise.
42036 * stdlib/ucontext.h: Likewise.
42037 * streams/stropts.h: Likewise.
42038 * string/argz.h: Likewise.
42039 * string/bits/string2.h: Likewise.
42040 * string/string.h: Likewise.
42041 * string/strings.h: Likewise.
42042 * sunrpc/rpc/auth.h: Likewise.
42043 * sunrpc/rpc/auth_des.h: Likewise.
42044 * sunrpc/rpc/clnt.h: Likewise.
42045 * sunrpc/rpc/netdb.h: Likewise.
42046 * sunrpc/rpc/pmap_clnt.h: Likewise.
42047 * sunrpc/rpc/xdr.h: Likewise.
42048 * sysdeps/generic/inttypes.h: Likewise.
42049 * sysdeps/generic/net/if.h: Likewise.
42050 * sysdeps/generic/sys/swap.h: Likewise.
42051 * sysdeps/gnu/net/if.h: Likewise.
42052 * sysdeps/gnu/utmpx.h: Likewise.
42053 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42054 * sysdeps/i386/i486/bits/string.h: Likewise.
42055 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42056 * sysdeps/s390/bits/string.h: Likewise.
42057 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42058 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42059 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42060 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42061 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42062 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42063 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42064 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42065 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42066 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42067 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42068 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42069 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42070 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42071 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42072 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42073 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42075 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42076 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42077 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42078 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42079 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42080 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42081 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42082 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42083 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42085 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42086 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42087 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42088 * sysvipc/sys/ipc.h: Likewise.
42089 * sysvipc/sys/msg.h: Likewise.
42090 * sysvipc/sys/sem.h: Likewise.
42091 * sysvipc/sys/shm.h: Likewise.
42092 * termios/termios.h: Likewise.
42093 * time/sys/time.h: Likewise.
42094 * time/time.h: Likewise.
42095 * wcsmbs/bits/wchar2.h: Likewise.
42096 * wcsmbs/uchar.h: Likewise.
42097 * wcsmbs/wchar.h: Likewise.
42098 * wctype/wctype.h: Likewise.
42101 * Makeconfig: Remove all but ELF support including AIX support.
42102 * Makerules: Likewise.
42103 * config.h.in: Likewise.
42104 * config.make.in: Likewise.
42105 * configure: Likewise.
42106 * configure.in: Likewise.
42107 * csu/Makefile: Likewise.
42108 * csu/version.c: Likewise.
42109 * debug/Makefile: Likewise.
42110 * dlfcn/Makefile: Likewise.
42111 * elf/Makefile: Likewise.
42112 * extra-lib.mk: Likewise.
42113 * iconv/Makefile: Likewise.
42114 * include/libc-symbols.h: Likewise.
42115 * include/shlib-compat.h: Likewise.
42116 * resolv/Makefile: Likewise.
42117 * resolv/res_libc.c: Likewise.
42118 * rt/Makefile: Likewise.
42119 * sysdeps/i386/asm-syntax.h: Likewise.
42120 * sysdeps/i386/sysdep.h: Likewise.
42121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42122 * sysdeps/mach/sysdep.h: Likewise.
42123 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42124 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42125 * sysdeps/s390/asm-syntax.h: Likewise.
42126 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42128 * sysdeps/sh/sysdep.h: Likewise.
42129 * sysdeps/unix/sparc/sysdep.h: Likewise.
42130 * sysdeps/wordsize-32/divdi3.c: Likewise.
42131 * sysdeps/x86_64/sysdep.h: Likewise.
42133 * argp/Versions: Remove _argp_unlock_xxx.
42136 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42137 * abilist/libBrokenLocale.abilist: Likewise.
42138 * abilist/libanl.abilist: Likewise.
42139 * abilist/libc.abilist: Likewise.
42140 * abilist/libcrypt.abilist: Likewise.
42141 * abilist/libdl.abilist: Likewise.
42142 * abilist/libm.abilist: Likewise.
42143 * abilist/libnsl.abilist: Likewise.
42144 * abilist/libpthread.abilist: Likewise.
42145 * abilist/libresolv.abilist: Likewise.
42146 * abilist/librt.abilist: Likewise.
42147 * abilist/libthread_db.abilist: Likewise.
42148 * abilist/libutil.abilist: Likewise.
42149 * abilist/libnss_db.abilist: New file.
42151 * scripts/abilist.awk: Add support for indirect functions.
42153 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42155 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42157 * shlib-versions: Remove entries for ports architectures.
42159 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42161 * elf/stackguard-macros.h: Remove support for IA-64.
42162 * elf/tst-auditmod1.c: Likewise.
42163 * sysdeps/generic/ldsodefs.h: Likewise.
42165 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42166 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42170 * configure.in: Remove --enable-omitfp support.
42172 * config.make.in: Likewise.
42173 * Makeconfig: Likewise.
42174 * manual/install.texi: Likewise.
42176 In case anyone cares, the IA-64 architecture could move to ports.
42177 * sysdeps/ia64/*: Removed.
42178 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42179 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42182 * configure.in: Remove entries for unsupported architectures.
42185 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42186 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42188 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42189 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42190 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42191 fall back to using wcrtomb.
42192 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42193 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42195 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42196 * wcsmbs/tst-c16c32-1.c: New file.
42198 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42201 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42203 * elf/tst-unique3.cc: Add explicit declaration of gets.
42204 * elf/tst-unique3lib.cc: Likewise.
42205 * elf/tst-unique3lib2.cc: Likewise.
42206 * elf/tst-unique4.cc: Likewise.
42208 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42210 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42213 * assert/assert.h (static_assert): Don't define for C++.
42214 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42215 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42217 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42219 * iconv/loop.c (single loop): Fix assertion in storing of
42222 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42224 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42226 * posix/getconf.c: Update copyright year.
42227 * nss/getent.c: Likewise.
42228 * nss/makedb.c: Likewise.
42229 * iconv/iconvconfig.c: Likewise.
42230 * iconv/iconv_prog.c: Likewise.
42231 * elf/ldconfig.c: Likewise.
42232 * elf/pldd.c: Likewise.
42233 * elf/sotruss.ksh: Likewise.
42234 * catgets/gencat.c: Likewise.
42235 * csu/version.c: Likewise.
42236 * elf/ldd.bash.in: Likewise.
42237 * elf/sprof.c (print_version): Likewise.
42238 * locale/programs/locale.c: Likewise.
42239 * locale/programs/localedef.c: Likewise.
42240 * login/programs/pt_chown.c: Likewise.
42241 * nscd/nscd.c (print_version): Likewise.
42242 * debug/xtrace.sh: Likewise.
42243 * malloc/memusage.sh: Likewise.
42244 * malloc/mtrace.pl: Likewise.
42245 * debug/catchsegv.sh: Likewise.
42247 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42249 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42252 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42255 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42256 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42258 * iconv/gconv_int.h: Likewise.
42259 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42260 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42261 from libc for GLIBC_2.16.
42262 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42263 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42264 * wcsmbs/uchar.h: Really define mbstate_t.
42265 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42266 * wcsmbs/c16rtomb.c: New file.
42267 * wcsmbs/mbrtoc16.c: New file.
42268 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42269 for C/POSIX locale.
42270 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42271 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42273 * wcsmbs/wchar.h: Add missing __restrict.
42275 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42278 * time/Makefile (routines): Add timespec_get.
42279 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42280 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42281 timespec for ISO C11.
42282 * time/timespec_get.c: New file.
42283 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42284 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42287 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42288 * stdlib/stdlib.h: Declare aligned_alloc.
42289 * Versions.def: Add GLIBC_2.16 for libc.
42290 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42293 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42296 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42300 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42303 * assert/assert.h (static_assert): Define.
42305 * version.h: Update for 2.16 development version.
42308 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42311 * version.h (RELEASE): Bump for 2.15 release.
42312 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42314 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42315 Patch by Marek Polacek <mpolacek@redhat.com>.
42317 * bits/byteswap.h: Protect long long constants with __extension__.
42318 * sysdeps/i386/bits/byteswap.h: Likewise.
42319 * sysdeps/ia64/bits/byteswap.h: Likewise.
42320 * sysdeps/s390/bits/byteswap.h: Likewise.
42321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42323 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42326 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42327 destination buffer.
42328 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42330 2011-12-23 Marek Polacek <polacek@redhat.com>
42332 * elf/dl-addr.c (determine_info): Add inline keyword.
42333 * elf/tst-auditmod4b.c (check_avx): Likewise.
42334 * elf/tst-auditmod6b.c (check_avx): Likewise.
42335 * elf/tst-auditmod6c.c (check_avx): Likewise.
42336 * elf/tst-auditmod7b.c (check_avx): Likewise.
42338 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42340 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42343 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42346 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42347 processing for last bytes.
42349 2011-08-06 Bruno Haible <bruno@clisp.org>
42352 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42353 U+0385, not to U+1FEE.
42356 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42357 entry for U+00A5 U+0301.
42359 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42362 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42363 buffer for the output is too small.
42365 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42369 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42370 SSE flags if possible.
42372 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42376 processing for last bytes.
42378 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42380 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42381 (syscall-list-default-options, syscall-list-default-condition)
42382 (syscall-list-includes): Define.
42383 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42384 list of ABIs and options and #if conditions for each ABI. Do not
42385 handle common syscalls between ABIs specially.
42386 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42388 (syscall-list-variants, syscall-list-32bit-options)
42389 (syscall-list-32bit-condition, syscall-list-64bit-options)
42390 (syscall-list-64bit-condition): Define.
42391 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42392 (syscall-list-variants, syscall-list-32bit-options)
42393 (syscall-list-32bit-condition, syscall-list-64bit-options)
42394 (syscall-list-64bit-condition): Define.
42395 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42397 (syscall-list-variants, syscall-list-32bit-options)
42398 (syscall-list-32bit-condition, syscall-list-64bit-options)
42399 (syscall-list-64bit-condition): Define.
42400 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42402 (syscall-list-variants, syscall-list-32bit-options)
42403 (syscall-list-32bit-condition, syscall-list-64bit-options)
42404 (syscall-list-64bit-condition): Define.
42406 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42408 * locale/iso-639.def: Add brx entry.
42411 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42412 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42414 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42415 __feraiseexcept_renamed.
42417 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42420 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42421 EPOLLET with unsigned values.
42422 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42423 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42425 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42426 to large cancellation.
42427 * math/s_cacoshf.c: Likewise.
42428 * math/s_cacoshl.c: Likewise.
42430 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42434 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42435 * math/s_cacoshf.c: Likewise.
42436 * math/s_cacoshl.c: Likewise.
42438 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42441 * iconv/gconv.h: Define __GCONV_SWAP.
42442 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42443 * iconvdata/utf-16.c: Likewise.
42444 * iconvdata/utf-32.c: Likewise.
42446 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42450 numerator after shifting it by one limb.
42452 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42454 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42455 under [__USE_EXTERN_INLINES].
42457 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42460 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42462 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42464 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42465 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42467 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42468 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42469 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42470 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42471 for strncasecmp/strncasecmp_l compilation.
42472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42473 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42475 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42478 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42481 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42484 * time/tzfile.c (__tzfile_read): Check values from file header.
42486 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42488 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42489 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42490 * powerpc/powerpc32/dl-start.S: Likewise.
42491 * powerpc/powerpc32/elf/start.S: Likewise.
42492 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42493 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42494 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42495 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42496 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42497 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42498 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42499 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42500 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42501 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42502 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42503 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42504 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42505 * powerpc/powerpc32/memset.S: Likewise.
42506 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42507 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42508 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42509 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42510 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42511 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42512 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42513 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42514 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42515 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42516 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42517 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42518 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42520 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42522 * math/libm-test.inc: Added more nearbyint tests.
42523 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42524 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42528 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42530 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42533 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42535 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42536 Add wcscpy-ssse3 wcscpy-c.
42537 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42538 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42539 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42540 * sysdeps/x86_64/wcschr.S: New file.
42541 * sysdeps/x86_64/wcsrchr.S: New file.
42542 * string/test-strcmp.c: Remove checking of wcscmp function for
42544 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42545 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42546 wcsrchr-sse2 wcsrchr-c.
42547 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42548 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42549 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42550 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42551 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42552 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42553 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42554 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42555 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42556 * wcsmbc/wcschr.c (WCSCHR): New macro.
42558 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42560 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42561 * wcsmbs/test-wcsrchr.c: New file.
42562 * string/test-strrchr.c: Add wcsrchr support.
42564 * wcsmbs/test-wcscpy.c: New file.
42565 * string/test-strcpy.c: Add wcscpy support.
42568 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42573 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42576 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42578 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42581 Minor optimizations.
42583 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42584 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42585 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42587 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42589 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42590 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42591 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42592 for gcc to avoid warnings.
42593 * inet/Makefile (tests): Add tst-checks.
42594 * inet/tst-checks.c: New file.
42596 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42599 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42602 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42603 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42605 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42607 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42609 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42612 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42614 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42616 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42617 conditional on GCC version.
42618 (__arch_compare_and_exchange_val_8_acq)
42619 (__arch_compare_and_exchange_val_16_acq)
42620 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42621 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42622 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42624 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42626 * sysdeps/sh/backtrace.c: New file.
42628 2011-12-02 Andreas Schwab <schwab@redhat.com>
42630 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42633 2011-12-01 Andreas Schwab <schwab@redhat.com>
42635 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42636 falling back to utime.
42638 2011-11-30 Andreas Schwab <schwab@redhat.com>
42640 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42641 expectations for float.
42643 2011-11-29 Andreas Schwab <schwab@redhat.com>
42645 * locale/weight.h (findidx): Add parameter len.
42646 * locale/weightwc.h (findidx): Likewise.
42647 * posix/fnmatch_loop.c (FCT): Adjust caller.
42648 * posix/regcomp.c (build_equiv_class): Likewise.
42649 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42650 * posix/regexec.c (check_node_accept_bytes): Likewise.
42651 * string/strcoll_l.c (STRCOLL): Likewise.
42652 * string/strxfrm_l.c (STRXFRM): Likewise.
42654 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42656 * Makefile.in: Remove CVSOPT handling.
42657 * configure.in: Remove use of AC_REVISION.
42658 * iconvdata/Makefile (distribute): No need to filter out CVS.
42659 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42662 2011-11-16 Andreas Schwab <schwab@redhat.com>
42664 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42665 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42666 [USE_AS_STRNCASECMP_L]: Likewise.
42667 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42668 NO_TLS_DIRECT_SEG_REFS.
42669 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42670 Fix argument offsets for non-PIC.
42671 [USE_AS_STRNCASECMP_L]: Likewise.
42672 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42673 NO_TLS_DIRECT_SEG_REFS.
42675 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42677 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42679 * locale/loadlocale.c (_nl_load_locale): Likewise.
42681 2011-11-15 Andreas Schwab <schwab@redhat.com>
42683 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42684 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42686 (SYSCALL_GETTIME): Set errno on error.
42688 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42689 count references to noai6ai_cached.
42691 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42693 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42695 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42696 FD_CLOEXEC for /proc/self/maps.
42698 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42699 FD_CLOEXEC for /proc/meminfo.
42701 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42704 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42705 FD_CLOEXEC for given file.
42707 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42709 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42710 FD_CLOEXEC for /etc/hosts.
42711 (_gethtent): Likewise.
42713 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42715 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42716 cancellation and set FD_CLOEXEC for /etc/netgroup.
42718 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42719 reading /etc/publickey.
42721 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42722 allow cancellation when reading /etc/group.
42724 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42726 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42728 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42729 when using data file.
42731 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42733 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42734 (write_nis_obj): Use "c" and "e" in fopen.
42736 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42738 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42740 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42742 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42744 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42747 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42749 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42751 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42753 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42754 file parsing and set FD_CLOEXEC.
42756 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42758 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42760 2011-11-14 Andreas Schwab <schwab@redhat.com>
42762 * malloc/arena.c (arena_get2): Don't call reused_arena when
42763 _int_new_arena failed.
42765 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42767 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42768 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42769 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42770 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42771 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42772 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42773 to compile strcasecmp and strncasecmp.
42774 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42775 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42779 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42781 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42782 locale-defines.sym to gen-as-const-headers.
42783 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42784 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42786 to compile strcasecmp and strncasecmp.
42787 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42788 strcasecmp_l and strncasecmp_l.
42789 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42790 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42791 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42792 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42793 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42794 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42795 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42796 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42797 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42798 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42799 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42801 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42803 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42804 result of SYSDEP_GETTIME_CPU to retval.
42805 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42806 parameter list to macro. Remove trailing semicolon. Adjust users.
42808 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42811 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42813 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42815 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42816 from unused variable.
42818 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42820 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42823 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42826 * sunrpc/rpc_prot.c (rejected): Fix case value.
42828 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42829 unsigned long long int to avoid warnings in shift.
42831 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42833 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42836 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42837 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42838 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42840 * nis/nis_table.c (nis_list): Use variable of correct type for
42841 result of __follow_path call.
42843 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42845 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42846 of math functions ceil, trunc, floor, round, and sqrt, when
42847 avaliable on the platform.
42848 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42850 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42851 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42852 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42854 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42856 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42857 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42859 2011-11-11 Roland McGrath <roland@hack.frob.com>
42861 * include/unistd.h: Fix __readlink return type.
42862 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42864 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42866 * stdlib/ucontext.h: Undo last change for makecontext.
42868 2011-11-11 Andreas Schwab <schwab@redhat.com>
42870 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42872 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42873 * setjmp/setjmp.h: Mark functions as non-leaf.
42874 * setjmp/bits/setjmp2.h: Likewise.
42875 * stdlib/ucontext.h: Likewise.
42877 2011-11-10 Andreas Schwab <schwab@redhat.com>
42879 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42880 (reused_arena): Don't check arena limit.
42881 (arena_get2): Atomically check arena limit.
42883 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42885 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42886 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42891 2011-11-07 Andreas Schwab <schwab@redhat.com>
42893 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42894 handler when locking.
42896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42897 Fix size of allocated buffer.
42899 2011-11-04 Andreas Schwab <schwab@redhat.com>
42902 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42903 declarations for long double functions.
42904 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42906 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42908 2011-11-03 Andreas Schwab <schwab@redhat.com>
42910 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42913 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42916 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42918 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42920 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42922 * include/alloca.h (stackinfo_alloca_round): Define.
42923 (extend_alloca): Use it.
42924 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42925 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42928 * scripts/check-local-headers.sh: Ignore libaudit.h.
42930 * nscd/Makefile (extra-objs): Make recursively expanded.
42932 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42934 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42935 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42937 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42938 * posix/tst-rfc3484-2.c: Likewise.
42939 * posix/tst-rfc3484-3.c: Likewise.
42941 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42943 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42945 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42946 process_vm_writev from libc using GLIBC_2.15 version.
42948 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42950 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42952 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42955 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42958 * nss/getent.c (initgroups_keys): Show error message in case no group
42961 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42962 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42963 __bump_nl_timestamp.
42964 * nscd/connections (nscd_init): When host database is served open
42965 netlink socket and request notification about configuration changes.
42966 (main_loop_poll): Track netlink file descriptor and bump timestamp
42967 in case data becomes available.
42968 (main_loop_epoll): Likewise.
42969 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42970 (database_pers_head): Add extra_data fileds.
42971 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42972 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42973 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42976 in6ai data, call __free_in6ai.
42977 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42978 Add -DHAVE_NETLINK.
42979 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42980 interface information. Reuse previous data if netlink timestamp
42982 (__bump_nl_timestamp): New function.
42983 (__free_in6ai): New function.
42985 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42987 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42988 close_not_cancel_no_status here.
42989 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42991 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42994 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42997 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42998 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42999 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43001 2011-07-03 Andreas Jaeger <aj@suse.de>
43004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43005 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43006 * math/libm-test.inc (sin_test): Add test case.
43008 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43011 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43012 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43014 * elf/chroot_canon.c (chroot_canon): Cleanups.
43016 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43019 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43020 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43022 * string/test-strchr.c: Make usable for strchrnul testing.
43023 * string/test-strchrnul.c: New file.
43024 * string/Makefile (strop-tests): Add strchrnul.
43026 * po/it.po: Update from translation team.
43027 * po/es.po: Likewise.
43029 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43031 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43032 the three constants needed as parameters. Drop the others.
43033 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43034 __m128i_strloadu_tolower.
43035 Create and initialize variable zero and use it in all the places
43036 where _mm_setzero_si128 was used.
43038 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43039 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43040 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43041 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43043 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43044 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43045 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43046 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43047 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43048 __mpranred, __mptan.
43049 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43050 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43051 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43052 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43053 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43054 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43055 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43056 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43057 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43059 2011-10-28 Andreas Schwab <schwab@redhat.com>
43061 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43062 redefine if SHARED.
43063 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43066 wide char related routines to wcsmbs subdir.
43068 2011-10-27 Andreas Schwab <schwab@redhat.com>
43071 * misc/sys/cdefs.h (__THROWNL): Define.
43072 * posix/unistd.h: Use __THREADNL instead of __THREAD
43073 for memory synchronization functions.
43075 2011-10-26 Roland McGrath <roland@hack.frob.com>
43078 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43080 * manual/stdio.texi (Obstack Streams): Node removed.
43082 2011-10-26 Andreas Schwab <schwab@redhat.com>
43084 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43085 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43086 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43088 * math/math_private.h (math_force_eval): Allow non-addressable
43090 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43092 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43094 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43095 file is not needed.
43097 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43099 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43100 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43101 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43102 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43103 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43104 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43106 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43107 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43108 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43109 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43110 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43111 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43112 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43113 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43114 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43115 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43116 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43117 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43118 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43119 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43120 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43121 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43123 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43124 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43126 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43127 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43129 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43130 place. Use VEX encoding when compiling for AVX.
43132 2011-10-25 Andreas Schwab <schwab@redhat.com>
43134 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43135 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43137 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43139 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43141 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43142 useless if() expression.
43143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43144 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43145 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43148 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43149 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43151 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43153 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43154 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43155 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43156 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43157 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43158 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43159 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43161 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43163 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43165 2011-10-25 Andreas Schwab <schwab@redhat.com>
43167 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43169 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43171 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43173 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43174 .text section. Avoid duplicate constants.
43175 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43177 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43179 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43183 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43184 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43185 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43186 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43187 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43188 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43189 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43190 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43192 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43193 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43194 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43195 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43196 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43197 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43198 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43199 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43200 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43201 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43202 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43203 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43204 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43205 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43206 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43207 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43208 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43209 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43210 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43211 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43212 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43213 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43214 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43215 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43216 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43217 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43218 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43219 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43221 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43223 * sysdeps/x86_64/dla.h: Move to ...
43224 * sysdeps/x86_64/fpu/dla.h: ...here.
43225 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43226 situations. Use __builtin_fma only for gcc 4.6 and up.
43228 * config.make.in: Add have-mfma4 entry.
43229 * configure.in: Substitute libc_cv_cc_fma4.
43230 * math/Makefile (dbl-only-routines): Add sincostab.
43231 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43232 Use __sincostab not sincos.
43233 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43235 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43240 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43241 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43242 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43243 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43245 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43246 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43248 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43249 define aliases when function name is a macro.
43250 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43251 sysdeps/ieee754/dbl-64/sincos.tbl.
43252 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43253 fma4-enabled routines.
43254 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43255 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43256 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43257 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43258 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43259 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43261 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43263 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43264 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43265 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43266 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43267 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43268 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43269 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43270 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43271 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43272 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43274 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43275 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43277 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43278 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43279 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43280 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43281 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43282 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43283 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43285 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43296 2011-10-24 Andreas Schwab <schwab@redhat.com>
43298 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43300 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43302 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43304 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43306 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43308 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43309 Remove unused variable magic_bits.
43310 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43312 * string/strnlen.c: Define and use STRNLEN macro.
43313 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43314 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43316 * wcsmbs/wcslen.c: Define and use WCSLEN.
43317 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43318 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43319 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43320 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43321 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43322 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43323 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43325 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43328 strnlen-sse2-no-bsf.
43329 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43331 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43332 Add strnlen support.
43333 (USE_AS_STRNLEN): New macro.
43334 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43335 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43336 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43337 * sysdeps/x86_64/wcslen.S: New file.
43339 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43341 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43342 XMM-moves are used for copying on small sizes.
43344 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43346 * wcsmbs/Makefile (strop-tests): Add wcschr.
43347 * wcsmbs/test-wcschr.c: New file.
43348 * string/test-strchr.c: Update.
43349 Add wcschr support.
43352 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43354 * wcsmbs/Makefile (strop-tests): Add wcslen.
43355 * wcsmbs/test-wcslen.c: New file.
43356 * string/test-strlen.c: Update.
43357 Add wcslen support.
43360 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43362 * po/it.po: Update from translation team.
43364 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43366 * sysdeps/x86_64/wcscmp.S: Update.
43367 Fix wrong comparison semantics.
43368 wcscmp shall use signed comparison not unsigned.
43369 Don't use substraction to avoid overflow bug.
43370 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43371 * wcsmbc/wcscmp.c: Likewise.
43372 * string/test-strcmp.c: Likewise.
43373 Add new tests to check cases with negative values.
43375 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43377 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43378 * sysdeps/x86_64/dla.h: ...here. New file.
43379 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43384 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43389 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43392 __ynl_finite aliases.
43394 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43398 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43400 [DLA_FMA] (EMULV): Use DLA_FMA.
43401 [DLA_FMA] (MUL12): Use EMULV.
43402 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43403 that are not needed.
43404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43412 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43414 * math/s_nan.c: Undef __nan.
43415 * math/s_nanf.c: Undef __nanf.
43416 * math/s_nanl.c: Undef __nanl.
43417 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43420 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43422 * math/s_catan.c: Add branch predictions.
43423 * math/s_catanf.c: Likewise.
43424 * math/s_catanh.c: Likewise.
43425 * math/s_catanhf.c: Likewise.
43426 * math/s_catanhl.c: Likewise.
43427 * math/s_catanl.c: Likewise.
43428 * math/s_cexp.c: Likewise.
43429 * math/s_cexpf.c: Likewise.
43430 * math/s_cexpl.c: Likewise.
43431 * math/s_clog.c: Likewise.
43432 * math/s_clog10.c: Likewise.
43433 * math/s_clog10f.c: Likewise.
43434 * math/s_clog10l.c: Likewise.
43435 * math/s_clogf.c: Likewise.
43436 * math/s_clogl.c: Likewise.
43437 * math/s_csqrt.c: Likewise.
43438 * math/s_csqrtf.c: Likewise.
43439 * math/s_csqrtl.c: Likewise.
43440 * math/s_ctanf.c: Likewise.
43441 * math/s_ctanh.c: Likewise.
43442 * math/s_ctanhf.c: Likewise.
43443 * math/s_ctanhl.c: Likewise.
43444 * math/s_ctanl.c: Likewise.
43446 * math/math_private.h: Define __nan, __nanf, __nanl.
43447 * math/s_cacosh.c: Include <math_private.h>.
43448 * math/s_cacoshl.c: Likewise.
43449 * math/s_casinh.c: Likewise.
43450 * math/s_casinhf.c: Likewise.
43451 * math/s_casinhl.c: Likewise.
43452 * math/s_ccos.c: Rely entire on ccosh.
43453 * math/s_ccosf.c: Rely entire on ccoshf.
43454 * math/s_ccosl.c: Rely entirely on ccoshl.
43455 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43456 Remove tests for FE_INVALID.
43457 * math/s_ccoshf.c: Likewise.
43458 * math/s_ccoshl.c: Likewise.
43459 * math/s_csin.c: Likewise.
43460 * math/s_csinf.c: Likewise.
43461 * math/s_csinh.c Likewise.
43462 * math/s_csinhf.c: Likewise.
43463 * math/s_csinhl.c: Likewise.
43464 * math/s_csinl.c: Likewise.
43465 * math/s_ctan.c: Likewise.
43466 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43467 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43468 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43470 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43473 compilation problems.
43475 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43478 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43480 * sysdeps/i386/configure.in: Test for -mfma4 option.
43481 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43482 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43483 COMMON_CPUID_INDEX_80000001.
43484 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43485 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43486 use it if FMA3 is not supported.
43487 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43489 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43490 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43492 2011-10-20 Andreas Schwab <schwab@redhat.com>
43495 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43496 it would create a cycle with a link time dependency.
43498 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43500 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43502 * string/Makefile (strop-tests): Add rawmemchr.
43503 * string/test-rawmemchr.c: New file.
43505 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43507 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43508 when compiling str{,n}casecmp and when AVX is available. Hook up
43509 new optimized code in initializers.
43511 2011-10-19 Andreas Schwab <schwab@redhat.com>
43513 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43514 __feraiseexcept instead of feraiseexcept.
43516 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43518 * math/math_private.h: Define defaults for libc_fetestexcept and
43520 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43521 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43522 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43523 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43524 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43525 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43526 libc_fetestexcept and libc_feupdateenv.
43528 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43529 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43530 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43531 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43532 libc_feholdexcept_setround.
43534 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43535 Add s_nearbyint-c and s_nearbyintf-c.
43536 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43537 nearbyintf inlines.
43538 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43539 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43540 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43541 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43543 * math/math_private.h: Define defaults for libc_fegetround,
43544 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43545 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43546 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43547 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43548 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43549 standard functions.
43550 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43551 Remove comments and hacks for old compiler versions.
43552 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43553 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43554 libc_feholdexceptl.
43556 2011-10-18 Andreas Schwab <schwab@redhat.com>
43558 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43559 (__feraiseexcept_renamed): Add __NTH.
43560 (feraiseexcept): Add __NTH. Rename local variables to fix
43561 namespace violations.
43563 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43565 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43567 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43569 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43570 recently added interfaces.
43571 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43573 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43574 about macro parameter expansion.
43576 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43577 __NO_MATH_INLINES is defined. Cleanups.
43579 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43580 and __floorf is target has SSE4.1.
43581 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43582 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43583 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43584 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43586 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43588 (floorf): Likewise.
43590 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43592 2011-10-17 Andreas Schwab <schwab@redhat.com>
43594 * misc/sys/cdefs.h: Fix last change.
43596 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43599 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43601 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43603 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43605 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43606 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43607 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43608 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43610 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43611 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43612 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43613 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43614 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43615 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43616 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43617 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43618 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43619 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43620 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43621 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43622 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43623 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43624 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43626 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43627 ceil, ceilf, floor, floorf.
43629 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43630 Perform IRELATIVE relocations last.
43632 * elf/do-rel.h: Add another parameter nrelative, replacing the
43633 local variable with the same name. Change name of the function
43634 to end in Rel or Rela (uppercase).
43635 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43636 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43637 elf_dynamic_do_##reloc function.
43639 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43641 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43642 is sufficient, at least on modern CPUs.
43644 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43646 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43649 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43651 * math/bits/math-finite.h: Add entries for exp.
43652 * math/e_expl.c: Add __*_finite alias.
43653 * sysdeps/i386/fpu/e_exp.S: Likewise.
43654 * sysdeps/i386/fpu/e_expf.S: Likewise.
43655 * sysdeps/i386/fpu/e_expl.c: Likewise.
43656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43658 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43659 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43660 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43661 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43662 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43664 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43665 is sufficient, at least on modern CPUs.
43667 * ctype/ctype-info.c (__ctype_init): Define.
43668 * include/ctype.h (__ctype_init): Declare.
43669 (__ctype_b_loc): The variable is always initialized.
43670 (__ctype_toupper_loc): Likewise.
43671 (__ctype_tolower_loc): Likewise.
43672 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43673 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43675 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43677 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43679 * configure.in: Also look in $cxxmachine/include for C++ system
43682 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43684 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43685 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43686 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43687 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43688 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43689 (USE_AS_WMEMCMP): New macro.
43691 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43692 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43693 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43694 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43696 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43697 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43698 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43699 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43700 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43701 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43702 (USE_AS_WMEMCMP): New macro.
43703 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43704 * sysdeps/string/test-memcmp.c: Update.
43705 Fix simple_wmemcmp.
43707 * wcsmbs/wmemcmp.c: Update.
43708 (WMEMCMP): New macro.
43711 2011-10-12 Andreas Jaeger <aj@suse.de>
43714 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43716 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43718 * libio/iofwide.c (do_length): Avoid warning.
43720 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43722 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43724 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43726 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43727 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43728 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43729 * sysdeps/i386/i686/fpu/e_log.S: New file.
43730 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43731 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43733 * ctype/ctype.h: Add support for inlined isXXX functions when
43734 compiling C++ code.
43736 2011-10-14 Andreas Schwab <schwab@redhat.com>
43738 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43740 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43742 2011-10-13 Roland McGrath <roland@hack.frob.com>
43745 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43747 2011-10-13 Andreas Schwab <schwab@redhat.com>
43749 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43750 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43753 * sysdeps/x86_64/memrchr.S: Check for zero size.
43755 * string/stratcliff.c: Add memrchr tests.
43757 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43760 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43761 rawmemchr-sse2 rawmemchr-sse2-bsf.
43762 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43763 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43764 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43765 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43766 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43767 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43768 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43769 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43770 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43771 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43772 * string/memrchr.c (MEMRCHR): New macro.
43774 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43776 Add integration with gcc's -ffinite-math-only and optimize wrapper
43778 * Versions.def: Define GLIBC_2.15 version for libm.
43779 * math/Makefile (headers): Add bits/math-finite.h.
43780 * math/bits/math-finite.h: New file.
43781 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43782 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43783 * math/e_acoshl.c: Add __*_finite alias.
43784 * math/e_acosl.c: Likewise.
43785 * math/e_asinl.c: Likewise.
43786 * math/e_atan2l.c: Likewise.
43787 * math/e_atanhl.c: Likewise.
43788 * math/e_coshl.c: Likewise.
43789 * math/e_exp10.c: Likewise.
43790 * math/e_exp10f.c: Likewise.
43791 * math/e_exp10l.c: Likewise.
43792 * math/e_exp2l.c: Likewise.
43793 * math/e_fmodl.c: Likewise.
43794 * math/e_gammal_r.c: Likewise.
43795 * math/e_hypotl.c: Likewise.
43796 * math/e_j0l.c: Likewise.
43797 * math/e_j1l.c: Likewise.
43798 * math/e_jnl.c: Likewise.
43799 * math/e_lgammal_r.c: Likewise.
43800 * math/e_log10l.c: Likewise.
43801 * math/e_log2l.c: Likewise.
43802 * math/e_logl.c: Likewise.
43803 * math/e_powl.c: Likewise.
43804 * math/e_sinhl.c: Likewise.
43805 * math/e_sqrtl.c: Likewise.
43806 * math/e_scalb.c: Completely rewritten and optimized.
43807 * math/e_scalbf.c: Likewise.
43808 * math/e_scalbl.c: Likewise.
43809 * math/w_acos.c: Likewise.
43810 * math/w_acosf.c: Likewise.
43811 * math/w_acosl.c: Likewise.
43812 * math/w_acosh.c: Likewise.
43813 * math/w_acoshf.c: Likewise.
43814 * math/w_acoshl.c: Likewise.
43815 * math/w_asin.c: Likewise.
43816 * math/w_asinf.c: Likewise.
43817 * math/w_asinl.c: Likewise.
43818 * math/w_atan2.c: Likewise.
43819 * math/w_atan2f.c: Likewise.
43820 * math/w_atan2l.c: Likewise.
43821 * math/w_atanh.c: Likewise.
43822 * math/w_atanhf.c: Likewise.
43823 * math/w_atanhl.c: Likewise.
43824 * math/w_exp10.c: Likewise.
43825 * math/w_exp10f.c: Likewise.
43826 * math/w_exp10l.c: Likewise.
43827 * math/w_fmod.c: Likewise.
43828 * math/w_fmodf.c: Likewise.
43829 * math/w_fmodl.c: Likewise.
43830 * math/w_j0.c: Likewise.
43831 * math/w_j0f.c: Likewise.
43832 * math/w_j0l.c: Likewise.
43833 * math/w_j1.c: Likewise.
43834 * math/w_j1f.c: Likewise.
43835 * math/w_j1l.c: Likewise.
43836 * math/w_jn.c: Likewise.
43837 * math/w_jnf.c: Likewise.
43838 * math/w_log.c: Likewise.
43839 * math/w_logf.c: Likewise.
43840 * math/w_logl.c: Likewise.
43841 * math/w_log10.c: Likewise.
43842 * math/w_log10f.c: Likewise.
43843 * math/w_log10l.c: Likewise.
43844 * math/w_log2.c: Likewise.
43845 * math/w_log2f.c: Likewise.
43846 * math/w_log2l.c: Likewise.
43847 * math/w_pow.c: Likewise.
43848 * math/w_powf.c: Likewise.
43849 * math/w_powl.c: Likewise.
43850 * math/w_remainder.c: Likewise.
43851 * math/w_remainderf.c: Likewise.
43852 * math/w_remainderl.c: Likewise.
43853 * math/w_scalb.c: Likewise.
43854 * math/w_scalbf.c: Likewise.
43855 * math/w_scalbl.c: Likewise.
43856 * math/w_sqrt.c: Likewise.
43857 * math/w_sqrtf.c: Likewise.
43858 * math/w_sqrtl.c: Likewise.
43859 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43860 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43862 * math/math_private.h: Declare __kernel_standard_f.
43863 * math/w_cosh.c: Remove cruft and optimize a bit.
43864 * math/w_coshf.c: Likewise.
43865 * math/w_coshl.c: Likewise.
43866 * math/w_exp2.c: Likewise.
43867 * math/w_exp2f.c: Likewise.
43868 * math/w_exp2l.c: Likewise.
43869 * math/w_hypot.c: Likewise.
43870 * math/w_hypotf.c: Likewise.
43871 * math/w_hypotl.c: Likewise.
43872 * math/w_lgamma.c: Likewise.
43873 * math/w_lgamma_r.c: Likewise.
43874 * math/w_lgammaf.c: Likewise.
43875 * math/w_lgammaf_r.c: Likewise.
43876 * math/w_lgammal.c: Likewise.
43877 * math/w_lgammal_r.c: Likewise.
43878 * math/w_sinh.c: Likewise.
43879 * math/w_sinhf.c: Likewise.
43880 * math/w_sinhl.c: Likewise.
43881 * math/w_tgamma.c: Likewise.
43882 * math/w_tgammaf.c: Likewise.
43883 * math/w_tgammal.c: Likewise.
43884 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43886 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43887 Minor optimizations. Pretty printing. Remove cruft.
43888 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43890 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43892 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43893 * sysdeps/i386/fpu/e_asin.S: Likewise.
43894 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43895 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43896 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43897 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43898 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43899 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43900 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43901 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43902 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43903 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43904 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43905 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43906 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43907 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43908 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43909 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43910 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43911 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43912 * sysdeps/i386/fpu/e_log.S: Likewise.
43913 * sysdeps/i386/fpu/e_log10.S: Likewise.
43914 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43915 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43916 * sysdeps/i386/fpu/e_log2.S: Likewise.
43917 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43918 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43919 * sysdeps/i386/fpu/e_logf.S: Likewise.
43920 * sysdeps/i386/fpu/e_logl.S: Likewise.
43921 * sysdeps/i386/fpu/e_pow.S: Likewise.
43922 * sysdeps/i386/fpu/e_powf.S: Likewise.
43923 * sysdeps/i386/fpu/e_powl.S: Likewise.
43924 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43925 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43926 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43927 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43928 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43929 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43930 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43931 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43932 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43933 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43934 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43936 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43937 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43938 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43939 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43940 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43941 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43942 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43943 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43944 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43946 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43949 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43951 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43953 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43954 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43957 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43958 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43959 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43960 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43961 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43962 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43964 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43965 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43966 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43967 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43968 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43969 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43970 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43971 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43972 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43973 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43974 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43975 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43976 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43978 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43979 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43980 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43981 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43982 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43983 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43984 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43985 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43986 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43987 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43988 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43989 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43990 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43991 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43992 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43993 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43994 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43995 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43996 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43997 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43998 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44000 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44001 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44002 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44003 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44004 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44005 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44006 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44010 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44011 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44012 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44013 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44014 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44015 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44016 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44017 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44018 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44019 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44020 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44021 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44024 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44025 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44026 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44027 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44028 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44029 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44030 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44031 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44032 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44033 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44034 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44035 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44036 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44037 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44038 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44039 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44040 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44041 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44042 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44043 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44044 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44045 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44046 (__isnanf): Likewise.
44047 (__isinf_ns): Likewise.
44048 (__isinf_nsf): Likewise.
44049 (__finite): Likewise.
44050 (__finitef): Likewise.
44051 (__ieee754_sqrt): Define as macro.
44052 (__ieee754_sqrtf): Define as macro.
44053 (__ieee754_sqrtl): Define as macro.
44054 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44056 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44057 __FINITE_MATH_ONLY__ consistent.
44058 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44060 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44062 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44065 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44067 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44069 * po/ja.po: Update from translation team.
44071 2011-10-08 Roland McGrath <roland@hack.frob.com>
44073 * locale/programs/locarchive.c (prepare_address_space): New function.
44074 (create_archive, enlarge_archive, open_archive): Use it.
44076 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44077 inside [SHARED], where it is used.
44079 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44081 * nss/getent.c (netgroup_keys): Remove unused variable.
44082 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44084 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44086 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44087 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44089 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44090 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44091 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44092 * math/Makefile (libm-calls): Add s_isinf_ns.
44093 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44094 * math/multc3.c: Likewise.
44095 * math/s_casin.c: Likewise.
44096 * math/s_casinf.c: Likewise.
44097 * math/s_casinl.c: Likewise.
44098 * math/s_ccos.c: Likewise.
44099 * math/s_ccosf.c: Likewise.
44100 * math/s_ccosl.c: Likewise.
44101 * math/s_ctan.c: Likewise.
44102 * math/s_ctanf.c: Likewise.
44103 * math/s_ctanh.c: Likewise.
44104 * math/s_ctanhf.c: Likewise.
44105 * math/s_ctanhl.c: Likewise.
44106 * math/s_ctanl.c: Likewise.
44107 * math/w_fmod.c: Likewise.
44108 * math/w_fmodf.c: Likewise.
44109 * math/w_fmodl.c: Likewise.
44110 * math/w_remainder.c: Likewise.
44111 * math/w_remainderf.c: Likewise.
44112 * math/w_remainderl.c: Likewise.
44113 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44114 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44115 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44117 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44118 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44119 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44120 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44122 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44124 * stdio-common/printf_fphex.c: Likewise.
44125 * stdio-common/printf_size.c: Likewise.
44127 * math/e_exp10.c: Include math_private.h using <...> not "...".
44128 * math/e_exp10f.c: Likewise.
44129 * math/e_exp10l.c: Likewise.
44130 * math/e_exp2l.c: Likewise.
44131 * math/e_j0l.c: Likewise.
44132 * math/e_j1l.c: Likewise.
44133 * math/e_jnl.c: Likewise.
44134 * math/e_lgammal_r.c: Likewise.
44135 * math/e_rem_pio2l.c: Likewise.
44136 * math/e_scalb.c: Likewise.
44137 * math/e_scalbf.c: Likewise.
44138 * math/e_scalbl.c: Likewise.
44139 * math/k_cosl.c: Likewise.
44140 * math/k_sinl.c: Likewise.
44141 * math/k_tanl.c: Likewise.
44142 * math/s_cacoshf.c: Likewise.
44143 * math/s_catan.c: Likewise.
44144 * math/s_catanf.c: Likewise.
44145 * math/s_catanh.c: Likewise.
44146 * math/s_catanhf.c: Likewise.
44147 * math/s_catanhl.c: Likewise.
44148 * math/s_catanl.c: Likewise.
44149 * math/s_ccosh.c: Likewise.
44150 * math/s_ccoshf.c: Likewise.
44151 * math/s_ccoshl.c: Likewise.
44152 * math/s_cexp.c: Likewise.
44153 * math/s_cexpf.c: Likewise.
44154 * math/s_cexpl.c: Likewise.
44155 * math/s_clog.c: Likewise.
44156 * math/s_clog10.c: Likewise.
44157 * math/s_clog10f.c: Likewise.
44158 * math/s_clog10l.c: Likewise.
44159 * math/s_clogf.c: Likewise.
44160 * math/s_clogl.c: Likewise.
44161 * math/s_csin.c: Likewise.
44162 * math/s_csinf.c: Likewise.
44163 * math/s_csinh.c: Likewise.
44164 * math/s_csinhf.c: Likewise.
44165 * math/s_csinhl.c: Likewise.
44166 * math/s_csinl.c: Likewise.
44167 * math/s_csqrt.c: Likewise.
44168 * math/s_csqrtf.c: Likewise.
44169 * math/s_csqrtl.c: Likewise.
44170 * math/s_ctan.c: Likewise.
44171 * math/s_ctanf.c: Likewise.
44172 * math/s_ctanh.c: Likewise.
44173 * math/s_ctanhf.c: Likewise.
44174 * math/s_ctanhl.c: Likewise.
44175 * math/s_ctanl.c: Likewise.
44176 * math/s_ldexp.c: Likewise.
44177 * math/s_ldexpf.c: Likewise.
44178 * math/s_ldexpl.c: Likewise.
44179 * math/s_significand.c: Likewise.
44180 * math/s_significandf.c: Likewise.
44181 * math/s_significandl.c: Likewise.
44182 * math/w_acos.c: Likewise.
44183 * math/w_acosf.c: Likewise.
44184 * math/w_acosh.c: Likewise.
44185 * math/w_acoshf.c: Likewise.
44186 * math/w_acoshl.c: Likewise.
44187 * math/w_acosl.c: Likewise.
44188 * math/w_asin.c: Likewise.
44189 * math/w_asinf.c: Likewise.
44190 * math/w_asinl.c: Likewise.
44191 * math/w_atan2.c: Likewise.
44192 * math/w_atan2f.c: Likewise.
44193 * math/w_atan2l.c: Likewise.
44194 * math/w_atanh.c: Likewise.
44195 * math/w_atanhf.c: Likewise.
44196 * math/w_atanhl.c: Likewise.
44197 * math/w_cosh.c: Likewise.
44198 * math/w_coshf.c: Likewise.
44199 * math/w_coshl.c: Likewise.
44200 * math/w_dremf.c: Likewise.
44201 * math/w_exp10.c: Likewise.
44202 * math/w_exp10f.c: Likewise.
44203 * math/w_exp10l.c: Likewise.
44204 * math/w_exp2.c: Likewise.
44205 * math/w_exp2f.c: Likewise.
44206 * math/w_fmod.c: Likewise.
44207 * math/w_fmodf.c: Likewise.
44208 * math/w_fmodl.c: Likewise.
44209 * math/w_hypot.c: Likewise.
44210 * math/w_hypotf.c: Likewise.
44211 * math/w_hypotl.c: Likewise.
44212 * math/w_j0.c: Likewise.
44213 * math/w_j0f.c: Likewise.
44214 * math/w_j0l.c: Likewise.
44215 * math/w_j1.c: Likewise.
44216 * math/w_j1f.c: Likewise.
44217 * math/w_j1l.c: Likewise.
44218 * math/w_jn.c: Likewise.
44219 * math/w_jnf.c: Likewise.
44220 * math/w_jnl.c: Likewise.
44221 * math/w_lgamma.c: Likewise.
44222 * math/w_lgamma_r.c: Likewise.
44223 * math/w_lgammaf.c: Likewise.
44224 * math/w_lgammaf_r.c: Likewise.
44225 * math/w_lgammal.c: Likewise.
44226 * math/w_lgammal_r.c: Likewise.
44227 * math/w_log.c: Likewise.
44228 * math/w_log10.c: Likewise.
44229 * math/w_log10f.c: Likewise.
44230 * math/w_log10l.c: Likewise.
44231 * math/w_log2.c: Likewise.
44232 * math/w_log2f.c: Likewise.
44233 * math/w_log2l.c: Likewise.
44234 * math/w_logf.c: Likewise.
44235 * math/w_logl.c: Likewise.
44236 * math/w_pow.c: Likewise.
44237 * math/w_powf.c: Likewise.
44238 * math/w_powl.c: Likewise.
44239 * math/w_remainder.c: Likewise.
44240 * math/w_remainderf.c: Likewise.
44241 * math/w_remainderl.c: Likewise.
44242 * math/w_scalb.c: Likewise.
44243 * math/w_scalbf.c: Likewise.
44244 * math/w_scalbl.c: Likewise.
44245 * math/w_sinh.c: Likewise.
44246 * math/w_sinhf.c: Likewise.
44247 * math/w_sinhl.c: Likewise.
44248 * math/w_sqrt.c: Likewise.
44249 * math/w_sqrtf.c: Likewise.
44250 * math/w_sqrtl.c: Likewise.
44251 * math/w_tgamma.c: Likewise.
44252 * math/w_tgammaf.c: Likewise.
44253 * math/w_tgammal.c: Likewise.
44255 * po/ja.po: Update from translation team.
44257 2011-09-29 Andreas Jaeger <aj@suse.de>
44260 * sunrpc/netname.c (netname2host): Fix logic.
44264 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44266 * math/w_remainder.c (__remainder): Likewise.
44267 * math/w_remainderf.c (__remainderf): Likewise.
44268 * math/libm-test.inc (remainder_test): Add test cases.
44270 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44272 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44275 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44277 * string/test-memcmp.c: Avoid unncessary #defines.
44278 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44280 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44282 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44283 Use new sse2 version for core i3 - i7 as it's faster
44284 than sse42 version.
44285 (bit_Prefer_PMINUB_for_stringop): New.
44286 * sysdeps/x86_64/rawmemchr.S: Update.
44287 Replace with faster SSE2 version.
44288 * sysdeps/x86_64/memrchr.S: New file.
44289 * sysdeps/x86_64/memchr.S: Update.
44290 Replace with faster SSE2 version.
44292 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44294 * elf/dl-load.c (lose): Add cast to avoid warning.
44296 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44298 * po/ca.po: Update from translation team.
44300 * inet/getnetgrent_r.c: Hook up nscd.
44301 * nscd/Makefile (routines): Add nscd_netgroup.
44302 (nscd-modules): Add netgroupcache.
44303 (CFLAGS-netgroupcache.c): Define.
44304 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44305 (cache_search): Add const to second parameter.
44306 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44308 (dbs): Add netgrdb entry.
44309 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44310 (verify_persistent_db): Handle netgrdb.
44311 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44312 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44314 (netgroup_response_header): Define.
44315 (innetgroup_response_header): Define.
44316 (datahead): Add netgroup_response_header and innetgroup_response_header
44318 * nscd/nscd.conf: Add entries for netgroup cache.
44319 * nscd/nscd.h (dbtype): Add netgrdb.
44320 (_PATH_NSCD_NETGROUP_DB): Define.
44321 (netgroup_iov_disabled): Declare.
44322 (xmalloc, xcalloc, xrealloc): Move declarations here.
44323 (cache_search): Adjust prototype.
44324 Add netgroup-related prototypes.
44325 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44326 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44327 (__nscd_innetgr): Declare.
44328 * nscd/selinux.c (perms): Use access_vector_t as element type and
44329 add netgroup-related initializers.
44330 * nscd/netgroupcache.c: New file.
44331 * nscd/nscd_netgroup.c: New file.
44332 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44333 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44334 For four parameters use innetgr.
44335 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44336 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44337 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44338 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44340 * nscd/connections.c (register_traced_file): Don't register file
44341 for disabled databases.
44343 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44345 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44347 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44348 from tree and freeing node.
44350 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44352 * nss/nsswitch.c (__nss_database_lookup): Handle
44353 nss_parse_service_list out of memory case.
44355 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44357 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44358 out of memory case.
44360 2011-10-04 Andreas Schwab <schwab@redhat.com>
44362 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44363 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44365 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44366 elf_machine_rela, elf_machine_lazy_rel.
44367 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44368 (ELF_DYNAMIC_DO_REL): Likewise.
44369 (ELF_DYNAMIC_DO_RELA): Likewise.
44370 (ELF_DYNAMIC_RELOCATE): Likewise.
44371 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44372 to ELF_DYNAMIC_DO_REL.
44373 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44374 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44375 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44378 skip_ifunc, don't call ifunc function if non-zero.
44379 (elf_machine_rela): Likewise.
44380 (elf_machine_lazy_rel): Likewise.
44381 (elf_machine_lazy_rela): Likewise.
44382 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44383 (elf_machine_lazy_rel): Likewise.
44384 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44386 (elf_machine_lazy_rel): Likewise.
44387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44389 (elf_machine_lazy_rel): Likewise.
44390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44391 (elf_machine_lazy_rel): Likewise.
44392 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44393 (elf_machine_lazy_rel): Likewise.
44394 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44395 (elf_machine_lazy_rel): Likewise.
44396 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44397 (elf_machine_lazy_rel): Likewise.
44398 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44399 (elf_machine_lazy_rel): Likewise.
44400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44401 (elf_machine_lazy_rel): Likewise.
44403 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44405 * nss/nss_files/files-init.c (_nss_files_init): Use static
44406 initialization for all the *_traced_file variables.
44408 2011-09-28 Andreas Schwab <schwab@redhat.com>
44410 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44412 2011-09-27 Roland McGrath <roland@hack.frob.com>
44415 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44417 2011-09-27 Andreas Schwab <schwab@redhat.com>
44419 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44420 Reread the line before reparsing it.
44422 2011-09-26 Andreas Schwab <schwab@redhat.com>
44424 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44426 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44427 Maxim Kuvyrkov <maxim@codesourcery.com>
44428 Joseph Myers <joseph@codesourcery.com>
44430 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44431 if needed for __stack_chk_guard.
44433 2011-09-19 Roland McGrath <roland@hack.frob.com>
44435 * sysdeps/posix/spawni.c (script_execute): Always define it.
44436 It will be optimized away if unused.
44437 (maybe_script_execute): New function.
44438 (__spawni): Call it.
44440 * Makerules: Don't include tls.make.
44441 (config-tls): Always set to thread.
44442 * tls.make.c: File removed.
44444 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44446 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44447 * config.make.in (CPPFLAGS-config): New substituted variable.
44449 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44454 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44455 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44457 2011-09-15 Roland McGrath <roland@hack.frob.com>
44459 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44460 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44461 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44462 (CALL_FAIL): Likewise.
44463 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44464 (CALL_FAIL): Macro removed.
44465 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44467 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44469 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44470 for __FINITE_MATH_ONLY__ == 1.
44472 2011-09-15 Andreas Schwab <schwab@redhat.com>
44474 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44475 __ieee754_sqrt instead of sqrt.
44476 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44477 __ieee754_sqrtf instead of sqrtf.
44478 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44479 __floorf instead of floorf.
44480 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44481 __floorf, __truncf instead of floorf, truncf.
44483 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44485 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44487 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44488 __extern_always_inline.
44489 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44492 2011-09-14 Andreas Schwab <schwab@redhat.com>
44494 * elf/rtld.c (dl_main): Also relocate in dependency order when
44495 doing symbol dependency testing.
44497 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44500 Always define `refsym'.
44502 2011-09-13 Andreas Schwab <schwab@redhat.com>
44504 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44505 (__FD_ELT): Renamed from __FDELT.
44506 * misc/bits/select2.h (__FD_ELT): Likewise.
44507 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44508 __FD_MASK instead of __FDELT, __FDMASK.
44509 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44511 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44514 * elf/Makefile (gen-ldd): Fix pattern.
44516 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44517 (init_tls): Likewise.
44519 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44521 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44523 2011-09-12 Andreas Schwab <schwab@redhat.com>
44525 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44526 `struct cmsghdr *' instead of `void *'.
44527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44530 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44532 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44534 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44535 ldd_rewrite_script.
44537 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44539 * configure.in: Remove --with-tls option.
44540 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44541 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44542 out in case it is missing.
44543 * sysdeps/ia64/elf/configure.in: Likewise.
44544 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44545 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44546 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44547 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44548 * sysdeps/sh/elf/configure.in: Likewise.
44549 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44550 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44551 * sysdeps/x86_64/elf/configure.in: Likewise.
44552 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44553 * sysdeps/mach/hurd/tls.h: Likewise.
44556 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44559 * configure.in: Fix use of AC_INIT.
44561 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44563 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44565 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44567 * malloc/hooks.c: Likewise.
44570 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44571 variables statically.
44572 (narenas): Initialize.
44573 (list_lock): Initialize.
44574 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44575 initializtion of main_arena and list_lock. Small cleanups.
44576 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44577 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44578 Add initializers to main_arena and mp_.
44579 (malloc_state): Remove pagesize member. Change all users to use
44582 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44583 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44584 is always initialized.
44586 * malloc/malloc.c: Removed unused configurations and dead code.
44587 * malloc/arena.c: Likewise.
44588 * malloc/hooks.c: Likewise.
44589 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44591 * include/tls.h: Removed. USE___THREAD must always be defined.
44592 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44593 * elf/dl-libc.c: Likewise.
44594 * elf/dl-tsd.c: Likewise.
44595 * include/errno.h: Likewise.
44596 * include/netdb.h: Likewise.
44597 * include/resolv.h: Likewise.
44598 * inet/herrno-loc.c: Likewise.
44599 * inet/herrno.c: Likewise.
44600 * malloc/arena.c: Likewise.
44601 * malloc/hooks.c: Likewise.
44602 * malloc/malloc.c: Likewise.
44603 * resolv/res-state.c: Likewise.
44604 * resolv/res_libc.c: Likewise.
44605 * sysdeps/i386/dl-machine.h: Likewise.
44606 * sysdeps/ia64/dl-machine.h: Likewise.
44607 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44608 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44609 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44610 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44611 * sysdeps/sh/dl-machine.h: Likewise.
44612 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44614 * sysdeps/unix/i386/sysdep.S: Likewise.
44615 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44616 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44617 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44618 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44619 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44621 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44625 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44626 * sysdeps/x86_64/dl-machine.h: Likewise.
44627 * tls.make.c: Likewise.
44629 * configure.in: Remove --with-__thread option. Make tests for
44630 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44631 tls_model attribute fail if no support is available. Remove
44633 * Makeconfig: Adjust for dropped configure option. All features are
44635 * Makerules: Likewise.
44636 * Versions.def: Likewise.
44637 * argp/argp-fmtstream.c: Likewise.
44638 * argp/argp-fmtstream.h: Likewise.
44639 * argp/argp-help.c: Likewise.
44640 * assert/assert.c: Likewise.
44641 * config.h.in: Likewise.
44642 * config.make.in: Likewise.
44643 * configure: Likewise.
44644 * configure.in: Likewise.
44645 * csu/Versions: Likewise.
44646 * csu/init.c: Likewise.
44647 * elf/tst-audit2.c: Likewise.
44648 * elf/tst-tls10.c: Likewise.
44649 * elf/tst-tls10.h: Likewise.
44650 * elf/tst-tls11.c: Likewise.
44651 * elf/tst-tls12.c: Likewise.
44652 * elf/tst-tls14.c: Likewise.
44653 * elf/tst-tlsmod11.c: Likewise.
44654 * elf/tst-tlsmod12.c: Likewise.
44655 * elf/tst-tlsmod13.c: Likewise.
44656 * elf/tst-tlsmod13a.c: Likewise.
44657 * elf/tst-tlsmod14a.c: Likewise.
44658 * elf/tst-tlsmod15b.c: Likewise.
44659 * elf/tst-tlsmod16a.c: Likewise.
44660 * elf/tst-tlsmod16b.c: Likewise.
44661 * elf/tst-tlsmod7.c: Likewise.
44662 * elf/tst-tlsmod8.c: Likewise.
44663 * elf/tst-tlsmod9.c: Likewise.
44664 * gmon/gmon.c: Likewise.
44665 * grp/fgetgrent_r.c: Likewise.
44666 * grp/putgrent.c: Likewise.
44667 * hurd/fopenport.c: Likewise.
44668 * include/libc-symbols.h: Likewise.
44669 * include/tls.h: Likewise.
44670 * intl/gettextP.h: Likewise.
44671 * intl/loadinfo.h: Likewise.
44672 * locale/global-locale.c: Likewise.
44673 * locale/localeinfo.h: Likewise.
44674 * mach/devstream.c: Likewise.
44675 * malloc/arena.c: Likewise.
44676 * malloc/set-freeres.c: Likewise.
44677 * misc/err.c: Likewise.
44678 * misc/getttyent.c: Likewise.
44679 * misc/mntent_r.c: Likewise.
44680 * posix/getopt.c: Likewise.
44681 * posix/wordexp.c: Likewise.
44682 * pwd/fgetpwent_r.c: Likewise.
44683 * resolv/Versions: Likewise.
44684 * resolv/res_hconf.c: Likewise.
44685 * shadow/fgetspent_r.c: Likewise.
44686 * shadow/putspent.c: Likewise.
44687 * stdio-common/printf_fphex.c: Likewise.
44688 * stdio-common/tmpfile.c: Likewise.
44689 * stdlib/abort.c: Likewise.
44690 * stdlib/fmtmsg.c: Likewise.
44691 * sunrpc/auth_unix.c: Likewise.
44692 * sunrpc/clnt_perr.c: Likewise.
44693 * sunrpc/clnt_tcp.c: Likewise.
44694 * sunrpc/clnt_udp.c: Likewise.
44695 * sunrpc/clnt_unix.c: Likewise.
44696 * sunrpc/openchild.c: Likewise.
44697 * sunrpc/svc_simple.c: Likewise.
44698 * sunrpc/svc_tcp.c: Likewise.
44699 * sunrpc/svc_udp.c: Likewise.
44700 * sunrpc/svc_unix.c: Likewise.
44701 * sunrpc/xdr.c: Likewise.
44702 * sunrpc/xdr_array.c: Likewise.
44703 * sunrpc/xdr_rec.c: Likewise.
44704 * sunrpc/xdr_ref.c: Likewise.
44705 * sunrpc/xdr_stdio.c: Likewise.
44707 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44709 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44711 2011-07-03 Andreas Jaeger <aj@suse.de>
44713 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44714 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44715 regenerate with gen-libm-tests.pl.
44717 2010-05-12 Petr Baudis <pasky@suse.cz>
44720 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44721 around j0() zero points by switching to j1().
44722 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44723 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44725 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44727 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44729 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44731 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44734 Patch in part by Pavel Roskin <proski@gnu.org>.
44737 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44739 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44740 Free memory block if necessary.
44743 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44744 be NULL. Don't lock in this case.
44746 2011-09-09 Roland McGrath <roland@hack.frob.com>
44748 * elf/elf.h (ELFOSABI_GNU): New macro.
44749 (ELFOSABI_LINUX): Define to that.
44751 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44753 * string/strncat.c (strncat): Undef the symbol in case it has been
44754 defined in bits/string.h.
44756 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44758 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44760 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44763 2011-08-17 Andreas Jaeger <aj@suse.de>
44765 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44767 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44768 Ian Lance Taylor <iant@google.com>
44770 * math/libm-test.inc (lround_test): New testcase.
44771 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44773 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44775 * Makefile: Remove support for automatic cvs check-ins.
44776 * Makerules: Likewise.
44777 * config.make.in: Likewise.
44778 * configure.in: Likewise.
44779 * intl/Makefile: Likewise.
44780 * locale/Makefile: Likewise.
44781 * po/Makefile: Likewise.
44782 * posix/Makefile: Likewise.
44783 * sysdeps/gnu/Makefile: Likewise.
44784 * sysdeps/mach/hurd/Makefile: Likewise.
44785 * sysdeps/sparc/sparc32/Makefile: Likewise.
44788 * posix/Makefile (bug-regex32-ENV): Define.
44789 Patch by John Stanley <jpsinthemix@verizon.net>.
44791 * misc/Makefile (headers): Add bits/select2.h.
44792 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44793 * misc/bits/select2.h: New file.
44794 * include/bits/select2.h: New file.
44795 * debug/Makefile (routines): Add fdelt_chk.
44796 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44797 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44799 * debug/fdelt_chk.c: New file.
44801 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44802 * wcsmbs/test-wmemcmp.c: Likewise.
44803 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44804 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44806 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44808 * string/Makefile (strop-tests): Add memcmp.
44809 * string/test-wmemcmp.c: New file.
44810 * string/test-memcmp.c: Add wmemcmp support.
44812 2011-09-08 Roland McGrath <roland@hack.frob.com>
44815 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44818 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44819 garbage value in a __mach_port_mod_refs call in the cases of the
44820 task-self and thread-self ports.
44822 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44824 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44826 2011-09-08 Andreas Schwab <schwab@redhat.com>
44828 * elf/dl-load.c (lose): Check for non-null L.
44830 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44832 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44834 * elf/dl-libc.c (dlerror_run): Pass back error code from
44838 * elf/dl-load.c (lose): Free l_origin if it is valid.
44840 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44842 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44843 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44844 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44845 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44846 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44847 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44849 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44851 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44852 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44853 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44854 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44855 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44856 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44857 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44858 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44859 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44860 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44862 2011-08-15 Alan Modra <amodra@gmail.com>
44865 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44866 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44867 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44868 ppc_mcount to static-only-routines.
44869 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44871 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44872 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44874 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44876 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44877 for finite and infinity parameters.
44879 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44882 and add nop instructions for throughput optimization.
44883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44885 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44887 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44888 aligned copy for power7 with vector-scalar instructions.
44889 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44891 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44893 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44896 2011-09-07 Andreas Schwab <schwab@redhat.com>
44899 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44902 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44904 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44905 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44906 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44907 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44910 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44912 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44913 Forgot to demangle the pointer.
44915 * sysdeps/i386/sysdep.h: Define atom_text_section.
44916 * sysdeps/x86_64/sysdep.h: Likewise.
44917 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44918 section with atom_text_section.
44919 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44921 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44922 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44925 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44926 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44927 already be defined. Change to take two parameters and don't assign
44928 result to variable. Adjust all users.
44929 Define INTERNAL_GETTIME if not already defined.
44930 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44933 HAVE_CLOCK_GETTIME_VSYSCALL.
44934 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44936 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44937 gettimeofday vsyscall, just use time.
44939 2011-09-06 Andreas Schwab <schwab@redhat.com>
44941 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44944 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44946 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44950 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44951 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44952 syscall if possible.
44954 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44956 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44957 e_ident. Don't pass to find_mapsXX.
44958 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44960 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44963 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44964 * sysdeps/x86_64/multiarch/strchr.S: Update.
44965 Check bit_slow_BSF bit.
44966 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44967 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44968 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44970 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44973 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44975 (tryshell): Define.
44976 (__spawni): Change last parameter to be flag. Test
44977 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44978 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44979 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44980 * posix/spawni.c: Likewise.
44981 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44982 * posix/spawnp.c: Likewise. Change normal version to use
44983 SPAWN_XFLAGS_USE_PATH.
44984 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44985 SPAWN_XFLAGS_TRY_SHELL.
44988 * posix/glob.h: Remove gcc 1.x support.
44991 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44993 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44996 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44998 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44999 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45000 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45001 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45002 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45003 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45005 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45007 * sysdeps/x86_64/wcscmp.S: New file.
45009 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45010 wcscmp-c wcscmp-sse2
45011 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45012 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45013 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45014 * wcsmbs/wcscmp.c: Allow renaming.
45016 2011-09-05 David S. Miller <davem@davemloft.net>
45018 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45019 stack slot, rather than the struct return pointer slot.
45020 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45021 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45023 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45025 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45027 * po/ja.po: Update from translation team.
45030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45031 kernel in 64-bit binaries.
45033 2011-09-01 David S. Miller <davem@davemloft.net>
45035 * elf/elf.h (HWCAP_SPARC_*): Move to..
45036 * sysdeps/sparc/sysdep.h: this new file and add new values.
45037 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45038 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45039 _DL_HWCAP_COUNT to 24.
45040 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45042 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45043 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45044 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45046 instead of magic constants.
45047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45049 2011-08-31 David S. Miller <davem@davemloft.net>
45051 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45053 Reimplement to do errno handling inline.
45054 (SYSCALL_ERROR_HANDLER): New macro.
45055 (__SYSCALL_STRING): Do not do errno handling in asm.
45056 (__CLONE_SYSCALL_STRING): Delete.
45057 (__INTERNAL_SYSCALL_STRING): Delete.
45058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45059 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45060 (PSEUDO): Reimplement to do errno handling inline.
45061 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45062 (SYSCALL_ERROR_HANDLER): New macro.
45063 (__SYSCALL_STRING): Do not do errno handling in asm.
45064 (__CLONE_SYSCALL_STRING): Delete.
45065 (__INTERNAL_SYSCALL_STRING): Delete.
45066 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45067 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45069 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45070 (inline_syscall*): Add 'err' argument.
45071 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45072 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45073 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45074 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45076 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45077 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45079 2011-08-30 Andreas Schwab <schwab@redhat.com>
45081 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45083 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45085 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45088 2011-08-24 David S. Miller <davem@davemloft.net>
45090 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45092 2011-08-24 Andreas Schwab <schwab@redhat.com>
45094 * elf/Makefile: Add rules to build and run unload8 test.
45095 * elf/unload8.c: New file.
45096 * elf/unload8mod1.c: New file.
45097 * elf/unload8mod1x.c: New file.
45098 * elf/unload8mod2.c: New file.
45099 * elf/unload8mod3.c: New file.
45101 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45104 2011-08-23 David S. Miller <davem@davemloft.net>
45106 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45107 subtract stack bias.
45108 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45109 %sp not %fp in calculations.
45110 (_JMPBUF_UNWINDS_ADJ): Likewise.
45112 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45113 (aio_suspend): Call it to force an exception region around the
45114 AIO_MISC_WAIT() invocation.
45116 2011-08-23 Andreas Schwab <schwab@redhat.com>
45118 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45121 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45123 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45125 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45126 and <dl-machine.h>.
45127 (Elf64_FuncDesc): Remove.
45129 2011-08-22 David S. Miller <davem@davemloft.net>
45131 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45132 sigaltstack check, add missing cfi directives.
45133 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45134 missing cfi directives, and sigaltstack handling.
45136 2011-08-16 Andreas Schwab <schwab@redhat.com>
45139 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45140 object is seen twice.
45141 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45143 * elf/Makefile (distribute): Add tst-initorder2.c.
45144 (tests): Add tst-initorder2.
45145 (modules-names): Add tst-initorder2a tst-initorder2b
45146 tst-initorder2c tst-initorder2d. Add rules to build them.
45147 ($(objpfx)tst-initorder2.out): New rule.
45148 * elf/tst-initorder2.c: New file.
45149 * elf/tst-initorder2.exp: New file.
45151 2011-08-22 Andreas Schwab <schwab@redhat.com>
45153 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45155 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45156 dependencies back to end of function.
45158 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45159 $(elfobjdir)/ld.so.
45161 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45163 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45164 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45166 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45167 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45168 of __vdso_gettimeofday.
45169 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45170 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45172 (_libc_vdso_platform_setup): Remove initialization of
45173 __vdso_gettimeofday and __vdso_time.
45175 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45177 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45178 and fgetc_unlocked.
45179 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45182 * elf/dl-open.c (add_to_global): Report additions to the global scope
45183 for LD_DEBUG=scopes.
45184 (dl_open_worker): Also print scope of newly loaded dependencies.
45185 (_dl_show_scope): Indicate if there is no scope.
45188 * stdio-common/Makefile (tests): Add bug24.
45189 * stdio-common/bug24.c: New file.
45191 2011-08-19 Andreas Jaeger <aj@suse.de>
45194 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45195 non-existant file when using close-on-exec mode.
45197 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45200 the very first instruction.
45202 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45203 the CFI state in the end.
45204 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45205 inclusion of dl-trampoline.h.
45206 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45208 2011-08-19 Andreas Schwab <schwab@redhat.com>
45210 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45211 expectations for long double.
45213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45214 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45216 2011-08-14 David S. Miller <davem@davemloft.net>
45218 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45219 artificual limit depends upon the system page size.
45221 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45223 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45224 * resolv/Makefile: Define CFLAGS-libresolv.
45226 2011-08-17 Andreas Schwab <schwab@redhat.com>
45228 * nss/makedb.c (compute_tables): Make variables used in nested
45231 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45233 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45234 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45235 if buffer was too small.
45237 * elf/pldd.c (main): Attach to all threads in the process.
45238 Rewrite /proc handling to use *at functions.
45240 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45242 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45243 specifies first scope to show.
45244 (dl_open_worker): Update callers. Move printing scope of new
45245 object to before the relocation.
45246 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45247 * sysdeps/generic/ldsodefs.h: Update declaration.
45249 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45250 string for the scope number.
45252 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45254 * nscd/servicescache.c (cache_addserv): Make sure written is always
45257 2011-08-14 Roland McGrath <roland@hack.frob.com>
45259 * sysdeps/i386/i486/bits/atomic.h
45260 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45261 statement expression, so as to suppress "set but not used" warning.
45262 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45264 * string/strncat.c (STRNCAT): Use prototype definition.
45266 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45267 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45269 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45270 (localedef-modules): Add localedef.
45271 (locale-modules): Add locale.
45273 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45274 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45275 to avoid a warning.
45277 2011-08-14 David S. Miller <davem@davemloft.net>
45279 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45280 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45282 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45284 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45285 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45286 * elf/rtld.c (dl_main): Set l_name of vDSO.
45287 Call _dl_show_scope when DL_DEBUG_SCOPES.
45288 (process_dl_debug): Recognize scopes flag and also set it for all.
45289 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45290 Declare _dl_show_scope.
45292 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45293 (do_dlopen): Pass caller_dlopen to dl_open.
45294 (__libc_dlopen_mode): Initialize caller_dlopen.
45296 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45297 of libc. Make tolower call locale-independent. Optimize a bit by
45298 using isdigit instead of isalnum.
45299 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45301 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45303 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45304 was a dependency or dynamically loaded.
45306 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45308 * intl/l10nflist.c: Allow architecture-specific pop function.
45309 * sysdeps/x86_64/l10nflist.c: New file.
45311 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45314 2011-08-10 Andreas Schwab <schwab@redhat.com>
45316 * include/dirent.h: Add libc_hidden_proto for scandirat and
45317 scandirat64. Don't declare __scandirat64.
45318 * dirent/scandirat.c: Add libc_hidden_def.
45319 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45320 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45322 2011-08-10 David S. Miller <davem@davemloft.net>
45324 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45326 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45327 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45330 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45332 * Versions.def [libc]: Add GLIBC_2.15.
45333 * dirent/Makefile (routines): Add scandirat and scandirat64.
45334 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45336 * dirent/dirent.h: Declare scandirat and scandirat64.
45337 * dirent/scandirat.c: New file.
45338 * dirent/scandirat64.c: New file.
45339 * sysdeps/wordsize-64/scandirat.c: New file.
45340 * sysdeps/wordsize-64/scandirat64.c: New file.
45341 * dirent/opendir.c: Define opendirat.
45342 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45344 * dirent/scandir64.c: Adjust for scandir.c change.
45345 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45346 __scandirat64, and __scandir_cancel_handler.
45347 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45348 additional parameter and use openat instead of open (outside of ld.so).
45349 Add new __opendir as wrapper around __opendirat.
45350 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45351 here without requiring old scandirat implementation.
45353 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45355 * dirent/scandir.c (cancel_handler): Renamed to
45356 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45357 defined. Adjust users.
45358 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45359 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45361 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45363 * string/test-string.h (IMPL): Use __STRING to expand name and then
45366 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45369 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45371 * string/Makefile: Update.
45372 (strop-tests): Append strncat.
45373 * string/test-wcscmp.c: New file.
45374 New comprehensive test for wcscmp.
45375 * string/test-strcmp.c: Update.
45376 (WIDE): New define.
45378 2011-07-22 Andreas Schwab <schwab@redhat.com>
45380 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45383 2011-07-26 Andreas Schwab <schwab@redhat.com>
45385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45386 encoding to ACE if AI_IDN.
45388 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45390 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45391 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45393 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45395 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45396 Fix overflow bug in strncat.
45397 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45399 * string/test-strncat.c: Update.
45400 Add new tests for checking overflow bugs.
45402 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45405 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45406 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45407 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45408 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45409 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45410 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45411 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45412 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45415 (USE_AS_STRCAT): Define.
45416 Add strcat and strncat support.
45417 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45419 2011-07-25 Andreas Schwab <schwab@redhat.com>
45421 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45422 __n bigger than INT_MAX+1.
45423 (__strncmp_g): Likewise.
45425 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45427 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45428 * libio/stido.h: Likewise.
45430 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45435 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45438 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45442 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45447 (_dl_x86_64_save_sse): Likewise.
45449 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45453 (_dl_x86_64_save_sse): Likewise.
45455 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45457 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45459 2011-07-21 Andreas Schwab <schwab@redhat.com>
45461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45463 (_dl_x86_64_save_sse): Use correct AVX check.
45465 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45467 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45468 bug in strncpy/strncat.
45469 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45471 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45473 * string/tester.c (test_strcat): Add tests for different alignments
45474 of source and destination.
45475 (test_strncat): Likewise.
45477 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45480 * posix/glob.c (glob): Check passed in values before using them in
45481 expressions to avoid some overflows.
45482 (glob_in_dir): Likewise.
45485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45486 check for AVX enablement so that we don't crash with old kernels and
45488 * elf/tst-audit4.c: Add same checks here.
45489 * elf/tst-audit6.c: Likewise.
45491 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45493 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45495 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45497 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45499 * po/cs.po: Update from translation team.
45500 * po/bg.po: Likewise.
45502 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45504 * misc/sys/cdefs.h: Add support for const attribute.
45505 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45506 to gnu_dev_{major,minor,makedev} functions.
45508 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45510 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45512 2011-07-20 Andreas Schwab <schwab@redhat.com>
45514 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45517 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45520 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45521 register in order to avoid conflicts with the soft frame pointer
45522 being held in r11 when necessary.
45523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45524 (INTERNAL_VSYSCALL_NCS): Likewise.
45526 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45528 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45529 * elf/dl-fini.c (_dl_fini): Adjust caller.
45530 * elf/dl-close.c (_dl_close_worker): Likewise.
45531 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45533 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45535 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45536 "aux_cache->nlibs < 0".
45538 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45539 in the reload-count case.
45541 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45544 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45545 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45546 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45547 * sysdeps/x86_64/multiarch/strcat.S: New file.
45548 * sysdeps/x86_64/multiarch/strncat.S: New file.
45549 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45550 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45551 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45552 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45553 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45554 (USE_AS_STRCAT): Define.
45555 Add strcat and strncat support.
45556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45558 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45559 * string/strncat.c: Update.
45560 (USE_AS_STRNCAT): Define.
45561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45562 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45564 * sysdeps/x86_64/multiarch/init-arch.h
45565 (bit_Prefer_PMINUB_for_stringop): New.
45566 (index_Prefer_PMINUB_for_stringop): Likewise.
45567 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45568 bit_Prefer_PMINUB_for_stringop.
45570 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45572 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45574 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45575 of casting of buffer.
45576 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45577 buffer32 and buffer64.
45578 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45579 writes instead of casting of buffer.
45580 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45582 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45585 2011-07-19 Andreas Schwab <schwab@redhat.com>
45587 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45589 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45591 * nscd/nscd.c (termination_handler): Don't do anything for a database
45592 if it has not yet been initialized.
45594 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45596 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45598 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45600 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45602 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45604 * po/nl.po: Update from translation team.
45605 * po/sv.po: Likewise.
45607 2011-07-16 Roland McGrath <roland@hack.frob.com>
45609 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45610 now disallowed by GCC.
45612 * configure.in (use-default-link): Default to yes if a test -shared
45613 link meets our qualifications.
45614 * configure: Regenerated.
45616 * config.make.in (output-format): New variable.
45617 * configure.in: Check for ld --print-output-format support.
45618 * configure: Regenerated.
45619 * Makerules ($(common-objpfx)format.lds)
45620 [$(output-format) != unknown]: Just use $(output-format),
45621 instead of the linker-script munging.
45623 2011-07-14 Roland McGrath <roland@hack.frob.com>
45625 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45626 of $(common-objpfx)shlib.lds.
45627 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45629 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45630 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45632 * configure.in (-z relro check): Adjust test code to add a large
45633 writable data section after it.
45634 * configure: Regenerated.
45636 2011-07-11 Roland McGrath <roland@hack.frob.com>
45638 * configure.in (-z relro check): Fix test code to make the variable
45640 * configure: Regenerated.
45642 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45644 * nscd/nscd.h (struct traced_file): Define.
45645 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45646 elements. Add traced_files.
45647 (inotify_fd): Declare.
45648 (register_traced_file): Declare.
45649 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45650 (inotify_fd): Export.
45651 (resolv_conf_descr): Remove.
45652 (nscd_init): Move inotify descriptor creation to main.
45653 Don't register files for notification here.
45654 (register_traced_file): New function.
45655 (invalidate_cache): Don't use reset_res to determine whether to call
45656 res_init, go through the list of registered files.
45657 (main_loop_poll): The inotify descriptors are now stored in the
45658 structures for the traced files.
45659 (main_loop_epoll): Likewise
45660 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45661 to __nss_disable_nscd.
45662 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45663 for a database anymore. Check the records for all the registered
45665 * nss/Makefile (libnss_files-routines): Add files-init.
45666 (libnss_db-routines): Add db-init.
45667 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45668 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45669 * nss/nss_db/db-init.c: New file.
45670 * nss/nss_files/files-init.c: New file.
45671 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45672 __nss_lookup_function.
45673 (__nss_lookup_function): Call nss_load_library.
45674 (nss_load_all_libraries): New function.
45675 (__nss_disable_nscd): Take parameter with callback function for files
45676 to register. Set is_nscd. Load all the DSOs for the NSS modules
45677 used for the cached services.
45678 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45679 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45680 options for features to all the files in nscd.
45682 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45684 2011-07-10 Roland McGrath <roland@hack.frob.com>
45686 * csu/elf-init.c (__libc_csu_init): Comment typo.
45688 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45690 * po/pl.po: Update from translation team.
45691 * po/ja.po: Likewise.
45692 * po/ru.po: Likewise.
45693 * po/ko.po: Likewise.
45694 * po/fr.po: Likewise.
45696 2011-07-09 Roland McGrath <roland@hack.frob.com>
45698 * configure.in (.ctors/.dtors header and trailer check):
45699 Use an empirical test on a built program.
45700 * configure: Regenerated.
45702 * configure.in (-z relro check): Use an empirical test on a built DSO.
45703 Detect, but do not require, on ia64.
45704 * configure: Regenerated.
45706 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45707 Update tests that use readelf to use $READELF instead.
45708 * configure: Regenerated.
45710 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45712 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45713 if the result is not used.
45715 2011-07-05 Andreas Jaeger <aj@suse.de>
45718 * stdlib/tst-strtod.c: Add testcase.
45720 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45722 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45723 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45724 The latter has a higher limit. Take additional parameter to pass to
45726 (__pathconf): Pass file to __statfs_link_max.
45727 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45729 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45733 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45737 (__statfs_filesize_max): Likewise.
45738 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45740 2011-07-05 Andreas Jaeger <aj@suse.de>
45742 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45744 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45746 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45748 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45751 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45753 * Makefile (strop-tests): Add strncat.
45754 * string/test-strncat.c: New file.
45756 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45758 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45760 2011-06-21 Andreas Jaeger <aj@suse.de>
45762 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45763 Copy rule from iconvdata/Makefile.
45765 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45768 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45769 but no long options are defined, just return 'W'.
45771 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45774 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45776 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45778 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45780 (innetgr): Likewise.
45782 2011-07-05 Roland McGrath <roland@hack.frob.com>
45784 * config.make.in (install_root): Default to $(DESTDIR).
45786 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45790 2011-07-02 Roland McGrath <roland@hack.frob.com>
45792 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45794 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45795 containing directory rather than embedding absolute directory names.
45797 * scripts/check-local-headers.sh: Rewritten using awk.
45798 Match by word, not by line. Print error messages for matches.
45799 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45801 * Makerules [shlib-lds-flags empty]:
45802 ($(common-objpfx)libc_pic.opts): New target.
45803 ($(common-objpfx)libc_pic.os.clean): New target.
45804 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45806 * config.make.in (OBJCOPY): New variable.
45807 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45808 * configure: Regenerated.
45810 * config.make.in (use-default-link): New variable.
45811 * configure.in (use_default_link): Grok --with-default-link to set it.
45812 * configure: Regenerated.
45813 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45814 (shlib-lds, shlib-lds-flags): Define to empty.
45816 * Makerules (shlib-lds): New variable.
45817 (shlib-lds-flags): New variable.
45818 (build-shlib, build-moduile, build-module-asneeded): Use it.
45819 ($(common-objpfx)libc.so): Use $(shlib-lds).
45820 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45821 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45823 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45824 DT_FLAGS/DT_FLAGS_1 with zero flags.
45826 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45827 linker script munging.
45829 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45831 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45833 * crypt/sha512.c (sha512_process_block): Perform total addition using
45834 128-bit if possible.
45835 (__sha512_finish_ctx): Likewise.
45836 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45838 * crypt/sha256.c (SWAP64): Define.
45839 (sha256_process_block): Perform total addition using 64-bit if
45841 (__sha256_finish_ctx): Likewise.
45843 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45845 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45847 * nscd/hstcache.c (cache_addhst): Likewise.
45848 * nscd/grpcache.c (cache_addgr): Likewise.
45849 * nscd/aicache.c (addhstaiX): Likewise
45850 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45852 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45854 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45856 * nscd/hstcache.c (cache_addhst): Likewise.
45857 * nscd/grpcache.c (cache_addgr): Likewise.
45858 * nscd/aicache.c (addhstaiX): Likewise
45860 2011-07-01 Andreas Schwab <schwab@redhat.com>
45862 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45863 domain only when needed.
45865 2011-06-30 Andreas Schwab <schwab@redhat.com>
45867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45868 is always restored.
45870 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45872 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45873 are re-adding the entry.
45874 * nscd/servicescache.c (cache_addserv): Likewise.
45876 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45878 * sysdeps/generic/dl-irel.h: fix protection against multiple
45880 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45882 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45885 * malloc/memusage.sh: Fix quoting in message.
45886 * debug/xtrace.sh: Likewise.
45888 * configure.in: Remove support for --experimental-malloc option, make
45890 * config.make.in: Likewise.
45891 * malloc/Makefile: Likewise.
45893 2011-06-27 Andreas Schwab <schwab@redhat.com>
45895 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45896 two-byte characters.
45898 2011-06-27 Roland McGrath <roland@hack.frob.com>
45900 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45901 AC_CACHE_CHECK invocation.
45902 * configure: Regenerated.
45904 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45906 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45909 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45910 bit from old_res_options.
45912 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45914 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45915 value type for setfct.
45917 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45919 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45920 __gettimeofday instead of gettimeofday.
45922 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45924 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45926 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45928 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45933 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45936 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45937 strcpy-sse2-unaligned strncpy-sse2-unaligned
45938 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45939 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45940 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45941 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45942 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45943 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45944 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45945 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45946 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45947 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45948 (STRCPY): Support SSE2 and SSSE3 versions.
45950 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45953 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45954 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45955 kernels which artificially limit size of requests.
45957 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45960 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45961 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45962 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45963 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45964 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45965 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45966 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45969 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45970 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45971 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45972 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45973 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45975 Enable unaligned load optimization for Intel Core i3, i5 and i7
45977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45979 (index_Fast_Unaligned_Load): Define.
45980 (HAS_FAST_UNALIGNED_LOAD): Define.
45982 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45984 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45986 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45990 until it is clear that the information is realy needed.
45991 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45993 2011-06-22 Andreas Schwab <schwab@redhat.com>
45995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45997 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46000 /sys/devices/system/cpu/online if it is usable.
46002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46003 reading the information from the /proc filesystem to once a second.
46005 2011-06-21 Andreas Jaeger <aj@suse.de>
46007 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46008 NULL after inclusion of kernel headers.
46010 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46012 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46013 calls to internal_setent.
46016 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46017 addresses using gethostbyname4_r ignore IPv4 addresses.
46019 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46020 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46022 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46024 2011-06-20 David S. Miller <davem@davemloft.net>
46026 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46028 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46030 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46031 (elf_irel): Use it.
46032 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46033 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46034 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46035 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46036 * sysdeps/x86_64/dl-irel.h: Likewise.
46038 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46039 * elf/dl-sym.c: Likewise.
46041 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46043 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46044 need to dereference resplen2.
46046 2011-06-14 Andreas Schwab <schwab@redhat.com>
46048 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46050 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46052 * Makeconfig: Define vardbdir and inst_vardbdir.
46053 * nss/Makefile: Add rules to install db-Makefile.
46055 * nss/nss_db/db-XXX.c: Cleanup.
46057 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46058 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46060 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46061 * nss/makedb.c: Implement -g option to specify that value strings
46062 are generated and should not be added to table iterated over for
46064 * nss/nss_db/db-initgroups.c: New file.
46066 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46069 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46070 (internal_getgrouplist): Adjust to name change.
46071 Update use_initgroups_entry if this is not the first call.
46072 * nss/databases.def: Add initgroups entry.
46074 * nss/makedb.c (compute_tables): Check result of multiple hash table
46075 sizes to minimize maximum chain length.
46077 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46079 * Versions.def: Add entry for libnss_db.
46080 * shlib-versions: Likewise.
46081 * nss/Makefile: Add rules to build libnss_db.
46082 * nss/Versions: Add libnss_db information. Organize libnss_files
46084 * nss/db-Makefile: Add gshadow support. Change rules for the new
46085 makedb progra. Some minor improvements to generate smaller files.
46086 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46088 * nss/makedb.c: ...here.
46089 Improve database format to be smaller and require less memory at
46091 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46093 * nss/nss_db/db-netgrp.c: Likewise.
46094 * nss/nss_db/db-open.c: Likewise.
46095 * nss/nss_files/flies-XXX.x: Adjust comments.
46096 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46097 * nss/nss_files/files-grp.c: Likewise.
46098 * nss/nss_files/files-hosts.c: Likewise.
46099 * nss/nss_files/files-network.c: Likewise.
46100 * nss/nss_files/files-proto.c: Likewise.
46101 * nss/nss_files/files-pwd.c: Likewise.
46102 * nss/nss_files/files-rpc.c: Likewise.
46103 * nss/nss_files/files-service.c: Likewise.
46104 * nss/nss_files/files-sgrp.c: Likewise.
46105 * nss/nss_files/files-spwd.c: Likewise.
46106 * nss/nss_db/db-alias.c: Removed.
46107 * nss/nss_db/dummy-db.h: Removed.
46109 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46111 * nss/makedb.c: Rewritten to not use database library.
46112 * nss/Makefile: Update to build new makedb program.
46114 2011-06-14 Andreas Jaeger <aj@suse.de>
46116 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46117 memset declaration.
46119 2011-06-10 Andreas Schwab <schwab@redhat.com>
46121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46124 2011-06-10 Roland McGrath <roland@hack.frob.com>
46126 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46127 * elf/Makefile ($(objpfx)ld.so): Likewise.
46129 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46130 Don't list ld.so twice in dependencies.
46132 * posix/bug-regex31.c: Include <stdlib.h>.
46134 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46136 * nis/nss_compat/compat-spwd.c
46137 (getspent_next_nss_netgr): Remove unused variable.
46138 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46140 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46141 nonmembers" output to use the right array.
46143 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46145 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46147 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46148 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46149 * catgets/gencat.c (read_input_file): Likewise.
46150 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46152 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46153 variable definition inside #if's controlling its use.
46155 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46157 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46159 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46161 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46164 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46166 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46167 * configure: Regenerated.
46169 * Makerules: Revert last change.
46170 * elf/Makefile: Likewise.
46172 2011-06-09 Roland McGrath <roland@hack.frob.com>
46174 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46175 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46176 (reloc-link): Likewise.
46178 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46180 * elf/Makefile: Add rules to build pldd.
46181 * elf/pldd.c: New file.
46182 * elf/pldd-xx.c: New file.
46184 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46186 * version.h: Update for 2.15 development version.
46188 2011-06-07 David S. Miller <davem@davemloft.net>
46190 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46193 elf_machine_lazy_rel): Likewise.
46194 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46196 elf_machine_lazy_rel): Likewise.
46197 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46198 dl_hwcap via passed in argument.
46199 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46202 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46204 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46206 2011-06-06 Roland McGrath <roland@hack.frob.com>
46209 * manual/fdl-1.1.texi: New file, verbatim from:
46210 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46211 * manual/lgpl-2.1.texi: New file, verbatim from:
46212 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46213 * manual/Makefile (licenses): New variable, list those new file names.
46215 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46217 * manual/fdl.texi: File removed.
46218 * manual/lesser.texi: File removed.
46219 * manual/libc.texinfo (Copying, Documentation License):
46220 Use new @include file names, put @appendix directive before @include.
46222 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46225 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46226 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46227 (mq_open): Add __NTH.
46229 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46232 Assume Intel Core i3/i5/i7 processor if AVX is available.
46234 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46239 2011-05-31 Andreas Schwab <schwab@redhat.com>
46241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46242 memory. Use alloca_account. Fix memory leak when retrying.
46244 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46246 * version.h (RELEASE): Bump for 2.14 release.
46247 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46249 * config.make.in (RANLIB): Remove entry.
46251 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46253 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46254 (libc.pot): Work around missing support for .ksh extension in xgettext.
46257 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46258 if both request failed.
46259 (send_dg): In case of server errors clear resplen or *resplen2.
46262 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46263 when there are multiple maps.
46264 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46265 (_dl_fini): Remove test here.
46267 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46269 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46272 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46273 bit from old_res_options.
46274 (gaih_inet): Likewise.
46277 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46280 * resolv/res_init.c (res_setoptions): Make the code more compact.
46283 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46287 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46289 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46292 * malloc/malloc.h: Declare malloc hook variables as volatile.
46294 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46298 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46299 raise in the comment.
46300 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46301 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46302 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46304 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46307 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46308 grow the buffers more if it already has to be sufficient.
46309 (build_wcs_upper_buffer): Likewise.
46310 * posix/regexec.c (check_matching): Likewise.
46311 (clean_state_log_if_needed): Likewise.
46312 (extend_buffers): Don't enlarge buffers beyond size of the input
46314 Patches mostly by Emil Wojak <emil@wojak.eu>.
46315 * posix/bug-regex32.c: New file.
46316 * posix/Makefile (tests): Add bug-regex32.
46318 * locale/findlocale.c (_nl_find_locale): Return right away if
46319 _nl_explode_name failed.
46320 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46322 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46324 * debug/xtrace.sh: Unify messages.
46325 * malloc/memusage.sh: Likewise.
46328 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46329 time symbol from vDSO. Substitute with vsyscall if not available.
46330 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46333 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46334 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46335 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46336 Add sendmmsg and internal_sendmmsg.
46337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46338 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46339 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46341 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46342 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46345 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46348 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46349 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46355 * iconvdata/Makefile (tests): Add bug-iconv9.
46356 * iconvdata/bug-iconv9.c: New file.
46358 2011-05-27 Andreas Schwab <schwab@redhat.com>
46361 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46363 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46365 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46366 (struct user_regs_struct): Change intcs field back to cs.
46368 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46370 * po/ja.po: Update from translation team.
46372 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46375 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46376 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46378 2011-05-20 Andreas Schwab <schwab@redhat.com>
46380 * stdlib/longlong.h: Update from GCC.
46382 2011-05-23 Andreas Schwab <schwab@redhat.com>
46384 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46386 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46387 Add parameter name.
46388 (__sysconf): Pass it down.
46390 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46393 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46395 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46396 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46397 add in in __libc_use_alloca calls. Adjust callers.
46398 (glob): Use malloc in some situations.
46400 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46401 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46404 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46406 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46407 and CLOCK_BOOTTIME_ALARM.
46410 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46413 * string/_strerror.c (__strerror_r): Print negative errors as signed
46417 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46418 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46419 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46421 * configure.in: Fix typo in redirection and correct removal of test
46422 files in two cases.
46425 * locale/setlocale.c (new_composite_name): Fix test to check for
46426 identical name of all categories.
46429 * libio/filedoalloc.c (local_isatty): New function.
46430 (_IO_file_doallocate): Use local_isatty.
46431 * stdio-common/perror.c (perror): In case a new stream is used
46432 forward the stream error.
46433 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46436 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46441 * include/alloca.h (extend_alloca_account): Define.
46444 * posix/regex.h: Fix comments with documentation of user-accessible
46445 fields after compilation and describe correct free'ing of pattern
46446 after re_compile_pattern.
46447 Patch by Reuben Thomas <rrt@sc3d.org>.
46449 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46451 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46452 and -mno-altivec to prevent the compiler from using Altivec and/or
46453 VSX instructions when the corresponding registers are not available.
46455 2011-05-19 Andreas Schwab <schwab@redhat.com>
46457 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46459 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46461 * libio/freopen.c (freopen): Use __dup2, not dup2.
46462 * libio/freopen64.c (freopen64): Likewise.
46464 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46467 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46468 * math/Makefile (tests): Add test-powl.
46469 (CFLAGS-test-powl.c): Define.
46470 * math/test-powl.c: New file.
46472 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46474 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46476 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46479 * iconvdata/gb18030.c: Update to GB18020-2005.
46481 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46483 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46484 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46485 Patch by Aharon Robbins <arnold@skeeve.com>.
46488 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46492 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46493 through underflows.
46496 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46497 point to strings before performing equality test for error_one_per_line
46501 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46504 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46505 (struct user_fpregs_struct): Avoid __uint*_t types.
46508 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46509 symbol info. Use it instead of calling _dl_addr locally.
46510 (lock_and_info): New function.
46511 (tr_freehook): Call lock_and_info and pass symbol info as additional
46512 parameter to tr_where.
46513 (tr_mallochook): Likewise.
46514 (tr_reallochook): Likewise.
46515 (tr_memalignhook): Likewise.
46517 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46518 used and couldn't be at all thread-safe.
46520 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46522 * libio/freopen.c (freopen): Don't close old file descriptor
46523 before the new one is opened. Instead dup the new file descriptor
46524 to the old one after the new stream is created.
46525 * libio/freopen64.c (freopen64): Likewise.
46526 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46527 * libio/fileops.c (_IO_new_file_close_it): Handle new
46528 _IO_FLAGS2_NOCLOSE flag.
46529 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46530 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46531 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46532 _IO_FLAGS2_NOCLOSE flag.
46533 * include/unistd.h: Add hidden_proto for dup3.
46534 Define __have_dup3.
46535 * io/dup3.c: Define hidden symbol.
46536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46539 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46540 when an incomplete long option is used.
46541 * posix/tst-getopt_long1.c: New file.
46542 * posix/Makefile (tests): Add tst-getopt_long1.
46545 * scripts/config.guess: Update from autoconf-2.68.
46546 * scripts/config.sub: Likewise.
46549 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46551 (has_cpuclock): ...this. New function.
46552 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46553 macro here based on has_cpuclock code.
46556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46557 First byte (not low byte) is now always NUL.
46558 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46561 Use non-cancelable interfaces.
46564 * locale/iso-639.def: Add entry for Sorani.
46567 * include/stdlib.h: Move include protection to the right place.
46568 Define abort_msg_s. Declare __abort_msg with it.
46569 * stdlib/abort.c (__abort_msg): Adjust type.
46570 * assert/assert.c (__assert_fail_base): New function. Majority
46571 of code from __assert_fail. Allocate memory for __abort_msg with
46573 (__assert_fail): Now call __assert_fail_base.
46574 * assert/assert-perr.c: Remove bulk of implementation. Use
46575 __assert_fail_base.
46576 * include/assert.hL Declare __assert_fail_base.
46577 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46579 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46581 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46585 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46586 until all modules are registered in the DTV.
46587 * elf/Makefile: Add rules to build and run tst-tls19.
46588 * elf/tst-tls19.c: New file.
46589 * elf/tst-tls19mod1.c: New file.
46590 * elf/tst-tls19mod2.c: New file.
46591 * elf/tst-tls19mod3.c: New file.
46592 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46595 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46599 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46600 two-byte sequence errors.
46601 * iconvdata/Makefile (tests): Add bug-iconv8.
46602 * iconvdata/bug-iconv8.c: New file.
46605 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46608 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46611 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46612 (dummy_getcfa): New function.
46613 (init): Get _Unwind_GetCFA address, use dummy if not found.
46614 (backtrace_helper): In recursion check, also check whether CFA changes.
46615 (__backtrace): Completely initialize arg.
46617 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46618 storing incomplete byte sequence in state object. Avoid testing for
46619 guaranteed too small input if we know there is enough data available.
46621 2011-05-11 Andreas Schwab <schwab@redhat.com>
46623 * Makeconfig (+link-pie): Indent.
46624 * Rules (binaries-pie): Define if $(have-fpie) and
46626 (binaries-shared): Also filter out $(binaries-pie).
46627 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46628 * nscd/Makefile (others-pie): Add nscd.
46629 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46630 ($(objpfx)nscd): Remove command override.
46631 * login/Makefile (others-pie): Add pt_chown.
46632 ($(objpfx)pt_chown): Remove command override.
46633 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46634 remove command overrides.
46636 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46638 * libio/tst_putwc.c: Fix error messages.
46641 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46642 currently writing and seek to current position when not.
46643 * libio/Makefile (tests): Add bug-fclose1.
46644 * libio/bug-fclose1.c: New file.
46646 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46649 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46650 don't set DF_1_NODELETE here.
46651 (do_lookup_x): When entering new entry test for copy relocation
46652 and if necessary set DF_1_NODELETE flag.
46653 * elf/tst-unique4.cc: New file.
46654 * elf/tst-unique4.h: New file.
46655 * elf/tst-unique4lib.cc: New file.
46656 * elf/Makefile: Add rules to build and run tst-unique4.
46657 Patch by Piotr Bury <pbury@goahead.com>.
46659 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46662 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46665 * misc/mntent_r.c (addmntent): Flush the stream after the output
46668 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46669 (is_trusted_path_normalize): Skip initial colon. Append slash
46670 to empty buffer. Duplicate is_trusted_path code but allow
46671 constructed patch to be prefix.
46672 (is_dst): Allow $ORIGIN followed by /.
46673 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46674 Correct testing of result of is_trusted_path_normalize
46675 (decompose_rpath): Fix warning.
46677 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46680 * grp/initgroups.c (internal_getgrouplist): When we found the service
46681 list through the initgroups entry in nsswitch.conf do not always
46682 continue on a successful lookup. Don't always use the
46683 __nss_group_database value if it is set.
46684 * nss/nsswitch.conf (initgroups): Change action for successful db
46685 lookup to continue for compatibility.
46687 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46690 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46692 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46694 * iconvdata/tst-tables.sh: Likewise.
46695 * iconvdata/cp770.c: New file.
46696 * iconvdata/cp771.c: New file.
46697 * iconvdata/cp772.c: New file.
46698 * iconvdata/cp773.c: New file.
46699 * iconvdata/cp774.c: New file.
46700 * iconvdata/testdata/CP770: New file.
46701 * iconvdata/testdata/CP770..UTF8: New file.
46702 * iconvdata/testdata/CP771: New file.
46703 * iconvdata/testdata/CP771..UTF8: New file.
46704 * iconvdata/testdata/CP772: New file.
46705 * iconvdata/testdata/CP772..UTF8: New file.
46706 * iconvdata/testdata/CP773: New file.
46707 * iconvdata/testdata/CP773..UTF8: New file.
46708 * iconvdata/testdata/CP774: New file.
46709 * iconvdata/testdata/CP774..UTF8: New file.
46711 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46713 * iconvdata/gen-8bit-gap.sh: Likewise.
46714 * iconvdata/gen-8bit.sh: Likewise.
46716 * locale/iso-639.def: Add ary entry.
46719 * locale/C-translit.h.in: Add U20A1 transliteration.
46722 * locale/iso-639.def: Add wae entry.
46723 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46726 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46730 * locale/C-translit.h.in: Add entry for U20B9.
46731 Patch by pravin.d.s@gmail.com.
46733 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46736 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46737 ENAMETOOLONG use generic getcwd.
46738 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46739 in rtld. Use *stat64.
46740 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46741 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46742 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46743 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46744 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46745 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46746 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46747 __fstatat64 macros.
46748 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46749 * dirent/rewinddir.c: Add libc_hidden_def.
46750 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46751 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46753 * include/dirent.h (__alloc_dir): Add flags parameter.
46754 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46755 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46757 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46758 from fdopendir if O_CLOEXEC is already set.
46760 2011-03-15 Alan Modra <amodra@gmail.com>
46762 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46763 l_tls_firstbyte_offset non-zero. Save padding offset in
46764 l_tls_firstbyte_offset for later use.
46765 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46766 freeing static tls block.
46768 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46770 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46771 where #ifdef was intended. The intent is to prevent ARG_MAX from
46772 being defined by the kernel headers.
46774 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46777 * resolv/resolv.h: Define RES_NOTLDQUERY.
46778 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46779 no-tld-query and set RES_NOTLDQUERY.
46780 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46781 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46782 modern BIND to search name as TLD unless forbidden.
46784 2011-05-07 Petr Baudis <pasky@suse.cz>
46785 Ulrich Drepper <drepper@gmail.com>
46788 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46789 (is_trusted_path): ...to here.
46790 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46791 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46792 using is_trusted_path_normalize() in setuid scripts.
46794 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46796 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46797 __BEGIN/__END_DECLS.
46799 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46801 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46802 NSS_STATUS_NOTFOUND if no record was found.
46804 2011-05-05 Andreas Schwab <schwab@redhat.com>
46806 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46807 (headers-not-in-tirpc): Remove rpc/netdb.h
46808 * resolv/netdb.h: Revert last change.
46810 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46812 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46813 circular dependency between libgcc.a and libc.a.
46815 2011-05-05 Andreas Schwab <schwab@redhat.com>
46817 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46818 * nis/Makefile: Don't install rpcsvc/*.
46819 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46820 instead of <rpc/types.h>.
46821 (MAXHOSTNAMELEN): Define.
46823 2011-05-03 Andreas Schwab <schwab@redhat.com>
46825 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46827 2011-04-28 Maciej Babinski <mbabinski@google.com>
46830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46831 gethostbyname4_r when IPv6 results are possible.
46833 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46836 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46837 _PC_PIPE_BUF handling.
46839 2011-04-30 Bruno Haible <bruno@clisp.org>
46842 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46843 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46845 * inet/getnameinfo.c (getnameinfo): Likewise.
46847 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46849 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46850 to groups setting in database lookup.
46851 * nss/nsswitch.conf: Add initgroups entry.
46853 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46856 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46858 Patch by Eric Blake <eblake@redhat.com>.
46860 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46862 * sunrpc/Makefile (need-export-routines): Add svc_run.
46863 (routines): Remove svc_run.
46864 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46865 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46866 * sunrpc/svc_run.c (svc_run): Likewise.
46867 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46869 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46872 problem in reallocation in last patch.
46874 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46876 * sunrpc/Makefile: Move inclusion of Rules.
46878 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46880 * nss/nss_files/files-initgroups.c: New file.
46881 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46882 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46883 _nss_files_initgroups_dyn.
46885 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46887 * elf/elf.h (R_ARM_IRELATIVE): Define.
46889 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46891 * po/ru.po: Update from translation team.
46893 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46895 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46898 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46901 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46902 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46905 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46907 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46909 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46915 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46918 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46920 * stdlib/bug-getcontext.c: New file.
46921 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46923 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46925 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46926 instructions into .machine "z9-109".
46927 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46928 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46930 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46932 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46933 between environment variables and auxiliary vector.
46935 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46937 * Makefile: Add rules to build linkobj/libc.so.
46938 * include/libc-symbols.h: Define libc_hidden_nolink.
46939 * include/rpc/auth.h: Mark functions which are to be hidden.
46940 * include/rpc/auth_des.h: Likewise.
46941 * include/rpc/auth_unix.h: Likewise.
46942 * include/rpc/clnt.h: Likewise.
46943 * include/rpc/des_crypt.h: Likewise.
46944 * include/rpc/key_prot.h: Likewise.
46945 * include/rpc/pmap_clnt.h: Likewise.
46946 * include/rpc/pmap_prot.h: Likewise.
46947 * include/rpc/pmap_rmt.h: Likewise.
46948 * include/rpc/rpc_msg.h: Likewise.
46949 * include/rpc/svc.h: Likewise.
46950 * include/rpc/svc_auth.h: Likewise.
46951 * include/rpc/xdr.h: Likewise.
46952 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46953 * nss/Makefile: Likewise.
46954 * sunrpc/Makefile: Don't install headers. Build library with normal
46955 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46956 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46957 for the compat linking library. Remove use of INTDEF/INTUSE.
46958 * sunrpc/auth_none.c: Likewise.
46959 * sunrpc/auth_unix.c: Likewise.
46960 * sunrpc/authdes_prot.c: Likewise.
46961 * sunrpc/authuxprot.c: Likewise.
46962 * sunrpc/clnt_gen.c: Likewise.
46963 * sunrpc/clnt_perr.c: Likewise.
46964 * sunrpc/clnt_raw.c: Likewise.
46965 * sunrpc/clnt_simp.c: Likewise.
46966 * sunrpc/clnt_tcp.c: Likewise.
46967 * sunrpc/clnt_udp.c: Likewise.
46968 * sunrpc/clnt_unix.c: Likewise.
46969 * sunrpc/des_crypt.c: Likewise.
46970 * sunrpc/des_soft.c: Likewise.
46971 * sunrpc/get_myaddr.c: Likewise.
46972 * sunrpc/key_call.c: Likewise.
46973 * sunrpc/key_prot.c: Likewise.
46974 * sunrpc/netname.c: Likewise.
46975 * sunrpc/pm_getmaps.c: Likewise.
46976 * sunrpc/pm_getport.c: Likewise.
46977 * sunrpc/pmap_clnt.c: Likewise.
46978 * sunrpc/pmap_prot.c: Likewise.
46979 * sunrpc/pmap_prot2.c: Likewise.
46980 * sunrpc/pmap_rmt.c: Likewise.
46981 * sunrpc/publickey.c: Likewise.
46982 * sunrpc/rpc_cmsg.c: Likewise.
46983 * sunrpc/rpc_common.c: Likewise.
46984 * sunrpc/rpc_dtable.c: Likewise.
46985 * sunrpc/rpc_prot.c: Likewise.
46986 * sunrpc/rpc_thread.c: Likewise.
46987 * sunrpc/rtime.c: Likewise.
46988 * sunrpc/svc.c: Likewise.
46989 * sunrpc/svc_auth.c: Likewise.
46990 * sunrpc/svc_authux.c: Likewise.
46991 * sunrpc/svc_raw.c: Likewise.
46992 * sunrpc/svc_run.c: Likewise.
46993 * sunrpc/svc_simple.c: Likewise.
46994 * sunrpc/svc_tcp.c: Likewise.
46995 * sunrpc/svc_udp.c: Likewise.
46996 * sunrpc/svc_unix.c: Likewise.
46997 * sunrpc/svcauth_des.c: Likewise.
46998 * sunrpc/xcrypt.c: Likewise.
46999 * sunrpc/xdr.c: Likewise.
47000 * sunrpc/xdr_array.c: Likewise.
47001 * sunrpc/xdr_float.c: Likewise.
47002 * sunrpc/xdr_intXX_t.c: Likewise.
47003 * sunrpc/xdr_mem.c: Likewise.
47004 * sunrpc/xdr_rec.c: Likewise.
47005 * sunrpc/xdr_ref.c: Likewise.
47006 * sunrpc/xdr_sizeof.c: Likewise.
47007 * sunrpc/xdr_stdio.c: Likewise.
47009 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47012 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47013 * sysdeps/ia64/dl-tls.h: Likewise.
47014 * sysdeps/powerpc/dl-tls.h: Likewise.
47015 * sysdeps/s390/dl-tls.h: Likewise.
47016 * sysdeps/sh/dl-tls.h: Likewise.
47017 * sysdeps/sparc/dl-tls.h: Likewise.
47018 * sysdeps/x86_64/dl-tls.h: Likewise.
47019 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47021 2011-03-14 Andreas Schwab <schwab@redhat.com>
47023 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47024 rpath element also skip the following colon.
47025 (expand_dynamic_string_token): Add is_path parameter and pass
47026 down to DL_DST_REQUIRED and _dl_dst_substitute.
47027 (decompose_rpath): Call expand_dynamic_string_token with
47028 non-zero is_path. Ignore empty rpaths.
47029 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47032 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47037 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47040 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47041 Patch by Filipe David Manana <fdmanana@apache.org>.
47043 2011-04-07 Andreas Schwab <schwab@redhat.com>
47045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47046 Maintain aligned stack.
47047 (CHECK_RSP): Remove unused macro.
47049 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47051 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47052 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47054 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47056 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47058 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47060 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47063 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47064 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47065 * sysdeps/x86_64/memmove.c: New file.
47066 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47067 (memcpy): Renamed to ...
47068 (__new_memcpy): This.
47069 (memcpy): Provide GLIBC_2_14 memcpy.
47070 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47071 (memcpy): Provide GLIBC_2_2_5 memcpy.
47073 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47076 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47078 2011-03-30 Andreas Schwab <schwab@redhat.com>
47080 * misc/syncfs.c: New file.
47081 * misc/Makefile (routines): Add syncfs.
47082 * posix/unistd.h: Declare syncfs.
47083 * sysdeps/unix/syscalls.list: Add syncfs.
47085 2011-04-01 Andreas Schwab <schwab@redhat.com>
47087 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47092 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47094 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47097 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47101 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47107 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47108 sync_file_range.c with -fexceptions.
47109 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47110 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47111 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47112 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47113 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47114 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47115 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47116 sync_file_range as cancellation point
47117 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47118 now a wrapper around __call_sync_file_range with cancellation handling.
47119 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47120 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47121 function name to __call_sync_file_range.
47122 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47123 Add call_sync_file_range.
47125 2011-04-01 Andreas Schwab <schwab@redhat.com>
47127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47130 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47132 * iconv/iconv.h: Fix typo in comment.
47133 * io/fcntl.h: Likewise.
47134 * libio/stdio.h: Likewise.
47135 * posix/spawn.h: Likewise.
47136 * posix/unistd.h: Likewise.
47137 * stdlib/stdlib.h: Likewise.
47138 * time/time.h: Likewise.
47139 * wcsmbs/wchar.h: Likewise.
47141 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47142 open_by_handle): Add.
47143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47144 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47145 Augment a few comments.
47146 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47151 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47154 * io/fcntl.h (AT_EMPTY_PATH): Define.
47156 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47158 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47159 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47160 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47162 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47163 * Versions.def: Add GLIBC_2.14.
47164 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47167 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47169 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47171 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47173 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47176 * string/test-strncmp.c (do_page_test): New function.
47177 (check2): Likewise.
47178 (test_main): Call check2.
47179 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47181 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47184 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47185 Handle cache information in CPU leaf 4.
47186 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47188 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47191 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47192 character representation.
47193 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47195 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47197 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47198 END(__isnan) to END(__isnanf) to match function entry point/label
47199 EALIGN(__isnanf,...).
47201 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47203 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47205 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47208 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47209 copy from the symbol referenced in the relocation to initialize the
47211 Patch by Piotr Bury <pbury@goahead.com>.
47212 * elf/Makefile: Add rules to build and tst-unique3.
47213 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47214 * elf/tst-unique3.cc: New file.
47215 * elf/tst-unique3.h: New file.
47216 * elf/tst-unique3lib.cc: New file.
47217 * elf/tst-unique3lib2.cc: New file.
47219 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47221 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47223 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47224 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47227 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47229 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47230 to-be-loaded object along a path to loader is ld.so.
47232 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47233 Ulrich Drepper <drepper@gmail.com>
47235 * sysdeps/x86_64/memset.S: After aligning destination, code
47236 branches to different locations depending on the value of
47237 misalignment, when multiarch is enabled. Fix this.
47239 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47241 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47242 Set _x86_64_preferred_memory_instruction for AMD processsors.
47243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47244 Set bit_Prefer_SSE_for_memop for AMD processors.
47246 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47248 * libio/fmemopen.c (fmemopen): Optimize a bit.
47250 2011-03-03 Andreas Schwab <schwab@redhat.com>
47252 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47254 2011-03-03 Roland McGrath <roland@redhat.com>
47256 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47258 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47260 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47261 __bzero_ultra1 instead of __memset_ultra1.
47263 2011-02-23 Andreas Schwab <schwab@redhat.com>
47264 Ulrich Drepper <drepper@gmail.com>
47267 * include/link.h (struct link_map): Add l_orig_initfini.
47268 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47269 returning unsuccessfully.
47270 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47271 close of a file loaded at startup, restore the original l_initfini
47273 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47274 list, store the pointer.
47275 * elf/Makefile ($(objpfx)noload-mem): New rule.
47276 (noload-ENV): Define.
47277 (tests): Add $(objpfx)noload-mem.
47278 * elf/noload.c: Include <memcheck.h>.
47279 (main): Call mtrace. Close all opened handles.
47281 2011-02-17 Andreas Schwab <schwab@redhat.com>
47284 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47285 dependencies are missing.
47287 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47289 Fix __if_freereq crash: Unlike the generic version which uses free,
47291 * sysdeps/mach/hurd/ifreq.h: New file.
47293 2011-01-27 Petr Baudis <pasky@suse.cz>
47294 Ulrich Drepper <drepper@gmail.com>
47297 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47298 to extend_alloca().
47299 * stdio-common/bug23.c: New file.
47300 * stdio-common/Makefile (tests): Add bug23.
47302 2010-09-28 Andreas Schwab <schwab@redhat.com>
47303 Ulrich Drepper <drepper@gmail.com>
47306 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47307 before performing relro protection. At old place add assertion
47308 to make sure nothing changed.
47310 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47311 Glauber de Oliveira Costa <glommer@gmail.com>
47313 * elf/elf.h: Add new ARM TLS relocs.
47315 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47318 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47320 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47322 * sysdeps/wordsize-64/tst-writev.c: New file.
47324 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47326 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47327 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47328 insns in _dl_start to prevent a TOC reference before relocs are
47331 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47334 * Makeconfig: Remove RANLIB definition.
47335 * Makerules: Don't use RANLIB.
47336 * aclocal.m4: Remove ranlib test.
47337 * configure.in: No need to check for ranlib.
47338 * elf/rtld-Rules: Don't use RANLIB.
47340 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47342 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47344 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47345 inclusion protection macro.
47347 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47348 SIGRTMIN and SIGRTMAX and print information in that case only when
47349 SIGRTMIN is defined.
47351 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47353 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47354 arginfo fn returning -1.
47356 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47357 and thousands string is zero terminated.
47359 2011-02-03 Andreas Schwab <schwab@redhat.com>
47361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47362 sysdeps/unix/sysv/linux/bits/socket.h.
47364 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47366 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47367 (__CPU_COUNT): Remove old macros.
47368 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47369 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47370 (__CPU_ALLOC, __CPU_FREE): Add macros.
47371 (__sched_cpualloc, __sched_cpufree): Add declarations.
47373 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47375 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47376 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47377 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47378 (readdhstai): Return value of addhstaiX call.
47379 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47380 (addgrbyX): Return value returned by cache_addgr.
47381 (readdgrbyname): Return value returned by addgrbyX.
47382 (readdgrbygid): Likewise.
47383 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47384 (addpwbyX): Return value returned by cache_addpw.
47385 (readdpwbyname): Return value returned by addhstbyX.
47386 (readdpwbyuid): Likewise.
47387 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47388 (addservbyX): Return value returned by cache_addserv.
47389 (readdservbyname): Return value returned by addservbyX:
47390 (readdservbyport): Likewise.
47391 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47392 (addhstbyX): Return value returned by cache_addhst.
47393 (readdhstbyname): Return value returned by addhstbyX.
47394 (readdhstbyaddr): Likewise.
47395 (readdhstbynamev6): Likewise.
47396 (readdhstbyaddrv6): Likewise.
47397 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47398 (readdinitgroups): Return value returned by addinitgroupsX.
47399 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47400 (prune_cache): Keep track of timeout value of re-added entries.
47401 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47402 * nscd/nscd.h: Adjust prototypes of readd* functions.
47404 2011-02-04 Roland McGrath <roland@redhat.com>
47406 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47407 (nis_stats): Likewise.
47408 * nis/nis_modify.c (nis_modify): Likewise.
47409 * nis/nis_remove.c (nis_remove): Likewise.
47410 * nis/nis_add.c (nis_add): Likewise.
47412 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47414 * posix/fnmatch_loop.c: Add some consts.
47416 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47418 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47421 * config.make.in (config-cflags-novzeroupper): Define.
47422 * configure.in: Substitute libc_cv_cc_novzeroupper.
47423 * elf/Makefile (AVX-CFLAGS): Define.
47424 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47425 (CFLAGS-tst-auditmod4a.c): Likewise.
47426 (CFLAGS-tst-auditmod4b.c): Likewise.
47427 (CFLAGS-tst-auditmod6b.c): Likewise.
47428 (CFLAGS-tst-auditmod6c.c): Likewise.
47429 (CFLAGS-tst-auditmod7b.c): Likewise.
47430 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47432 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47434 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47435 function to the callback.
47436 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47438 2011-02-02 Andreas Schwab <schwab@redhat.com>
47440 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47443 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47446 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47448 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47450 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47453 * elf/Makefile: Add rules to build and run new test.
47454 * elf/tst-initorder.c: New file.
47455 * elf/tst-initorder.exp: New file.
47456 * elf/tst-initordera1.c: New file.
47457 * elf/tst-initordera2.c: New file.
47458 * elf/tst-initordera3.c: New file.
47459 * elf/tst-initordera4.c: New file.
47460 * elf/tst-initorderb1.c: New file.
47461 * elf/tst-initorderb2.c: New file.
47462 * elf/tst-order-a1.c: New file.
47463 * elf/tst-order-a2.c: New file.
47464 * elf/tst-order-a3.c: New file.
47465 * elf/tst-order-a4.c: New file.
47466 * elf/tst-order-b1.c: New file.
47467 * elf/tst-order-b2.c: New file.
47468 * elf/tst-order-main.c: New file.
47469 New test case by George Gensure <werkt0@gmail.com>.
47471 2010-10-01 Andreas Schwab <schwab@redhat.com>
47473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47474 decoding ACE if AI_CANONIDN.
47476 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47478 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47480 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47482 * version.h (RELEASE): Bump for 2.13 release.
47483 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47485 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47487 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47489 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47491 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47492 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47494 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47496 * posix/getconf.c: Update copyright year.
47497 * catgets/gencat.c: Likewise.
47498 * csu/version.c: Likewise.
47499 * debug/catchsegv.sh: Likewise.
47500 * debug/xtrace.sh: Likewise.
47501 * elf/ldconfig.c: Likewise.
47502 * elf/ldd.bash.in: Likewise.
47503 * elf/sprof.c (print_version): Likewise.
47504 * iconv/iconv_prog.c: Likewise.
47505 * iconv/iconvconfig.c: Likewise.
47506 * locale/programs/locale.c: Likewise.
47507 * locale/programs/localedef.c: Likewise.
47508 * malloc/memusage.sh: Likewise.
47509 * malloc/mtrace.pl: Likewise.
47510 * nscd/nscd.c (print_version): Likewise.
47511 * nss/getent.c: Likewise.
47513 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47514 PF_CAIF, and PF_ALG.
47515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47517 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47519 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47520 (modules-names): Use them.
47521 (ifunc-test-modules, ifunc-pie-tests): Define.
47522 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47523 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47524 (test-extras): Likewise.
47525 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47526 $(compile-command.c).
47527 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47528 (all-built-dso): Define.
47529 (check-textrel.out, check-execstack.out): Depend on it.
47531 * configure.in: Don't override --enable-multi-arch.
47533 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47536 * nscd/hstcache.c (tryagain): Define.
47537 (cache_addhst): Return tryagain not notfound for temporary errors.
47538 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47541 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47544 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47545 to make the syscall.
47546 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47549 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47550 and fall back to matching as normal character if the string ends before
47551 the matching ']' is found. This is what POSIX requires.
47552 * posix/testfnm.c: Adjust test result.
47553 * posix/globtest.sh: Adjust test result. Add new test.
47554 * posix/tst-fnmatch.input: Likewise.
47555 * posix/tst-fnmatch2.c: Add new test.
47557 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47559 * elf/Makefile (check-execstack): Revert last change. Depend on
47561 (check-execstack.h): New target.
47562 (generated): Add check-execstack.h.
47563 * elf/check-execstack.c: Include "check-execstack.h".
47564 (main): Revert last change.
47565 (handle_file): Return zero if GNU_STACK is absent and
47566 DEFAULT_STACK_PERMS doesn't include PF_X.
47568 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47570 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47571 in child fails because the descriptor is already closed.
47572 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47573 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47574 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47577 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47581 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47582 temporary buffer used to handle multi lookups locally.
47583 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47585 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47587 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47590 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47592 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47593 alignment for SSE2.
47595 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47598 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47599 characters. When rounding increased number of integer digits recompute
47601 * stdio-common/tst-grouping.c: New file.
47602 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47604 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47606 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47607 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47609 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47611 * bits/select.h: Likewise.
47613 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47615 * po/ja.po: Update from translation team.
47617 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47620 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47621 implementation just like for lxstat, fxstatat, et al.
47623 2010-12-27 Jim Meyering <meyering@redhat.com>
47626 * posix/regexec.c (build_trtable): Return failure indication upon
47627 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47629 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47632 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47633 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47634 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47635 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47638 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47641 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47642 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47644 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47646 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47647 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47648 script has SORT_BY_INIT_PRIORITY.
47649 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47650 NO_CTORS_DTORS_SECTIONS is defined.
47651 * elf/soinit.c: Likewise.
47652 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47653 NO_CTORS_DTORS_SECTIONS is defined.
47654 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47655 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47656 * sysdeps/sh/init-first.c: Likewise.
47657 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47659 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47661 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47662 always use the slow path.
47664 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47666 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47667 similar rule which adds the sysdep directories to the header search in
47668 order to pick up the correct platform stackinfo.h.
47669 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47670 perform test if it is, otherwise return successfully without testing.
47671 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47672 DEFAULT_STACK_PERMS define in stackinfo.h.
47673 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47674 defined in stackinfo.h.
47675 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47676 DEFAULT_STACK_PERMS defined in stackinfo.h.
47677 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47678 * sysdeps/ia64/stackinfo.h: Likewise.
47679 * sysdeps/s390/stackinfo.h: Likewise.
47680 * sysdeps/sh/stackinfo.h: Likewise.
47681 * sysdeps/sparc/stackinfo.h: Likewise.
47682 * sysdeps/x86_64/stackinfo.h: Likewise.
47683 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47684 PF_X for powerpc64. Retain PF_X for powerpc32.
47686 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47688 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47690 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47691 GETDENTS_64BIT_ALIGNED.
47693 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47695 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47697 2010-12-10 Andreas Schwab <schwab@redhat.com>
47699 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47702 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47703 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47705 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47706 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47708 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47711 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47714 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47716 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47718 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47720 * po/it.po: Update from translation team.
47722 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47727 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47729 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47731 2010-11-24 Andreas Schwab <schwab@redhat.com>
47733 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47735 (gaih_getanswer_slice): Likewise.
47737 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47739 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47741 2010-05-31 Petr Baudis <pasky@suse.cz>
47744 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47745 silently even in the chroot mode.
47747 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47749 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47750 last patch a bit. Pretty printing
47752 2010-05-31 Petr Baudis <pasky@suse.cz>
47755 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47756 initialization of skip_initgroups_dyn.
47758 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47760 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47761 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47763 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47765 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47767 2010-11-11 Andreas Schwab <schwab@redhat.com>
47769 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47770 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47771 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47772 ($(objpfx)tst-fnmatch-mem): New rule.
47773 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47774 * posix/tst-fnmatch.c (main): Call mtrace.
47776 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47779 Support Intel processor model 6 and model 0x2c.
47781 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47786 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47789 * string/test-strncasecmp.c (check_result): New function.
47790 (do_one_test): Use it.
47791 (check1): New function.
47792 (test_main): Use it.
47793 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47794 Support strcasecmp and strncasecmp.
47796 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47799 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47800 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47802 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47804 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47808 * sysdeps/x86_64/multiarch/bzero.S: New file.
47809 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47810 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47811 * sysdeps/x86_64/multiarch/memset.S: New file.
47812 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47814 Set bit_Prefer_SSE_for_memop for Intel processors.
47815 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47817 (index_Prefer_SSE_for_memop): Define.
47818 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47820 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47822 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47823 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47825 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47828 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47829 (__x86_64_raw_data_cache_size_half): Likewise.
47830 (__x86_64_raw_shared_cache_size): Likewise.
47831 (__x86_64_raw_shared_cache_size_half): Likewise.
47833 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47834 (__x86_64_raw_data_cache_size_half): Likewise.
47835 (__x86_64_raw_shared_cache_size): Likewise.
47836 (__x86_64_raw_shared_cache_size_half): Likewise.
47837 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47838 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47839 and __x86_64_raw_shared_cache_size_half. Round
47840 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47841 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47842 to multiple of 256 bytes.
47844 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47847 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47848 of inacessible symlinks. Verify result of symlink before returning it.
47849 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47850 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47852 2010-10-28 Erich Ritz <erichritz@gmail.com>
47854 * math/math.h (isinf): Fix typo in comment.
47856 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47858 * po/da.po: Update from translation team.
47860 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47862 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47863 is added to the list.
47865 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47866 Ulrich Drepper <drepper@gmail.com>
47868 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47869 the global list here. Move code to...
47870 (_dl_add_to_namespace_list): ...here. New function.
47871 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47872 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47873 * elf/dl-load.c (lose): Don't remove the element from the list.
47874 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47875 (_dl_map_object): Likewise.
47877 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47880 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47881 into all bytes of SSE register.
47882 Patch by Richard Li <richardpku@gmail.com>.
47884 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47887 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47890 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47892 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47893 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47894 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47895 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47900 2010-10-22 Andreas Schwab <schwab@redhat.com>
47902 * include/dlfcn.h (__RTLD_SECURE): Define.
47903 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47904 mode & __RTLD_SECURE instead.
47905 (open_path): Rename preloaded parameter to secure.
47906 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47907 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47908 * elf/dl-deps.c (openaux): Likewise.
47909 * elf/rtld.c (struct map_args): Remove is_preloaded.
47910 (map_doit): Don't use it.
47911 (dl_main): Likewise.
47912 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47913 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47915 2010-09-09 Andreas Schwab <schwab@redhat.com>
47917 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47918 (sysd-rules-targets): Remove duplicates.
47919 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47920 rtld-%.$o dependency.
47922 2010-10-18 Andreas Schwab <schwab@redhat.com>
47924 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47925 _dl_map_object do it.
47927 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47929 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47930 fast fma builtins, define the macros in the C99 standard.
47931 (FP_FAST_FMAF): Likewise.
47932 (FP_FAST_FMAL): Likewise.
47933 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47935 * bits/mathdef.h: Update copyright year.
47936 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47938 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47940 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47941 builtins, define the macros in the C99 standard.
47942 (FP_FAST_FMAF): Likewise.
47943 (FP_FAST_FMAL): Likewise.
47944 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47946 (FP_FAST_FMAF): Likewise.
47948 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47951 * math/libm-test.inc (fma_test): Some new testcases.
47952 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47953 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47954 y and infinite z. Do multiplication by C already in long double.
47955 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47957 y and infinite z. Do bitwise or of inexact bit into u.d.
47958 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47959 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47960 * sysdeps/i386/fpu/s_fma.S: Removed.
47961 * sysdeps/i386/fpu/s_fmal.S: Removed.
47963 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47966 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47968 computation is not scheduled after fetestexcept. Fix value
47969 of minimum denormal long double.
47971 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47974 * math/libm-test.inc (fma_test): Add some more tests.
47975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47978 2010-10-15 Andreas Schwab <schwab@redhat.com>
47980 * scripts/data/localplt-s390-linux-gnu.data: New file.
47981 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47983 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47986 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47987 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47989 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47991 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47993 if one of x and y is very large and the other is subnormal.
47994 * sysdeps/s390/fpu/s_fmaf.c: New file.
47995 * sysdeps/s390/fpu/s_fma.c: New file.
47996 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47997 * sysdeps/powerpc/fpu/s_fma.S: New file.
47998 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47999 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48000 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48002 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48005 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48008 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48009 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48010 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48011 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48012 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48015 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48018 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48019 * posix/bug-regex31.input: Add test case.
48021 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48023 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48024 * posix/bug-regex31.input: New file.
48027 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48028 (parse_sub_exp): Fix last change, use postorder.
48030 * posix/bug-regex31.c: New file.
48031 * posix/Makefile: Add rules to build and run bug-regex31.
48033 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48036 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48039 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48040 to have entries in sys_siglist.
48043 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48046 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48049 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48050 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48051 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48052 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48053 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48054 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48055 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48056 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48057 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48058 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48059 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48060 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48061 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48062 * math/ftestexcept.c (fetestexcept): Likewise.
48063 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48064 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48065 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48066 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48067 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48068 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48069 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48071 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48074 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48077 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48079 * string/bug-strstr1.c: New file.
48080 * string/Makefile: Add rules to build and run bug-strstr1.
48082 2010-10-05 Eric Blake <eblake@redhat.com>
48085 * string/str-two-way.h (two_way_long_needle): Always clear memory
48086 when skipping input due to the shift table.
48088 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48091 * malloc/mcheck.c: Handle large requests.
48094 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48095 for strncmp and strncasecmp.
48096 * string/stratcliff.c: Add tests for strcmp and strncmp.
48097 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48099 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48101 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48104 2010-09-30 Andreas Jaeger <aj@suse.de>
48106 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48107 (CGROUP_SUPER_MAGIC): Define.
48108 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48109 Handle btrfs and cgroup file systems.
48110 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48113 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48115 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48116 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48118 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48121 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48122 trying to locate the ELF header.
48124 2010-09-27 Andreas Schwab <schwab@redhat.com>
48127 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48128 Mask out sign-bit copies when constructing f_fsid.
48130 2010-09-24 Petr Baudis <pasky@suse.cz>
48132 * debug/stack_chk_fail_local.c: Add missing licence exception.
48133 * debug/warning-nop.c: Likewise.
48135 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48137 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48138 implementing getdents64 using getdents syscall, set d_type if
48139 __ASSUME_GETDENTS32_D_TYPE.
48141 2010-09-16 Andreas Schwab <schwab@redhat.com>
48143 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48144 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48146 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48149 * posix/unistd.h: Undo change of feature selection for ftruncate from
48152 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48154 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48157 2010-09-20 Andreas Schwab <schwab@redhat.com>
48159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48161 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48163 2010-09-14 Andreas Schwab <schwab@redhat.com>
48165 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48166 variables after CHECK_SP call.
48167 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48169 2010-09-13 Andreas Schwab <schwab@redhat.com>
48170 Ulrich Drepper <drepper@redhat.com>
48172 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48173 re-relocationg ld.so.
48174 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48175 _dl_init_paths call.
48176 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48179 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48181 * resolv/res_init.c (__res_vinit): Count the default server we added.
48183 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48184 Ulrich Drepper <drepper@redhat.com>
48187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48188 (____longjmp_chk): Use %ebx for saving value across system call.
48191 2010-09-06 Andreas Schwab <schwab@redhat.com>
48193 * manual/Makefile: Don't mix pattern rules with normal rules.
48195 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48197 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48199 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48200 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48201 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48202 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48203 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48206 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48209 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48210 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48212 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48214 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48215 * sysdeps/x86_64/addmul_1.S: Likewise.
48216 * sysdeps/x86_64/lshift.S: Likewise.
48217 * sysdeps/x86_64/mul_1.S: Likewise.
48218 * sysdeps/x86_64/rshift.S: Likewise.
48219 * sysdeps/x86_64/sub_n.S: Likewise.
48220 * sysdeps/x86_64/submul_1.S: Likewise.
48222 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48224 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48225 Define __sched_param instead of SCHED_* and sched_param when
48226 <bits/sched.h> is included with __need_schedparam defined.
48227 * bits/sched.h [__need_schedparam]
48228 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48229 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48230 (__defined_schedparam): Define to 1.
48231 (__sched_param): New structure, identical to sched_param.
48232 (__need_schedparam): Undefine.
48234 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48237 (epoll_create1): Declare.
48239 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48241 2010-08-31 Andreas Schwab <schwab@redhat.com>
48244 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48245 shifting retval into place.
48247 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48249 * nis/rpcsvc/nis.h: Update copyright notice.
48250 * nis/rpcsvc/nis.x: Likewise.
48251 * nis/rpcsvc/nis_callback.h: Likewise.
48252 * nis/rpcsvc/nis_callback.x: Likewise.
48253 * nis/rpcsvc/nis_object.x: Likewise.
48254 * nis/rpcsvc/nis_tags.h: Likewise.
48255 * nis/rpcsvc/yp.h: Likewise.
48256 * nis/rpcsvc/yp.x: Likewise.
48257 * nis/rpcsvc/ypupd.h: Likewise.
48258 * nis/yp_xdr.c: Likewise.
48259 * nis/ypupdate_xdr.c: Likewise.
48261 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48262 mainly the body of pmap_getport. Add parameters to specify timeouts.
48263 (pmap_getport): Use __libc_rpc_getport.
48264 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48265 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48266 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48268 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48273 2010-08-27 Roland McGrath <roland@redhat.com>
48275 * sysdeps/i386/i686/multiarch/Makefile
48276 (CFLAGS-varshift.c): New variable.
48278 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48280 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48281 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48283 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48285 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48287 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48289 * sysdeps/x86_64/strlen.S: Unroll the loop.
48290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48291 strlen-sse2 strlen-sse2-bsf.
48292 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48293 __strlen_no_bsf if bit_Slow_BSF is set.
48294 (__strlen_sse42): Removed.
48295 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48296 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48298 2010-08-25 Roland McGrath <roland@redhat.com>
48300 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48301 * sysdeps/x86_64/multiarch/varshift.c: New file.
48302 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48303 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48304 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48305 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48307 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48310 strlen-sse2 strlen-sse2-bsf.
48311 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48312 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48313 (__strlen_sse2): Removed.
48314 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48317 bit_Slow_BSF for Atom.
48318 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48319 (index_Slow_BSF): Define.
48320 (HAS_SLOW_BSF): Define.
48322 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48325 * resolv/res_init.c (__res_vinit): When no server address at all
48326 is given default to loopback.
48328 2010-08-24 Roland McGrath <roland@redhat.com>
48330 * configure.in: Remove config-name.h generation.
48331 * configure: Regenerated.
48332 * config-name.in: File removed.
48333 * scripts/config-uname.sh: New file.
48334 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48335 ($(objdir)config-name.h): New target.
48337 * sunrpc/rpc_parse.h: Avoid nested comment.
48339 2010-08-24 Richard Henderson <rth@redhat.com>
48340 Ulrich Drepper <drepper@redhat.com>
48341 H.J. Lu <hongjiu.lu@intel.com>
48343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48345 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48346 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48347 _mm_alignr_epi8 with _mm_loadu_si128.
48348 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48349 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48350 (__m128i_shift_right): Removed.
48351 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48352 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48353 * sysdeps/x86_64/multiarch/varshift.h: New file.
48354 * sysdeps/x86_64/multiarch/varshift.S: New file.
48356 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48358 * configure.in: Move assembler checks to before sysdep dir checking.
48360 2010-08-20 Petr Baudis <pasky@suse.cz>
48362 * LICENSES: Sync the sunrpc license.
48364 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48366 * sunrpc/auth_des.c: Update copyright notice once again.
48367 * sunrpc/auth_none.c: Likewise.
48368 * sunrpc/auth_unix.c: Likewise.
48369 * sunrpc/authdes_prot.c: Likewise.
48370 * sunrpc/authuxprot.c: Likewise.
48371 * sunrpc/bindrsvprt.c: Likewise.
48372 * sunrpc/clnt_gen.c: Likewise.
48373 * sunrpc/clnt_perr.c: Likewise.
48374 * sunrpc/clnt_raw.c: Likewise.
48375 * sunrpc/clnt_simp.c: Likewise.
48376 * sunrpc/clnt_tcp.c: Likewise.
48377 * sunrpc/clnt_udp.c: Likewise.
48378 * sunrpc/clnt_unix.c: Likewise.
48379 * sunrpc/des_crypt.c: Likewise.
48380 * sunrpc/des_soft.c: Likewise.
48381 * sunrpc/get_myaddr.c: Likewise.
48382 * sunrpc/getrpcport.c: Likewise.
48383 * sunrpc/key_call.c: Likewise.
48384 * sunrpc/key_prot.c: Likewise.
48385 * sunrpc/openchild.c: Likewise.
48386 * sunrpc/pm_getmaps.c: Likewise.
48387 * sunrpc/pm_getport.c: Likewise.
48388 * sunrpc/pmap_clnt.c: Likewise.
48389 * sunrpc/pmap_prot.c: Likewise.
48390 * sunrpc/pmap_prot2.c: Likewise.
48391 * sunrpc/pmap_rmt.c: Likewise.
48392 * sunrpc/rpc/auth.h: Likewise.
48393 * sunrpc/rpc/auth_unix.h: Likewise.
48394 * sunrpc/rpc/clnt.h: Likewise.
48395 * sunrpc/rpc/des_crypt.h: Likewise.
48396 * sunrpc/rpc/key_prot.h: Likewise.
48397 * sunrpc/rpc/netdb.h: Likewise.
48398 * sunrpc/rpc/pmap_clnt.h: Likewise.
48399 * sunrpc/rpc/pmap_prot.h: Likewise.
48400 * sunrpc/rpc/pmap_rmt.h: Likewise.
48401 * sunrpc/rpc/rpc.h: Likewise.
48402 * sunrpc/rpc/rpc_des.h: Likewise.
48403 * sunrpc/rpc/rpc_msg.h: Likewise.
48404 * sunrpc/rpc/svc.h: Likewise.
48405 * sunrpc/rpc/svc_auth.h: Likewise.
48406 * sunrpc/rpc/types.h: Likewise.
48407 * sunrpc/rpc/xdr.h: Likewise.
48408 * sunrpc/rpc_clntout.c: Likewise.
48409 * sunrpc/rpc_cmsg.c: Likewise.
48410 * sunrpc/rpc_common.c: Likewise.
48411 * sunrpc/rpc_cout.c: Likewise.
48412 * sunrpc/rpc_dtable.c: Likewise.
48413 * sunrpc/rpc_hout.c: Likewise.
48414 * sunrpc/rpc_main.c: Likewise.
48415 * sunrpc/rpc_parse.c: Likewise.
48416 * sunrpc/rpc_parse.h: Likewise.
48417 * sunrpc/rpc_prot.c: Likewise.
48418 * sunrpc/rpc_sample.c: Likewise.
48419 * sunrpc/rpc_scan.c: Likewise.
48420 * sunrpc/rpc_scan.h: Likewise.
48421 * sunrpc/rpc_svcout.c: Likewise.
48422 * sunrpc/rpc_tblout.c: Likewise.
48423 * sunrpc/rpc_util.c: Likewise.
48424 * sunrpc/rpc_util.h: Likewise.
48425 * sunrpc/rpcinfo.c: Likewise.
48426 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48427 * sunrpc/rpcsvc/key_prot.x: Likewise.
48428 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48429 * sunrpc/rpcsvc/mount.x: Likewise.
48430 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48431 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48432 * sunrpc/rpcsvc/rex.x: Likewise.
48433 * sunrpc/rpcsvc/rstat.x: Likewise.
48434 * sunrpc/rpcsvc/rusers.x: Likewise.
48435 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48436 * sunrpc/rpcsvc/spray.x: Likewise.
48437 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48438 * sunrpc/rtime.c: Likewise.
48439 * sunrpc/svc.c: Likewise.
48440 * sunrpc/svc_auth.c: Likewise.
48441 * sunrpc/svc_authux.c: Likewise.
48442 * sunrpc/svc_raw.c: Likewise.
48443 * sunrpc/svc_run.c: Likewise.
48444 * sunrpc/svc_simple.c: Likewise.
48445 * sunrpc/svc_tcp.c: Likewise.
48446 * sunrpc/svc_udp.c: Likewise.
48447 * sunrpc/svc_unix.c: Likewise.
48448 * sunrpc/svcauth_des.c: Likewise.
48449 * sunrpc/xcrypt.c: Likewise.
48450 * sunrpc/xdr.c: Likewise.
48451 * sunrpc/xdr_array.c: Likewise.
48452 * sunrpc/xdr_float.c: Likewise.
48453 * sunrpc/xdr_mem.c: Likewise.
48454 * sunrpc/xdr_rec.c: Likewise.
48455 * sunrpc/xdr_ref.c: Likewise.
48456 * sunrpc/xdr_sizeof.c: Likewise.
48457 * sunrpc/xdr_stdio.c: Likewise.
48459 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48462 2010-08-19 Andreas Schwab <schwab@redhat.com>
48464 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48466 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48468 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48469 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48470 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48471 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48472 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48473 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48474 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48475 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48476 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48477 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48478 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48479 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48480 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48481 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48483 2010-07-26 Anton Blanchard <anton@samba.org>
48485 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48486 * malloc/arena.c (heap_trim): Likewise.
48488 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48490 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48492 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48493 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48495 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48497 * sysdeps/i386/elf/Makefile: New file.
48499 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48501 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48502 from fanotify_init.
48503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48506 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48508 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48510 * sysdeps/multiarch/strcmp.S: Likewise.
48512 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48514 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48515 strncase_l-nonascii.
48516 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48517 Add strncase_l-ssse3.
48518 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48519 * sysdeps/x86_64/strcmp.S: Likewise.
48520 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48521 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48522 * sysdeps/x86_64/strncase.S: New file.
48523 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48524 * sysdeps/x86_64/strncase_l.S: New file.
48525 * string/Makefile (strop-tests): Add strncasecmp.
48526 * string/test-strncasecmp.c: New file.
48528 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48531 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48532 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48534 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48536 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48538 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48540 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48541 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48542 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48544 2010-05-01 Alan Modra <amodra@gmail.com>
48546 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48547 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48548 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48549 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48550 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48551 tidying. Don't tail-call __sigjmp_save for static lib.
48552 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48554 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48555 (CALL_MCOUNT): Add eh info, and nop after bl.
48556 (TAIL_CALL_SYSCALL_ERROR): New macro.
48557 (PSEUDO_RET): Use it.
48558 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48559 Correct save location of integer regs and cr.
48560 (_dl_profile_resolve): Correct cr save location. Delete nops
48561 after bl when SHARED. Reduce cfi size a little by better
48562 placement of cfi directives.
48563 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48564 make a stack frame. Instead use parm save area as a temp.
48565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48566 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48568 Don't make a stack frame for parent, use parm save area.
48569 Increase child stack frame to 112 bytes. Don't save unused reg,
48570 and adjust reg usage. Set up cfi on error recovery and
48571 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48573 (__makecontext): Add dummy nop after jump to exit.
48574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48575 Use correct parm save area and cr save, reduce stack frame.
48576 Correct cfi for possible PSEUDO_RET frame setup.
48577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48578 Branch to local label emitted by PSEUDO_RET rather than
48581 2010-08-12 Andreas Schwab <schwab@redhat.com>
48584 * locale/programs/locale.c (print_assignment): New function.
48585 (show_locale_vars): Use it.
48587 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48589 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48591 (struct statfs64): Likewise.
48592 (_STATFS_F_FLAGS): Define.
48593 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48595 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48596 (ST_VALID): Define locally.
48597 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48598 __statvfs_getflags, use the provided value.
48599 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48600 __ASSUME_STATFS_F_FLAGS.
48602 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48604 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48605 Add sys/fanotify.h.
48606 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48607 fanotify_mask for GLIBC_2.13.
48608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48609 fanotify_init and fanotify_mark.
48610 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48611 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48613 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48615 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48616 prlimit64 for GLIBC_2.13.
48617 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48622 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48623 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48624 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48627 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48630 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48631 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48633 * nss/Makefile: Add rules to build and run tst-nss-test1.
48634 * shlib-versions: Add entry for libnss_test1.
48635 * nss/nss_test1.c: New file.
48636 * nss/tst-nss-test1.c: New file.
48638 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48639 (__nss_configure_lookup): Set appropriate entry in
48640 __nss_configure_lookup to true.
48641 * nss/nsswitch.h: Define enum with indeces of databases in
48642 databases and __nss_database_custom arrays. Declare
48643 __nss_database_custom.
48644 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48645 to avoid using nscd when custom rules are installed.
48646 * nss/getXXbyYY_r.c: Likewise.
48647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48649 * nss/nss_files/files-parse.c: Whitespace fixes.
48651 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48654 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48655 * posix/fnmatch_loop.c: Likewise.
48657 2010-07-17 Andi Kleen <ak@linux.intel.com>
48659 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48660 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48661 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48662 * Versions.def [GLIBC_2.13]: Add.
48664 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48667 Also fail if tpwd after pwuid call is NULL.
48669 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48671 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48672 when converting to ms.
48674 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48676 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48677 EOPNOTSUPP errors with ENOTTY.
48678 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48679 EOPNOTSUPP errors with ENOTTY.
48681 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48683 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48684 Add strcasecmp_l-ssse3.
48685 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48687 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48688 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48689 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48691 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48693 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48695 * string/Makefile (strop-tests): Add strcasecmp.
48696 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48697 strcasecmp_l-nonascii.
48698 (gen-as-const-headers): Add locale-defines.sym.
48699 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48700 * sysdeps/x86_64/strcasecmp.S: New file.
48701 * sysdeps/x86_64/strcasecmp_l.S: New file.
48702 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48703 * sysdeps/x86_64/locale-defines.sym: New file.
48704 * string/test-strcasecmp.c: New file.
48706 * string/test-strcasestr.c: Test both ends of the range of characters.
48707 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48709 2010-07-29 Roland McGrath <roland@redhat.com>
48712 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48714 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48716 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48719 2010-07-27 Andreas Schwab <schwab@redhat.com>
48721 * manual/memory.texi (Malloc Tunable Parameters): Document
48724 2010-07-26 Roland McGrath <roland@redhat.com>
48727 * configure.in (-fgnu89-inline check): Set and substitute
48728 gnu89_inline, not libc_cv_gnu89_inline.
48729 * configure: Regenerated.
48730 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48732 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48734 * string/test-strnlen.c: New file.
48735 * string/Makefile (strop-tests): Add strnlen.
48736 * string/tester.c (test_strnlen): Add a few more test cases.
48737 * string/tst-strlen.c: Better error reporting.
48739 * sysdeps/x86_64/strnlen.S: New file.
48741 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48743 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48744 lower-latency instructions.
48746 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48748 * string/test-strcasestr.c: New file.
48749 * string/test-strstr.c: New file.
48750 * string/Makefile (strop-tests): Add strstr and strcasestr.
48751 * string/str-two-way.h: Don't undefine MAX.
48752 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48754 2010-07-21 Andreas Schwab <schwab@redhat.com>
48756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48757 strcasestr-nonascii.
48758 (CFLAGS-strcasestr-nonascii.c): Define.
48759 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48760 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48761 Remove unused attribute.
48763 2010-07-20 Roland McGrath <roland@redhat.com>
48765 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48766 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48767 ld.so.cache was broken. With it, there is no way to disable dsocaps
48768 like LD_HWCAP_MASK can disable hwcaps.
48770 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48772 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48774 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48776 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48777 call in strcasestr.
48778 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48779 __strcasestr_sse42_nonascii.
48780 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48781 strcasestr-nonascii.c.
48782 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48784 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48786 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48788 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48789 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48791 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48793 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48796 2010-07-06 Andreas Schwab <schwab@redhat.com>
48799 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48802 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48805 _PC_PIPE_BUF using F_GETPIPE_SZ.
48807 2010-07-05 Roland McGrath <roland@redhat.com>
48809 * manual/arith.texi (Rounding Functions): Fix rint description
48810 implicit in round description.
48812 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48814 * elf/Makefile: Fix linking for a few tests to make recent linker
48817 2010-06-30 Andreas Schwab <schwab@redhat.com>
48819 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48820 $(common-objpfx)libc_nonshared.a.
48822 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48824 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48825 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48826 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48827 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48828 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48829 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48830 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48831 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48846 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48847 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48848 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48849 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48850 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48851 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48852 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48853 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48854 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48855 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48856 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48857 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48873 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48875 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48876 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48877 * string/memmove.c (memmove): Renamed to ...
48878 (MEMMOVE): ...this. Default to memmove.
48879 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48880 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48883 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48884 mempcpy-ssse3-back memmove-ssse3-back.
48885 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48888 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48889 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48890 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48891 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48892 * sysdeps/x86_64/multiarch/memmove.c: New file.
48893 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48894 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48895 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48896 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48897 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48900 (index_Fast_Copy_Backward): Define.
48901 (HAS_ARCH_FEATURE): Define.
48902 (HAS_FAST_REP_STRING): Define.
48903 (HAS_FAST_COPY_BACKWARD): Define.
48905 2010-06-21 Andreas Schwab <schwab@redhat.com>
48907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48908 Restore proper fallback handling.
48910 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48913 * posix/group_member.c (__group_member): Correct checking loop.
48915 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48916 OOM in getpwuid_r correctly. Return error number when the caller
48917 should return, otherwise -1.
48918 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48919 call returning > 0 value.
48920 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48922 2010-06-07 Andreas Schwab <schwab@redhat.com>
48924 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48925 libc_nonshared.a from targets in modules-names.
48927 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48929 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48932 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48934 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48935 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48936 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48939 2010-06-02 Andreas Schwab <schwab@redhat.com>
48941 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48943 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48945 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48947 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48951 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48954 2010-06-14 Roland McGrath <roland@redhat.com>
48956 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48958 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48960 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48961 __REDIRECT followed by __THROW.
48962 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48963 * posix/getopt.h (getopt): Likewise.
48965 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48967 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48968 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48969 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48971 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48972 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48974 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48976 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48978 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48982 Properly check family and model.
48984 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48986 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48988 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48990 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48992 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48994 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48997 2010-05-19 Andreas Schwab <schwab@redhat.com>
48999 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49002 2010-05-21 Andreas Schwab <schwab@redhat.com>
49004 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49005 and internal_recvmmsg.
49006 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49007 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49008 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49009 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49011 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49012 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49013 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49015 2010-05-20 Andreas Schwab <schwab@redhat.com>
49017 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49019 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49021 POWER7 optimizations.
49022 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49023 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49025 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49027 * version.h: Update for 2.13 development version.
49029 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49031 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49032 exceptions. Return 0.
49034 2010-05-07 Roland McGrath <roland@redhat.com>
49036 * elf/ldconfig.c (main): Add a const.
49038 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49040 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49041 (args_options): Add no-idn option.
49042 (ahosts_keys_int): Add idn_flags to ai_flags.
49043 (parse_option): Handle 'i' option to clear idn_flags.
49045 * malloc/malloc.c (_int_free): Possible race in the most recently
49046 added check. Only act on the data if no current modification
49049 See ChangeLog.17 for earlier changes.